Skip to content

Instantly share code, notes, and snippets.

@brycelelbach
Created October 25, 2010 06:43
Show Gist options
  • Select an option

  • Save brycelelbach/644514 to your computer and use it in GitHub Desktop.

Select an option

Save brycelelbach/644514 to your computer and use it in GitHub Desktop.
const sys_call_ptr_t sys_call_table[__NR_syscall_max+1] = {
/*
*Smells like a like a compiler bug -- it doesn't work
*when the & below is removed.
*/
[0 ... __NR_syscall_max] = &sys_ni_syscall,
#include <asm/unistd_64.h>
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment