Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 
0003 #include <linux/syscalls.h>
0004 #include <linux/signal.h>
0005 #include <linux/unistd.h>
0006 
0007 #include <asm/syscalls.h>
0008 
0009 #define sys_clone   sys_clone_wrapper
0010 #define sys_clone3  sys_clone3_wrapper
0011 
0012 #undef __SYSCALL
0013 #define __SYSCALL(nr, call) [nr] = (call),
0014 
0015 void *sys_call_table[NR_syscalls] = {
0016     [0 ... NR_syscalls-1] = sys_ni_syscall,
0017 #include <asm/unistd.h>
0018 };