linux32_sysent.c (ecab0de7c15ae1368e3192d17532ecd7a1621089) linux32_sysent.c (3984b2328c055e9b6082bbc50d09ae630c1050b1)
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
1/*
2 * System call switch table.
3 *
4 * DO NOT EDIT-- this file is automatically generated.
5 * $FreeBSD$
6 * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.2 2005/03/07 00:18:06 sobomax Exp
6 * created from FreeBSD: src/sys/amd64/linux32/syscalls.master,v 1.3 2005/05/30 15:09:16 rwatson Exp
7 */
8
7 */
8
9#include <bsm/audit_kevents.h>
9#include "opt_compat.h"
10#include <sys/param.h>
11#include <sys/sysent.h>
12#include <sys/sysproto.h>
13#include <compat/linux/linux_sysproto.h>
14#include <amd64/linux32/linux.h>
15#include <amd64/linux32/linux32_proto.h>
16
17#define AS(name) (sizeof(struct name) / sizeof(register_t))
18
19/* The casts are bogus but will do for now. */
20struct sysent linux_sysent[] = {
21#define nosys linux_nosys
10#include "opt_compat.h"
11#include <sys/param.h>
12#include <sys/sysent.h>
13#include <sys/sysproto.h>
14#include <compat/linux/linux_sysproto.h>
15#include <amd64/linux32/linux.h>
16#include <amd64/linux32/linux32_proto.h>
17
18#define AS(name) (sizeof(struct name) / sizeof(register_t))
19
20/* The casts are bogus but will do for now. */
21struct sysent linux_sysent[] = {
22#define nosys linux_nosys
22 { 0, (sy_call_t *)nosys }, /* 0 = setup */
23 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 1 = exit */
24 { SYF_MPSAFE | 0, (sy_call_t *)linux_fork }, /* 2 = linux_fork */
25 { SYF_MPSAFE | AS(read_args), (sy_call_t *)read }, /* 3 = read */
26 { SYF_MPSAFE | AS(write_args), (sy_call_t *)write }, /* 4 = write */
27 { AS(linux_open_args), (sy_call_t *)linux_open }, /* 5 = linux_open */
28 { SYF_MPSAFE | AS(close_args), (sy_call_t *)close }, /* 6 = close */
29 { SYF_MPSAFE | AS(linux_waitpid_args), (sy_call_t *)linux_waitpid }, /* 7 = linux_waitpid */
30 { AS(linux_creat_args), (sy_call_t *)linux_creat }, /* 8 = linux_creat */
31 { AS(linux_link_args), (sy_call_t *)linux_link }, /* 9 = linux_link */
32 { AS(linux_unlink_args), (sy_call_t *)linux_unlink }, /* 10 = linux_unlink */
33 { AS(linux_execve_args), (sy_call_t *)linux_execve }, /* 11 = linux_execve */
34 { AS(linux_chdir_args), (sy_call_t *)linux_chdir }, /* 12 = linux_chdir */
35 { AS(linux_time_args), (sy_call_t *)linux_time }, /* 13 = linux_time */
36 { AS(linux_mknod_args), (sy_call_t *)linux_mknod }, /* 14 = linux_mknod */
37 { AS(linux_chmod_args), (sy_call_t *)linux_chmod }, /* 15 = linux_chmod */
38 { AS(linux_lchown16_args), (sy_call_t *)linux_lchown16 }, /* 16 = linux_lchown16 */
39 { 0, (sy_call_t *)nosys }, /* 17 = break */
40 { 0, (sy_call_t *)nosys }, /* 18 = stat */
41 { AS(linux_lseek_args), (sy_call_t *)linux_lseek }, /* 19 = linux_lseek */
42 { SYF_MPSAFE | 0, (sy_call_t *)linux_getpid }, /* 20 = linux_getpid */
43 { AS(linux_mount_args), (sy_call_t *)linux_mount }, /* 21 = linux_mount */
44 { AS(linux_oldumount_args), (sy_call_t *)linux_oldumount }, /* 22 = linux_oldumount */
45 { SYF_MPSAFE | AS(linux_setuid16_args), (sy_call_t *)linux_setuid16 }, /* 23 = linux_setuid16 */
46 { SYF_MPSAFE | 0, (sy_call_t *)linux_getuid16 }, /* 24 = linux_getuid16 */
47 { 0, (sy_call_t *)linux_stime }, /* 25 = linux_stime */
48 { SYF_MPSAFE | AS(linux_ptrace_args), (sy_call_t *)linux_ptrace }, /* 26 = linux_ptrace */
49 { AS(linux_alarm_args), (sy_call_t *)linux_alarm }, /* 27 = linux_alarm */
50 { 0, (sy_call_t *)nosys }, /* 28 = fstat */
51 { SYF_MPSAFE | 0, (sy_call_t *)linux_pause }, /* 29 = linux_pause */
52 { AS(linux_utime_args), (sy_call_t *)linux_utime }, /* 30 = linux_utime */
53 { 0, (sy_call_t *)nosys }, /* 31 = stty */
54 { 0, (sy_call_t *)nosys }, /* 32 = gtty */
55 { AS(linux_access_args), (sy_call_t *)linux_access }, /* 33 = linux_access */
56 { SYF_MPSAFE | AS(linux_nice_args), (sy_call_t *)linux_nice }, /* 34 = linux_nice */
57 { 0, (sy_call_t *)nosys }, /* 35 = ftime */
58 { 0, (sy_call_t *)sync }, /* 36 = sync */
59 { SYF_MPSAFE | AS(linux_kill_args), (sy_call_t *)linux_kill }, /* 37 = linux_kill */
60 { AS(linux_rename_args), (sy_call_t *)linux_rename }, /* 38 = linux_rename */
61 { AS(linux_mkdir_args), (sy_call_t *)linux_mkdir }, /* 39 = linux_mkdir */
62 { AS(linux_rmdir_args), (sy_call_t *)linux_rmdir }, /* 40 = linux_rmdir */
63 { SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup }, /* 41 = dup */
64 { SYF_MPSAFE | AS(linux_pipe_args), (sy_call_t *)linux_pipe }, /* 42 = linux_pipe */
65 { AS(linux_times_args), (sy_call_t *)linux_times }, /* 43 = linux_times */
66 { 0, (sy_call_t *)nosys }, /* 44 = prof */
67 { AS(linux_brk_args), (sy_call_t *)linux_brk }, /* 45 = linux_brk */
68 { SYF_MPSAFE | AS(linux_setgid16_args), (sy_call_t *)linux_setgid16 }, /* 46 = linux_setgid16 */
69 { SYF_MPSAFE | 0, (sy_call_t *)linux_getgid16 }, /* 47 = linux_getgid16 */
70 { SYF_MPSAFE | AS(linux_signal_args), (sy_call_t *)linux_signal }, /* 48 = linux_signal */
71 { SYF_MPSAFE | 0, (sy_call_t *)linux_geteuid16 }, /* 49 = linux_geteuid16 */
72 { SYF_MPSAFE | 0, (sy_call_t *)linux_getegid16 }, /* 50 = linux_getegid16 */
73 { SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct }, /* 51 = acct */
74 { AS(linux_umount_args), (sy_call_t *)linux_umount }, /* 52 = linux_umount */
75 { 0, (sy_call_t *)nosys }, /* 53 = lock */
76 { AS(linux_ioctl_args), (sy_call_t *)linux_ioctl }, /* 54 = linux_ioctl */
77 { AS(linux_fcntl_args), (sy_call_t *)linux_fcntl }, /* 55 = linux_fcntl */
78 { 0, (sy_call_t *)nosys }, /* 56 = mpx */
79 { SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid }, /* 57 = setpgid */
80 { 0, (sy_call_t *)nosys }, /* 58 = ulimit */
81 { 0, (sy_call_t *)linux_olduname }, /* 59 = linux_olduname */
82 { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask }, /* 60 = umask */
83 { AS(chroot_args), (sy_call_t *)chroot }, /* 61 = chroot */
84 { AS(linux_ustat_args), (sy_call_t *)linux_ustat }, /* 62 = linux_ustat */
85 { SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2 }, /* 63 = dup2 */
86 { SYF_MPSAFE | 0, (sy_call_t *)getppid }, /* 64 = getppid */
87 { SYF_MPSAFE | 0, (sy_call_t *)getpgrp }, /* 65 = getpgrp */
88 { SYF_MPSAFE | 0, (sy_call_t *)setsid }, /* 66 = setsid */
89 { SYF_MPSAFE | AS(linux_sigaction_args), (sy_call_t *)linux_sigaction }, /* 67 = linux_sigaction */
90 { SYF_MPSAFE | 0, (sy_call_t *)linux_sgetmask }, /* 68 = linux_sgetmask */
91 { SYF_MPSAFE | AS(linux_ssetmask_args), (sy_call_t *)linux_ssetmask }, /* 69 = linux_ssetmask */
92 { SYF_MPSAFE | AS(linux_setreuid16_args), (sy_call_t *)linux_setreuid16 }, /* 70 = linux_setreuid16 */
93 { SYF_MPSAFE | AS(linux_setregid16_args), (sy_call_t *)linux_setregid16 }, /* 71 = linux_setregid16 */
94 { SYF_MPSAFE | AS(linux_sigsuspend_args), (sy_call_t *)linux_sigsuspend }, /* 72 = linux_sigsuspend */
95 { SYF_MPSAFE | AS(linux_sigpending_args), (sy_call_t *)linux_sigpending }, /* 73 = linux_sigpending */
96 { SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname }, /* 74 = osethostname */
97 { SYF_MPSAFE | AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit }, /* 75 = linux_setrlimit */
98 { SYF_MPSAFE | AS(linux_old_getrlimit_args), (sy_call_t *)linux_old_getrlimit }, /* 76 = linux_old_getrlimit */
99 { SYF_MPSAFE | AS(linux_getrusage_args), (sy_call_t *)linux_getrusage }, /* 77 = linux_getrusage */
100 { SYF_MPSAFE | AS(linux_gettimeofday_args), (sy_call_t *)linux_gettimeofday }, /* 78 = linux_gettimeofday */
101 { SYF_MPSAFE | AS(linux_settimeofday_args), (sy_call_t *)linux_settimeofday }, /* 79 = linux_settimeofday */
102 { SYF_MPSAFE | AS(linux_getgroups16_args), (sy_call_t *)linux_getgroups16 }, /* 80 = linux_getgroups16 */
103 { SYF_MPSAFE | AS(linux_setgroups16_args), (sy_call_t *)linux_setgroups16 }, /* 81 = linux_setgroups16 */
104 { AS(linux_old_select_args), (sy_call_t *)linux_old_select }, /* 82 = linux_old_select */
105 { AS(linux_symlink_args), (sy_call_t *)linux_symlink }, /* 83 = linux_symlink */
106 { 0, (sy_call_t *)nosys }, /* 84 = ostat */
107 { AS(linux_readlink_args), (sy_call_t *)linux_readlink }, /* 85 = linux_readlink */
108 { 0, (sy_call_t *)nosys }, /* 86 = linux_uselib */
109 { AS(swapon_args), (sy_call_t *)swapon }, /* 87 = swapon */
110 { AS(linux_reboot_args), (sy_call_t *)linux_reboot }, /* 88 = linux_reboot */
111 { AS(linux_readdir_args), (sy_call_t *)linux_readdir }, /* 89 = linux_readdir */
112 { AS(linux_mmap_args), (sy_call_t *)linux_mmap }, /* 90 = linux_mmap */
113 { AS(munmap_args), (sy_call_t *)munmap }, /* 91 = munmap */
114 { AS(linux_truncate_args), (sy_call_t *)linux_truncate }, /* 92 = linux_truncate */
115 { AS(oftruncate_args), (sy_call_t *)oftruncate }, /* 93 = oftruncate */
116 { AS(fchmod_args), (sy_call_t *)fchmod }, /* 94 = fchmod */
117 { AS(fchown_args), (sy_call_t *)fchown }, /* 95 = fchown */
118 { SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority }, /* 96 = getpriority */
119 { SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority }, /* 97 = setpriority */
120 { 0, (sy_call_t *)nosys }, /* 98 = profil */
121 { AS(linux_statfs_args), (sy_call_t *)linux_statfs }, /* 99 = linux_statfs */
122 { AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs }, /* 100 = linux_fstatfs */
123 { 0, (sy_call_t *)nosys }, /* 101 = ioperm */
124 { AS(linux_socketcall_args), (sy_call_t *)linux_socketcall }, /* 102 = linux_socketcall */
125 { AS(linux_syslog_args), (sy_call_t *)linux_syslog }, /* 103 = linux_syslog */
126 { AS(linux_setitimer_args), (sy_call_t *)linux_setitimer }, /* 104 = linux_setitimer */
127 { AS(linux_getitimer_args), (sy_call_t *)linux_getitimer }, /* 105 = linux_getitimer */
128 { AS(linux_newstat_args), (sy_call_t *)linux_newstat }, /* 106 = linux_newstat */
129 { AS(linux_newlstat_args), (sy_call_t *)linux_newlstat }, /* 107 = linux_newlstat */
130 { AS(linux_newfstat_args), (sy_call_t *)linux_newfstat }, /* 108 = linux_newfstat */
131 { 0, (sy_call_t *)linux_uname }, /* 109 = linux_uname */
132 { 0, (sy_call_t *)nosys }, /* 110 = iopl */
133 { 0, (sy_call_t *)linux_vhangup }, /* 111 = linux_vhangup */
134 { 0, (sy_call_t *)nosys }, /* 112 = idle */
135 { 0, (sy_call_t *)nosys }, /* 113 = vm86old */
136 { SYF_MPSAFE | AS(linux_wait4_args), (sy_call_t *)linux_wait4 }, /* 114 = linux_wait4 */
137 { 0, (sy_call_t *)linux_swapoff }, /* 115 = linux_swapoff */
138 { AS(linux_sysinfo_args), (sy_call_t *)linux_sysinfo }, /* 116 = linux_sysinfo */
139 { AS(linux_ipc_args), (sy_call_t *)linux_ipc }, /* 117 = linux_ipc */
140 { AS(fsync_args), (sy_call_t *)fsync }, /* 118 = fsync */
141 { SYF_MPSAFE | AS(linux_sigreturn_args), (sy_call_t *)linux_sigreturn }, /* 119 = linux_sigreturn */
142 { SYF_MPSAFE | AS(linux_clone_args), (sy_call_t *)linux_clone }, /* 120 = linux_clone */
143 { SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname }, /* 121 = setdomainname */
144 { AS(linux_newuname_args), (sy_call_t *)linux_newuname }, /* 122 = linux_newuname */
145 { 0, (sy_call_t *)nosys }, /* 123 = modify_ldt */
146 { 0, (sy_call_t *)linux_adjtimex }, /* 124 = linux_adjtimex */
147 { SYF_MPSAFE | AS(linux_mprotect_args), (sy_call_t *)linux_mprotect }, /* 125 = linux_mprotect */
148 { SYF_MPSAFE | AS(linux_sigprocmask_args), (sy_call_t *)linux_sigprocmask }, /* 126 = linux_sigprocmask */
149 { 0, (sy_call_t *)linux_create_module }, /* 127 = linux_create_module */
150 { 0, (sy_call_t *)linux_init_module }, /* 128 = linux_init_module */
151 { 0, (sy_call_t *)linux_delete_module }, /* 129 = linux_delete_module */
152 { 0, (sy_call_t *)linux_get_kernel_syms }, /* 130 = linux_get_kernel_syms */
153 { 0, (sy_call_t *)linux_quotactl }, /* 131 = linux_quotactl */
154 { AS(getpgid_args), (sy_call_t *)getpgid }, /* 132 = getpgid */
155 { AS(fchdir_args), (sy_call_t *)fchdir }, /* 133 = fchdir */
156 { 0, (sy_call_t *)linux_bdflush }, /* 134 = linux_bdflush */
157 { AS(linux_sysfs_args), (sy_call_t *)linux_sysfs }, /* 135 = linux_sysfs */
158 { AS(linux_personality_args), (sy_call_t *)linux_personality }, /* 136 = linux_personality */
159 { 0, (sy_call_t *)nosys }, /* 137 = afs_syscall */
160 { AS(linux_setfsuid16_args), (sy_call_t *)linux_setfsuid16 }, /* 138 = linux_setfsuid16 */
161 { AS(linux_setfsgid16_args), (sy_call_t *)linux_setfsgid16 }, /* 139 = linux_setfsgid16 */
162 { AS(linux_llseek_args), (sy_call_t *)linux_llseek }, /* 140 = linux_llseek */
163 { AS(linux_getdents_args), (sy_call_t *)linux_getdents }, /* 141 = linux_getdents */
164 { AS(linux_select_args), (sy_call_t *)linux_select }, /* 142 = linux_select */
165 { AS(flock_args), (sy_call_t *)flock }, /* 143 = flock */
166 { AS(linux_msync_args), (sy_call_t *)linux_msync }, /* 144 = linux_msync */
167 { AS(linux_readv_args), (sy_call_t *)linux_readv }, /* 145 = linux_readv */
168 { AS(linux_writev_args), (sy_call_t *)linux_writev }, /* 146 = linux_writev */
169 { SYF_MPSAFE | AS(linux_getsid_args), (sy_call_t *)linux_getsid }, /* 147 = linux_getsid */
170 { AS(linux_fdatasync_args), (sy_call_t *)linux_fdatasync }, /* 148 = linux_fdatasync */
171 { AS(linux_sysctl_args), (sy_call_t *)linux_sysctl }, /* 149 = linux_sysctl */
172 { SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock }, /* 150 = mlock */
173 { SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock }, /* 151 = munlock */
174 { SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall }, /* 152 = mlockall */
175 { SYF_MPSAFE | 0, (sy_call_t *)munlockall }, /* 153 = munlockall */
176 { SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam }, /* 154 = sched_setparam */
177 { SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam }, /* 155 = sched_getparam */
178 { SYF_MPSAFE | AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler }, /* 156 = linux_sched_setscheduler */
179 { SYF_MPSAFE | AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler }, /* 157 = linux_sched_getscheduler */
180 { 0, (sy_call_t *)sched_yield }, /* 158 = sched_yield */
181 { SYF_MPSAFE | AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max }, /* 159 = linux_sched_get_priority_max */
182 { SYF_MPSAFE | AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min }, /* 160 = linux_sched_get_priority_min */
183 { SYF_MPSAFE | AS(linux_sched_rr_get_interval_args), (sy_call_t *)linux_sched_rr_get_interval }, /* 161 = linux_sched_rr_get_interval */
184 { SYF_MPSAFE | AS(linux_nanosleep_args), (sy_call_t *)linux_nanosleep }, /* 162 = linux_nanosleep */
185 { AS(linux_mremap_args), (sy_call_t *)linux_mremap }, /* 163 = linux_mremap */
186 { SYF_MPSAFE | AS(linux_setresuid16_args), (sy_call_t *)linux_setresuid16 }, /* 164 = linux_setresuid16 */
187 { SYF_MPSAFE | AS(linux_getresuid16_args), (sy_call_t *)linux_getresuid16 }, /* 165 = linux_getresuid16 */
188 { 0, (sy_call_t *)nosys }, /* 166 = vm86 */
189 { 0, (sy_call_t *)linux_query_module }, /* 167 = linux_query_module */
190 { AS(poll_args), (sy_call_t *)poll }, /* 168 = poll */
191 { 0, (sy_call_t *)linux_nfsservctl }, /* 169 = linux_nfsservctl */
192 { SYF_MPSAFE | AS(linux_setresgid16_args), (sy_call_t *)linux_setresgid16 }, /* 170 = linux_setresgid16 */
193 { SYF_MPSAFE | AS(linux_getresgid16_args), (sy_call_t *)linux_getresgid16 }, /* 171 = linux_getresgid16 */
194 { 0, (sy_call_t *)linux_prctl }, /* 172 = linux_prctl */
195 { AS(linux_rt_sigreturn_args), (sy_call_t *)linux_rt_sigreturn }, /* 173 = linux_rt_sigreturn */
196 { SYF_MPSAFE | AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction }, /* 174 = linux_rt_sigaction */
197 { SYF_MPSAFE | AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask }, /* 175 = linux_rt_sigprocmask */
198 { 0, (sy_call_t *)linux_rt_sigpending }, /* 176 = linux_rt_sigpending */
199 { 0, (sy_call_t *)linux_rt_sigtimedwait }, /* 177 = linux_rt_sigtimedwait */
200 { 0, (sy_call_t *)linux_rt_sigqueueinfo }, /* 178 = linux_rt_sigqueueinfo */
201 { SYF_MPSAFE | AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend }, /* 179 = linux_rt_sigsuspend */
202 { AS(linux_pread_args), (sy_call_t *)linux_pread }, /* 180 = linux_pread */
203 { AS(linux_pwrite_args), (sy_call_t *)linux_pwrite }, /* 181 = linux_pwrite */
204 { AS(linux_chown16_args), (sy_call_t *)linux_chown16 }, /* 182 = linux_chown16 */
205 { AS(linux_getcwd_args), (sy_call_t *)linux_getcwd }, /* 183 = linux_getcwd */
206 { 0, (sy_call_t *)linux_capget }, /* 184 = linux_capget */
207 { 0, (sy_call_t *)linux_capset }, /* 185 = linux_capset */
208 { AS(linux_sigaltstack_args), (sy_call_t *)linux_sigaltstack }, /* 186 = linux_sigaltstack */
209 { 0, (sy_call_t *)linux_sendfile }, /* 187 = linux_sendfile */
210 { 0, (sy_call_t *)nosys }, /* 188 = getpmsg */
211 { 0, (sy_call_t *)nosys }, /* 189 = putpmsg */
212 { SYF_MPSAFE | 0, (sy_call_t *)linux_vfork }, /* 190 = linux_vfork */
213 { SYF_MPSAFE | AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit }, /* 191 = linux_getrlimit */
214 { AS(linux_mmap2_args), (sy_call_t *)linux_mmap2 }, /* 192 = linux_mmap2 */
215 { AS(linux_truncate64_args), (sy_call_t *)linux_truncate64 }, /* 193 = linux_truncate64 */
216 { AS(linux_ftruncate64_args), (sy_call_t *)linux_ftruncate64 }, /* 194 = linux_ftruncate64 */
217 { AS(linux_stat64_args), (sy_call_t *)linux_stat64 }, /* 195 = linux_stat64 */
218 { AS(linux_lstat64_args), (sy_call_t *)linux_lstat64 }, /* 196 = linux_lstat64 */
219 { AS(linux_fstat64_args), (sy_call_t *)linux_fstat64 }, /* 197 = linux_fstat64 */
220 { AS(linux_lchown_args), (sy_call_t *)linux_lchown }, /* 198 = linux_lchown */
221 { SYF_MPSAFE | 0, (sy_call_t *)linux_getuid }, /* 199 = linux_getuid */
222 { SYF_MPSAFE | 0, (sy_call_t *)linux_getgid }, /* 200 = linux_getgid */
223 { SYF_MPSAFE | 0, (sy_call_t *)geteuid }, /* 201 = geteuid */
224 { SYF_MPSAFE | 0, (sy_call_t *)getegid }, /* 202 = getegid */
225 { SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid }, /* 203 = setreuid */
226 { SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid }, /* 204 = setregid */
227 { SYF_MPSAFE | AS(linux_getgroups_args), (sy_call_t *)linux_getgroups }, /* 205 = linux_getgroups */
228 { SYF_MPSAFE | AS(linux_setgroups_args), (sy_call_t *)linux_setgroups }, /* 206 = linux_setgroups */
229 { AS(fchown_args), (sy_call_t *)fchown }, /* 207 = fchown */
230 { SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid }, /* 208 = setresuid */
231 { SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid }, /* 209 = getresuid */
232 { SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid }, /* 210 = setresgid */
233 { SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid }, /* 211 = getresgid */
234 { AS(linux_chown_args), (sy_call_t *)linux_chown }, /* 212 = linux_chown */
235 { SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid }, /* 213 = setuid */
236 { SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid }, /* 214 = setgid */
237 { AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid }, /* 215 = linux_setfsuid */
238 { AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid }, /* 216 = linux_setfsgid */
239 { AS(linux_pivot_root_args), (sy_call_t *)linux_pivot_root }, /* 217 = linux_pivot_root */
240 { AS(linux_mincore_args), (sy_call_t *)linux_mincore }, /* 218 = linux_mincore */
241 { SYF_MPSAFE | AS(madvise_args), (sy_call_t *)madvise }, /* 219 = madvise */
242 { AS(linux_getdents64_args), (sy_call_t *)linux_getdents64 }, /* 220 = linux_getdents64 */
243 { AS(linux_fcntl64_args), (sy_call_t *)linux_fcntl64 }, /* 221 = linux_fcntl64 */
244 { 0, (sy_call_t *)nosys }, /* 222 = */
245 { 0, (sy_call_t *)nosys }, /* 223 = */
246 { SYF_MPSAFE | 0, (sy_call_t *)linux_getpid }, /* 224 = gettid */
247 { 0, (sy_call_t *)nosys }, /* 225 = linux_readahead */
248 { 0, (sy_call_t *)linux_setxattr }, /* 226 = linux_setxattr */
249 { 0, (sy_call_t *)linux_lsetxattr }, /* 227 = linux_lsetxattr */
250 { 0, (sy_call_t *)linux_fsetxattr }, /* 228 = linux_fsetxattr */
251 { 0, (sy_call_t *)linux_getxattr }, /* 229 = linux_getxattr */
252 { 0, (sy_call_t *)linux_lgetxattr }, /* 230 = linux_lgetxattr */
253 { 0, (sy_call_t *)linux_fgetxattr }, /* 231 = linux_fgetxattr */
254 { 0, (sy_call_t *)linux_listxattr }, /* 232 = linux_listxattr */
255 { 0, (sy_call_t *)linux_llistxattr }, /* 233 = linux_llistxattr */
256 { 0, (sy_call_t *)linux_flistxattr }, /* 234 = linux_flistxattr */
257 { 0, (sy_call_t *)linux_removexattr }, /* 235 = linux_removexattr */
258 { 0, (sy_call_t *)linux_lremovexattr }, /* 236 = linux_lremovexattr */
259 { 0, (sy_call_t *)linux_fremovexattr }, /* 237 = linux_fremovexattr */
260 { 0, (sy_call_t *)nosys }, /* 238 = linux_tkill */
261 { 0, (sy_call_t *)nosys }, /* 239 = linux_sendfile64 */
262 { 0, (sy_call_t *)nosys }, /* 240 = linux_futex */
263 { 0, (sy_call_t *)nosys }, /* 241 = linux_sched_setaffinity */
264 { 0, (sy_call_t *)nosys }, /* 242 = linux_sched_getaffinity */
265 { 0, (sy_call_t *)nosys }, /* 243 = linux_set_thread_area */
266 { 0, (sy_call_t *)nosys }, /* 244 = linux_get_thread_area */
267 { 0, (sy_call_t *)nosys }, /* 245 = linux_io_setup */
268 { 0, (sy_call_t *)nosys }, /* 246 = linux_io_destroy */
269 { 0, (sy_call_t *)nosys }, /* 247 = linux_io_getevents */
270 { 0, (sy_call_t *)nosys }, /* 248 = linux_io_submit */
271 { 0, (sy_call_t *)nosys }, /* 249 = linux_io_cancel */
272 { 0, (sy_call_t *)linux_fadvise64 }, /* 250 = linux_fadvise64 */
273 { 0, (sy_call_t *)nosys }, /* 251 = */
274 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit }, /* 252 = exit_group */
275 { 0, (sy_call_t *)nosys }, /* 253 = linux_lookup_dcookie */
276 { 0, (sy_call_t *)nosys }, /* 254 = linux_epoll_create */
277 { 0, (sy_call_t *)nosys }, /* 255 = linux_epoll_ctl */
278 { 0, (sy_call_t *)nosys }, /* 256 = linux_epoll_wait */
279 { 0, (sy_call_t *)nosys }, /* 257 = linux_remap_file_pages */
280 { 0, (sy_call_t *)nosys }, /* 258 = linux_set_tid_address */
281 { 0, (sy_call_t *)nosys }, /* 259 = linux_timer_create */
282 { 0, (sy_call_t *)nosys }, /* 260 = linux_timer_settime */
283 { 0, (sy_call_t *)nosys }, /* 261 = linux_timer_gettime */
284 { 0, (sy_call_t *)nosys }, /* 262 = linux_timer_getoverrun */
285 { 0, (sy_call_t *)nosys }, /* 263 = linux_timer_delete */
286 { 0, (sy_call_t *)nosys }, /* 264 = linux_clock_settime */
287 { 0, (sy_call_t *)nosys }, /* 265 = linux_clock_gettime */
288 { 0, (sy_call_t *)nosys }, /* 266 = linux_clock_getres */
289 { 0, (sy_call_t *)nosys }, /* 267 = linux_clock_nanosleep */
23 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 0 = setup */
24 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_NULL }, /* 1 = exit */
25 { SYF_MPSAFE | 0, (sy_call_t *)linux_fork, AUE_NULL }, /* 2 = linux_fork */
26 { SYF_MPSAFE | AS(read_args), (sy_call_t *)read, AUE_NULL }, /* 3 = read */
27 { SYF_MPSAFE | AS(write_args), (sy_call_t *)write, AUE_NULL }, /* 4 = write */
28 { AS(linux_open_args), (sy_call_t *)linux_open, AUE_NULL }, /* 5 = linux_open */
29 { SYF_MPSAFE | AS(close_args), (sy_call_t *)close, AUE_NULL }, /* 6 = close */
30 { SYF_MPSAFE | AS(linux_waitpid_args), (sy_call_t *)linux_waitpid, AUE_NULL }, /* 7 = linux_waitpid */
31 { AS(linux_creat_args), (sy_call_t *)linux_creat, AUE_NULL }, /* 8 = linux_creat */
32 { AS(linux_link_args), (sy_call_t *)linux_link, AUE_NULL }, /* 9 = linux_link */
33 { AS(linux_unlink_args), (sy_call_t *)linux_unlink, AUE_NULL }, /* 10 = linux_unlink */
34 { AS(linux_execve_args), (sy_call_t *)linux_execve, AUE_NULL }, /* 11 = linux_execve */
35 { AS(linux_chdir_args), (sy_call_t *)linux_chdir, AUE_NULL }, /* 12 = linux_chdir */
36 { AS(linux_time_args), (sy_call_t *)linux_time, AUE_NULL }, /* 13 = linux_time */
37 { AS(linux_mknod_args), (sy_call_t *)linux_mknod, AUE_NULL }, /* 14 = linux_mknod */
38 { AS(linux_chmod_args), (sy_call_t *)linux_chmod, AUE_NULL }, /* 15 = linux_chmod */
39 { AS(linux_lchown16_args), (sy_call_t *)linux_lchown16, AUE_NULL }, /* 16 = linux_lchown16 */
40 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 17 = break */
41 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 18 = stat */
42 { AS(linux_lseek_args), (sy_call_t *)linux_lseek, AUE_NULL }, /* 19 = linux_lseek */
43 { SYF_MPSAFE | 0, (sy_call_t *)linux_getpid, AUE_NULL }, /* 20 = linux_getpid */
44 { AS(linux_mount_args), (sy_call_t *)linux_mount, AUE_NULL }, /* 21 = linux_mount */
45 { AS(linux_oldumount_args), (sy_call_t *)linux_oldumount, AUE_NULL }, /* 22 = linux_oldumount */
46 { SYF_MPSAFE | AS(linux_setuid16_args), (sy_call_t *)linux_setuid16, AUE_NULL }, /* 23 = linux_setuid16 */
47 { SYF_MPSAFE | 0, (sy_call_t *)linux_getuid16, AUE_NULL }, /* 24 = linux_getuid16 */
48 { 0, (sy_call_t *)linux_stime, AUE_NULL }, /* 25 = linux_stime */
49 { SYF_MPSAFE | AS(linux_ptrace_args), (sy_call_t *)linux_ptrace, AUE_NULL }, /* 26 = linux_ptrace */
50 { AS(linux_alarm_args), (sy_call_t *)linux_alarm, AUE_NULL }, /* 27 = linux_alarm */
51 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 28 = fstat */
52 { SYF_MPSAFE | 0, (sy_call_t *)linux_pause, AUE_NULL }, /* 29 = linux_pause */
53 { AS(linux_utime_args), (sy_call_t *)linux_utime, AUE_NULL }, /* 30 = linux_utime */
54 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 31 = stty */
55 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 32 = gtty */
56 { AS(linux_access_args), (sy_call_t *)linux_access, AUE_NULL }, /* 33 = linux_access */
57 { SYF_MPSAFE | AS(linux_nice_args), (sy_call_t *)linux_nice, AUE_NULL }, /* 34 = linux_nice */
58 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 35 = ftime */
59 { 0, (sy_call_t *)sync, AUE_NULL }, /* 36 = sync */
60 { SYF_MPSAFE | AS(linux_kill_args), (sy_call_t *)linux_kill, AUE_NULL }, /* 37 = linux_kill */
61 { AS(linux_rename_args), (sy_call_t *)linux_rename, AUE_NULL }, /* 38 = linux_rename */
62 { AS(linux_mkdir_args), (sy_call_t *)linux_mkdir, AUE_NULL }, /* 39 = linux_mkdir */
63 { AS(linux_rmdir_args), (sy_call_t *)linux_rmdir, AUE_NULL }, /* 40 = linux_rmdir */
64 { SYF_MPSAFE | AS(dup_args), (sy_call_t *)dup, AUE_NULL }, /* 41 = dup */
65 { SYF_MPSAFE | AS(linux_pipe_args), (sy_call_t *)linux_pipe, AUE_NULL }, /* 42 = linux_pipe */
66 { AS(linux_times_args), (sy_call_t *)linux_times, AUE_NULL }, /* 43 = linux_times */
67 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 44 = prof */
68 { AS(linux_brk_args), (sy_call_t *)linux_brk, AUE_NULL }, /* 45 = linux_brk */
69 { SYF_MPSAFE | AS(linux_setgid16_args), (sy_call_t *)linux_setgid16, AUE_NULL }, /* 46 = linux_setgid16 */
70 { SYF_MPSAFE | 0, (sy_call_t *)linux_getgid16, AUE_NULL }, /* 47 = linux_getgid16 */
71 { SYF_MPSAFE | AS(linux_signal_args), (sy_call_t *)linux_signal, AUE_NULL }, /* 48 = linux_signal */
72 { SYF_MPSAFE | 0, (sy_call_t *)linux_geteuid16, AUE_NULL }, /* 49 = linux_geteuid16 */
73 { SYF_MPSAFE | 0, (sy_call_t *)linux_getegid16, AUE_NULL }, /* 50 = linux_getegid16 */
74 { SYF_MPSAFE | AS(acct_args), (sy_call_t *)acct, AUE_NULL }, /* 51 = acct */
75 { AS(linux_umount_args), (sy_call_t *)linux_umount, AUE_NULL }, /* 52 = linux_umount */
76 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 53 = lock */
77 { AS(linux_ioctl_args), (sy_call_t *)linux_ioctl, AUE_NULL }, /* 54 = linux_ioctl */
78 { AS(linux_fcntl_args), (sy_call_t *)linux_fcntl, AUE_NULL }, /* 55 = linux_fcntl */
79 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 56 = mpx */
80 { SYF_MPSAFE | AS(setpgid_args), (sy_call_t *)setpgid, AUE_NULL }, /* 57 = setpgid */
81 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 58 = ulimit */
82 { 0, (sy_call_t *)linux_olduname, AUE_NULL }, /* 59 = linux_olduname */
83 { SYF_MPSAFE | AS(umask_args), (sy_call_t *)umask, AUE_NULL }, /* 60 = umask */
84 { AS(chroot_args), (sy_call_t *)chroot, AUE_NULL }, /* 61 = chroot */
85 { AS(linux_ustat_args), (sy_call_t *)linux_ustat, AUE_NULL }, /* 62 = linux_ustat */
86 { SYF_MPSAFE | AS(dup2_args), (sy_call_t *)dup2, AUE_NULL }, /* 63 = dup2 */
87 { SYF_MPSAFE | 0, (sy_call_t *)getppid, AUE_NULL }, /* 64 = getppid */
88 { SYF_MPSAFE | 0, (sy_call_t *)getpgrp, AUE_NULL }, /* 65 = getpgrp */
89 { SYF_MPSAFE | 0, (sy_call_t *)setsid, AUE_NULL }, /* 66 = setsid */
90 { SYF_MPSAFE | AS(linux_sigaction_args), (sy_call_t *)linux_sigaction, AUE_NULL }, /* 67 = linux_sigaction */
91 { SYF_MPSAFE | 0, (sy_call_t *)linux_sgetmask, AUE_NULL }, /* 68 = linux_sgetmask */
92 { SYF_MPSAFE | AS(linux_ssetmask_args), (sy_call_t *)linux_ssetmask, AUE_NULL }, /* 69 = linux_ssetmask */
93 { SYF_MPSAFE | AS(linux_setreuid16_args), (sy_call_t *)linux_setreuid16, AUE_NULL }, /* 70 = linux_setreuid16 */
94 { SYF_MPSAFE | AS(linux_setregid16_args), (sy_call_t *)linux_setregid16, AUE_NULL }, /* 71 = linux_setregid16 */
95 { SYF_MPSAFE | AS(linux_sigsuspend_args), (sy_call_t *)linux_sigsuspend, AUE_NULL }, /* 72 = linux_sigsuspend */
96 { SYF_MPSAFE | AS(linux_sigpending_args), (sy_call_t *)linux_sigpending, AUE_NULL }, /* 73 = linux_sigpending */
97 { SYF_MPSAFE | AS(sethostname_args), (sy_call_t *)osethostname, AUE_NULL }, /* 74 = osethostname */
98 { SYF_MPSAFE | AS(linux_setrlimit_args), (sy_call_t *)linux_setrlimit, AUE_NULL }, /* 75 = linux_setrlimit */
99 { SYF_MPSAFE | AS(linux_old_getrlimit_args), (sy_call_t *)linux_old_getrlimit, AUE_NULL }, /* 76 = linux_old_getrlimit */
100 { SYF_MPSAFE | AS(linux_getrusage_args), (sy_call_t *)linux_getrusage, AUE_NULL }, /* 77 = linux_getrusage */
101 { SYF_MPSAFE | AS(linux_gettimeofday_args), (sy_call_t *)linux_gettimeofday, AUE_NULL }, /* 78 = linux_gettimeofday */
102 { SYF_MPSAFE | AS(linux_settimeofday_args), (sy_call_t *)linux_settimeofday, AUE_NULL }, /* 79 = linux_settimeofday */
103 { SYF_MPSAFE | AS(linux_getgroups16_args), (sy_call_t *)linux_getgroups16, AUE_NULL }, /* 80 = linux_getgroups16 */
104 { SYF_MPSAFE | AS(linux_setgroups16_args), (sy_call_t *)linux_setgroups16, AUE_NULL }, /* 81 = linux_setgroups16 */
105 { AS(linux_old_select_args), (sy_call_t *)linux_old_select, AUE_NULL }, /* 82 = linux_old_select */
106 { AS(linux_symlink_args), (sy_call_t *)linux_symlink, AUE_NULL }, /* 83 = linux_symlink */
107 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 84 = ostat */
108 { AS(linux_readlink_args), (sy_call_t *)linux_readlink, AUE_NULL }, /* 85 = linux_readlink */
109 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 86 = linux_uselib */
110 { AS(swapon_args), (sy_call_t *)swapon, AUE_NULL }, /* 87 = swapon */
111 { AS(linux_reboot_args), (sy_call_t *)linux_reboot, AUE_NULL }, /* 88 = linux_reboot */
112 { AS(linux_readdir_args), (sy_call_t *)linux_readdir, AUE_NULL }, /* 89 = linux_readdir */
113 { AS(linux_mmap_args), (sy_call_t *)linux_mmap, AUE_NULL }, /* 90 = linux_mmap */
114 { AS(munmap_args), (sy_call_t *)munmap, AUE_NULL }, /* 91 = munmap */
115 { AS(linux_truncate_args), (sy_call_t *)linux_truncate, AUE_NULL }, /* 92 = linux_truncate */
116 { AS(oftruncate_args), (sy_call_t *)oftruncate, AUE_NULL }, /* 93 = oftruncate */
117 { AS(fchmod_args), (sy_call_t *)fchmod, AUE_NULL }, /* 94 = fchmod */
118 { AS(fchown_args), (sy_call_t *)fchown, AUE_NULL }, /* 95 = fchown */
119 { SYF_MPSAFE | AS(getpriority_args), (sy_call_t *)getpriority, AUE_NULL }, /* 96 = getpriority */
120 { SYF_MPSAFE | AS(setpriority_args), (sy_call_t *)setpriority, AUE_NULL }, /* 97 = setpriority */
121 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 98 = profil */
122 { AS(linux_statfs_args), (sy_call_t *)linux_statfs, AUE_NULL }, /* 99 = linux_statfs */
123 { AS(linux_fstatfs_args), (sy_call_t *)linux_fstatfs, AUE_NULL }, /* 100 = linux_fstatfs */
124 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 101 = ioperm */
125 { AS(linux_socketcall_args), (sy_call_t *)linux_socketcall, AUE_NULL }, /* 102 = linux_socketcall */
126 { AS(linux_syslog_args), (sy_call_t *)linux_syslog, AUE_NULL }, /* 103 = linux_syslog */
127 { AS(linux_setitimer_args), (sy_call_t *)linux_setitimer, AUE_NULL }, /* 104 = linux_setitimer */
128 { AS(linux_getitimer_args), (sy_call_t *)linux_getitimer, AUE_NULL }, /* 105 = linux_getitimer */
129 { AS(linux_newstat_args), (sy_call_t *)linux_newstat, AUE_NULL }, /* 106 = linux_newstat */
130 { AS(linux_newlstat_args), (sy_call_t *)linux_newlstat, AUE_NULL }, /* 107 = linux_newlstat */
131 { AS(linux_newfstat_args), (sy_call_t *)linux_newfstat, AUE_NULL }, /* 108 = linux_newfstat */
132 { 0, (sy_call_t *)linux_uname, AUE_NULL }, /* 109 = linux_uname */
133 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 110 = iopl */
134 { 0, (sy_call_t *)linux_vhangup, AUE_NULL }, /* 111 = linux_vhangup */
135 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 112 = idle */
136 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 113 = vm86old */
137 { SYF_MPSAFE | AS(linux_wait4_args), (sy_call_t *)linux_wait4, AUE_NULL }, /* 114 = linux_wait4 */
138 { 0, (sy_call_t *)linux_swapoff, AUE_NULL }, /* 115 = linux_swapoff */
139 { AS(linux_sysinfo_args), (sy_call_t *)linux_sysinfo, AUE_NULL }, /* 116 = linux_sysinfo */
140 { AS(linux_ipc_args), (sy_call_t *)linux_ipc, AUE_NULL }, /* 117 = linux_ipc */
141 { AS(fsync_args), (sy_call_t *)fsync, AUE_NULL }, /* 118 = fsync */
142 { SYF_MPSAFE | AS(linux_sigreturn_args), (sy_call_t *)linux_sigreturn, AUE_NULL }, /* 119 = linux_sigreturn */
143 { SYF_MPSAFE | AS(linux_clone_args), (sy_call_t *)linux_clone, AUE_NULL }, /* 120 = linux_clone */
144 { SYF_MPSAFE | AS(setdomainname_args), (sy_call_t *)setdomainname, AUE_NULL }, /* 121 = setdomainname */
145 { AS(linux_newuname_args), (sy_call_t *)linux_newuname, AUE_NULL }, /* 122 = linux_newuname */
146 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 123 = modify_ldt */
147 { 0, (sy_call_t *)linux_adjtimex, AUE_NULL }, /* 124 = linux_adjtimex */
148 { SYF_MPSAFE | AS(linux_mprotect_args), (sy_call_t *)linux_mprotect, AUE_NULL }, /* 125 = linux_mprotect */
149 { SYF_MPSAFE | AS(linux_sigprocmask_args), (sy_call_t *)linux_sigprocmask, AUE_NULL }, /* 126 = linux_sigprocmask */
150 { 0, (sy_call_t *)linux_create_module, AUE_NULL }, /* 127 = linux_create_module */
151 { 0, (sy_call_t *)linux_init_module, AUE_NULL }, /* 128 = linux_init_module */
152 { 0, (sy_call_t *)linux_delete_module, AUE_NULL }, /* 129 = linux_delete_module */
153 { 0, (sy_call_t *)linux_get_kernel_syms, AUE_NULL }, /* 130 = linux_get_kernel_syms */
154 { 0, (sy_call_t *)linux_quotactl, AUE_NULL }, /* 131 = linux_quotactl */
155 { AS(getpgid_args), (sy_call_t *)getpgid, AUE_NULL }, /* 132 = getpgid */
156 { AS(fchdir_args), (sy_call_t *)fchdir, AUE_NULL }, /* 133 = fchdir */
157 { 0, (sy_call_t *)linux_bdflush, AUE_NULL }, /* 134 = linux_bdflush */
158 { AS(linux_sysfs_args), (sy_call_t *)linux_sysfs, AUE_NULL }, /* 135 = linux_sysfs */
159 { AS(linux_personality_args), (sy_call_t *)linux_personality, AUE_NULL }, /* 136 = linux_personality */
160 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 137 = afs_syscall */
161 { AS(linux_setfsuid16_args), (sy_call_t *)linux_setfsuid16, AUE_NULL }, /* 138 = linux_setfsuid16 */
162 { AS(linux_setfsgid16_args), (sy_call_t *)linux_setfsgid16, AUE_NULL }, /* 139 = linux_setfsgid16 */
163 { AS(linux_llseek_args), (sy_call_t *)linux_llseek, AUE_NULL }, /* 140 = linux_llseek */
164 { AS(linux_getdents_args), (sy_call_t *)linux_getdents, AUE_NULL }, /* 141 = linux_getdents */
165 { AS(linux_select_args), (sy_call_t *)linux_select, AUE_NULL }, /* 142 = linux_select */
166 { AS(flock_args), (sy_call_t *)flock, AUE_NULL }, /* 143 = flock */
167 { AS(linux_msync_args), (sy_call_t *)linux_msync, AUE_NULL }, /* 144 = linux_msync */
168 { AS(linux_readv_args), (sy_call_t *)linux_readv, AUE_NULL }, /* 145 = linux_readv */
169 { AS(linux_writev_args), (sy_call_t *)linux_writev, AUE_NULL }, /* 146 = linux_writev */
170 { SYF_MPSAFE | AS(linux_getsid_args), (sy_call_t *)linux_getsid, AUE_NULL }, /* 147 = linux_getsid */
171 { AS(linux_fdatasync_args), (sy_call_t *)linux_fdatasync, AUE_NULL }, /* 148 = linux_fdatasync */
172 { AS(linux_sysctl_args), (sy_call_t *)linux_sysctl, AUE_NULL }, /* 149 = linux_sysctl */
173 { SYF_MPSAFE | AS(mlock_args), (sy_call_t *)mlock, AUE_NULL }, /* 150 = mlock */
174 { SYF_MPSAFE | AS(munlock_args), (sy_call_t *)munlock, AUE_NULL }, /* 151 = munlock */
175 { SYF_MPSAFE | AS(mlockall_args), (sy_call_t *)mlockall, AUE_NULL }, /* 152 = mlockall */
176 { SYF_MPSAFE | 0, (sy_call_t *)munlockall, AUE_NULL }, /* 153 = munlockall */
177 { SYF_MPSAFE | AS(sched_setparam_args), (sy_call_t *)sched_setparam, AUE_NULL }, /* 154 = sched_setparam */
178 { SYF_MPSAFE | AS(sched_getparam_args), (sy_call_t *)sched_getparam, AUE_NULL }, /* 155 = sched_getparam */
179 { SYF_MPSAFE | AS(linux_sched_setscheduler_args), (sy_call_t *)linux_sched_setscheduler, AUE_NULL }, /* 156 = linux_sched_setscheduler */
180 { SYF_MPSAFE | AS(linux_sched_getscheduler_args), (sy_call_t *)linux_sched_getscheduler, AUE_NULL }, /* 157 = linux_sched_getscheduler */
181 { 0, (sy_call_t *)sched_yield, AUE_NULL }, /* 158 = sched_yield */
182 { SYF_MPSAFE | AS(linux_sched_get_priority_max_args), (sy_call_t *)linux_sched_get_priority_max, AUE_NULL }, /* 159 = linux_sched_get_priority_max */
183 { SYF_MPSAFE | AS(linux_sched_get_priority_min_args), (sy_call_t *)linux_sched_get_priority_min, AUE_NULL }, /* 160 = linux_sched_get_priority_min */
184 { SYF_MPSAFE | AS(linux_sched_rr_get_interval_args), (sy_call_t *)linux_sched_rr_get_interval, AUE_NULL }, /* 161 = linux_sched_rr_get_interval */
185 { SYF_MPSAFE | AS(linux_nanosleep_args), (sy_call_t *)linux_nanosleep, AUE_NULL }, /* 162 = linux_nanosleep */
186 { AS(linux_mremap_args), (sy_call_t *)linux_mremap, AUE_NULL }, /* 163 = linux_mremap */
187 { SYF_MPSAFE | AS(linux_setresuid16_args), (sy_call_t *)linux_setresuid16, AUE_NULL }, /* 164 = linux_setresuid16 */
188 { SYF_MPSAFE | AS(linux_getresuid16_args), (sy_call_t *)linux_getresuid16, AUE_NULL }, /* 165 = linux_getresuid16 */
189 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 166 = vm86 */
190 { 0, (sy_call_t *)linux_query_module, AUE_NULL }, /* 167 = linux_query_module */
191 { AS(poll_args), (sy_call_t *)poll, AUE_NULL }, /* 168 = poll */
192 { 0, (sy_call_t *)linux_nfsservctl, AUE_NULL }, /* 169 = linux_nfsservctl */
193 { SYF_MPSAFE | AS(linux_setresgid16_args), (sy_call_t *)linux_setresgid16, AUE_NULL }, /* 170 = linux_setresgid16 */
194 { SYF_MPSAFE | AS(linux_getresgid16_args), (sy_call_t *)linux_getresgid16, AUE_NULL }, /* 171 = linux_getresgid16 */
195 { 0, (sy_call_t *)linux_prctl, AUE_NULL }, /* 172 = linux_prctl */
196 { AS(linux_rt_sigreturn_args), (sy_call_t *)linux_rt_sigreturn, AUE_NULL }, /* 173 = linux_rt_sigreturn */
197 { SYF_MPSAFE | AS(linux_rt_sigaction_args), (sy_call_t *)linux_rt_sigaction, AUE_NULL }, /* 174 = linux_rt_sigaction */
198 { SYF_MPSAFE | AS(linux_rt_sigprocmask_args), (sy_call_t *)linux_rt_sigprocmask, AUE_NULL }, /* 175 = linux_rt_sigprocmask */
199 { 0, (sy_call_t *)linux_rt_sigpending, AUE_NULL }, /* 176 = linux_rt_sigpending */
200 { 0, (sy_call_t *)linux_rt_sigtimedwait, AUE_NULL }, /* 177 = linux_rt_sigtimedwait */
201 { 0, (sy_call_t *)linux_rt_sigqueueinfo, AUE_NULL }, /* 178 = linux_rt_sigqueueinfo */
202 { SYF_MPSAFE | AS(linux_rt_sigsuspend_args), (sy_call_t *)linux_rt_sigsuspend, AUE_NULL }, /* 179 = linux_rt_sigsuspend */
203 { AS(linux_pread_args), (sy_call_t *)linux_pread, AUE_NULL }, /* 180 = linux_pread */
204 { AS(linux_pwrite_args), (sy_call_t *)linux_pwrite, AUE_NULL }, /* 181 = linux_pwrite */
205 { AS(linux_chown16_args), (sy_call_t *)linux_chown16, AUE_NULL }, /* 182 = linux_chown16 */
206 { AS(linux_getcwd_args), (sy_call_t *)linux_getcwd, AUE_NULL }, /* 183 = linux_getcwd */
207 { 0, (sy_call_t *)linux_capget, AUE_NULL }, /* 184 = linux_capget */
208 { 0, (sy_call_t *)linux_capset, AUE_NULL }, /* 185 = linux_capset */
209 { AS(linux_sigaltstack_args), (sy_call_t *)linux_sigaltstack, AUE_NULL }, /* 186 = linux_sigaltstack */
210 { 0, (sy_call_t *)linux_sendfile, AUE_NULL }, /* 187 = linux_sendfile */
211 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 188 = getpmsg */
212 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 189 = putpmsg */
213 { SYF_MPSAFE | 0, (sy_call_t *)linux_vfork, AUE_NULL }, /* 190 = linux_vfork */
214 { SYF_MPSAFE | AS(linux_getrlimit_args), (sy_call_t *)linux_getrlimit, AUE_NULL }, /* 191 = linux_getrlimit */
215 { AS(linux_mmap2_args), (sy_call_t *)linux_mmap2, AUE_NULL }, /* 192 = linux_mmap2 */
216 { AS(linux_truncate64_args), (sy_call_t *)linux_truncate64, AUE_NULL }, /* 193 = linux_truncate64 */
217 { AS(linux_ftruncate64_args), (sy_call_t *)linux_ftruncate64, AUE_NULL }, /* 194 = linux_ftruncate64 */
218 { AS(linux_stat64_args), (sy_call_t *)linux_stat64, AUE_NULL }, /* 195 = linux_stat64 */
219 { AS(linux_lstat64_args), (sy_call_t *)linux_lstat64, AUE_NULL }, /* 196 = linux_lstat64 */
220 { AS(linux_fstat64_args), (sy_call_t *)linux_fstat64, AUE_NULL }, /* 197 = linux_fstat64 */
221 { AS(linux_lchown_args), (sy_call_t *)linux_lchown, AUE_NULL }, /* 198 = linux_lchown */
222 { SYF_MPSAFE | 0, (sy_call_t *)linux_getuid, AUE_NULL }, /* 199 = linux_getuid */
223 { SYF_MPSAFE | 0, (sy_call_t *)linux_getgid, AUE_NULL }, /* 200 = linux_getgid */
224 { SYF_MPSAFE | 0, (sy_call_t *)geteuid, AUE_NULL }, /* 201 = geteuid */
225 { SYF_MPSAFE | 0, (sy_call_t *)getegid, AUE_NULL }, /* 202 = getegid */
226 { SYF_MPSAFE | AS(setreuid_args), (sy_call_t *)setreuid, AUE_NULL }, /* 203 = setreuid */
227 { SYF_MPSAFE | AS(setregid_args), (sy_call_t *)setregid, AUE_NULL }, /* 204 = setregid */
228 { SYF_MPSAFE | AS(linux_getgroups_args), (sy_call_t *)linux_getgroups, AUE_NULL }, /* 205 = linux_getgroups */
229 { SYF_MPSAFE | AS(linux_setgroups_args), (sy_call_t *)linux_setgroups, AUE_NULL }, /* 206 = linux_setgroups */
230 { AS(fchown_args), (sy_call_t *)fchown, AUE_NULL }, /* 207 = fchown */
231 { SYF_MPSAFE | AS(setresuid_args), (sy_call_t *)setresuid, AUE_NULL }, /* 208 = setresuid */
232 { SYF_MPSAFE | AS(getresuid_args), (sy_call_t *)getresuid, AUE_NULL }, /* 209 = getresuid */
233 { SYF_MPSAFE | AS(setresgid_args), (sy_call_t *)setresgid, AUE_NULL }, /* 210 = setresgid */
234 { SYF_MPSAFE | AS(getresgid_args), (sy_call_t *)getresgid, AUE_NULL }, /* 211 = getresgid */
235 { AS(linux_chown_args), (sy_call_t *)linux_chown, AUE_NULL }, /* 212 = linux_chown */
236 { SYF_MPSAFE | AS(setuid_args), (sy_call_t *)setuid, AUE_NULL }, /* 213 = setuid */
237 { SYF_MPSAFE | AS(setgid_args), (sy_call_t *)setgid, AUE_NULL }, /* 214 = setgid */
238 { AS(linux_setfsuid_args), (sy_call_t *)linux_setfsuid, AUE_NULL }, /* 215 = linux_setfsuid */
239 { AS(linux_setfsgid_args), (sy_call_t *)linux_setfsgid, AUE_NULL }, /* 216 = linux_setfsgid */
240 { AS(linux_pivot_root_args), (sy_call_t *)linux_pivot_root, AUE_NULL }, /* 217 = linux_pivot_root */
241 { AS(linux_mincore_args), (sy_call_t *)linux_mincore, AUE_NULL }, /* 218 = linux_mincore */
242 { SYF_MPSAFE | AS(madvise_args), (sy_call_t *)madvise, AUE_NULL }, /* 219 = madvise */
243 { AS(linux_getdents64_args), (sy_call_t *)linux_getdents64, AUE_NULL }, /* 220 = linux_getdents64 */
244 { AS(linux_fcntl64_args), (sy_call_t *)linux_fcntl64, AUE_NULL }, /* 221 = linux_fcntl64 */
245 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 222 = */
246 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 223 = */
247 { SYF_MPSAFE | 0, (sy_call_t *)linux_getpid, AUE_NULL }, /* 224 = gettid */
248 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 225 = linux_readahead */
249 { 0, (sy_call_t *)linux_setxattr, AUE_NULL }, /* 226 = linux_setxattr */
250 { 0, (sy_call_t *)linux_lsetxattr, AUE_NULL }, /* 227 = linux_lsetxattr */
251 { 0, (sy_call_t *)linux_fsetxattr, AUE_NULL }, /* 228 = linux_fsetxattr */
252 { 0, (sy_call_t *)linux_getxattr, AUE_NULL }, /* 229 = linux_getxattr */
253 { 0, (sy_call_t *)linux_lgetxattr, AUE_NULL }, /* 230 = linux_lgetxattr */
254 { 0, (sy_call_t *)linux_fgetxattr, AUE_NULL }, /* 231 = linux_fgetxattr */
255 { 0, (sy_call_t *)linux_listxattr, AUE_NULL }, /* 232 = linux_listxattr */
256 { 0, (sy_call_t *)linux_llistxattr, AUE_NULL }, /* 233 = linux_llistxattr */
257 { 0, (sy_call_t *)linux_flistxattr, AUE_NULL }, /* 234 = linux_flistxattr */
258 { 0, (sy_call_t *)linux_removexattr, AUE_NULL }, /* 235 = linux_removexattr */
259 { 0, (sy_call_t *)linux_lremovexattr, AUE_NULL }, /* 236 = linux_lremovexattr */
260 { 0, (sy_call_t *)linux_fremovexattr, AUE_NULL }, /* 237 = linux_fremovexattr */
261 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 238 = linux_tkill */
262 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 239 = linux_sendfile64 */
263 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 240 = linux_futex */
264 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 241 = linux_sched_setaffinity */
265 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 242 = linux_sched_getaffinity */
266 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 243 = linux_set_thread_area */
267 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 244 = linux_get_thread_area */
268 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 245 = linux_io_setup */
269 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 246 = linux_io_destroy */
270 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 247 = linux_io_getevents */
271 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 248 = linux_io_submit */
272 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 249 = linux_io_cancel */
273 { 0, (sy_call_t *)linux_fadvise64, AUE_NULL }, /* 250 = linux_fadvise64 */
274 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 251 = */
275 { SYF_MPSAFE | AS(sys_exit_args), (sy_call_t *)sys_exit, AUE_NULL }, /* 252 = exit_group */
276 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 253 = linux_lookup_dcookie */
277 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 254 = linux_epoll_create */
278 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 255 = linux_epoll_ctl */
279 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 256 = linux_epoll_wait */
280 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 257 = linux_remap_file_pages */
281 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 258 = linux_set_tid_address */
282 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 259 = linux_timer_create */
283 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 260 = linux_timer_settime */
284 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 261 = linux_timer_gettime */
285 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 262 = linux_timer_getoverrun */
286 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 263 = linux_timer_delete */
287 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 264 = linux_clock_settime */
288 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 265 = linux_clock_gettime */
289 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 266 = linux_clock_getres */
290 { 0, (sy_call_t *)nosys, AUE_NULL }, /* 267 = linux_clock_nanosleep */
290};
291};