compat_syscall_table.c 459 B

12345678910111213141516171819
  1. // SPDX-License-Identifier: GPL-2.0-only
  2. #define __SYSCALL_COMPAT
  3. #include <linux/compat.h>
  4. #include <linux/syscalls.h>
  5. #include <asm-generic/mman-common.h>
  6. #include <asm-generic/syscalls.h>
  7. #include <asm/syscall.h>
  8. #undef __SYSCALL
  9. #define __SYSCALL(nr, call) [nr] = (call),
  10. asmlinkage long compat_sys_rt_sigreturn(void);
  11. void * const compat_sys_call_table[__NR_syscalls] = {
  12. [0 ... __NR_syscalls - 1] = sys_ni_syscall,
  13. #include <asm/unistd.h>
  14. };