syscalls.c 284 B

123456789101112131415
  1. #include <linux/syscalls.h>
  2. #include <linux/signal.h>
  3. #include <linux/unistd.h>
  4. #undef __SYSCALL
  5. #define __SYSCALL(nr, call) [nr] = (call),
  6. #define sys_mmap2 sys_mmap_pgoff
  7. asmlinkage int sys_rt_sigreturn(void);
  8. void *_sys_call_table[__NR_syscalls] = {
  9. #include <asm/unistd.h>
  10. };