syscalls.c 320 B

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