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