code:
/*	$OpenBSD: linux_syscall.h,v 1.79 2014/09/01 05:13:21 doug Exp $	*/

/*
 * System call numbers.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from	OpenBSD: syscalls.master,v 1.76 2014/09/01 05:09:53 doug Exp
 */

/* syscall: "syscall" ret: "int" args: */
#define	LINUX_SYS_syscall	0

/* syscall: "exit" ret: "int" args: "int" */
#define	LINUX_SYS_exit	1

/* syscall: "fork" ret: "int" args: */
#define	LINUX_SYS_fork	2

/* syscall: "read" ret: "int" args: "int" "char *" "u_int" */
#define	LINUX_SYS_read	3

/* syscall: "write" ret: "int" args: "int" "char *" "u_int" */
#define	LINUX_SYS_write	4

/* syscall: "open" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_open	5

/* syscall: "close" ret: "int" args: "int" */
#define	LINUX_SYS_close	6

/* syscall: "waitpid" ret: "int" args: "int" "int *" "int" */
#define	LINUX_SYS_waitpid	7

/* syscall: "creat" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_creat	8

/* syscall: "link" ret: "int" args: "char *" "char *" */
#define	LINUX_SYS_link	9

/* syscall: "unlink" ret: "int" args: "char *" */
#define	LINUX_SYS_unlink	10

/* syscall: "execve" ret: "int" args: "char *" "char **" "char **" */
#define	LINUX_SYS_execve	11

/* syscall: "chdir" ret: "int" args: "char *" */
#define	LINUX_SYS_chdir	12

/* syscall: "time" ret: "int" args: "linux_time_t *" */
#define	LINUX_SYS_time	13

/* syscall: "mknod" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_mknod	14

/* syscall: "chmod" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_chmod	15

/* syscall: "lchown16" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_lchown16	16

/* syscall: "break" ret: "int" args: "char *" */
#define	LINUX_SYS_break	17

/* syscall: "ostat" ret: "int" args: */
#define	LINUX_SYS_ostat	18

/* syscall: "lseek" ret: "long" args: "int" "long" "int" */
#define	LINUX_SYS_lseek	19

/* syscall: "getpid" ret: "pid_t" args: */
#define	LINUX_SYS_getpid	20

/* syscall: "mount" ret: "int" args: "char *" "char *" "char *" "long" "void *" */
#define	LINUX_SYS_mount	21

/* syscall: "umount" ret: "int" args: "char *" */
#define	LINUX_SYS_umount	22

/* syscall: "linux_setuid16" ret: "int" args: "uid_t" */
#define	LINUX_SYS_linux_setuid16	23

/* syscall: "linux_getuid16" ret: "uid_t" args: */
#define	LINUX_SYS_linux_getuid16	24

/* syscall: "ptrace" ret: "int" args: */
#define	LINUX_SYS_ptrace	26

/* syscall: "alarm" ret: "int" args: "unsigned int" */
#define	LINUX_SYS_alarm	27

/* syscall: "ofstat" ret: "int" args: */
#define	LINUX_SYS_ofstat	28

/* syscall: "pause" ret: "int" args: */
#define	LINUX_SYS_pause	29

/* syscall: "utime" ret: "int" args: "char *" "struct linux_utimbuf *" */
#define	LINUX_SYS_utime	30

/* syscall: "stty" ret: "int" args: */
#define	LINUX_SYS_stty	31

/* syscall: "gtty" ret: "int" args: */
#define	LINUX_SYS_gtty	32

/* syscall: "access" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_access	33

/* syscall: "nice" ret: "int" args: "int" */
#define	LINUX_SYS_nice	34

/* syscall: "ftime" ret: "int" args: */
#define	LINUX_SYS_ftime	35

/* syscall: "sync" ret: "int" args: */
#define	LINUX_SYS_sync	36

/* syscall: "kill" ret: "int" args: "int" "int" */
#define	LINUX_SYS_kill	37

/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define	LINUX_SYS_rename	38

/* syscall: "mkdir" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_mkdir	39

/* syscall: "rmdir" ret: "int" args: "char *" */
#define	LINUX_SYS_rmdir	40

/* syscall: "dup" ret: "int" args: "u_int" */
#define	LINUX_SYS_dup	41

/* syscall: "pipe" ret: "int" args: "int *" */
#define	LINUX_SYS_pipe	42

/* syscall: "times" ret: "int" args: "struct linux_tms *" */
#define	LINUX_SYS_times	43

/* syscall: "prof" ret: "int" args: */
#define	LINUX_SYS_prof	44

/* syscall: "brk" ret: "int" args: "char *" */
#define	LINUX_SYS_brk	45

/* syscall: "linux_setgid16" ret: "int" args: "gid_t" */
#define	LINUX_SYS_linux_setgid16	46

/* syscall: "linux_getgid16" ret: "gid_t" args: */
#define	LINUX_SYS_linux_getgid16	47

/* syscall: "signal" ret: "int" args: "int" "linux_handler_t" */
#define	LINUX_SYS_signal	48

/* syscall: "linux_geteuid16" ret: "uid_t" args: */
#define	LINUX_SYS_linux_geteuid16	49

/* syscall: "linux_getegid16" ret: "gid_t" args: */
#define	LINUX_SYS_linux_getegid16	50

/* syscall: "acct" ret: "int" args: "char *" */
#define	LINUX_SYS_acct	51

/* syscall: "phys" ret: "int" args: */
#define	LINUX_SYS_phys	52

/* syscall: "lock" ret: "int" args: */
#define	LINUX_SYS_lock	53

/* syscall: "ioctl" ret: "int" args: "int" "u_long" "caddr_t" */
#define	LINUX_SYS_ioctl	54

/* syscall: "fcntl" ret: "int" args: "int" "int" "void *" */
#define	LINUX_SYS_fcntl	55

/* syscall: "mpx" ret: "int" args: */
#define	LINUX_SYS_mpx	56

/* syscall: "setpgid" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setpgid	57

/* syscall: "ulimit" ret: "int" args: */
#define	LINUX_SYS_ulimit	58

/* syscall: "oldolduname" ret: "int" args: "struct linux_oldold_utsname *" */
#define	LINUX_SYS_oldolduname	59

/* syscall: "umask" ret: "int" args: "int" */
#define	LINUX_SYS_umask	60

/* syscall: "chroot" ret: "int" args: "char *" */
#define	LINUX_SYS_chroot	61

/* syscall: "ustat" ret: "int" args: */
#define	LINUX_SYS_ustat	62

/* syscall: "dup2" ret: "int" args: "u_int" "u_int" */
#define	LINUX_SYS_dup2	63

/* syscall: "getppid" ret: "pid_t" args: */
#define	LINUX_SYS_getppid	64

/* syscall: "getpgrp" ret: "int" args: */
#define	LINUX_SYS_getpgrp	65

/* syscall: "setsid" ret: "int" args: */
#define	LINUX_SYS_setsid	66

/* syscall: "sigaction" ret: "int" args: "int" "struct linux_old_sigaction *" "struct linux_old_sigaction *" */
#define	LINUX_SYS_sigaction	67

/* syscall: "siggetmask" ret: "int" args: */
#define	LINUX_SYS_siggetmask	68

/* syscall: "sigsetmask" ret: "int" args: "linux_old_sigset_t" */
#define	LINUX_SYS_sigsetmask	69

/* syscall: "setreuid16" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setreuid16	70

/* syscall: "setregid16" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setregid16	71

/* syscall: "sigsuspend" ret: "int" args: "caddr_t" "int" "int" */
#define	LINUX_SYS_sigsuspend	72

/* syscall: "sigpending" ret: "int" args: "linux_old_sigset_t *" */
#define	LINUX_SYS_sigpending	73

/* syscall: "sethostname" ret: "int" args: "char *" "u_int" */
#define	LINUX_SYS_sethostname	74

/* syscall: "setrlimit" ret: "int" args: "u_int" "struct linux_rlimit *" */
#define	LINUX_SYS_setrlimit	75

/* syscall: "getrlimit" ret: "int" args: "u_int" "struct linux_rlimit *" */
#define	LINUX_SYS_getrlimit	76

/* syscall: "getrusage" ret: "int" args: "int" "struct linux_rusage *" */
#define	LINUX_SYS_getrusage	77

/* syscall: "gettimeofday" ret: "int" args: "struct linux_timeval *" "struct timezone *" */
#define	LINUX_SYS_gettimeofday	78

/* syscall: "linux_getgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_linux_getgroups	80

/* syscall: "linux_setgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_linux_setgroups	81

/* syscall: "oldselect" ret: "int" args: "struct linux_select *" */
#define	LINUX_SYS_oldselect	82

/* syscall: "symlink" ret: "int" args: "char *" "char *" */
#define	LINUX_SYS_symlink	83

/* syscall: "olstat" ret: "int" args: "char *" "struct linux_stat *" */
#define	LINUX_SYS_olstat	84

/* syscall: "readlink" ret: "ssize_t" args: "char *" "char *" "int" */
#define	LINUX_SYS_readlink	85

/* syscall: "swapon" ret: "int" args: "char *" */
#define	LINUX_SYS_swapon	87

/* syscall: "reboot" ret: "int" args: "int" */
#define	LINUX_SYS_reboot	88

/* syscall: "readdir" ret: "int" args: "int" "caddr_t" "unsigned int" */
#define	LINUX_SYS_readdir	89

/* syscall: "mmap" ret: "int" args: "struct linux_mmap *" */
#define	LINUX_SYS_mmap	90

/* syscall: "munmap" ret: "int" args: "caddr_t" "int" */
#define	LINUX_SYS_munmap	91

/* syscall: "truncate" ret: "int" args: "char *" "long" */
#define	LINUX_SYS_truncate	92

/* syscall: "ftruncate" ret: "int" args: "int" "long" */
#define	LINUX_SYS_ftruncate	93

/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define	LINUX_SYS_fchmod	94

/* syscall: "fchown16" ret: "int" args: "int" "int" "int" */
#define	LINUX_SYS_fchown16	95

/* syscall: "getpriority" ret: "int" args: "int" "int" */
#define	LINUX_SYS_getpriority	96

/* syscall: "setpriority" ret: "int" args: "int" "int" "int" */
#define	LINUX_SYS_setpriority	97

/* syscall: "profil" ret: "int" args: "caddr_t" "u_int" "u_int" "u_int" */
#define	LINUX_SYS_profil	98

/* syscall: "statfs" ret: "int" args: "char *" "struct linux_statfs *" */
#define	LINUX_SYS_statfs	99

/* syscall: "fstatfs" ret: "int" args: "int" "struct linux_statfs *" */
#define	LINUX_SYS_fstatfs	100

/* syscall: "ioperm" ret: "int" args: "unsigned int" "unsigned int" "int" */
#define	LINUX_SYS_ioperm	101

/* syscall: "ioperm" ret: "int" args: */
#define	LINUX_SYS_ioperm	101

/* syscall: "socketcall" ret: "int" args: "int" "void *" */
#define	LINUX_SYS_socketcall	102

/* syscall: "klog" ret: "int" args: */
#define	LINUX_SYS_klog	103

/* syscall: "setitimer" ret: "int" args: "u_int" "struct linux_itimerval *" "struct linux_itimerval *" */
#define	LINUX_SYS_setitimer	104

/* syscall: "getitimer" ret: "int" args: "u_int" "struct linux_itimerval *" */
#define	LINUX_SYS_getitimer	105

/* syscall: "stat" ret: "int" args: "char *" "struct linux_stat *" */
#define	LINUX_SYS_stat	106

/* syscall: "lstat" ret: "int" args: "char *" "struct linux_stat *" */
#define	LINUX_SYS_lstat	107

/* syscall: "fstat" ret: "int" args: "int" "struct linux_stat *" */
#define	LINUX_SYS_fstat	108

/* syscall: "olduname" ret: "int" args: "struct linux_old_utsname *" */
#define	LINUX_SYS_olduname	109

/* syscall: "iopl" ret: "int" args: "int" */
#define	LINUX_SYS_iopl	110

/* syscall: "iopl" ret: "int" args: */
#define	LINUX_SYS_iopl	110

/* syscall: "vhangup" ret: "int" args: */
#define	LINUX_SYS_vhangup	111

/* syscall: "idle" ret: "int" args: */
#define	LINUX_SYS_idle	112

/* syscall: "vm86old" ret: "int" args: */
#define	LINUX_SYS_vm86old	113

/* syscall: "wait4" ret: "int" args: "int" "int *" "int" "struct linux_rusage *" */
#define	LINUX_SYS_wait4	114

/* syscall: "swapoff" ret: "int" args: */
#define	LINUX_SYS_swapoff	115

/* syscall: "sysinfo" ret: "int" args: "struct linux_sysinfo *" */
#define	LINUX_SYS_sysinfo	116

/* syscall: "ipc" ret: "int" args: "int" "int" "int" "int" "caddr_t" */
#define	LINUX_SYS_ipc	117

/* syscall: "fsync" ret: "int" args: "int" */
#define	LINUX_SYS_fsync	118

/* syscall: "sigreturn" ret: "int" args: "struct linux_sigcontext *" */
#define	LINUX_SYS_sigreturn	119

/* syscall: "clone" ret: "int" args: "int" "void *" "void *" "void *" "void *" */
#define	LINUX_SYS_clone	120

/* syscall: "setdomainname" ret: "int" args: "char *" "int" */
#define	LINUX_SYS_setdomainname	121

/* syscall: "uname" ret: "int" args: "struct linux_utsname *" */
#define	LINUX_SYS_uname	122

/* syscall: "modify_ldt" ret: "int" args: "int" "void *" "size_t" */
#define	LINUX_SYS_modify_ldt	123

/* syscall: "modify_ldt" ret: "int" args: */
#define	LINUX_SYS_modify_ldt	123

/* syscall: "adjtimex" ret: "int" args: */
#define	LINUX_SYS_adjtimex	124

/* syscall: "mprotect" ret: "int" args: "caddr_t" "int" "int" */
#define	LINUX_SYS_mprotect	125

/* syscall: "sigprocmask" ret: "int" args: "int" "linux_old_sigset_t *" "linux_old_sigset_t *" */
#define	LINUX_SYS_sigprocmask	126

/* syscall: "create_module" ret: "int" args: */
#define	LINUX_SYS_create_module	127

/* syscall: "init_module" ret: "int" args: */
#define	LINUX_SYS_init_module	128

/* syscall: "delete_module" ret: "int" args: */
#define	LINUX_SYS_delete_module	129

/* syscall: "get_kernel_syms" ret: "int" args: */
#define	LINUX_SYS_get_kernel_syms	130

/* syscall: "quotactl" ret: "int" args: */
#define	LINUX_SYS_quotactl	131

/* syscall: "getpgid" ret: "int" args: "int" */
#define	LINUX_SYS_getpgid	132

/* syscall: "fchdir" ret: "int" args: "int" */
#define	LINUX_SYS_fchdir	133

/* syscall: "bdflush" ret: "int" args: */
#define	LINUX_SYS_bdflush	134

/* syscall: "sysfs" ret: "int" args: */
#define	LINUX_SYS_sysfs	135

/* syscall: "personality" ret: "int" args: "int" */
#define	LINUX_SYS_personality	136

/* syscall: "afs_syscall" ret: "int" args: */
#define	LINUX_SYS_afs_syscall	137

/* syscall: "linux_setfsuid16" ret: "int" args: "uid_t" */
#define	LINUX_SYS_linux_setfsuid16	138

/* syscall: "linux_getfsuid16" ret: "int" args: */
#define	LINUX_SYS_linux_getfsuid16	139

/* syscall: "llseek" ret: "int" args: "int" "u_int32_t" "u_int32_t" "caddr_t" "int" */
#define	LINUX_SYS_llseek	140

/* syscall: "getdents" ret: "int" args: "int" "void *" "unsigned" */
#define	LINUX_SYS_getdents	141

/* syscall: "select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct linux_timeval *" */
#define	LINUX_SYS_select	142

/* syscall: "flock" ret: "int" args: "int" "int" */
#define	LINUX_SYS_flock	143

/* syscall: "msync" ret: "int" args: "void *" "int" "int" */
#define	LINUX_SYS_msync	144

/* syscall: "readv" ret: "int" args: "int" "struct iovec *" "u_int" */
#define	LINUX_SYS_readv	145

/* syscall: "writev" ret: "int" args: "int" "struct iovec *" "u_int" */
#define	LINUX_SYS_writev	146

/* syscall: "getsid" ret: "int" args: "pid_t" */
#define	LINUX_SYS_getsid	147

/* syscall: "fdatasync" ret: "int" args: "int" */
#define	LINUX_SYS_fdatasync	148

/* syscall: "__sysctl" ret: "int" args: "struct linux___sysctl *" */
#define	LINUX_SYS___sysctl	149

/* syscall: "mlock" ret: "int" args: "caddr_t" "size_t" */
#define	LINUX_SYS_mlock	150

/* syscall: "munlock" ret: "int" args: "caddr_t" "size_t" */
#define	LINUX_SYS_munlock	151

/* syscall: "mlockall" ret: "int" args: */
#define	LINUX_SYS_mlockall	152

/* syscall: "munlockall" ret: "int" args: */
#define	LINUX_SYS_munlockall	153

/* syscall: "sched_setparam" ret: "int" args: "linux_pid_t" "const struct linux_sched_param *" */
#define	LINUX_SYS_sched_setparam	154

/* syscall: "sched_getparam" ret: "int" args: "linux_pid_t" "struct linux_sched_param *" */
#define	LINUX_SYS_sched_getparam	155

/* syscall: "sched_setscheduler" ret: "int" args: "linux_pid_t" "int" "const struct linux_sched_param *" */
#define	LINUX_SYS_sched_setscheduler	156

/* syscall: "sched_getscheduler" ret: "int" args: "linux_pid_t" */
#define	LINUX_SYS_sched_getscheduler	157

/* syscall: "sched_yield" ret: "int" args: */
#define	LINUX_SYS_sched_yield	158

/* syscall: "sched_get_priority_max" ret: "int" args: "int" */
#define	LINUX_SYS_sched_get_priority_max	159

/* syscall: "sched_get_priority_min" ret: "int" args: "int" */
#define	LINUX_SYS_sched_get_priority_min	160

/* syscall: "sched_rr_get_interval" ret: "int" args: */
#define	LINUX_SYS_sched_rr_get_interval	161

/* syscall: "nanosleep" ret: "int" args: "const struct linux_timespec *" "struct linux_timespec *" */
#define	LINUX_SYS_nanosleep	162

/* syscall: "mremap" ret: "int" args: "void *" "size_t" "size_t" "long" */
#define	LINUX_SYS_mremap	163

/* syscall: "setresuid16" ret: "int" args: "u_int16_t" "u_int16_t" "u_int16_t" */
#define	LINUX_SYS_setresuid16	164

/* syscall: "getresuid16" ret: "int" args: "u_int16_t *" "u_int16_t *" "u_int16_t *" */
#define	LINUX_SYS_getresuid16	165

/* syscall: "vm86" ret: "int" args: */
#define	LINUX_SYS_vm86	166

/* syscall: "query_module" ret: "int" args: */
#define	LINUX_SYS_query_module	167

/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define	LINUX_SYS_poll	168

/* syscall: "nfsservctl" ret: "int" args: */
#define	LINUX_SYS_nfsservctl	169

/* syscall: "setresgid16" ret: "int" args: "u_int16_t" "u_int16_t" "u_int16_t" */
#define	LINUX_SYS_setresgid16	170

/* syscall: "getresgid16" ret: "int" args: "u_int16_t *" "u_int16_t *" "u_int16_t *" */
#define	LINUX_SYS_getresgid16	171

/* syscall: "prctl" ret: "int" args: "int" "unsigned long" "unsigned long" "unsigned long" "unsigned long" */
#define	LINUX_SYS_prctl	172

/* syscall: "rt_sigreturn" ret: "int" args: "struct linux_rt_sigframe *" */
#define	LINUX_SYS_rt_sigreturn	173

/* syscall: "rt_sigaction" ret: "int" args: "int" "struct linux_sigaction *" "struct linux_sigaction *" "size_t" */
#define	LINUX_SYS_rt_sigaction	174

/* syscall: "rt_sigprocmask" ret: "int" args: "int" "const linux_sigset_t *" "linux_sigset_t *" "size_t" */
#define	LINUX_SYS_rt_sigprocmask	175

/* syscall: "rt_sigpending" ret: "int" args: "linux_sigset_t *" "size_t" */
#define	LINUX_SYS_rt_sigpending	176

/* syscall: "rt_sigtimedwait" ret: "int" args: */
#define	LINUX_SYS_rt_sigtimedwait	177

/* syscall: "rt_queueinfo" ret: "int" args: */
#define	LINUX_SYS_rt_queueinfo	178

/* syscall: "rt_sigsuspend" ret: "int" args: "linux_sigset_t *" "size_t" */
#define	LINUX_SYS_rt_sigsuspend	179

/* syscall: "pread" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define	LINUX_SYS_pread	180

/* syscall: "pwrite" ret: "int" args: "int" "char *" "size_t" "linux_off_t" */
#define	LINUX_SYS_pwrite	181

/* syscall: "chown16" ret: "int" args: "char *" "int" "int" */
#define	LINUX_SYS_chown16	182

/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define	LINUX_SYS___getcwd	183

/* syscall: "capget" ret: "int" args: */
#define	LINUX_SYS_capget	184

/* syscall: "capset" ret: "int" args: */
#define	LINUX_SYS_capset	185

/* syscall: "sigaltstack" ret: "int" args: "const struct linux_sigaltstack *" "struct linux_sigaltstack *" */
#define	LINUX_SYS_sigaltstack	186

/* syscall: "sendfile" ret: "int" args: */
#define	LINUX_SYS_sendfile	187

/* syscall: "getpmsg" ret: "int" args: */
#define	LINUX_SYS_getpmsg	188

/* syscall: "putpmsg" ret: "int" args: */
#define	LINUX_SYS_putpmsg	189

/* syscall: "vfork" ret: "int" args: */
#define	LINUX_SYS_vfork	190

/* syscall: "ugetrlimit" ret: "int" args: "u_int" "struct linux_rlimit *" */
#define	LINUX_SYS_ugetrlimit	191

/* syscall: "mmap2" ret: "linux_off_t" args: "unsigned long" "size_t" "int" "int" "int" "linux_off_t" */
#define	LINUX_SYS_mmap2	192

/* syscall: "truncate64" ret: "int" args: "char *" "off_t" */
#define	LINUX_SYS_truncate64	193

/* syscall: "ftruncate64" ret: "int" args: "int" "off_t" */
#define	LINUX_SYS_ftruncate64	194

/* syscall: "stat64" ret: "int" args: "char *" "struct linux_stat64 *" */
#define	LINUX_SYS_stat64	195

/* syscall: "lstat64" ret: "int" args: "char *" "struct linux_stat64 *" */
#define	LINUX_SYS_lstat64	196

/* syscall: "fstat64" ret: "int" args: "int" "struct linux_stat64 *" */
#define	LINUX_SYS_fstat64	197

/* syscall: "lchown" ret: "int" args: */
#define	LINUX_SYS_lchown	198

/* syscall: "getuid" ret: "uid_t" args: */
#define	LINUX_SYS_getuid	199

/* syscall: "getgid" ret: "gid_t" args: */
#define	LINUX_SYS_getgid	200

/* syscall: "geteuid" ret: "uid_t" args: */
#define	LINUX_SYS_geteuid	201

/* syscall: "getegid" ret: "gid_t" args: */
#define	LINUX_SYS_getegid	202

/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setreuid	203

/* syscall: "setregid" ret: "int" args: "int" "int" */
#define	LINUX_SYS_setregid	204

/* syscall: "getgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_getgroups	205

/* syscall: "setgroups" ret: "int" args: "u_int" "gid_t *" */
#define	LINUX_SYS_setgroups	206

/* syscall: "fchown" ret: "int" args: */
#define	LINUX_SYS_fchown	207

/* syscall: "setresuid" ret: "int" args: "uid_t" "uid_t" "uid_t" */
#define	LINUX_SYS_setresuid	208

/* syscall: "getresuid" ret: "int" args: "uid_t *" "uid_t *" "uid_t *" */
#define	LINUX_SYS_getresuid	209

/* syscall: "setresgid" ret: "int" args: "gid_t" "gid_t" "gid_t" */
#define	LINUX_SYS_setresgid	210

/* syscall: "getresgid" ret: "int" args: "gid_t *" "gid_t *" "gid_t *" */
#define	LINUX_SYS_getresgid	211

/* syscall: "chown" ret: "int" args: "char *" "uid_t" "gid_t" */
#define	LINUX_SYS_chown	212

/* syscall: "setuid" ret: "int" args: "uid_t" */
#define	LINUX_SYS_setuid	213

/* syscall: "setgid" ret: "int" args: "gid_t" */
#define	LINUX_SYS_setgid	214

/* syscall: "setfsuid" ret: "int" args: "uid_t" */
#define	LINUX_SYS_setfsuid	215

/* syscall: "setfsgid" ret: "int" args: */
#define	LINUX_SYS_setfsgid	216

/* syscall: "pivot_root" ret: "int" args: */
#define	LINUX_SYS_pivot_root	217

/* syscall: "mincore" ret: "int" args: */
#define	LINUX_SYS_mincore	218

/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
#define	LINUX_SYS_madvise	219

/* syscall: "getdents64" ret: "int" args: "int" "void *" "unsigned" */
#define	LINUX_SYS_getdents64	220

/* syscall: "fcntl64" ret: "int" args: "u_int" "u_int" "void *" */
#define	LINUX_SYS_fcntl64	221

/* syscall: "gettid" ret: "linux_pid_t" args: */
#define	LINUX_SYS_gettid	224

/* syscall: "setxattr" ret: "int" args: */
#define	LINUX_SYS_setxattr	226

/* syscall: "lsetxattr" ret: "int" args: */
#define	LINUX_SYS_lsetxattr	227

/* syscall: "fsetxattr" ret: "int" args: */
#define	LINUX_SYS_fsetxattr	228

/* syscall: "getxattr" ret: "int" args: */
#define	LINUX_SYS_getxattr	229

/* syscall: "lgetxattr" ret: "int" args: */
#define	LINUX_SYS_lgetxattr	230

/* syscall: "fgetxattr" ret: "int" args: */
#define	LINUX_SYS_fgetxattr	231

/* syscall: "listxattr" ret: "int" args: */
#define	LINUX_SYS_listxattr	232

/* syscall: "llistxattr" ret: "int" args: */
#define	LINUX_SYS_llistxattr	233

/* syscall: "flistxattr" ret: "int" args: */
#define	LINUX_SYS_flistxattr	234

/* syscall: "removexattr" ret: "int" args: */
#define	LINUX_SYS_removexattr	235

/* syscall: "lremovexattr" ret: "int" args: */
#define	LINUX_SYS_lremovexattr	236

/* syscall: "fremovexattr" ret: "int" args: */
#define	LINUX_SYS_fremovexattr	237

/* syscall: "futex" ret: "int" args: "int *" "int" "int" "const struct linux_timespec *" "int *" "int" */
#define	LINUX_SYS_futex	240

/* syscall: "set_thread_area" ret: "int" args: "struct l_segment_descriptor *" */
#define	LINUX_SYS_set_thread_area	243

/* syscall: "get_thread_area" ret: "int" args: "struct l_segment_descriptor *" */
#define	LINUX_SYS_get_thread_area	244

/* syscall: "fadvise64" ret: "int" args: */
#define	LINUX_SYS_fadvise64	250

/* syscall: "linux_exit_group" ret: "int" args: "int" */
#define	LINUX_SYS_linux_exit_group	252

/* syscall: "epoll_create" ret: "int" args: */
#define	LINUX_SYS_epoll_create	254

/* syscall: "epoll_ctl" ret: "int" args: */
#define	LINUX_SYS_epoll_ctl	255

/* syscall: "epoll_wait" ret: "int" args: */
#define	LINUX_SYS_epoll_wait	256

/* syscall: "set_tid_address" ret: "int" args: "void *" */
#define	LINUX_SYS_set_tid_address	258

/* syscall: "clock_gettime" ret: "int" args: "clockid_t" "struct linux_timespec *" */
#define	LINUX_SYS_clock_gettime	265

/* syscall: "clock_getres" ret: "int" args: "clockid_t" "struct linux_timespec *" */
#define	LINUX_SYS_clock_getres	266

/* syscall: "statfs64" ret: "int" args: "char *" "struct linux_statfs64 *" */
#define	LINUX_SYS_statfs64	268

/* syscall: "fstatfs64" ret: "int" args: "int" "struct linux_statfs64 *" */
#define	LINUX_SYS_fstatfs64	269

/* syscall: "tgkill" ret: "int" args: "int" "int" "int" */
#define	LINUX_SYS_tgkill	270

/* syscall: "set_robust_list" ret: "int" args: "struct linux_robust_list_head *" "size_t" */
#define	LINUX_SYS_set_robust_list	311

/* syscall: "get_robust_list" ret: "int" args: "int" "struct linux_robust_list_head **" "size_t *" */
#define	LINUX_SYS_get_robust_list	312

/* syscall: "epoll_pwait" ret: "int" args: */
#define	LINUX_SYS_epoll_pwait	319

/* syscall: "eventfd" ret: "int" args: */
#define	LINUX_SYS_eventfd	323

/* syscall: "eventfd2" ret: "int" args: */
#define	LINUX_SYS_eventfd2	328

/* syscall: "epoll_create1" ret: "int" args: */
#define	LINUX_SYS_epoll_create1	329

/* syscall: "pipe2" ret: "int" args: "int *" "int" */
#define	LINUX_SYS_pipe2	331

#define	LINUX_SYS_MAXSYSCALL	338


code:
/*	$OpenBSD: linux_syscallargs.h,v 1.81 2014/09/01 05:13:21 doug Exp $	*/

/*
 * System call argument lists.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from	OpenBSD: syscalls.master,v 1.76 2014/09/01 05:09:53 doug Exp
 */

#ifdef	syscallarg
#undef	syscallarg
#endif

#define	syscallarg(x)							\
	union {								\
		register_t pad;						\
		struct { x datum; } le;					\
		struct {						\
			int8_t pad[ (sizeof (register_t) < sizeof (x))	\
				? 0					\
				: sizeof (register_t) - sizeof (x)];	\
			x datum;					\
		} be;							\
	}

struct linux_sys_open_args {
	syscallarg(char *) path;
	syscallarg(int) flags;
	syscallarg(int) mode;
};

struct linux_sys_waitpid_args {
	syscallarg(int) pid;
	syscallarg(int *) status;
	syscallarg(int) options;
};

struct linux_sys_creat_args {
	syscallarg(char *) path;
	syscallarg(int) mode;
};

struct linux_sys_unlink_args {
	syscallarg(char *) path;
};

struct linux_sys_execve_args {
	syscallarg(char *) path;
	syscallarg(char **) argp;
	syscallarg(char **) envp;
};

struct linux_sys_chdir_args {
	syscallarg(char *) path;
};

struct linux_sys_time_args {
	syscallarg(linux_time_t *) t;
};

struct linux_sys_mknod_args {
	syscallarg(char *) path;
	syscallarg(int) mode;
	syscallarg(int) dev;
};

struct linux_sys_chmod_args {
	syscallarg(char *) path;
	syscallarg(int) mode;
};

struct linux_sys_lchown16_args {
	syscallarg(char *) path;
	syscallarg(int) uid;
	syscallarg(int) gid;
};

struct linux_sys_break_args {
	syscallarg(char *) nsize;
};

struct linux_sys_lseek_args {
	syscallarg(int) fd;
	syscallarg(long) offset;
	syscallarg(int) whence;
};

struct linux_sys_mount_args {
	syscallarg(char *) specialfile;
	syscallarg(char *) dir;
	syscallarg(char *) filesystemtype;
	syscallarg(long) rwflag;
	syscallarg(void *) data;
};

struct linux_sys_umount_args {
	syscallarg(char *) specialfile;
};

struct linux_sys_alarm_args {
	syscallarg(unsigned int) secs;
};

struct linux_sys_utime_args {
	syscallarg(char *) path;
	syscallarg(struct linux_utimbuf *) times;
};

struct linux_sys_access_args {
	syscallarg(char *) path;
	syscallarg(int) flags;
};

struct linux_sys_nice_args {
	syscallarg(int) incr;
};

struct linux_sys_kill_args {
	syscallarg(int) pid;
	syscallarg(int) signum;
};

struct linux_sys_rename_args {
	syscallarg(char *) from;
	syscallarg(char *) to;
};

struct linux_sys_mkdir_args {
	syscallarg(char *) path;
	syscallarg(int) mode;
};

struct linux_sys_rmdir_args {
	syscallarg(char *) path;
};

struct linux_sys_times_args {
	syscallarg(struct linux_tms *) tms;
};

struct linux_sys_brk_args {
	syscallarg(char *) nsize;
};

struct linux_sys_signal_args {
	syscallarg(int) sig;
	syscallarg(linux_handler_t) handler;
};

struct linux_sys_ioctl_args {
	syscallarg(int) fd;
	syscallarg(u_long) com;
	syscallarg(caddr_t) data;
};

struct linux_sys_fcntl_args {
	syscallarg(int) fd;
	syscallarg(int) cmd;
	syscallarg(void *) arg;
};

struct linux_sys_oldolduname_args {
	syscallarg(struct linux_oldold_utsname *) up;
};

struct linux_sys_sigaction_args {
	syscallarg(int) signum;
	syscallarg(struct linux_old_sigaction *) nsa;
	syscallarg(struct linux_old_sigaction *) osa;
};

struct linux_sys_sigsetmask_args {
	syscallarg(linux_old_sigset_t) mask;
};

struct linux_sys_setreuid16_args {
	syscallarg(int) ruid;
	syscallarg(int) euid;
};

struct linux_sys_setregid16_args {
	syscallarg(int) rgid;
	syscallarg(int) egid;
};

struct linux_sys_sigsuspend_args {
	syscallarg(caddr_t) restart;
	syscallarg(int) oldmask;
	syscallarg(int) mask;
};

struct linux_sys_sigpending_args {
	syscallarg(linux_old_sigset_t *) mask;
};

struct linux_sys_sethostname_args {
	syscallarg(char *) hostname;
	syscallarg(u_int) len;
};

struct linux_sys_setrlimit_args {
	syscallarg(u_int) which;
	syscallarg(struct linux_rlimit *) rlp;
};

struct linux_sys_getrlimit_args {
	syscallarg(u_int) which;
	syscallarg(struct linux_rlimit *) rlp;
};

struct linux_sys_getrusage_args {
	syscallarg(int) who;
	syscallarg(struct linux_rusage *) rusage;
};

struct linux_sys_gettimeofday_args {
	syscallarg(struct linux_timeval *) tp;
	syscallarg(struct timezone *) tzp;
};

struct linux_sys_oldselect_args {
	syscallarg(struct linux_select *) lsp;
};

struct linux_sys_symlink_args {
	syscallarg(char *) path;
	syscallarg(char *) to;
};

struct linux_sys_readlink_args {
	syscallarg(char *) name;
	syscallarg(char *) buf;
	syscallarg(int) count;
};

struct linux_sys_swapon_args {
	syscallarg(char *) name;
};

struct linux_sys_readdir_args {
	syscallarg(int) fd;
	syscallarg(caddr_t) dent;
	syscallarg(unsigned int) count;
};

struct linux_sys_mmap_args {
	syscallarg(struct linux_mmap *) lmp;
};

struct linux_sys_truncate_args {
	syscallarg(char *) path;
	syscallarg(long) length;
};

struct linux_sys_ftruncate_args {
	syscallarg(int) fd;
	syscallarg(long) length;
};

struct linux_sys_fchown16_args {
	syscallarg(int) fd;
	syscallarg(int) uid;
	syscallarg(int) gid;
};

struct linux_sys_statfs_args {
	syscallarg(char *) path;
	syscallarg(struct linux_statfs *) sp;
};

struct linux_sys_fstatfs_args {
	syscallarg(int) fd;
	syscallarg(struct linux_statfs *) sp;
};

struct linux_sys_ioperm_args {
	syscallarg(unsigned int) lo;
	syscallarg(unsigned int) hi;
	syscallarg(int) val;
};

struct linux_sys_socketcall_args {
	syscallarg(int) what;
	syscallarg(void *) args;
};

struct linux_sys_setitimer_args {
	syscallarg(u_int) which;
	syscallarg(struct linux_itimerval *) itv;
	syscallarg(struct linux_itimerval *) oitv;
};

struct linux_sys_getitimer_args {
	syscallarg(u_int) which;
	syscallarg(struct linux_itimerval *) itv;
};

struct linux_sys_stat_args {
	syscallarg(char *) path;
	syscallarg(struct linux_stat *) sp;
};

struct linux_sys_lstat_args {
	syscallarg(char *) path;
	syscallarg(struct linux_stat *) sp;
};

struct linux_sys_fstat_args {
	syscallarg(int) fd;
	syscallarg(struct linux_stat *) sp;
};

struct linux_sys_olduname_args {
	syscallarg(struct linux_old_utsname *) up;
};

struct linux_sys_iopl_args {
	syscallarg(int) level;
};

struct linux_sys_wait4_args {
	syscallarg(int) pid;
	syscallarg(int *) status;
	syscallarg(int) options;
	syscallarg(struct linux_rusage *) rusage;
};

struct linux_sys_sysinfo_args {
	syscallarg(struct linux_sysinfo *) sysinfo;
};

struct linux_sys_ipc_args {
	syscallarg(int) what;
	syscallarg(int) a1;
	syscallarg(int) a2;
	syscallarg(int) a3;
	syscallarg(caddr_t) ptr;
};

struct linux_sys_sigreturn_args {
	syscallarg(struct linux_sigcontext *) scp;
};

struct linux_sys_clone_args {
	syscallarg(int) flags;
	syscallarg(void *) stack;
	syscallarg(void *) parent_tidptr;
	syscallarg(void *) tls;
	syscallarg(void *) child_tidptr;
};

struct linux_sys_setdomainname_args {
	syscallarg(char *) name;
	syscallarg(int) len;
};

struct linux_sys_uname_args {
	syscallarg(struct linux_utsname *) up;
};

struct linux_sys_modify_ldt_args {
	syscallarg(int) func;
	syscallarg(void *) ptr;
	syscallarg(size_t) bytecount;
};

struct linux_sys_mprotect_args {
	syscallarg(caddr_t) addr;
	syscallarg(int) len;
	syscallarg(int) prot;
};

struct linux_sys_sigprocmask_args {
	syscallarg(int) how;
	syscallarg(linux_old_sigset_t *) set;
	syscallarg(linux_old_sigset_t *) oset;
};

struct linux_sys_getpgid_args {
	syscallarg(int) pid;
};

struct linux_sys_personality_args {
	syscallarg(int) per;
};

struct linux_sys_llseek_args {
	syscallarg(int) fd;
	syscallarg(u_int32_t) ohigh;
	syscallarg(u_int32_t) olow;
	syscallarg(caddr_t) res;
	syscallarg(int) whence;
};

struct linux_sys_getdents_args {
	syscallarg(int) fd;
	syscallarg(void *) dirent;
	syscallarg(unsigned) count;
};

struct linux_sys_select_args {
	syscallarg(int) nfds;
	syscallarg(fd_set *) readfds;
	syscallarg(fd_set *) writefds;
	syscallarg(fd_set *) exceptfds;
	syscallarg(struct linux_timeval *) timeout;
};

struct linux_sys_fdatasync_args {
	syscallarg(int) fd;
};

struct linux_sys___sysctl_args {
	syscallarg(struct linux___sysctl *) lsp;
};

struct linux_sys_sched_setparam_args {
	syscallarg(linux_pid_t) pid;
	syscallarg(const struct linux_sched_param *) sp;
};

struct linux_sys_sched_getparam_args {
	syscallarg(linux_pid_t) pid;
	syscallarg(struct linux_sched_param *) sp;
};

struct linux_sys_sched_setscheduler_args {
	syscallarg(linux_pid_t) pid;
	syscallarg(int) policy;
	syscallarg(const struct linux_sched_param *) sp;
};

struct linux_sys_sched_getscheduler_args {
	syscallarg(linux_pid_t) pid;
};

struct linux_sys_sched_get_priority_max_args {
	syscallarg(int) policy;
};

struct linux_sys_sched_get_priority_min_args {
	syscallarg(int) policy;
};

struct linux_sys_nanosleep_args {
	syscallarg(const struct linux_timespec *) rqtp;
	syscallarg(struct linux_timespec *) rmtp;
};

struct linux_sys_mremap_args {
	syscallarg(void *) old_address;
	syscallarg(size_t) old_size;
	syscallarg(size_t) new_size;
	syscallarg(long) flags;
};

struct linux_sys_setresuid16_args {
	syscallarg(u_int16_t) ruid;
	syscallarg(u_int16_t) euid;
	syscallarg(u_int16_t) suid;
};

struct linux_sys_getresuid16_args {
	syscallarg(u_int16_t *) ruid;
	syscallarg(u_int16_t *) euid;
	syscallarg(u_int16_t *) suid;
};

struct linux_sys_setresgid16_args {
	syscallarg(u_int16_t) rgid;
	syscallarg(u_int16_t) egid;
	syscallarg(u_int16_t) sgid;
};

struct linux_sys_getresgid16_args {
	syscallarg(u_int16_t *) rgid;
	syscallarg(u_int16_t *) egid;
	syscallarg(u_int16_t *) sgid;
};

struct linux_sys_prctl_args {
	syscallarg(int) option;
	syscallarg(unsigned long) arg2;
	syscallarg(unsigned long) arg3;
	syscallarg(unsigned long) arg4;
	syscallarg(unsigned long) arg5;
};

struct linux_sys_rt_sigreturn_args {
	syscallarg(struct linux_rt_sigframe *) sfp;
};

struct linux_sys_rt_sigaction_args {
	syscallarg(int) signum;
	syscallarg(struct linux_sigaction *) nsa;
	syscallarg(struct linux_sigaction *) osa;
	syscallarg(size_t) sigsetsize;
};

struct linux_sys_rt_sigprocmask_args {
	syscallarg(int) how;
	syscallarg(const linux_sigset_t *) set;
	syscallarg(linux_sigset_t *) oset;
	syscallarg(size_t) sigsetsize;
};

struct linux_sys_rt_sigpending_args {
	syscallarg(linux_sigset_t *) set;
	syscallarg(size_t) sigsetsize;
};

struct linux_sys_rt_sigsuspend_args {
	syscallarg(linux_sigset_t *) unewset;
	syscallarg(size_t) sigsetsize;
};

struct linux_sys_pread_args {
	syscallarg(int) fd;
	syscallarg(char *) buf;
	syscallarg(size_t) nbyte;
	syscallarg(linux_off_t) offset;
};

struct linux_sys_pwrite_args {
	syscallarg(int) fd;
	syscallarg(char *) buf;
	syscallarg(size_t) nbyte;
	syscallarg(linux_off_t) offset;
};

struct linux_sys_chown16_args {
	syscallarg(char *) path;
	syscallarg(int) uid;
	syscallarg(int) gid;
};

struct linux_sys_sigaltstack_args {
	syscallarg(const struct linux_sigaltstack *) nss;
	syscallarg(struct linux_sigaltstack *) oss;
};

struct linux_sys_ugetrlimit_args {
	syscallarg(u_int) which;
	syscallarg(struct linux_rlimit *) rlp;
};

struct linux_sys_mmap2_args {
	syscallarg(unsigned long) addr;
	syscallarg(size_t) len;
	syscallarg(int) prot;
	syscallarg(int) flags;
	syscallarg(int) fd;
	syscallarg(linux_off_t) offset;
};

struct linux_sys_truncate64_args {
	syscallarg(char *) path;
	syscallarg(off_t) length;
};

struct linux_sys_ftruncate64_args {
	syscallarg(int) fd;
	syscallarg(off_t) length;
};

struct linux_sys_stat64_args {
	syscallarg(char *) path;
	syscallarg(struct linux_stat64 *) sp;
};

struct linux_sys_lstat64_args {
	syscallarg(char *) path;
	syscallarg(struct linux_stat64 *) sp;
};

struct linux_sys_fstat64_args {
	syscallarg(int) fd;
	syscallarg(struct linux_stat64 *) sp;
};

struct linux_sys_chown_args {
	syscallarg(char *) path;
	syscallarg(uid_t) uid;
	syscallarg(gid_t) gid;
};

struct linux_sys_setfsuid_args {
	syscallarg(uid_t) uid;
};

struct linux_sys_getdents64_args {
	syscallarg(int) fd;
	syscallarg(void *) dirent;
	syscallarg(unsigned) count;
};

struct linux_sys_fcntl64_args {
	syscallarg(u_int) fd;
	syscallarg(u_int) cmd;
	syscallarg(void *) arg;
};

struct linux_sys_futex_args {
	syscallarg(int *) uaddr;
	syscallarg(int) op;
	syscallarg(int) val;
	syscallarg(const struct linux_timespec *) timeout;
	syscallarg(int *) uaddr2;
	syscallarg(int) val3;
};

struct linux_sys_set_thread_area_args {
	syscallarg(struct l_segment_descriptor *) desc;
};

struct linux_sys_get_thread_area_args {
	syscallarg(struct l_segment_descriptor *) desc;
};

struct linux_sys_set_tid_address_args {
	syscallarg(void *) tidptr;
};

struct linux_sys_clock_gettime_args {
	syscallarg(clockid_t) which;
	syscallarg(struct linux_timespec *) tp;
};

struct linux_sys_clock_getres_args {
	syscallarg(clockid_t) which;
	syscallarg(struct linux_timespec *) tp;
};

struct linux_sys_statfs64_args {
	syscallarg(char *) path;
	syscallarg(struct linux_statfs64 *) sp;
};

struct linux_sys_fstatfs64_args {
	syscallarg(int) fd;
	syscallarg(struct linux_statfs64 *) sp;
};

struct linux_sys_tgkill_args {
	syscallarg(int) tgid;
	syscallarg(int) tid;
	syscallarg(int) sig;
};

struct linux_sys_set_robust_list_args {
	syscallarg(struct linux_robust_list_head *) head;
	syscallarg(size_t) len;
};

struct linux_sys_get_robust_list_args {
	syscallarg(int) pid;
	syscallarg(struct linux_robust_list_head **) head;
	syscallarg(size_t *) len;
};

struct linux_sys_pipe2_args {
	syscallarg(int *) fdp;
	syscallarg(int) flags;
};

/*
 * System call prototypes.
 */

int	sys_nosys(struct proc *, void *, register_t *);
int	sys_exit(struct proc *, void *, register_t *);
int	sys_fork(struct proc *, void *, register_t *);
int	sys_read(struct proc *, void *, register_t *);
int	sys_write(struct proc *, void *, register_t *);
int	linux_sys_open(struct proc *, void *, register_t *);
int	sys_close(struct proc *, void *, register_t *);
int	linux_sys_waitpid(struct proc *, void *, register_t *);
int	linux_sys_creat(struct proc *, void *, register_t *);
int	sys_link(struct proc *, void *, register_t *);
int	linux_sys_unlink(struct proc *, void *, register_t *);
int	linux_sys_execve(struct proc *, void *, register_t *);
int	linux_sys_chdir(struct proc *, void *, register_t *);
int	linux_sys_time(struct proc *, void *, register_t *);
int	linux_sys_mknod(struct proc *, void *, register_t *);
int	linux_sys_chmod(struct proc *, void *, register_t *);
int	linux_sys_lchown16(struct proc *, void *, register_t *);
int	linux_sys_break(struct proc *, void *, register_t *);
int	linux_sys_ostat(struct proc *, void *, register_t *);
int	linux_sys_lseek(struct proc *, void *, register_t *);
int	linux_sys_getpid(struct proc *, void *, register_t *);
int	linux_sys_mount(struct proc *, void *, register_t *);
int	linux_sys_umount(struct proc *, void *, register_t *);
int	sys_setuid(struct proc *, void *, register_t *);
int	linux_sys_getuid(struct proc *, void *, register_t *);
#ifdef PTRACE
int	linux_sys_ptrace(struct proc *, void *, register_t *);
#else
#endif
int	linux_sys_alarm(struct proc *, void *, register_t *);
int	linux_sys_ofstat(struct proc *, void *, register_t *);
int	linux_sys_pause(struct proc *, void *, register_t *);
int	linux_sys_utime(struct proc *, void *, register_t *);
int	linux_sys_stty(struct proc *, void *, register_t *);
int	linux_sys_gtty(struct proc *, void *, register_t *);
int	linux_sys_access(struct proc *, void *, register_t *);
int	linux_sys_nice(struct proc *, void *, register_t *);
int	linux_sys_ftime(struct proc *, void *, register_t *);
int	sys_sync(struct proc *, void *, register_t *);
int	linux_sys_kill(struct proc *, void *, register_t *);
int	linux_sys_rename(struct proc *, void *, register_t *);
int	linux_sys_mkdir(struct proc *, void *, register_t *);
int	linux_sys_rmdir(struct proc *, void *, register_t *);
int	sys_dup(struct proc *, void *, register_t *);
int	sys_pipe(struct proc *, void *, register_t *);
int	linux_sys_times(struct proc *, void *, register_t *);
int	linux_sys_prof(struct proc *, void *, register_t *);
int	linux_sys_brk(struct proc *, void *, register_t *);
int	sys_setgid(struct proc *, void *, register_t *);
int	linux_sys_getgid(struct proc *, void *, register_t *);
int	linux_sys_signal(struct proc *, void *, register_t *);
int	sys_geteuid(struct proc *, void *, register_t *);
int	sys_getegid(struct proc *, void *, register_t *);
#ifdef ACCOUNTING
int	sys_acct(struct proc *, void *, register_t *);
#else
#endif
int	linux_sys_phys(struct proc *, void *, register_t *);
int	linux_sys_lock(struct proc *, void *, register_t *);
int	linux_sys_ioctl(struct proc *, void *, register_t *);
int	linux_sys_fcntl(struct proc *, void *, register_t *);
int	linux_sys_mpx(struct proc *, void *, register_t *);
int	sys_setpgid(struct proc *, void *, register_t *);
int	linux_sys_ulimit(struct proc *, void *, register_t *);
int	linux_sys_oldolduname(struct proc *, void *, register_t *);
int	sys_umask(struct proc *, void *, register_t *);
int	sys_chroot(struct proc *, void *, register_t *);
int	linux_sys_ustat(struct proc *, void *, register_t *);
int	sys_dup2(struct proc *, void *, register_t *);
int	sys_getppid(struct proc *, void *, register_t *);
int	sys_getpgrp(struct proc *, void *, register_t *);
int	sys_setsid(struct proc *, void *, register_t *);
int	linux_sys_sigaction(struct proc *, void *, register_t *);
int	linux_sys_siggetmask(struct proc *, void *, register_t *);
int	linux_sys_sigsetmask(struct proc *, void *, register_t *);
int	linux_sys_setreuid16(struct proc *, void *, register_t *);
int	linux_sys_setregid16(struct proc *, void *, register_t *);
int	linux_sys_sigsuspend(struct proc *, void *, register_t *);
int	linux_sys_sigpending(struct proc *, void *, register_t *);
int	linux_sys_sethostname(struct proc *, void *, register_t *);
int	linux_sys_setrlimit(struct proc *, void *, register_t *);
int	linux_sys_getrlimit(struct proc *, void *, register_t *);
int	linux_sys_getrusage(struct proc *, void *, register_t *);
int	linux_sys_gettimeofday(struct proc *, void *, register_t *);
int	sys_getgroups(struct proc *, void *, register_t *);
int	sys_setgroups(struct proc *, void *, register_t *);
int	linux_sys_oldselect(struct proc *, void *, register_t *);
int	linux_sys_symlink(struct proc *, void *, register_t *);
int	linux_sys_lstat(struct proc *, void *, register_t *);
int	linux_sys_readlink(struct proc *, void *, register_t *);
int	linux_sys_swapon(struct proc *, void *, register_t *);
int	sys_reboot(struct proc *, void *, register_t *);
int	linux_sys_readdir(struct proc *, void *, register_t *);
int	linux_sys_mmap(struct proc *, void *, register_t *);
int	sys_munmap(struct proc *, void *, register_t *);
int	linux_sys_truncate(struct proc *, void *, register_t *);
int	linux_sys_ftruncate(struct proc *, void *, register_t *);
int	sys_fchmod(struct proc *, void *, register_t *);
int	linux_sys_fchown16(struct proc *, void *, register_t *);
int	sys_getpriority(struct proc *, void *, register_t *);
int	sys_setpriority(struct proc *, void *, register_t *);
int	sys_profil(struct proc *, void *, register_t *);
int	linux_sys_statfs(struct proc *, void *, register_t *);
int	linux_sys_fstatfs(struct proc *, void *, register_t *);
#ifdef __i386__
int	linux_sys_ioperm(struct proc *, void *, register_t *);
#else
int	linux_sys_ioperm(struct proc *, void *, register_t *);
#endif
int	linux_sys_socketcall(struct proc *, void *, register_t *);
int	linux_sys_klog(struct proc *, void *, register_t *);
int	linux_sys_setitimer(struct proc *, void *, register_t *);
int	linux_sys_getitimer(struct proc *, void *, register_t *);
int	linux_sys_stat(struct proc *, void *, register_t *);
int	linux_sys_lstat(struct proc *, void *, register_t *);
int	linux_sys_fstat(struct proc *, void *, register_t *);
int	linux_sys_olduname(struct proc *, void *, register_t *);
#ifdef __i386__
int	linux_sys_iopl(struct proc *, void *, register_t *);
#else
int	linux_sys_iopl(struct proc *, void *, register_t *);
#endif
int	linux_sys_vhangup(struct proc *, void *, register_t *);
int	linux_sys_idle(struct proc *, void *, register_t *);
int	linux_sys_vm86old(struct proc *, void *, register_t *);
int	linux_sys_wait4(struct proc *, void *, register_t *);
int	linux_sys_swapoff(struct proc *, void *, register_t *);
int	linux_sys_sysinfo(struct proc *, void *, register_t *);
int	linux_sys_ipc(struct proc *, void *, register_t *);
int	sys_fsync(struct proc *, void *, register_t *);
int	linux_sys_sigreturn(struct proc *, void *, register_t *);
int	linux_sys_clone(struct proc *, void *, register_t *);
int	linux_sys_setdomainname(struct proc *, void *, register_t *);
int	linux_sys_uname(struct proc *, void *, register_t *);
#ifdef __i386__
int	linux_sys_modify_ldt(struct proc *, void *, register_t *);
#else
int	linux_sys_modify_ldt(struct proc *, void *, register_t *);
#endif
int	linux_sys_adjtimex(struct proc *, void *, register_t *);
int	linux_sys_mprotect(struct proc *, void *, register_t *);
int	linux_sys_sigprocmask(struct proc *, void *, register_t *);
int	linux_sys_create_module(struct proc *, void *, register_t *);
int	linux_sys_init_module(struct proc *, void *, register_t *);
int	linux_sys_delete_module(struct proc *, void *, register_t *);
int	linux_sys_get_kernel_syms(struct proc *, void *, register_t *);
int	linux_sys_quotactl(struct proc *, void *, register_t *);
int	linux_sys_getpgid(struct proc *, void *, register_t *);
int	sys_fchdir(struct proc *, void *, register_t *);
int	linux_sys_bdflush(struct proc *, void *, register_t *);
int	linux_sys_sysfs(struct proc *, void *, register_t *);
int	linux_sys_personality(struct proc *, void *, register_t *);
int	linux_sys_afs_syscall(struct proc *, void *, register_t *);
int	linux_sys_setfsuid(struct proc *, void *, register_t *);
int	linux_sys_getfsuid(struct proc *, void *, register_t *);
int	linux_sys_llseek(struct proc *, void *, register_t *);
int	linux_sys_getdents(struct proc *, void *, register_t *);
int	linux_sys_select(struct proc *, void *, register_t *);
int	sys_flock(struct proc *, void *, register_t *);
int	sys_msync(struct proc *, void *, register_t *);
int	sys_readv(struct proc *, void *, register_t *);
int	sys_writev(struct proc *, void *, register_t *);
int	sys_getsid(struct proc *, void *, register_t *);
int	linux_sys_fdatasync(struct proc *, void *, register_t *);
int	linux_sys___sysctl(struct proc *, void *, register_t *);
int	sys_mlock(struct proc *, void *, register_t *);
int	sys_munlock(struct proc *, void *, register_t *);
int	linux_sys_mlockall(struct proc *, void *, register_t *);
int	linux_sys_munlockall(struct proc *, void *, register_t *);
int	linux_sys_sched_setparam(struct proc *, void *, register_t *);
int	linux_sys_sched_getparam(struct proc *, void *, register_t *);
int	linux_sys_sched_setscheduler(struct proc *, void *, register_t *);
int	linux_sys_sched_getscheduler(struct proc *, void *, register_t *);
int	linux_sys_sched_yield(struct proc *, void *, register_t *);
int	linux_sys_sched_get_priority_max(struct proc *, void *, register_t *);
int	linux_sys_sched_get_priority_min(struct proc *, void *, register_t *);
int	linux_sys_sched_rr_get_interval(struct proc *, void *, register_t *);
int	linux_sys_nanosleep(struct proc *, void *, register_t *);
int	linux_sys_mremap(struct proc *, void *, register_t *);
int	linux_sys_setresuid16(struct proc *, void *, register_t *);
int	linux_sys_getresuid16(struct proc *, void *, register_t *);
int	linux_sys_vm86(struct proc *, void *, register_t *);
int	linux_sys_query_module(struct proc *, void *, register_t *);
int	sys_poll(struct proc *, void *, register_t *);
int	linux_sys_nfsservctl(struct proc *, void *, register_t *);
int	linux_sys_setresgid16(struct proc *, void *, register_t *);
int	linux_sys_getresgid16(struct proc *, void *, register_t *);
int	linux_sys_prctl(struct proc *, void *, register_t *);
int	linux_sys_rt_sigreturn(struct proc *, void *, register_t *);
int	linux_sys_rt_sigaction(struct proc *, void *, register_t *);
int	linux_sys_rt_sigprocmask(struct proc *, void *, register_t *);
int	linux_sys_rt_sigpending(struct proc *, void *, register_t *);
int	linux_sys_rt_sigtimedwait(struct proc *, void *, register_t *);
int	linux_sys_rt_queueinfo(struct proc *, void *, register_t *);
int	linux_sys_rt_sigsuspend(struct proc *, void *, register_t *);
int	linux_sys_pread(struct proc *, void *, register_t *);
int	linux_sys_pwrite(struct proc *, void *, register_t *);
int	linux_sys_chown16(struct proc *, void *, register_t *);
int	sys___getcwd(struct proc *, void *, register_t *);
int	linux_sys_capget(struct proc *, void *, register_t *);
int	linux_sys_capset(struct proc *, void *, register_t *);
int	linux_sys_sigaltstack(struct proc *, void *, register_t *);
int	linux_sys_sendfile(struct proc *, void *, register_t *);
int	linux_sys_getpmsg(struct proc *, void *, register_t *);
int	linux_sys_putpmsg(struct proc *, void *, register_t *);
int	sys_vfork(struct proc *, void *, register_t *);
int	linux_sys_ugetrlimit(struct proc *, void *, register_t *);
int	linux_sys_mmap2(struct proc *, void *, register_t *);
int	linux_sys_truncate64(struct proc *, void *, register_t *);
int	linux_sys_ftruncate64(struct proc *, void *, register_t *);
int	linux_sys_stat64(struct proc *, void *, register_t *);
int	linux_sys_lstat64(struct proc *, void *, register_t *);
int	linux_sys_fstat64(struct proc *, void *, register_t *);
int	linux_sys_lchown(struct proc *, void *, register_t *);
int	linux_sys_getuid(struct proc *, void *, register_t *);
int	linux_sys_getgid(struct proc *, void *, register_t *);
int	sys_geteuid(struct proc *, void *, register_t *);
int	sys_getegid(struct proc *, void *, register_t *);
int	sys_setreuid(struct proc *, void *, register_t *);
int	sys_setregid(struct proc *, void *, register_t *);
int	sys_getgroups(struct proc *, void *, register_t *);
int	sys_setgroups(struct proc *, void *, register_t *);
int	linux_sys_fchown(struct proc *, void *, register_t *);
int	sys_setresuid(struct proc *, void *, register_t *);
int	sys_getresuid(struct proc *, void *, register_t *);
int	sys_setresgid(struct proc *, void *, register_t *);
int	sys_getresgid(struct proc *, void *, register_t *);
int	linux_sys_chown(struct proc *, void *, register_t *);
int	sys_setuid(struct proc *, void *, register_t *);
int	sys_setgid(struct proc *, void *, register_t *);
int	linux_sys_setfsuid(struct proc *, void *, register_t *);
int	linux_sys_setfsgid(struct proc *, void *, register_t *);
int	linux_sys_pivot_root(struct proc *, void *, register_t *);
int	linux_sys_mincore(struct proc *, void *, register_t *);
int	sys_madvise(struct proc *, void *, register_t *);
int	linux_sys_getdents64(struct proc *, void *, register_t *);
int	linux_sys_fcntl64(struct proc *, void *, register_t *);
int	linux_sys_gettid(struct proc *, void *, register_t *);
int	linux_sys_setxattr(struct proc *, void *, register_t *);
int	linux_sys_lsetxattr(struct proc *, void *, register_t *);
int	linux_sys_fsetxattr(struct proc *, void *, register_t *);
int	linux_sys_getxattr(struct proc *, void *, register_t *);
int	linux_sys_lgetxattr(struct proc *, void *, register_t *);
int	linux_sys_fgetxattr(struct proc *, void *, register_t *);
int	linux_sys_listxattr(struct proc *, void *, register_t *);
int	linux_sys_llistxattr(struct proc *, void *, register_t *);
int	linux_sys_flistxattr(struct proc *, void *, register_t *);
int	linux_sys_removexattr(struct proc *, void *, register_t *);
int	linux_sys_lremovexattr(struct proc *, void *, register_t *);
int	linux_sys_fremovexattr(struct proc *, void *, register_t *);
int	linux_sys_futex(struct proc *, void *, register_t *);
int	linux_sys_set_thread_area(struct proc *, void *, register_t *);
int	linux_sys_get_thread_area(struct proc *, void *, register_t *);
int	linux_sys_fadvise64(struct proc *, void *, register_t *);
int	sys_exit(struct proc *, void *, register_t *);
int	linux_sys_epoll_create(struct proc *, void *, register_t *);
int	linux_sys_epoll_ctl(struct proc *, void *, register_t *);
int	linux_sys_epoll_wait(struct proc *, void *, register_t *);
int	linux_sys_set_tid_address(struct proc *, void *, register_t *);
int	linux_sys_clock_gettime(struct proc *, void *, register_t *);
int	linux_sys_clock_getres(struct proc *, void *, register_t *);
int	linux_sys_statfs64(struct proc *, void *, register_t *);
int	linux_sys_fstatfs64(struct proc *, void *, register_t *);
int	linux_sys_tgkill(struct proc *, void *, register_t *);
int	linux_sys_set_robust_list(struct proc *, void *, register_t *);
int	linux_sys_get_robust_list(struct proc *, void *, register_t *);
int	linux_sys_epoll_pwait(struct proc *, void *, register_t *);
int	linux_sys_eventfd(struct proc *, void *, register_t *);
int	linux_sys_eventfd2(struct proc *, void *, register_t *);
int	linux_sys_epoll_create1(struct proc *, void *, register_t *);
int	linux_sys_pipe2(struct proc *, void *, register_t *);

license: unknown


code:
/*	$OpenBSD: linux_syscalls.c,v 1.79 2014/09/01 05:13:21 doug Exp $	*/

/*
 * System call names.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from	OpenBSD: syscalls.master,v 1.76 2014/09/01 05:09:53 doug Exp
 */

char *linux_syscallnames[] = {
	"syscall",			/* 0 = syscall */
	"exit",			/* 1 = exit */
	"fork",			/* 2 = fork */
	"read",			/* 3 = read */
	"write",			/* 4 = write */
	"open",			/* 5 = open */
	"close",			/* 6 = close */
	"waitpid",			/* 7 = waitpid */
	"creat",			/* 8 = creat */
	"link",			/* 9 = link */
	"unlink",			/* 10 = unlink */
	"execve",			/* 11 = execve */
	"chdir",			/* 12 = chdir */
	"time",			/* 13 = time */
	"mknod",			/* 14 = mknod */
	"chmod",			/* 15 = chmod */
	"lchown16",			/* 16 = lchown16 */
	"break",			/* 17 = break */
	"ostat",			/* 18 = ostat */
	"lseek",			/* 19 = lseek */
	"getpid",			/* 20 = getpid */
	"mount",			/* 21 = mount */
	"umount",			/* 22 = umount */
	"linux_setuid16",			/* 23 = linux_setuid16 */
	"linux_getuid16",			/* 24 = linux_getuid16 */
	"#25 (unimplemented stime)",		/* 25 = unimplemented stime */
#ifdef PTRACE
	"ptrace",			/* 26 = ptrace */
#else
	"#26 (unimplemented ptrace)",		/* 26 = unimplemented ptrace */
#endif
	"alarm",			/* 27 = alarm */
	"ofstat",			/* 28 = ofstat */
	"pause",			/* 29 = pause */
	"utime",			/* 30 = utime */
	"stty",			/* 31 = stty */
	"gtty",			/* 32 = gtty */
	"access",			/* 33 = access */
	"nice",			/* 34 = nice */
	"ftime",			/* 35 = ftime */
	"sync",			/* 36 = sync */
	"kill",			/* 37 = kill */
	"rename",			/* 38 = rename */
	"mkdir",			/* 39 = mkdir */
	"rmdir",			/* 40 = rmdir */
	"dup",			/* 41 = dup */
	"pipe",			/* 42 = pipe */
	"times",			/* 43 = times */
	"prof",			/* 44 = prof */
	"brk",			/* 45 = brk */
	"linux_setgid16",			/* 46 = linux_setgid16 */
	"linux_getgid16",			/* 47 = linux_getgid16 */
	"signal",			/* 48 = signal */
	"linux_geteuid16",			/* 49 = linux_geteuid16 */
	"linux_getegid16",			/* 50 = linux_getegid16 */
#ifdef ACCOUNTING
	"acct",			/* 51 = acct */
#else
	"#51 (unimplemented acct)",		/* 51 = unimplemented acct */
#endif
	"phys",			/* 52 = phys */
	"lock",			/* 53 = lock */
	"ioctl",			/* 54 = ioctl */
	"fcntl",			/* 55 = fcntl */
	"mpx",			/* 56 = mpx */
	"setpgid",			/* 57 = setpgid */
	"ulimit",			/* 58 = ulimit */
	"oldolduname",			/* 59 = oldolduname */
	"umask",			/* 60 = umask */
	"chroot",			/* 61 = chroot */
	"ustat",			/* 62 = ustat */
	"dup2",			/* 63 = dup2 */
	"getppid",			/* 64 = getppid */
	"getpgrp",			/* 65 = getpgrp */
	"setsid",			/* 66 = setsid */
	"sigaction",			/* 67 = sigaction */
	"siggetmask",			/* 68 = siggetmask */
	"sigsetmask",			/* 69 = sigsetmask */
	"setreuid16",			/* 70 = setreuid16 */
	"setregid16",			/* 71 = setregid16 */
	"sigsuspend",			/* 72 = sigsuspend */
	"sigpending",			/* 73 = sigpending */
	"sethostname",			/* 74 = sethostname */
	"setrlimit",			/* 75 = setrlimit */
	"getrlimit",			/* 76 = getrlimit */
	"getrusage",			/* 77 = getrusage */
	"gettimeofday",			/* 78 = gettimeofday */
	"#79 (unimplemented settimeofday)",		/* 79 = unimplemented settimeofday */
	"linux_getgroups",			/* 80 = linux_getgroups */
	"linux_setgroups",			/* 81 = linux_setgroups */
	"oldselect",			/* 82 = oldselect */
	"symlink",			/* 83 = symlink */
	"olstat",			/* 84 = olstat */
	"readlink",			/* 85 = readlink */
	"#86 (unimplemented linux_sys_uselib)",		/* 86 = unimplemented linux_sys_uselib */
	"swapon",			/* 87 = swapon */
	"reboot",			/* 88 = reboot */
	"readdir",			/* 89 = readdir */
	"mmap",			/* 90 = mmap */
	"munmap",			/* 91 = munmap */
	"truncate",			/* 92 = truncate */
	"ftruncate",			/* 93 = ftruncate */
	"fchmod",			/* 94 = fchmod */
	"fchown16",			/* 95 = fchown16 */
	"getpriority",			/* 96 = getpriority */
	"setpriority",			/* 97 = setpriority */
	"profil",			/* 98 = profil */
	"statfs",			/* 99 = statfs */
	"fstatfs",			/* 100 = fstatfs */
#ifdef __i386__
	"ioperm",			/* 101 = ioperm */
#else
	"ioperm",			/* 101 = ioperm */
#endif
	"socketcall",			/* 102 = socketcall */
	"klog",			/* 103 = klog */
	"setitimer",			/* 104 = setitimer */
	"getitimer",			/* 105 = getitimer */
	"stat",			/* 106 = stat */
	"lstat",			/* 107 = lstat */
	"fstat",			/* 108 = fstat */
	"olduname",			/* 109 = olduname */
#ifdef __i386__
	"iopl",			/* 110 = iopl */
#else
	"iopl",			/* 110 = iopl */
#endif
	"vhangup",			/* 111 = vhangup */
	"idle",			/* 112 = idle */
	"vm86old",			/* 113 = vm86old */
	"wait4",			/* 114 = wait4 */
	"swapoff",			/* 115 = swapoff */
	"sysinfo",			/* 116 = sysinfo */
	"ipc",			/* 117 = ipc */
	"fsync",			/* 118 = fsync */
	"sigreturn",			/* 119 = sigreturn */
	"clone",			/* 120 = clone */
	"setdomainname",			/* 121 = setdomainname */
	"uname",			/* 122 = uname */
#ifdef __i386__
	"modify_ldt",			/* 123 = modify_ldt */
#else
	"modify_ldt",			/* 123 = modify_ldt */
#endif
	"adjtimex",			/* 124 = adjtimex */
	"mprotect",			/* 125 = mprotect */
	"sigprocmask",			/* 126 = sigprocmask */
	"create_module",			/* 127 = create_module */
	"init_module",			/* 128 = init_module */
	"delete_module",			/* 129 = delete_module */
	"get_kernel_syms",			/* 130 = get_kernel_syms */
	"quotactl",			/* 131 = quotactl */
	"getpgid",			/* 132 = getpgid */
	"fchdir",			/* 133 = fchdir */
	"bdflush",			/* 134 = bdflush */
	"sysfs",			/* 135 = sysfs */
	"personality",			/* 136 = personality */
	"afs_syscall",			/* 137 = afs_syscall */
	"linux_setfsuid16",			/* 138 = linux_setfsuid16 */
	"linux_getfsuid16",			/* 139 = linux_getfsuid16 */
	"llseek",			/* 140 = llseek */
	"getdents",			/* 141 = getdents */
	"select",			/* 142 = select */
	"flock",			/* 143 = flock */
	"msync",			/* 144 = msync */
	"readv",			/* 145 = readv */
	"writev",			/* 146 = writev */
	"getsid",			/* 147 = getsid */
	"fdatasync",			/* 148 = fdatasync */
	"__sysctl",			/* 149 = __sysctl */
	"mlock",			/* 150 = mlock */
	"munlock",			/* 151 = munlock */
	"mlockall",			/* 152 = mlockall */
	"munlockall",			/* 153 = munlockall */
	"sched_setparam",			/* 154 = sched_setparam */
	"sched_getparam",			/* 155 = sched_getparam */
	"sched_setscheduler",			/* 156 = sched_setscheduler */
	"sched_getscheduler",			/* 157 = sched_getscheduler */
	"sched_yield",			/* 158 = sched_yield */
	"sched_get_priority_max",			/* 159 = sched_get_priority_max */
	"sched_get_priority_min",			/* 160 = sched_get_priority_min */
	"sched_rr_get_interval",			/* 161 = sched_rr_get_interval */
	"nanosleep",			/* 162 = nanosleep */
	"mremap",			/* 163 = mremap */
	"setresuid16",			/* 164 = setresuid16 */
	"getresuid16",			/* 165 = getresuid16 */
	"vm86",			/* 166 = vm86 */
	"query_module",			/* 167 = query_module */
	"poll",			/* 168 = poll */
	"nfsservctl",			/* 169 = nfsservctl */
	"setresgid16",			/* 170 = setresgid16 */
	"getresgid16",			/* 171 = getresgid16 */
	"prctl",			/* 172 = prctl */
	"rt_sigreturn",			/* 173 = rt_sigreturn */
	"rt_sigaction",			/* 174 = rt_sigaction */
	"rt_sigprocmask",			/* 175 = rt_sigprocmask */
	"rt_sigpending",			/* 176 = rt_sigpending */
	"rt_sigtimedwait",			/* 177 = rt_sigtimedwait */
	"rt_queueinfo",			/* 178 = rt_queueinfo */
	"rt_sigsuspend",			/* 179 = rt_sigsuspend */
	"pread",			/* 180 = pread */
	"pwrite",			/* 181 = pwrite */
	"chown16",			/* 182 = chown16 */
	"__getcwd",			/* 183 = __getcwd */
	"capget",			/* 184 = capget */
	"capset",			/* 185 = capset */
	"sigaltstack",			/* 186 = sigaltstack */
	"sendfile",			/* 187 = sendfile */
	"getpmsg",			/* 188 = getpmsg */
	"putpmsg",			/* 189 = putpmsg */
	"vfork",			/* 190 = vfork */
	"ugetrlimit",			/* 191 = ugetrlimit */
	"mmap2",			/* 192 = mmap2 */
	"truncate64",			/* 193 = truncate64 */
	"ftruncate64",			/* 194 = ftruncate64 */
	"stat64",			/* 195 = stat64 */
	"lstat64",			/* 196 = lstat64 */
	"fstat64",			/* 197 = fstat64 */
	"lchown",			/* 198 = lchown */
	"getuid",			/* 199 = getuid */
	"getgid",			/* 200 = getgid */
	"geteuid",			/* 201 = geteuid */
	"getegid",			/* 202 = getegid */
	"setreuid",			/* 203 = setreuid */
	"setregid",			/* 204 = setregid */
	"getgroups",			/* 205 = getgroups */
	"setgroups",			/* 206 = setgroups */
	"fchown",			/* 207 = fchown */
	"setresuid",			/* 208 = setresuid */
	"getresuid",			/* 209 = getresuid */
	"setresgid",			/* 210 = setresgid */
	"getresgid",			/* 211 = getresgid */
	"chown",			/* 212 = chown */
	"setuid",			/* 213 = setuid */
	"setgid",			/* 214 = setgid */
	"setfsuid",			/* 215 = setfsuid */
	"setfsgid",			/* 216 = setfsgid */
	"pivot_root",			/* 217 = pivot_root */
	"mincore",			/* 218 = mincore */
	"madvise",			/* 219 = madvise */
	"getdents64",			/* 220 = getdents64 */
	"fcntl64",			/* 221 = fcntl64 */
	"#222 (unimplemented)",		/* 222 = unimplemented */
	"#223 (unimplemented)",		/* 223 = unimplemented */
	"gettid",			/* 224 = gettid */
	"#225 (unimplemented linux_sys_readahead)",		/* 225 = unimplemented linux_sys_readahead */
	"setxattr",			/* 226 = setxattr */
	"lsetxattr",			/* 227 = lsetxattr */
	"fsetxattr",			/* 228 = fsetxattr */
	"getxattr",			/* 229 = getxattr */
	"lgetxattr",			/* 230 = lgetxattr */
	"fgetxattr",			/* 231 = fgetxattr */
	"listxattr",			/* 232 = listxattr */
	"llistxattr",			/* 233 = llistxattr */
	"flistxattr",			/* 234 = flistxattr */
	"removexattr",			/* 235 = removexattr */
	"lremovexattr",			/* 236 = lremovexattr */
	"fremovexattr",			/* 237 = fremovexattr */
	"#238 (unimplemented linux_sys_tkill)",		/* 238 = unimplemented linux_sys_tkill */
	"#239 (unimplemented linux_sys_sendfile64)",		/* 239 = unimplemented linux_sys_sendfile64 */
	"futex",			/* 240 = futex */
	"#241 (unimplemented linux_sys_sched_setaffinity)",		/* 241 = unimplemented linux_sys_sched_setaffinity */
	"#242 (unimplemented linux_sys_sched_getaffinity)",		/* 242 = unimplemented linux_sys_sched_getaffinity */
	"set_thread_area",			/* 243 = set_thread_area */
	"get_thread_area",			/* 244 = get_thread_area */
	"#245 (unimplemented linux_sys_io_setup)",		/* 245 = unimplemented linux_sys_io_setup */
	"#246 (unimplemented linux_sys_io_destroy)",		/* 246 = unimplemented linux_sys_io_destroy */
	"#247 (unimplemented linux_sys_io_getevents)",		/* 247 = unimplemented linux_sys_io_getevents */
	"#248 (unimplemented linux_sys_io_submit)",		/* 248 = unimplemented linux_sys_io_submit */
	"#249 (unimplemented linux_sys_io_cancel)",		/* 249 = unimplemented linux_sys_io_cancel */
	"fadvise64",			/* 250 = fadvise64 */
	"#251 (unimplemented)",		/* 251 = unimplemented */
	"linux_exit_group",			/* 252 = linux_exit_group */
	"#253 (unimplemented linux_sys_lookup_dcookie)",		/* 253 = unimplemented linux_sys_lookup_dcookie */
	"epoll_create",			/* 254 = epoll_create */
	"epoll_ctl",			/* 255 = epoll_ctl */
	"epoll_wait",			/* 256 = epoll_wait */
	"#257 (unimplemented linux_sys_remap_file_pages)",		/* 257 = unimplemented linux_sys_remap_file_pages */
	"set_tid_address",			/* 258 = set_tid_address */
	"#259 (unimplemented linux_sys_timer_create)",		/* 259 = unimplemented linux_sys_timer_create */
	"#260 (unimplemented linux_sys_timer_settime)",		/* 260 = unimplemented linux_sys_timer_settime */
	"#261 (unimplemented linux_sys_timer_gettime)",		/* 261 = unimplemented linux_sys_timer_gettime */
	"#262 (unimplemented linux_sys_timer_getoverrun)",		/* 262 = unimplemented linux_sys_timer_getoverrun */
	"#263 (unimplemented linux_sys_timer_delete)",		/* 263 = unimplemented linux_sys_timer_delete */
	"#264 (unimplemented linux_sys_clock_settime)",		/* 264 = unimplemented linux_sys_clock_settime */
	"clock_gettime",			/* 265 = clock_gettime */
	"clock_getres",			/* 266 = clock_getres */
	"#267 (unimplemented linux_sys_clock_nanosleep)",		/* 267 = unimplemented linux_sys_clock_nanosleep */
	"statfs64",			/* 268 = statfs64 */
	"fstatfs64",			/* 269 = fstatfs64 */
	"tgkill",			/* 270 = tgkill */
	"#271 (unimplemented linux_sys_utimes)",		/* 271 = unimplemented linux_sys_utimes */
	"#272 (unimplemented linux_sys_fadvise64_64)",		/* 272 = unimplemented linux_sys_fadvise64_64 */
	"#273 (unimplemented linux_sys_vserver)",		/* 273 = unimplemented linux_sys_vserver */
	"#274 (unimplemented linux_sys_mbind)",		/* 274 = unimplemented linux_sys_mbind */
	"#275 (unimplemented linux_sys_get_mempolicy)",		/* 275 = unimplemented linux_sys_get_mempolicy */
	"#276 (unimplemented linux_sys_set_mempolicy)",		/* 276 = unimplemented linux_sys_set_mempolicy */
	"#277 (unimplemented linux_sys_mq_open)",		/* 277 = unimplemented linux_sys_mq_open */
	"#278 (unimplemented linux_sys_mq_unlink)",		/* 278 = unimplemented linux_sys_mq_unlink */
	"#279 (unimplemented linux_sys_mq_timedsend)",		/* 279 = unimplemented linux_sys_mq_timedsend */
	"#280 (unimplemented linux_sys_mq_timedreceive)",		/* 280 = unimplemented linux_sys_mq_timedreceive */
	"#281 (unimplemented linux_sys_mq_notify)",		/* 281 = unimplemented linux_sys_mq_notify */
	"#282 (unimplemented linux_sys_mq_getsetattr)",		/* 282 = unimplemented linux_sys_mq_getsetattr */
	"#283 (unimplemented linux_sys_sys_kexec_load)",		/* 283 = unimplemented linux_sys_sys_kexec_load */
	"#284 (unimplemented linux_sys_waitid)",		/* 284 = unimplemented linux_sys_waitid */
	"#285 (unimplemented / * unused * /)",		/* 285 = unimplemented / * unused * / */
	"#286 (unimplemented linux_sys_add_key)",		/* 286 = unimplemented linux_sys_add_key */
	"#287 (unimplemented linux_sys_request_key)",		/* 287 = unimplemented linux_sys_request_key */
	"#288 (unimplemented linux_sys_keyctl)",		/* 288 = unimplemented linux_sys_keyctl */
	"#289 (unimplemented linux_sys_ioprio_set)",		/* 289 = unimplemented linux_sys_ioprio_set */
	"#290 (unimplemented linux_sys_ioprio_get)",		/* 290 = unimplemented linux_sys_ioprio_get */
	"#291 (unimplemented linux_sys_inotify_init)",		/* 291 = unimplemented linux_sys_inotify_init */
	"#292 (unimplemented linux_sys_inotify_add_watch)",		/* 292 = unimplemented linux_sys_inotify_add_watch */
	"#293 (unimplemented linux_sys_inotify_rm_watch)",		/* 293 = unimplemented linux_sys_inotify_rm_watch */
	"#294 (unimplemented linux_sys_migrate_pages)",		/* 294 = unimplemented linux_sys_migrate_pages */
	"#295 (unimplemented linux_sys_openalinux_sys_t)",		/* 295 = unimplemented linux_sys_openalinux_sys_t */
	"#296 (unimplemented linux_sys_mkdirat)",		/* 296 = unimplemented linux_sys_mkdirat */
	"#297 (unimplemented linux_sys_mknodat)",		/* 297 = unimplemented linux_sys_mknodat */
	"#298 (unimplemented linux_sys_fchownat)",		/* 298 = unimplemented linux_sys_fchownat */
	"#299 (unimplemented linux_sys_futimesat)",		/* 299 = unimplemented linux_sys_futimesat */
	"#300 (unimplemented linux_sys_fstatat64)",		/* 300 = unimplemented linux_sys_fstatat64 */
	"#301 (unimplemented linux_sys_unlinkat)",		/* 301 = unimplemented linux_sys_unlinkat */
	"#302 (unimplemented linux_sys_renameat)",		/* 302 = unimplemented linux_sys_renameat */
	"#303 (unimplemented linux_sys_linkat)",		/* 303 = unimplemented linux_sys_linkat */
	"#304 (unimplemented linux_sys_symlinkat)",		/* 304 = unimplemented linux_sys_symlinkat */
	"#305 (unimplemented linux_sys_readlinkat)",		/* 305 = unimplemented linux_sys_readlinkat */
	"#306 (unimplemented linux_sys_fchmodat)",		/* 306 = unimplemented linux_sys_fchmodat */
	"#307 (unimplemented linux_sys_faccessat)",		/* 307 = unimplemented linux_sys_faccessat */
	"#308 (unimplemented linux_sys_pselect6)",		/* 308 = unimplemented linux_sys_pselect6 */
	"#309 (unimplemented linux_sys_ppoll)",		/* 309 = unimplemented linux_sys_ppoll */
	"#310 (unimplemented linux_sys_unshare)",		/* 310 = unimplemented linux_sys_unshare */
	"set_robust_list",			/* 311 = set_robust_list */
	"get_robust_list",			/* 312 = get_robust_list */
	"#313 (unimplemented splice)",		/* 313 = unimplemented splice */
	"#314 (unimplemented sync_file_range)",		/* 314 = unimplemented sync_file_range */
	"#315 (unimplemented tee)",		/* 315 = unimplemented tee */
	"#316 (unimplemented vmsplice)",		/* 316 = unimplemented vmsplice */
	"#317 (unimplemented move_pages)",		/* 317 = unimplemented move_pages */
	"#318 (unimplemented getcpu)",		/* 318 = unimplemented getcpu */
	"epoll_pwait",			/* 319 = epoll_pwait */
	"#320 (unimplemented utimensat)",		/* 320 = unimplemented utimensat */
	"#321 (unimplemented signalfd)",		/* 321 = unimplemented signalfd */
	"#322 (unimplemented timerfd_create)",		/* 322 = unimplemented timerfd_create */
	"eventfd",			/* 323 = eventfd */
	"#324 (unimplemented fallocate)",		/* 324 = unimplemented fallocate */
	"#325 (unimplemented timerfd_settime)",		/* 325 = unimplemented timerfd_settime */
	"#326 (unimplemented timerfd_gettime)",		/* 326 = unimplemented timerfd_gettime */
	"#327 (unimplemented signalfd4)",		/* 327 = unimplemented signalfd4 */
	"eventfd2",			/* 328 = eventfd2 */
	"epoll_create1",			/* 329 = epoll_create1 */
	"#330 (unimplemented dup3)",		/* 330 = unimplemented dup3 */
	"pipe2",			/* 331 = pipe2 */
	"#332 (unimplemented inotify_init1)",		/* 332 = unimplemented inotify_init1 */
	"#333 (unimplemented preadv)",		/* 333 = unimplemented preadv */
	"#334 (unimplemented pwritev)",		/* 334 = unimplemented pwritev */
	"#335 (unimplemented rt_tgsigqueueinfo)",		/* 335 = unimplemented rt_tgsigqueueinfo */
	"#336 (unimplemented perf_counter_open)",		/* 336 = unimplemented perf_counter_open */
	"#337 (unimplemented recvmmsg)",		/* 337 = unimplemented recvmmsg */
};


code:
/*	$OpenBSD: linux_sysent.c,v 1.80 2014/09/01 05:13:21 doug Exp $	*/

/*
 * System call switch table.
 *
 * DO NOT EDIT-- this file is automatically generated.
 * created from	OpenBSD: syscalls.master,v 1.76 2014/09/01 05:09:53 doug Exp
 */

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/syscallargs.h>
#include <compat/linux/linux_types.h>
#include <compat/linux/linux_signal.h>
#include <compat/linux/linux_misc.h>
#include <compat/linux/linux_syscallargs.h>
#include <machine/linux_machdep.h>

#define	s(type)	sizeof(type)

struct sysent linux_sysent[] = {
	{ 0, 0, 0,
	    sys_nosys },			/* 0 = syscall */
	{ 1, s(struct sys_exit_args), 0,
	    sys_exit },				/* 1 = exit */
	{ 0, 0, 0,
	    sys_fork },				/* 2 = fork */
	{ 3, s(struct sys_read_args), 0,
	    sys_read },				/* 3 = read */
	{ 3, s(struct sys_write_args), 0,
	    sys_write },			/* 4 = write */
	{ 3, s(struct linux_sys_open_args), 0,
	    linux_sys_open },			/* 5 = open */
	{ 1, s(struct sys_close_args), 0,
	    sys_close },			/* 6 = close */
	{ 3, s(struct linux_sys_waitpid_args), 0,
	    linux_sys_waitpid },		/* 7 = waitpid */
	{ 2, s(struct linux_sys_creat_args), 0,
	    linux_sys_creat },			/* 8 = creat */
	{ 2, s(struct sys_link_args), 0,
	    sys_link },				/* 9 = link */
	{ 1, s(struct linux_sys_unlink_args), 0,
	    linux_sys_unlink },			/* 10 = unlink */
	{ 3, s(struct linux_sys_execve_args), 0,
	    linux_sys_execve },			/* 11 = execve */
	{ 1, s(struct linux_sys_chdir_args), 0,
	    linux_sys_chdir },			/* 12 = chdir */
	{ 1, s(struct linux_sys_time_args), 0,
	    linux_sys_time },			/* 13 = time */
	{ 3, s(struct linux_sys_mknod_args), 0,
	    linux_sys_mknod },			/* 14 = mknod */
	{ 2, s(struct linux_sys_chmod_args), 0,
	    linux_sys_chmod },			/* 15 = chmod */
	{ 3, s(struct linux_sys_lchown16_args), 0,
	    linux_sys_lchown16 },		/* 16 = lchown16 */
	{ 1, s(struct linux_sys_break_args), 0,
	    linux_sys_break },			/* 17 = break */
	{ 0, 0, 0,
	    linux_sys_ostat },			/* 18 = ostat */
	{ 3, s(struct linux_sys_lseek_args), 0,
	    linux_sys_lseek },			/* 19 = lseek */
	{ 0, 0, 0,
	    linux_sys_getpid },			/* 20 = getpid */
	{ 5, s(struct linux_sys_mount_args), 0,
	    linux_sys_mount },			/* 21 = mount */
	{ 1, s(struct linux_sys_umount_args), 0,
	    linux_sys_umount },			/* 22 = umount */
	{ 1, s(struct sys_setuid_args), 0,
	    sys_setuid },			/* 23 = linux_setuid16 */
	{ 0, 0, 0,
	    linux_sys_getuid },			/* 24 = linux_getuid16 */
	{ 0, 0, 0,
	    sys_nosys },			/* 25 = unimplemented stime */
#ifdef PTRACE
	{ 0, 0, 0,
	    linux_sys_ptrace },			/* 26 = ptrace */
#else
	{ 0, 0, 0,
	    sys_nosys },			/* 26 = unimplemented ptrace */
#endif
	{ 1, s(struct linux_sys_alarm_args), 0,
	    linux_sys_alarm },			/* 27 = alarm */
	{ 0, 0, 0,
	    linux_sys_ofstat },			/* 28 = ofstat */
	{ 0, 0, 0,
	    linux_sys_pause },			/* 29 = pause */
	{ 2, s(struct linux_sys_utime_args), 0,
	    linux_sys_utime },			/* 30 = utime */
	{ 0, 0, 0,
	    linux_sys_stty },			/* 31 = stty */
	{ 0, 0, 0,
	    linux_sys_gtty },			/* 32 = gtty */
	{ 2, s(struct linux_sys_access_args), 0,
	    linux_sys_access },			/* 33 = access */
	{ 1, s(struct linux_sys_nice_args), 0,
	    linux_sys_nice },			/* 34 = nice */
	{ 0, 0, 0,
	    linux_sys_ftime },			/* 35 = ftime */
	{ 0, 0, 0,
	    sys_sync },				/* 36 = sync */
	{ 2, s(struct linux_sys_kill_args), 0,
	    linux_sys_kill },			/* 37 = kill */
	{ 2, s(struct linux_sys_rename_args), 0,
	    linux_sys_rename },			/* 38 = rename */
	{ 2, s(struct linux_sys_mkdir_args), 0,
	    linux_sys_mkdir },			/* 39 = mkdir */
	{ 1, s(struct linux_sys_rmdir_args), 0,
	    linux_sys_rmdir },			/* 40 = rmdir */
	{ 1, s(struct sys_dup_args), 0,
	    sys_dup },				/* 41 = dup */
	{ 1, s(struct sys_pipe_args), 0,
	    sys_pipe },				/* 42 = pipe */
	{ 1, s(struct linux_sys_times_args), 0,
	    linux_sys_times },			/* 43 = times */
	{ 0, 0, 0,
	    linux_sys_prof },			/* 44 = prof */
	{ 1, s(struct linux_sys_brk_args), 0,
	    linux_sys_brk },			/* 45 = brk */
	{ 1, s(struct sys_setgid_args), 0,
	    sys_setgid },			/* 46 = linux_setgid16 */
	{ 0, 0, 0,
	    linux_sys_getgid },			/* 47 = linux_getgid16 */
	{ 2, s(struct linux_sys_signal_args), 0,
	    linux_sys_signal },			/* 48 = signal */
	{ 0, 0, 0,
	    sys_geteuid },			/* 49 = linux_geteuid16 */
	{ 0, 0, 0,
	    sys_getegid },			/* 50 = linux_getegid16 */
#ifdef ACCOUNTING
	{ 1, s(struct sys_acct_args), 0,
	    sys_acct },				/* 51 = acct */
#else
	{ 0, 0, 0,
	    sys_nosys },			/* 51 = unimplemented acct */
#endif
	{ 0, 0, 0,
	    linux_sys_phys },			/* 52 = phys */
	{ 0, 0, 0,
	    linux_sys_lock },			/* 53 = lock */
	{ 3, s(struct linux_sys_ioctl_args), 0,
	    linux_sys_ioctl },			/* 54 = ioctl */
	{ 3, s(struct linux_sys_fcntl_args), 0,
	    linux_sys_fcntl },			/* 55 = fcntl */
	{ 0, 0, 0,
	    linux_sys_mpx },			/* 56 = mpx */
	{ 2, s(struct sys_setpgid_args), 0,
	    sys_setpgid },			/* 57 = setpgid */
	{ 0, 0, 0,
	    linux_sys_ulimit },			/* 58 = ulimit */
	{ 1, s(struct linux_sys_oldolduname_args), 0,
	    linux_sys_oldolduname },		/* 59 = oldolduname */
	{ 1, s(struct sys_umask_args), 0,
	    sys_umask },			/* 60 = umask */
	{ 1, s(struct sys_chroot_args), 0,
	    sys_chroot },			/* 61 = chroot */
	{ 0, 0, 0,
	    linux_sys_ustat },			/* 62 = ustat */
	{ 2, s(struct sys_dup2_args), 0,
	    sys_dup2 },				/* 63 = dup2 */
	{ 0, 0, 0,
	    sys_getppid },			/* 64 = getppid */
	{ 0, 0, 0,
	    sys_getpgrp },			/* 65 = getpgrp */
	{ 0, 0, 0,
	    sys_setsid },			/* 66 = setsid */
	{ 3, s(struct linux_sys_sigaction_args), 0,
	    linux_sys_sigaction },		/* 67 = sigaction */
	{ 0, 0, 0,
	    linux_sys_siggetmask },		/* 68 = siggetmask */
	{ 1, s(struct linux_sys_sigsetmask_args), 0,
	    linux_sys_sigsetmask },		/* 69 = sigsetmask */
	{ 2, s(struct linux_sys_setreuid16_args), 0,
	    linux_sys_setreuid16 },		/* 70 = setreuid16 */
	{ 2, s(struct linux_sys_setregid16_args), 0,
	    linux_sys_setregid16 },		/* 71 = setregid16 */
	{ 3, s(struct linux_sys_sigsuspend_args), 0,
	    linux_sys_sigsuspend },		/* 72 = sigsuspend */
	{ 1, s(struct linux_sys_sigpending_args), 0,
	    linux_sys_sigpending },		/* 73 = sigpending */
	{ 2, s(struct linux_sys_sethostname_args), 0,
	    linux_sys_sethostname },		/* 74 = sethostname */
	{ 2, s(struct linux_sys_setrlimit_args), 0,
	    linux_sys_setrlimit },		/* 75 = setrlimit */
	{ 2, s(struct linux_sys_getrlimit_args), 0,
	    linux_sys_getrlimit },		/* 76 = getrlimit */
	{ 2, s(struct linux_sys_getrusage_args), 0,
	    linux_sys_getrusage },		/* 77 = getrusage */
	{ 2, s(struct linux_sys_gettimeofday_args), 0,
	    linux_sys_gettimeofday },		/* 78 = gettimeofday */
	{ 0, 0, 0,
	    sys_nosys },			/* 79 = unimplemented settimeofday */
	{ 2, s(struct sys_getgroups_args), 0,
	    sys_getgroups },			/* 80 = linux_getgroups */
	{ 2, s(struct sys_setgroups_args), 0,
	    sys_setgroups },			/* 81 = linux_setgroups */
	{ 1, s(struct linux_sys_oldselect_args), 0,
	    linux_sys_oldselect },		/* 82 = oldselect */
	{ 2, s(struct linux_sys_symlink_args), 0,
	    linux_sys_symlink },		/* 83 = symlink */
	{ 2, s(struct linux_sys_lstat_args), 0,
	    linux_sys_lstat },			/* 84 = olstat */
	{ 3, s(struct linux_sys_readlink_args), 0,
	    linux_sys_readlink },		/* 85 = readlink */
	{ 0, 0, 0,
	    sys_nosys },			/* 86 = unimplemented linux_sys_uselib */
	{ 1, s(struct linux_sys_swapon_args), 0,
	    linux_sys_swapon },			/* 87 = swapon */
	{ 1, s(struct sys_reboot_args), 0,
	    sys_reboot },			/* 88 = reboot */
	{ 3, s(struct linux_sys_readdir_args), 0,
	    linux_sys_readdir },		/* 89 = readdir */
	{ 1, s(struct linux_sys_mmap_args), 0,
	    linux_sys_mmap },			/* 90 = mmap */
	{ 2, s(struct sys_munmap_args), 0,
	    sys_munmap },			/* 91 = munmap */
	{ 2, s(struct linux_sys_truncate_args), 0,
	    linux_sys_truncate },		/* 92 = truncate */
	{ 2, s(struct linux_sys_ftruncate_args), 0,
	    linux_sys_ftruncate },		/* 93 = ftruncate */
	{ 2, s(struct sys_fchmod_args), 0,
	    sys_fchmod },			/* 94 = fchmod */
	{ 3, s(struct linux_sys_fchown16_args), 0,
	    linux_sys_fchown16 },		/* 95 = fchown16 */
	{ 2, s(struct sys_getpriority_args), 0,
	    sys_getpriority },			/* 96 = getpriority */
	{ 3, s(struct sys_setpriority_args), 0,
	    sys_setpriority },			/* 97 = setpriority */
	{ 4, s(struct sys_profil_args), 0,
	    sys_profil },			/* 98 = profil */
	{ 2, s(struct linux_sys_statfs_args), 0,
	    linux_sys_statfs },			/* 99 = statfs */
	{ 2, s(struct linux_sys_fstatfs_args), 0,
	    linux_sys_fstatfs },		/* 100 = fstatfs */
#ifdef __i386__
	{ 3, s(struct linux_sys_ioperm_args), 0,
	    linux_sys_ioperm },			/* 101 = ioperm */
#else
	{ 0, 0, 0,
	    linux_sys_ioperm },			/* 101 = ioperm */
#endif
	{ 2, s(struct linux_sys_socketcall_args), 0,
	    linux_sys_socketcall },		/* 102 = socketcall */
	{ 0, 0, 0,
	    linux_sys_klog },			/* 103 = klog */
	{ 3, s(struct linux_sys_setitimer_args), 0,
	    linux_sys_setitimer },		/* 104 = setitimer */
	{ 2, s(struct linux_sys_getitimer_args), 0,
	    linux_sys_getitimer },		/* 105 = getitimer */
	{ 2, s(struct linux_sys_stat_args), 0,
	    linux_sys_stat },			/* 106 = stat */
	{ 2, s(struct linux_sys_lstat_args), 0,
	    linux_sys_lstat },			/* 107 = lstat */
	{ 2, s(struct linux_sys_fstat_args), 0,
	    linux_sys_fstat },			/* 108 = fstat */
	{ 1, s(struct linux_sys_olduname_args), 0,
	    linux_sys_olduname },		/* 109 = olduname */
#ifdef __i386__
	{ 1, s(struct linux_sys_iopl_args), 0,
	    linux_sys_iopl },			/* 110 = iopl */
#else
	{ 0, 0, 0,
	    linux_sys_iopl },			/* 110 = iopl */
#endif
	{ 0, 0, 0,
	    linux_sys_vhangup },		/* 111 = vhangup */
	{ 0, 0, 0,
	    linux_sys_idle },			/* 112 = idle */
	{ 0, 0, 0,
	    linux_sys_vm86old },		/* 113 = vm86old */
	{ 4, s(struct linux_sys_wait4_args), 0,
	    linux_sys_wait4 },			/* 114 = wait4 */
	{ 0, 0, 0,
	    linux_sys_swapoff },		/* 115 = swapoff */
	{ 1, s(struct linux_sys_sysinfo_args), 0,
	    linux_sys_sysinfo },		/* 116 = sysinfo */
	{ 5, s(struct linux_sys_ipc_args), 0,
	    linux_sys_ipc },			/* 117 = ipc */
	{ 1, s(struct sys_fsync_args), 0,
	    sys_fsync },			/* 118 = fsync */
	{ 1, s(struct linux_sys_sigreturn_args), 0,
	    linux_sys_sigreturn },		/* 119 = sigreturn */
	{ 5, s(struct linux_sys_clone_args), 0,
	    linux_sys_clone },			/* 120 = clone */
	{ 2, s(struct linux_sys_setdomainname_args), 0,
	    linux_sys_setdomainname },		/* 121 = setdomainname */
	{ 1, s(struct linux_sys_uname_args), 0,
	    linux_sys_uname },			/* 122 = uname */
#ifdef __i386__
	{ 3, s(struct linux_sys_modify_ldt_args), 0,
	    linux_sys_modify_ldt },		/* 123 = modify_ldt */
#else
	{ 0, 0, 0,
	    linux_sys_modify_ldt },		/* 123 = modify_ldt */
#endif
	{ 0, 0, 0,
	    linux_sys_adjtimex },		/* 124 = adjtimex */
	{ 3, s(struct linux_sys_mprotect_args), 0,
	    linux_sys_mprotect },		/* 125 = mprotect */
	{ 3, s(struct linux_sys_sigprocmask_args), 0,
	    linux_sys_sigprocmask },		/* 126 = sigprocmask */
	{ 0, 0, 0,
	    linux_sys_create_module },		/* 127 = create_module */
	{ 0, 0, 0,
	    linux_sys_init_module },		/* 128 = init_module */
	{ 0, 0, 0,
	    linux_sys_delete_module },		/* 129 = delete_module */
	{ 0, 0, 0,
	    linux_sys_get_kernel_syms },	/* 130 = get_kernel_syms */
	{ 0, 0, 0,
	    linux_sys_quotactl },		/* 131 = quotactl */
	{ 1, s(struct linux_sys_getpgid_args), 0,
	    linux_sys_getpgid },		/* 132 = getpgid */
	{ 1, s(struct sys_fchdir_args), 0,
	    sys_fchdir },			/* 133 = fchdir */
	{ 0, 0, 0,
	    linux_sys_bdflush },		/* 134 = bdflush */
	{ 0, 0, 0,
	    linux_sys_sysfs },			/* 135 = sysfs */
	{ 1, s(struct linux_sys_personality_args), 0,
	    linux_sys_personality },		/* 136 = personality */
	{ 0, 0, 0,
	    linux_sys_afs_syscall },		/* 137 = afs_syscall */
	{ 1, s(struct linux_sys_setfsuid_args), 0,
	    linux_sys_setfsuid },		/* 138 = linux_setfsuid16 */
	{ 0, 0, 0,
	    linux_sys_getfsuid },		/* 139 = linux_getfsuid16 */
	{ 5, s(struct linux_sys_llseek_args), 0,
	    linux_sys_llseek },			/* 140 = llseek */
	{ 3, s(struct linux_sys_getdents_args), 0,
	    linux_sys_getdents },		/* 141 = getdents */
	{ 5, s(struct linux_sys_select_args), 0,
	    linux_sys_select },			/* 142 = select */
	{ 2, s(struct sys_flock_args), 0,
	    sys_flock },			/* 143 = flock */
	{ 3, s(struct sys_msync_args), 0,
	    sys_msync },			/* 144 = msync */
	{ 3, s(struct sys_readv_args), 0,
	    sys_readv },			/* 145 = readv */
	{ 3, s(struct sys_writev_args), 0,
	    sys_writev },			/* 146 = writev */
	{ 1, s(struct sys_getsid_args), 0,
	    sys_getsid },			/* 147 = getsid */
	{ 1, s(struct linux_sys_fdatasync_args), 0,
	    linux_sys_fdatasync },		/* 148 = fdatasync */
	{ 1, s(struct linux_sys___sysctl_args), 0,
	    linux_sys___sysctl },		/* 149 = __sysctl */
	{ 2, s(struct sys_mlock_args), 0,
	    sys_mlock },			/* 150 = mlock */
	{ 2, s(struct sys_munlock_args), 0,
	    sys_munlock },			/* 151 = munlock */
	{ 0, 0, 0,
	    linux_sys_mlockall },		/* 152 = mlockall */
	{ 0, 0, 0,
	    linux_sys_munlockall },		/* 153 = munlockall */
	{ 2, s(struct linux_sys_sched_setparam_args), 0,
	    linux_sys_sched_setparam },		/* 154 = sched_setparam */
	{ 2, s(struct linux_sys_sched_getparam_args), 0,
	    linux_sys_sched_getparam },		/* 155 = sched_getparam */
	{ 3, s(struct linux_sys_sched_setscheduler_args), 0,
	    linux_sys_sched_setscheduler },	/* 156 = sched_setscheduler */
	{ 1, s(struct linux_sys_sched_getscheduler_args), 0,
	    linux_sys_sched_getscheduler },	/* 157 = sched_getscheduler */
	{ 0, 0, 0,
	    linux_sys_sched_yield },		/* 158 = sched_yield */
	{ 1, s(struct linux_sys_sched_get_priority_max_args), 0,
	    linux_sys_sched_get_priority_max },	/* 159 = sched_get_priority_max */
	{ 1, s(struct linux_sys_sched_get_priority_min_args), 0,
	    linux_sys_sched_get_priority_min },	/* 160 = sched_get_priority_min */
	{ 0, 0, 0,
	    linux_sys_sched_rr_get_interval },	/* 161 = sched_rr_get_interval */
	{ 2, s(struct linux_sys_nanosleep_args), 0,
	    linux_sys_nanosleep },		/* 162 = nanosleep */
	{ 4, s(struct linux_sys_mremap_args), 0,
	    linux_sys_mremap },			/* 163 = mremap */
	{ 3, s(struct linux_sys_setresuid16_args), 0,
	    linux_sys_setresuid16 },		/* 164 = setresuid16 */
	{ 3, s(struct linux_sys_getresuid16_args), 0,
	    linux_sys_getresuid16 },		/* 165 = getresuid16 */
	{ 0, 0, 0,
	    linux_sys_vm86 },			/* 166 = vm86 */
	{ 0, 0, 0,
	    linux_sys_query_module },		/* 167 = query_module */
	{ 3, s(struct sys_poll_args), 0,
	    sys_poll },				/* 168 = poll */
	{ 0, 0, 0,
	    linux_sys_nfsservctl },		/* 169 = nfsservctl */
	{ 3, s(struct linux_sys_setresgid16_args), 0,
	    linux_sys_setresgid16 },		/* 170 = setresgid16 */
	{ 3, s(struct linux_sys_getresgid16_args), 0,
	    linux_sys_getresgid16 },		/* 171 = getresgid16 */
	{ 5, s(struct linux_sys_prctl_args), 0,
	    linux_sys_prctl },			/* 172 = prctl */
	{ 1, s(struct linux_sys_rt_sigreturn_args), 0,
	    linux_sys_rt_sigreturn },		/* 173 = rt_sigreturn */
	{ 4, s(struct linux_sys_rt_sigaction_args), 0,
	    linux_sys_rt_sigaction },		/* 174 = rt_sigaction */
	{ 4, s(struct linux_sys_rt_sigprocmask_args), 0,
	    linux_sys_rt_sigprocmask },		/* 175 = rt_sigprocmask */
	{ 2, s(struct linux_sys_rt_sigpending_args), 0,
	    linux_sys_rt_sigpending },		/* 176 = rt_sigpending */
	{ 0, 0, 0,
	    linux_sys_rt_sigtimedwait },	/* 177 = rt_sigtimedwait */
	{ 0, 0, 0,
	    linux_sys_rt_queueinfo },		/* 178 = rt_queueinfo */
	{ 2, s(struct linux_sys_rt_sigsuspend_args), 0,
	    linux_sys_rt_sigsuspend },		/* 179 = rt_sigsuspend */
	{ 4, s(struct linux_sys_pread_args), 0,
	    linux_sys_pread },			/* 180 = pread */
	{ 4, s(struct linux_sys_pwrite_args), 0,
	    linux_sys_pwrite },			/* 181 = pwrite */
	{ 3, s(struct linux_sys_chown16_args), 0,
	    linux_sys_chown16 },		/* 182 = chown16 */
	{ 2, s(struct sys___getcwd_args), 0,
	    sys___getcwd },			/* 183 = __getcwd */
	{ 0, 0, 0,
	    linux_sys_capget },			/* 184 = capget */
	{ 0, 0, 0,
	    linux_sys_capset },			/* 185 = capset */
	{ 2, s(struct linux_sys_sigaltstack_args), 0,
	    linux_sys_sigaltstack },		/* 186 = sigaltstack */
	{ 0, 0, 0,
	    linux_sys_sendfile },		/* 187 = sendfile */
	{ 0, 0, 0,
	    linux_sys_getpmsg },		/* 188 = getpmsg */
	{ 0, 0, 0,
	    linux_sys_putpmsg },		/* 189 = putpmsg */
	{ 0, 0, 0,
	    sys_vfork },			/* 190 = vfork */
	{ 2, s(struct linux_sys_ugetrlimit_args), 0,
	    linux_sys_ugetrlimit },		/* 191 = ugetrlimit */
	{ 6, s(struct linux_sys_mmap2_args), 0,
	    linux_sys_mmap2 },			/* 192 = mmap2 */
	{ 2, s(struct linux_sys_truncate64_args), 0,
	    linux_sys_truncate64 },		/* 193 = truncate64 */
	{ 2, s(struct linux_sys_ftruncate64_args), 0,
	    linux_sys_ftruncate64 },		/* 194 = ftruncate64 */
	{ 2, s(struct linux_sys_stat64_args), 0,
	    linux_sys_stat64 },			/* 195 = stat64 */
	{ 2, s(struct linux_sys_lstat64_args), 0,
	    linux_sys_lstat64 },		/* 196 = lstat64 */
	{ 2, s(struct linux_sys_fstat64_args), 0,
	    linux_sys_fstat64 },		/* 197 = fstat64 */
	{ 0, 0, 0,
	    linux_sys_lchown },			/* 198 = lchown */
	{ 0, 0, 0,
	    linux_sys_getuid },			/* 199 = getuid */
	{ 0, 0, 0,
	    linux_sys_getgid },			/* 200 = getgid */
	{ 0, 0, 0,
	    sys_geteuid },			/* 201 = geteuid */
	{ 0, 0, 0,
	    sys_getegid },			/* 202 = getegid */
	{ 2, s(struct sys_setreuid_args), 0,
	    sys_setreuid },			/* 203 = setreuid */
	{ 2, s(struct sys_setregid_args), 0,
	    sys_setregid },			/* 204 = setregid */
	{ 2, s(struct sys_getgroups_args), 0,
	    sys_getgroups },			/* 205 = getgroups */
	{ 2, s(struct sys_setgroups_args), 0,
	    sys_setgroups },			/* 206 = setgroups */
	{ 0, 0, 0,
	    linux_sys_fchown },			/* 207 = fchown */
	{ 3, s(struct sys_setresuid_args), 0,
	    sys_setresuid },			/* 208 = setresuid */
	{ 3, s(struct sys_getresuid_args), 0,
	    sys_getresuid },			/* 209 = getresuid */
	{ 3, s(struct sys_setresgid_args), 0,
	    sys_setresgid },			/* 210 = setresgid */
	{ 3, s(struct sys_getresgid_args), 0,
	    sys_getresgid },			/* 211 = getresgid */
	{ 3, s(struct linux_sys_chown_args), 0,
	    linux_sys_chown },			/* 212 = chown */
	{ 1, s(struct sys_setuid_args), 0,
	    sys_setuid },			/* 213 = setuid */
	{ 1, s(struct sys_setgid_args), 0,
	    sys_setgid },			/* 214 = setgid */
	{ 1, s(struct linux_sys_setfsuid_args), 0,
	    linux_sys_setfsuid },		/* 215 = setfsuid */
	{ 0, 0, 0,
	    linux_sys_setfsgid },		/* 216 = setfsgid */
	{ 0, 0, 0,
	    linux_sys_pivot_root },		/* 217 = pivot_root */
	{ 0, 0, 0,
	    linux_sys_mincore },		/* 218 = mincore */
	{ 3, s(struct sys_madvise_args), 0,
	    sys_madvise },			/* 219 = madvise */
	{ 3, s(struct linux_sys_getdents64_args), 0,
	    linux_sys_getdents64 },		/* 220 = getdents64 */
	{ 3, s(struct linux_sys_fcntl64_args), 0,
	    linux_sys_fcntl64 },		/* 221 = fcntl64 */
	{ 0, 0, 0,
	    sys_nosys },			/* 222 = unimplemented */
	{ 0, 0, 0,
	    sys_nosys },			/* 223 = unimplemented */
	{ 0, 0, 0,
	    linux_sys_gettid },			/* 224 = gettid */
	{ 0, 0, 0,
	    sys_nosys },			/* 225 = unimplemented linux_sys_readahead */
	{ 0, 0, 0,
	    linux_sys_setxattr },		/* 226 = setxattr */
	{ 0, 0, 0,
	    linux_sys_lsetxattr },		/* 227 = lsetxattr */
	{ 0, 0, 0,
	    linux_sys_fsetxattr },		/* 228 = fsetxattr */
	{ 0, 0, 0,
	    linux_sys_getxattr },		/* 229 = getxattr */
	{ 0, 0, 0,
	    linux_sys_lgetxattr },		/* 230 = lgetxattr */
	{ 0, 0, 0,
	    linux_sys_fgetxattr },		/* 231 = fgetxattr */
	{ 0, 0, 0,
	    linux_sys_listxattr },		/* 232 = listxattr */
	{ 0, 0, 0,
	    linux_sys_llistxattr },		/* 233 = llistxattr */
	{ 0, 0, 0,
	    linux_sys_flistxattr },		/* 234 = flistxattr */
	{ 0, 0, 0,
	    linux_sys_removexattr },		/* 235 = removexattr */
	{ 0, 0, 0,
	    linux_sys_lremovexattr },		/* 236 = lremovexattr */
	{ 0, 0, 0,
	    linux_sys_fremovexattr },		/* 237 = fremovexattr */
	{ 0, 0, 0,
	    sys_nosys },			/* 238 = unimplemented linux_sys_tkill */
	{ 0, 0, 0,
	    sys_nosys },			/* 239 = unimplemented linux_sys_sendfile64 */
	{ 6, s(struct linux_sys_futex_args), 0,
	    linux_sys_futex },			/* 240 = futex */
	{ 0, 0, 0,
	    sys_nosys },			/* 241 = unimplemented linux_sys_sched_setaffinity */
	{ 0, 0, 0,
	    sys_nosys },			/* 242 = unimplemented linux_sys_sched_getaffinity */
	{ 1, s(struct linux_sys_set_thread_area_args), 0,
	    linux_sys_set_thread_area },	/* 243 = set_thread_area */
	{ 1, s(struct linux_sys_get_thread_area_args), 0,
	    linux_sys_get_thread_area },	/* 244 = get_thread_area */
	{ 0, 0, 0,
	    sys_nosys },			/* 245 = unimplemented linux_sys_io_setup */
	{ 0, 0, 0,
	    sys_nosys },			/* 246 = unimplemented linux_sys_io_destroy */
	{ 0, 0, 0,
	    sys_nosys },			/* 247 = unimplemented linux_sys_io_getevents */
	{ 0, 0, 0,
	    sys_nosys },			/* 248 = unimplemented linux_sys_io_submit */
	{ 0, 0, 0,
	    sys_nosys },			/* 249 = unimplemented linux_sys_io_cancel */
	{ 0, 0, 0,
	    linux_sys_fadvise64 },		/* 250 = fadvise64 */
	{ 0, 0, 0,
	    sys_nosys },			/* 251 = unimplemented */
	{ 1, s(struct sys_exit_args), 0,
	    sys_exit },				/* 252 = linux_exit_group */
	{ 0, 0, 0,
	    sys_nosys },			/* 253 = unimplemented linux_sys_lookup_dcookie */
	{ 0, 0, 0,
	    linux_sys_epoll_create },		/* 254 = epoll_create */
	{ 0, 0, 0,
	    linux_sys_epoll_ctl },		/* 255 = epoll_ctl */
	{ 0, 0, 0,
	    linux_sys_epoll_wait },		/* 256 = epoll_wait */
	{ 0, 0, 0,
	    sys_nosys },			/* 257 = unimplemented linux_sys_remap_file_pages */
	{ 1, s(struct linux_sys_set_tid_address_args), 0,
	    linux_sys_set_tid_address },	/* 258 = set_tid_address */
	{ 0, 0, 0,
	    sys_nosys },			/* 259 = unimplemented linux_sys_timer_create */
	{ 0, 0, 0,
	    sys_nosys },			/* 260 = unimplemented linux_sys_timer_settime */
	{ 0, 0, 0,
	    sys_nosys },			/* 261 = unimplemented linux_sys_timer_gettime */
	{ 0, 0, 0,
	    sys_nosys },			/* 262 = unimplemented linux_sys_timer_getoverrun */
	{ 0, 0, 0,
	    sys_nosys },			/* 263 = unimplemented linux_sys_timer_delete */
	{ 0, 0, 0,
	    sys_nosys },			/* 264 = unimplemented linux_sys_clock_settime */
	{ 2, s(struct linux_sys_clock_gettime_args), 0,
	    linux_sys_clock_gettime },		/* 265 = clock_gettime */
	{ 2, s(struct linux_sys_clock_getres_args), 0,
	    linux_sys_clock_getres },		/* 266 = clock_getres */
	{ 0, 0, 0,
	    sys_nosys },			/* 267 = unimplemented linux_sys_clock_nanosleep */
	{ 2, s(struct linux_sys_statfs64_args), 0,
	    linux_sys_statfs64 },		/* 268 = statfs64 */
	{ 2, s(struct linux_sys_fstatfs64_args), 0,
	    linux_sys_fstatfs64 },		/* 269 = fstatfs64 */
	{ 3, s(struct linux_sys_tgkill_args), 0,
	    linux_sys_tgkill },			/* 270 = tgkill */
	{ 0, 0, 0,
	    sys_nosys },			/* 271 = unimplemented linux_sys_utimes */
	{ 0, 0, 0,
	    sys_nosys },			/* 272 = unimplemented linux_sys_fadvise64_64 */
	{ 0, 0, 0,
	    sys_nosys },			/* 273 = unimplemented linux_sys_vserver */
	{ 0, 0, 0,
	    sys_nosys },			/* 274 = unimplemented linux_sys_mbind */
	{ 0, 0, 0,
	    sys_nosys },			/* 275 = unimplemented linux_sys_get_mempolicy */
	{ 0, 0, 0,
	    sys_nosys },			/* 276 = unimplemented linux_sys_set_mempolicy */
	{ 0, 0, 0,
	    sys_nosys },			/* 277 = unimplemented linux_sys_mq_open */
	{ 0, 0, 0,
	    sys_nosys },			/* 278 = unimplemented linux_sys_mq_unlink */
	{ 0, 0, 0,
	    sys_nosys },			/* 279 = unimplemented linux_sys_mq_timedsend */
	{ 0, 0, 0,
	    sys_nosys },			/* 280 = unimplemented linux_sys_mq_timedreceive */
	{ 0, 0, 0,
	    sys_nosys },			/* 281 = unimplemented linux_sys_mq_notify */
	{ 0, 0, 0,
	    sys_nosys },			/* 282 = unimplemented linux_sys_mq_getsetattr */
	{ 0, 0, 0,
	    sys_nosys },			/* 283 = unimplemented linux_sys_sys_kexec_load */
	{ 0, 0, 0,
	    sys_nosys },			/* 284 = unimplemented linux_sys_waitid */
	{ 0, 0, 0,
	    sys_nosys },			/* 285 = unimplemented / * unused * / */
	{ 0, 0, 0,
	    sys_nosys },			/* 286 = unimplemented linux_sys_add_key */
	{ 0, 0, 0,
	    sys_nosys },			/* 287 = unimplemented linux_sys_request_key */
	{ 0, 0, 0,
	    sys_nosys },			/* 288 = unimplemented linux_sys_keyctl */
	{ 0, 0, 0,
	    sys_nosys },			/* 289 = unimplemented linux_sys_ioprio_set */
	{ 0, 0, 0,
	    sys_nosys },			/* 290 = unimplemented linux_sys_ioprio_get */
	{ 0, 0, 0,
	    sys_nosys },			/* 291 = unimplemented linux_sys_inotify_init */
	{ 0, 0, 0,
	    sys_nosys },			/* 292 = unimplemented linux_sys_inotify_add_watch */
	{ 0, 0, 0,
	    sys_nosys },			/* 293 = unimplemented linux_sys_inotify_rm_watch */
	{ 0, 0, 0,
	    sys_nosys },			/* 294 = unimplemented linux_sys_migrate_pages */
	{ 0, 0, 0,
	    sys_nosys },			/* 295 = unimplemented linux_sys_openalinux_sys_t */
	{ 0, 0, 0,
	    sys_nosys },			/* 296 = unimplemented linux_sys_mkdirat */
	{ 0, 0, 0,
	    sys_nosys },			/* 297 = unimplemented linux_sys_mknodat */
	{ 0, 0, 0,
	    sys_nosys },			/* 298 = unimplemented linux_sys_fchownat */
	{ 0, 0, 0,
	    sys_nosys },			/* 299 = unimplemented linux_sys_futimesat */
	{ 0, 0, 0,
	    sys_nosys },			/* 300 = unimplemented linux_sys_fstatat64 */
	{ 0, 0, 0,
	    sys_nosys },			/* 301 = unimplemented linux_sys_unlinkat */
	{ 0, 0, 0,
	    sys_nosys },			/* 302 = unimplemented linux_sys_renameat */
	{ 0, 0, 0,
	    sys_nosys },			/* 303 = unimplemented linux_sys_linkat */
	{ 0, 0, 0,
	    sys_nosys },			/* 304 = unimplemented linux_sys_symlinkat */
	{ 0, 0, 0,
	    sys_nosys },			/* 305 = unimplemented linux_sys_readlinkat */
	{ 0, 0, 0,
	    sys_nosys },			/* 306 = unimplemented linux_sys_fchmodat */
	{ 0, 0, 0,
	    sys_nosys },			/* 307 = unimplemented linux_sys_faccessat */
	{ 0, 0, 0,
	    sys_nosys },			/* 308 = unimplemented linux_sys_pselect6 */
	{ 0, 0, 0,
	    sys_nosys },			/* 309 = unimplemented linux_sys_ppoll */
	{ 0, 0, 0,
	    sys_nosys },			/* 310 = unimplemented linux_sys_unshare */
	{ 2, s(struct linux_sys_set_robust_list_args), 0,
	    linux_sys_set_robust_list },	/* 311 = set_robust_list */
	{ 3, s(struct linux_sys_get_robust_list_args), 0,
	    linux_sys_get_robust_list },	/* 312 = get_robust_list */
	{ 0, 0, 0,
	    sys_nosys },			/* 313 = unimplemented splice */
	{ 0, 0, 0,
	    sys_nosys },			/* 314 = unimplemented sync_file_range */
	{ 0, 0, 0,
	    sys_nosys },			/* 315 = unimplemented tee */
	{ 0, 0, 0,
	    sys_nosys },			/* 316 = unimplemented vmsplice */
	{ 0, 0, 0,
	    sys_nosys },			/* 317 = unimplemented move_pages */
	{ 0, 0, 0,
	    sys_nosys },			/* 318 = unimplemented getcpu */
	{ 0, 0, 0,
	    linux_sys_epoll_pwait },		/* 319 = epoll_pwait */
	{ 0, 0, 0,
	    sys_nosys },			/* 320 = unimplemented utimensat */
	{ 0, 0, 0,
	    sys_nosys },			/* 321 = unimplemented signalfd */
	{ 0, 0, 0,
	    sys_nosys },			/* 322 = unimplemented timerfd_create */
	{ 0, 0, 0,
	    linux_sys_eventfd },		/* 323 = eventfd */
	{ 0, 0, 0,
	    sys_nosys },			/* 324 = unimplemented fallocate */
	{ 0, 0, 0,
	    sys_nosys },			/* 325 = unimplemented timerfd_settime */
	{ 0, 0, 0,
	    sys_nosys },			/* 326 = unimplemented timerfd_gettime */
	{ 0, 0, 0,
	    sys_nosys },			/* 327 = unimplemented signalfd4 */
	{ 0, 0, 0,
	    linux_sys_eventfd2 },		/* 328 = eventfd2 */
	{ 0, 0, 0,
	    linux_sys_epoll_create1 },		/* 329 = epoll_create1 */
	{ 0, 0, 0,
	    sys_nosys },			/* 330 = unimplemented dup3 */
	{ 2, s(struct linux_sys_pipe2_args), 0,
	    linux_sys_pipe2 },			/* 331 = pipe2 */
	{ 0, 0, 0,
	    sys_nosys },			/* 332 = unimplemented inotify_init1 */
	{ 0, 0, 0,
	    sys_nosys },			/* 333 = unimplemented preadv */
	{ 0, 0, 0,
	    sys_nosys },			/* 334 = unimplemented pwritev */
	{ 0, 0, 0,
	    sys_nosys },			/* 335 = unimplemented rt_tgsigqueueinfo */
	{ 0, 0, 0,
	    sys_nosys },			/* 336 = unimplemented perf_counter_open */
	{ 0, 0, 0,
	    sys_nosys },			/* 337 = unimplemented recvmmsg */
};