1 #ifndef_LINUX_SYS_H 2 #define_LINUX_SYS_H 3
4 /* 5 * system call entry points ... but not all are defined 6 */ 7 #define NR_syscalls 256
8
9 /* 10 * These are system calls with the same entry-point 11 */ 12 #define _sys_clone _sys_fork
13
14 /* 15 * These are system calls that will be removed at some time 16 * due to newer versions existing.. 17 * (please be careful - ibcs2 may need some of these). 18 */ 19 #ifdef notdef
20 #define _sys_waitpid _sys_old_syscall/* _sys_wait4 */ 21 #define _sys_olduname _sys_old_syscall/* _sys_newuname */ 22 #define _sys_uname _sys_old_syscall/* _sys_newuname */ 23 #define _sys_stat _sys_old_syscall/* _sys_newstat */ 24 #define _sys_fstat _sys_old_syscall/* _sys_newfstat */ 25 #define _sys_lstat _sys_old_syscall/* _sys_newlstat */ 26 #define _sys_signal _sys_old_syscall/* _sys_sigaction */ 27 #define _sys_sgetmask _sys_old_syscall/* _sys_sigprocmask */ 28 #define _sys_ssetmask _sys_old_syscall/* _sys_sigprocmask */ 29 #endif 30
31 /* 32 * These are system calls that haven't been implemented yet 33 * but have an entry in the table for future expansion.. 34 */ 35 #define _sys_quotactl _sys_ni_syscall
36
37 #endif