Mon Dec 14 00:53:33 2009 UTC ()
Regen (new makesyscalls.sh)


(matt)
diff -r1.242 -r1.243 src/sys/kern/init_sysent.c
diff -r1.233 -r1.234 src/sys/kern/syscalls.c
diff -r1.229 -r1.230 src/sys/sys/syscall.h
diff -r1.211 -r1.212 src/sys/sys/syscallargs.h

cvs diff -r1.242 -r1.243 src/sys/kern/init_sysent.c (switch to unified diff)

--- src/sys/kern/init_sysent.c 2009/12/14 00:48:35 1.242
+++ src/sys/kern/init_sysent.c 2009/12/14 00:53:32 1.243
@@ -1,1010 +1,1010 @@ @@ -1,1010 +1,1010 @@
1/* $NetBSD: init_sysent.c,v 1.242 2009/12/14 00:48:35 matt Exp $ */ 1/* $NetBSD: init_sysent.c,v 1.243 2009/12/14 00:53:32 matt Exp $ */
2 2
3/* 3/*
4 * System call switch table. 4 * System call switch table.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD 7 * created from NetBSD: syscalls.master,v 1.231 2009/11/26 17:20:20 pooka Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.242 2009/12/14 00:48:35 matt Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.243 2009/12/14 00:53:32 matt Exp $");
12 12
13#include "opt_modular.h" 13#include "opt_modular.h"
14#include "opt_ntp.h" 14#include "opt_ntp.h"
15#include "opt_sysv.h" 15#include "opt_sysv.h"
16#include "fs_lfs.h" 16#include "fs_lfs.h"
17#include <sys/param.h> 17#include <sys/param.h>
18#include <sys/systm.h> 18#include <sys/systm.h>
19#include <sys/signal.h> 19#include <sys/signal.h>
20#include <sys/mount.h> 20#include <sys/mount.h>
21#include <sys/sched.h> 21#include <sys/sched.h>
22#include <sys/syscallargs.h> 22#include <sys/syscallargs.h>
23 23
24#ifdef COMPAT_43 24#ifdef COMPAT_43
25#define compat_43(func) __CONCAT(compat_43_,func) 25#define compat_43(func) __CONCAT(compat_43_,func)
26#else 26#else
27#define compat_43(func) sys_nosys 27#define compat_43(func) sys_nosys
28#endif 28#endif
29 29
30#ifdef COMPAT_09 30#ifdef COMPAT_09
31#define compat_09(func) __CONCAT(compat_09_,func) 31#define compat_09(func) __CONCAT(compat_09_,func)
32#else 32#else
33#define compat_09(func) sys_nosys 33#define compat_09(func) sys_nosys
34#endif 34#endif
35 35
36#ifdef COMPAT_10 36#ifdef COMPAT_10
37#define compat_10(func) __CONCAT(compat_10_,func) 37#define compat_10(func) __CONCAT(compat_10_,func)
38#else 38#else
39#define compat_10(func) sys_nosys 39#define compat_10(func) sys_nosys
40#endif 40#endif
41 41
42#ifdef COMPAT_11 42#ifdef COMPAT_11
43#define compat_11(func) __CONCAT(compat_11_,func) 43#define compat_11(func) __CONCAT(compat_11_,func)
44#else 44#else
45#define compat_11(func) sys_nosys 45#define compat_11(func) sys_nosys
46#endif 46#endif
47 47
48#ifdef COMPAT_12 48#ifdef COMPAT_12
49#define compat_12(func) __CONCAT(compat_12_,func) 49#define compat_12(func) __CONCAT(compat_12_,func)
50#else 50#else
51#define compat_12(func) sys_nosys 51#define compat_12(func) sys_nosys
52#endif 52#endif
53 53
54#ifdef COMPAT_13 54#ifdef COMPAT_13
55#define compat_13(func) __CONCAT(compat_13_,func) 55#define compat_13(func) __CONCAT(compat_13_,func)
56#else 56#else
57#define compat_13(func) sys_nosys 57#define compat_13(func) sys_nosys
58#endif 58#endif
59 59
60#ifdef COMPAT_14 60#ifdef COMPAT_14
61#define compat_14(func) __CONCAT(compat_14_,func) 61#define compat_14(func) __CONCAT(compat_14_,func)
62#else 62#else
63#define compat_14(func) sys_nosys 63#define compat_14(func) sys_nosys
64#endif 64#endif
65 65
66#ifdef COMPAT_15 66#ifdef COMPAT_15
67#define compat_15(func) __CONCAT(compat_15_,func) 67#define compat_15(func) __CONCAT(compat_15_,func)
68#else 68#else
69#define compat_15(func) sys_nosys 69#define compat_15(func) sys_nosys
70#endif 70#endif
71 71
72#ifdef COMPAT_16 72#ifdef COMPAT_16
73#define compat_16(func) __CONCAT(compat_16_,func) 73#define compat_16(func) __CONCAT(compat_16_,func)
74#else 74#else
75#define compat_16(func) sys_nosys 75#define compat_16(func) sys_nosys
76#endif 76#endif
77 77
78#ifdef COMPAT_20 78#ifdef COMPAT_20
79#define compat_20(func) __CONCAT(compat_20_,func) 79#define compat_20(func) __CONCAT(compat_20_,func)
80#else 80#else
81#define compat_20(func) sys_nosys 81#define compat_20(func) sys_nosys
82#endif 82#endif
83 83
84#ifdef COMPAT_30 84#ifdef COMPAT_30
85#define compat_30(func) __CONCAT(compat_30_,func) 85#define compat_30(func) __CONCAT(compat_30_,func)
86#else 86#else
87#define compat_30(func) sys_nosys 87#define compat_30(func) sys_nosys
88#endif 88#endif
89 89
90#ifdef COMPAT_40 90#ifdef COMPAT_40
91#define compat_40(func) __CONCAT(compat_40_,func) 91#define compat_40(func) __CONCAT(compat_40_,func)
92#else 92#else
93#define compat_40(func) sys_nosys 93#define compat_40(func) sys_nosys
94#endif 94#endif
95 95
96#ifdef COMPAT_50 96#ifdef COMPAT_50
97#define compat_50(func) __CONCAT(compat_50_,func) 97#define compat_50(func) __CONCAT(compat_50_,func)
98#else 98#else
99#define compat_50(func) sys_nosys 99#define compat_50(func) sys_nosys
100#endif 100#endif
101 101
102#define s(type) sizeof(type) 102#define s(type) sizeof(type)
103#define n(type) (sizeof(type)/sizeof (register_t)) 103#define n(type) (sizeof(type)/sizeof (register_t))
104#define ns(type) n(type), s(type) 104#define ns(type) n(type), s(type)
105 105
106struct sysent sysent[] = { 106struct sysent sysent[] = {
107 { ns(struct sys_syscall_args), SYCALL_INDIRECT, 107 { ns(struct sys_syscall_args), SYCALL_INDIRECT,
108 (sy_call_t *)sys_syscall }, /* 0 = syscall */ 108 (sy_call_t *)sys_syscall }, /* 0 = syscall */
109 { ns(struct sys_exit_args), 0, 109 { ns(struct sys_exit_args), 0,
110 (sy_call_t *)sys_exit }, /* 1 = exit */ 110 (sy_call_t *)sys_exit }, /* 1 = exit */
111 { 0, 0, 0, 111 { 0, 0, 0,
112 (sy_call_t *)sys_fork }, /* 2 = fork */ 112 (sy_call_t *)sys_fork }, /* 2 = fork */
113 { ns(struct sys_read_args), 0, 113 { ns(struct sys_read_args), 0,
114 (sy_call_t *)sys_read }, /* 3 = read */ 114 (sy_call_t *)sys_read }, /* 3 = read */
115 { ns(struct sys_write_args), 0, 115 { ns(struct sys_write_args), 0,
116 (sy_call_t *)sys_write }, /* 4 = write */ 116 (sy_call_t *)sys_write }, /* 4 = write */
117 { ns(struct sys_open_args), 0, 117 { ns(struct sys_open_args), 0,
118 (sy_call_t *)sys_open }, /* 5 = open */ 118 (sy_call_t *)sys_open }, /* 5 = open */
119 { ns(struct sys_close_args), 0, 119 { ns(struct sys_close_args), 0,
120 (sy_call_t *)sys_close }, /* 6 = close */ 120 (sy_call_t *)sys_close }, /* 6 = close */
121 { ns(struct compat_50_sys_wait4_args), 0, 121 { ns(struct compat_50_sys_wait4_args), 0,
122 (sy_call_t *)sys_nomodule }, /* 7 = compat_50_wait4 */ 122 (sy_call_t *)sys_nomodule }, /* 7 = compat_50_wait4 */
123 { ns(struct compat_43_sys_creat_args), 0, 123 { ns(struct compat_43_sys_creat_args), 0,
124 (sy_call_t *)sys_nomodule }, /* 8 = compat_43_ocreat */ 124 (sy_call_t *)sys_nomodule }, /* 8 = compat_43_ocreat */
125 { ns(struct sys_link_args), 0, 125 { ns(struct sys_link_args), 0,
126 (sy_call_t *)sys_link }, /* 9 = link */ 126 (sy_call_t *)sys_link }, /* 9 = link */
127 { ns(struct sys_unlink_args), 0, 127 { ns(struct sys_unlink_args), 0,
128 (sy_call_t *)sys_unlink }, /* 10 = unlink */ 128 (sy_call_t *)sys_unlink }, /* 10 = unlink */
129 { 0, 0, 0, 129 { 0, 0, 0,
130 sys_nosys }, /* 11 = obsolete execv */ 130 sys_nosys }, /* 11 = obsolete execv */
131 { ns(struct sys_chdir_args), 0, 131 { ns(struct sys_chdir_args), 0,
132 (sy_call_t *)sys_chdir }, /* 12 = chdir */ 132 (sy_call_t *)sys_chdir }, /* 12 = chdir */
133 { ns(struct sys_fchdir_args), 0, 133 { ns(struct sys_fchdir_args), 0,
134 (sy_call_t *)sys_fchdir }, /* 13 = fchdir */ 134 (sy_call_t *)sys_fchdir }, /* 13 = fchdir */
135 { ns(struct compat_50_sys_mknod_args), 0, 135 { ns(struct compat_50_sys_mknod_args), 0,
136 (sy_call_t *)sys_nomodule }, /* 14 = compat_50_mknod */ 136 (sy_call_t *)sys_nomodule }, /* 14 = compat_50_mknod */
137 { ns(struct sys_chmod_args), 0, 137 { ns(struct sys_chmod_args), 0,
138 (sy_call_t *)sys_chmod }, /* 15 = chmod */ 138 (sy_call_t *)sys_chmod }, /* 15 = chmod */
139 { ns(struct sys_chown_args), 0, 139 { ns(struct sys_chown_args), 0,
140 (sy_call_t *)sys_chown }, /* 16 = chown */ 140 (sy_call_t *)sys_chown }, /* 16 = chown */
141 { ns(struct sys_obreak_args), 0, 141 { ns(struct sys_obreak_args), 0,
142 (sy_call_t *)sys_obreak }, /* 17 = break */ 142 (sy_call_t *)sys_obreak }, /* 17 = break */
143 { ns(struct compat_20_sys_getfsstat_args), 0, 143 { ns(struct compat_20_sys_getfsstat_args), 0,
144 (sy_call_t *)sys_nomodule }, /* 18 = compat_20_getfsstat */ 144 (sy_call_t *)sys_nomodule }, /* 18 = compat_20_getfsstat */
145 { ns(struct compat_43_sys_lseek_args), 0, 145 { ns(struct compat_43_sys_lseek_args), 0,
146 (sy_call_t *)sys_nomodule }, /* 19 = compat_43_olseek */ 146 (sy_call_t *)sys_nomodule }, /* 19 = compat_43_olseek */
147 { 0, 0, 0, 147 { 0, 0, 0,
148 (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid */ 148 (sy_call_t *)sys_getpid_with_ppid },/* 20 = getpid */
149 { ns(struct compat_40_sys_mount_args), 0, 149 { ns(struct compat_40_sys_mount_args), 0,
150 (sy_call_t *)sys_nomodule }, /* 21 = compat_40_mount */ 150 (sy_call_t *)sys_nomodule }, /* 21 = compat_40_mount */
151 { ns(struct sys_unmount_args), 0, 151 { ns(struct sys_unmount_args), 0,
152 (sy_call_t *)sys_unmount }, /* 22 = unmount */ 152 (sy_call_t *)sys_unmount }, /* 22 = unmount */
153 { ns(struct sys_setuid_args), 0, 153 { ns(struct sys_setuid_args), 0,
154 (sy_call_t *)sys_setuid }, /* 23 = setuid */ 154 (sy_call_t *)sys_setuid }, /* 23 = setuid */
155 { 0, 0, 0, 155 { 0, 0, 0,
156 (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid */ 156 (sy_call_t *)sys_getuid_with_euid },/* 24 = getuid */
157 { 0, 0, 0, 157 { 0, 0, 0,
158 (sy_call_t *)sys_geteuid }, /* 25 = geteuid */ 158 (sy_call_t *)sys_geteuid }, /* 25 = geteuid */
159 { ns(struct sys_ptrace_args), 0, 159 { ns(struct sys_ptrace_args), 0,
160 (sy_call_t *)sys_ptrace }, /* 26 = ptrace */ 160 (sy_call_t *)sys_ptrace }, /* 26 = ptrace */
161 { ns(struct sys_recvmsg_args), 0, 161 { ns(struct sys_recvmsg_args), 0,
162 (sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */ 162 (sy_call_t *)sys_recvmsg }, /* 27 = recvmsg */
163 { ns(struct sys_sendmsg_args), 0, 163 { ns(struct sys_sendmsg_args), 0,
164 (sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */ 164 (sy_call_t *)sys_sendmsg }, /* 28 = sendmsg */
165 { ns(struct sys_recvfrom_args), 0, 165 { ns(struct sys_recvfrom_args), 0,
166 (sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */ 166 (sy_call_t *)sys_recvfrom }, /* 29 = recvfrom */
167 { ns(struct sys_accept_args), 0, 167 { ns(struct sys_accept_args), 0,
168 (sy_call_t *)sys_accept }, /* 30 = accept */ 168 (sy_call_t *)sys_accept }, /* 30 = accept */
169 { ns(struct sys_getpeername_args), 0, 169 { ns(struct sys_getpeername_args), 0,
170 (sy_call_t *)sys_getpeername }, /* 31 = getpeername */ 170 (sy_call_t *)sys_getpeername }, /* 31 = getpeername */
171 { ns(struct sys_getsockname_args), 0, 171 { ns(struct sys_getsockname_args), 0,
172 (sy_call_t *)sys_getsockname }, /* 32 = getsockname */ 172 (sy_call_t *)sys_getsockname }, /* 32 = getsockname */
173 { ns(struct sys_access_args), 0, 173 { ns(struct sys_access_args), 0,
174 (sy_call_t *)sys_access }, /* 33 = access */ 174 (sy_call_t *)sys_access }, /* 33 = access */
175 { ns(struct sys_chflags_args), 0, 175 { ns(struct sys_chflags_args), 0,
176 (sy_call_t *)sys_chflags }, /* 34 = chflags */ 176 (sy_call_t *)sys_chflags }, /* 34 = chflags */
177 { ns(struct sys_fchflags_args), 0, 177 { ns(struct sys_fchflags_args), 0,
178 (sy_call_t *)sys_fchflags }, /* 35 = fchflags */ 178 (sy_call_t *)sys_fchflags }, /* 35 = fchflags */
179 { 0, 0, 0, 179 { 0, 0, 0,
180 (sy_call_t *)sys_sync }, /* 36 = sync */ 180 (sy_call_t *)sys_sync }, /* 36 = sync */
181 { ns(struct sys_kill_args), 0, 181 { ns(struct sys_kill_args), 0,
182 (sy_call_t *)sys_kill }, /* 37 = kill */ 182 (sy_call_t *)sys_kill }, /* 37 = kill */
183 { ns(struct compat_43_sys_stat_args), 0, 183 { ns(struct compat_43_sys_stat_args), 0,
184 (sy_call_t *)sys_nomodule }, /* 38 = compat_43_stat43 */ 184 (sy_call_t *)sys_nomodule }, /* 38 = compat_43_stat43 */
185 { 0, 0, 0, 185 { 0, 0, 0,
186 (sy_call_t *)sys_getppid }, /* 39 = getppid */ 186 (sy_call_t *)sys_getppid }, /* 39 = getppid */
187 { ns(struct compat_43_sys_lstat_args), 0, 187 { ns(struct compat_43_sys_lstat_args), 0,
188 (sy_call_t *)sys_nomodule }, /* 40 = compat_43_lstat43 */ 188 (sy_call_t *)sys_nomodule }, /* 40 = compat_43_lstat43 */
189 { ns(struct sys_dup_args), 0, 189 { ns(struct sys_dup_args), 0,
190 (sy_call_t *)sys_dup }, /* 41 = dup */ 190 (sy_call_t *)sys_dup }, /* 41 = dup */
191 { 0, 0, 0, 191 { 0, 0, 0,
192 (sy_call_t *)sys_pipe }, /* 42 = pipe */ 192 (sy_call_t *)sys_pipe }, /* 42 = pipe */
193 { 0, 0, 0, 193 { 0, 0, 0,
194 (sy_call_t *)sys_getegid }, /* 43 = getegid */ 194 (sy_call_t *)sys_getegid }, /* 43 = getegid */
195 { ns(struct sys_profil_args), 0, 195 { ns(struct sys_profil_args), 0,
196 (sy_call_t *)sys_profil }, /* 44 = profil */ 196 (sy_call_t *)sys_profil }, /* 44 = profil */
197 { ns(struct sys_ktrace_args), 0, 197 { ns(struct sys_ktrace_args), 0,
198 (sy_call_t *)sys_ktrace }, /* 45 = ktrace */ 198 (sy_call_t *)sys_ktrace }, /* 45 = ktrace */
199 { ns(struct compat_13_sys_sigaction_args), 0, 199 { ns(struct compat_13_sys_sigaction_args), 0,
200 (sy_call_t *)sys_nomodule }, /* 46 = compat_13_sigaction13 */ 200 (sy_call_t *)sys_nomodule }, /* 46 = compat_13_sigaction13 */
201 { 0, 0, 0, 201 { 0, 0, 0,
202 (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid */ 202 (sy_call_t *)sys_getgid_with_egid },/* 47 = getgid */
203 { ns(struct compat_13_sys_sigprocmask_args), 0, 203 { ns(struct compat_13_sys_sigprocmask_args), 0,
204 (sy_call_t *)sys_nomodule }, /* 48 = compat_13_sigprocmask13 */ 204 (sy_call_t *)sys_nomodule }, /* 48 = compat_13_sigprocmask13 */
205 { ns(struct sys___getlogin_args), 0, 205 { ns(struct sys___getlogin_args), 0,
206 (sy_call_t *)sys___getlogin }, /* 49 = __getlogin */ 206 (sy_call_t *)sys___getlogin }, /* 49 = __getlogin */
207 { ns(struct sys___setlogin_args), 0, 207 { ns(struct sys___setlogin_args), 0,
208 (sy_call_t *)sys___setlogin }, /* 50 = __setlogin */ 208 (sy_call_t *)sys___setlogin }, /* 50 = __setlogin */
209 { ns(struct sys_acct_args), 0, 209 { ns(struct sys_acct_args), 0,
210 (sy_call_t *)sys_acct }, /* 51 = acct */ 210 (sy_call_t *)sys_acct }, /* 51 = acct */
211 { 0, 0, 0, 211 { 0, 0, 0,
212 (sy_call_t *)sys_nomodule }, /* 52 = compat_13_sigpending13 */ 212 (sy_call_t *)sys_nomodule }, /* 52 = compat_13_sigpending13 */
213 { ns(struct compat_13_sys_sigaltstack_args), 0, 213 { ns(struct compat_13_sys_sigaltstack_args), 0,
214 (sy_call_t *)sys_nomodule }, /* 53 = compat_13_sigaltstack13 */ 214 (sy_call_t *)sys_nomodule }, /* 53 = compat_13_sigaltstack13 */
215 { ns(struct sys_ioctl_args), 0, 215 { ns(struct sys_ioctl_args), 0,
216 (sy_call_t *)sys_ioctl }, /* 54 = ioctl */ 216 (sy_call_t *)sys_ioctl }, /* 54 = ioctl */
217 { ns(struct compat_12_sys_reboot_args), 0, 217 { ns(struct compat_12_sys_reboot_args), 0,
218 (sy_call_t *)sys_nomodule }, /* 55 = compat_12_oreboot */ 218 (sy_call_t *)sys_nomodule }, /* 55 = compat_12_oreboot */
219 { ns(struct sys_revoke_args), 0, 219 { ns(struct sys_revoke_args), 0,
220 (sy_call_t *)sys_revoke }, /* 56 = revoke */ 220 (sy_call_t *)sys_revoke }, /* 56 = revoke */
221 { ns(struct sys_symlink_args), 0, 221 { ns(struct sys_symlink_args), 0,
222 (sy_call_t *)sys_symlink }, /* 57 = symlink */ 222 (sy_call_t *)sys_symlink }, /* 57 = symlink */
223 { ns(struct sys_readlink_args), 0, 223 { ns(struct sys_readlink_args), 0,
224 (sy_call_t *)sys_readlink }, /* 58 = readlink */ 224 (sy_call_t *)sys_readlink }, /* 58 = readlink */
225 { ns(struct sys_execve_args), 0, 225 { ns(struct sys_execve_args), 0,
226 (sy_call_t *)sys_execve }, /* 59 = execve */ 226 (sy_call_t *)sys_execve }, /* 59 = execve */
227 { ns(struct sys_umask_args), 0, 227 { ns(struct sys_umask_args), 0,
228 (sy_call_t *)sys_umask }, /* 60 = umask */ 228 (sy_call_t *)sys_umask }, /* 60 = umask */
229 { ns(struct sys_chroot_args), 0, 229 { ns(struct sys_chroot_args), 0,
230 (sy_call_t *)sys_chroot }, /* 61 = chroot */ 230 (sy_call_t *)sys_chroot }, /* 61 = chroot */
231 { ns(struct compat_43_sys_fstat_args), 0, 231 { ns(struct compat_43_sys_fstat_args), 0,
232 (sy_call_t *)sys_nomodule }, /* 62 = compat_43_fstat43 */ 232 (sy_call_t *)sys_nomodule }, /* 62 = compat_43_fstat43 */
233 { ns(struct compat_43_sys_getkerninfo_args), 0, 233 { ns(struct compat_43_sys_getkerninfo_args), 0,
234 (sy_call_t *)sys_nomodule }, /* 63 = compat_43_ogetkerninfo */ 234 (sy_call_t *)sys_nomodule }, /* 63 = compat_43_ogetkerninfo */
235 { 0, 0, 0, 235 { 0, 0, 0,
236 (sy_call_t *)sys_nomodule }, /* 64 = compat_43_ogetpagesize */ 236 (sy_call_t *)sys_nomodule }, /* 64 = compat_43_ogetpagesize */
237 { ns(struct compat_12_sys_msync_args), 0, 237 { ns(struct compat_12_sys_msync_args), 0,
238 (sy_call_t *)sys_nomodule }, /* 65 = compat_12_msync */ 238 (sy_call_t *)sys_nomodule }, /* 65 = compat_12_msync */
239 { 0, 0, 0, 239 { 0, 0, 0,
240 (sy_call_t *)sys_vfork }, /* 66 = vfork */ 240 (sy_call_t *)sys_vfork }, /* 66 = vfork */
241 { 0, 0, 0, 241 { 0, 0, 0,
242 sys_nosys }, /* 67 = obsolete vread */ 242 sys_nosys }, /* 67 = obsolete vread */
243 { 0, 0, 0, 243 { 0, 0, 0,
244 sys_nosys }, /* 68 = obsolete vwrite */ 244 sys_nosys }, /* 68 = obsolete vwrite */
245 { ns(struct sys_sbrk_args), 0, 245 { ns(struct sys_sbrk_args), 0,
246 (sy_call_t *)sys_sbrk }, /* 69 = sbrk */ 246 (sy_call_t *)sys_sbrk }, /* 69 = sbrk */
247 { ns(struct sys_sstk_args), 0, 247 { ns(struct sys_sstk_args), 0,
248 (sy_call_t *)sys_sstk }, /* 70 = sstk */ 248 (sy_call_t *)sys_sstk }, /* 70 = sstk */
249 { ns(struct compat_43_sys_mmap_args), 0, 249 { ns(struct compat_43_sys_mmap_args), 0,
250 (sy_call_t *)sys_nomodule }, /* 71 = compat_43_ommap */ 250 (sy_call_t *)sys_nomodule }, /* 71 = compat_43_ommap */
251 { ns(struct sys_ovadvise_args), 0, 251 { ns(struct sys_ovadvise_args), 0,
252 (sy_call_t *)sys_ovadvise }, /* 72 = vadvise */ 252 (sy_call_t *)sys_ovadvise }, /* 72 = vadvise */
253 { ns(struct sys_munmap_args), 0, 253 { ns(struct sys_munmap_args), 0,
254 (sy_call_t *)sys_munmap }, /* 73 = munmap */ 254 (sy_call_t *)sys_munmap }, /* 73 = munmap */
255 { ns(struct sys_mprotect_args), 0, 255 { ns(struct sys_mprotect_args), 0,
256 (sy_call_t *)sys_mprotect }, /* 74 = mprotect */ 256 (sy_call_t *)sys_mprotect }, /* 74 = mprotect */
257 { ns(struct sys_madvise_args), 0, 257 { ns(struct sys_madvise_args), 0,
258 (sy_call_t *)sys_madvise }, /* 75 = madvise */ 258 (sy_call_t *)sys_madvise }, /* 75 = madvise */
259 { 0, 0, 0, 259 { 0, 0, 0,
260 sys_nosys }, /* 76 = obsolete vhangup */ 260 sys_nosys }, /* 76 = obsolete vhangup */
261 { 0, 0, 0, 261 { 0, 0, 0,
262 sys_nosys }, /* 77 = obsolete vlimit */ 262 sys_nosys }, /* 77 = obsolete vlimit */
263 { ns(struct sys_mincore_args), 0, 263 { ns(struct sys_mincore_args), 0,
264 (sy_call_t *)sys_mincore }, /* 78 = mincore */ 264 (sy_call_t *)sys_mincore }, /* 78 = mincore */
265 { ns(struct sys_getgroups_args), 0, 265 { ns(struct sys_getgroups_args), 0,
266 (sy_call_t *)sys_getgroups }, /* 79 = getgroups */ 266 (sy_call_t *)sys_getgroups }, /* 79 = getgroups */
267 { ns(struct sys_setgroups_args), 0, 267 { ns(struct sys_setgroups_args), 0,
268 (sy_call_t *)sys_setgroups }, /* 80 = setgroups */ 268 (sy_call_t *)sys_setgroups }, /* 80 = setgroups */
269 { 0, 0, 0, 269 { 0, 0, 0,
270 (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */ 270 (sy_call_t *)sys_getpgrp }, /* 81 = getpgrp */
271 { ns(struct sys_setpgid_args), 0, 271 { ns(struct sys_setpgid_args), 0,
272 (sy_call_t *)sys_setpgid }, /* 82 = setpgid */ 272 (sy_call_t *)sys_setpgid }, /* 82 = setpgid */
273 { ns(struct compat_50_sys_setitimer_args), 0, 273 { ns(struct compat_50_sys_setitimer_args), 0,
274 (sy_call_t *)sys_nomodule }, /* 83 = compat_50_setitimer */ 274 (sy_call_t *)sys_nomodule }, /* 83 = compat_50_setitimer */
275 { 0, 0, 0, 275 { 0, 0, 0,
276 (sy_call_t *)sys_nomodule }, /* 84 = compat_43_owait */ 276 (sy_call_t *)sys_nomodule }, /* 84 = compat_43_owait */
277 { ns(struct compat_12_sys_swapon_args), 0, 277 { ns(struct compat_12_sys_swapon_args), 0,
278 (sy_call_t *)sys_nomodule }, /* 85 = compat_12_oswapon */ 278 (sy_call_t *)sys_nomodule }, /* 85 = compat_12_oswapon */
279 { ns(struct compat_50_sys_getitimer_args), 0, 279 { ns(struct compat_50_sys_getitimer_args), 0,
280 (sy_call_t *)sys_nomodule }, /* 86 = compat_50_getitimer */ 280 (sy_call_t *)sys_nomodule }, /* 86 = compat_50_getitimer */
281 { ns(struct compat_43_sys_gethostname_args), 0, 281 { ns(struct compat_43_sys_gethostname_args), 0,
282 (sy_call_t *)sys_nomodule }, /* 87 = compat_43_ogethostname */ 282 (sy_call_t *)sys_nomodule }, /* 87 = compat_43_ogethostname */
283 { ns(struct compat_43_sys_sethostname_args), 0, 283 { ns(struct compat_43_sys_sethostname_args), 0,
284 (sy_call_t *)sys_nomodule }, /* 88 = compat_43_osethostname */ 284 (sy_call_t *)sys_nomodule }, /* 88 = compat_43_osethostname */
285 { 0, 0, 0, 285 { 0, 0, 0,
286 (sy_call_t *)sys_nomodule }, /* 89 = compat_43_ogetdtablesize */ 286 (sy_call_t *)sys_nomodule }, /* 89 = compat_43_ogetdtablesize */
287 { ns(struct sys_dup2_args), 0, 287 { ns(struct sys_dup2_args), 0,
288 (sy_call_t *)sys_dup2 }, /* 90 = dup2 */ 288 (sy_call_t *)sys_dup2 }, /* 90 = dup2 */
289 { 0, 0, 0, 289 { 0, 0, 0,
290 sys_nosys }, /* 91 = unimplemented getdopt */ 290 sys_nosys }, /* 91 = unimplemented getdopt */
291 { ns(struct sys_fcntl_args), 0, 291 { ns(struct sys_fcntl_args), 0,
292 (sy_call_t *)sys_fcntl }, /* 92 = fcntl */ 292 (sy_call_t *)sys_fcntl }, /* 92 = fcntl */
293 { ns(struct compat_50_sys_select_args), 0, 293 { ns(struct compat_50_sys_select_args), 0,
294 (sy_call_t *)sys_nomodule }, /* 93 = compat_50_select */ 294 (sy_call_t *)sys_nomodule }, /* 93 = compat_50_select */
295 { 0, 0, 0, 295 { 0, 0, 0,
296 sys_nosys }, /* 94 = unimplemented setdopt */ 296 sys_nosys }, /* 94 = unimplemented setdopt */
297 { ns(struct sys_fsync_args), 0, 297 { ns(struct sys_fsync_args), 0,
298 (sy_call_t *)sys_fsync }, /* 95 = fsync */ 298 (sy_call_t *)sys_fsync }, /* 95 = fsync */
299 { ns(struct sys_setpriority_args), 0, 299 { ns(struct sys_setpriority_args), 0,
300 (sy_call_t *)sys_setpriority }, /* 96 = setpriority */ 300 (sy_call_t *)sys_setpriority }, /* 96 = setpriority */
301 { ns(struct compat_30_sys_socket_args), 0, 301 { ns(struct compat_30_sys_socket_args), 0,
302 (sy_call_t *)sys_nomodule }, /* 97 = compat_30_socket */ 302 (sy_call_t *)sys_nomodule }, /* 97 = compat_30_socket */
303 { ns(struct sys_connect_args), 0, 303 { ns(struct sys_connect_args), 0,
304 (sy_call_t *)sys_connect }, /* 98 = connect */ 304 (sy_call_t *)sys_connect }, /* 98 = connect */
305 { ns(struct compat_43_sys_accept_args), 0, 305 { ns(struct compat_43_sys_accept_args), 0,
306 (sy_call_t *)sys_nomodule }, /* 99 = compat_43_oaccept */ 306 (sy_call_t *)sys_nomodule }, /* 99 = compat_43_oaccept */
307 { ns(struct sys_getpriority_args), 0, 307 { ns(struct sys_getpriority_args), 0,
308 (sy_call_t *)sys_getpriority }, /* 100 = getpriority */ 308 (sy_call_t *)sys_getpriority }, /* 100 = getpriority */
309 { ns(struct compat_43_sys_send_args), 0, 309 { ns(struct compat_43_sys_send_args), 0,
310 (sy_call_t *)sys_nomodule }, /* 101 = compat_43_osend */ 310 (sy_call_t *)sys_nomodule }, /* 101 = compat_43_osend */
311 { ns(struct compat_43_sys_recv_args), 0, 311 { ns(struct compat_43_sys_recv_args), 0,
312 (sy_call_t *)sys_nomodule }, /* 102 = compat_43_orecv */ 312 (sy_call_t *)sys_nomodule }, /* 102 = compat_43_orecv */
313 { ns(struct compat_13_sys_sigreturn_args), 0, 313 { ns(struct compat_13_sys_sigreturn_args), 0,
314 (sy_call_t *)sys_nomodule }, /* 103 = compat_13_sigreturn13 */ 314 (sy_call_t *)sys_nomodule }, /* 103 = compat_13_sigreturn13 */
315 { ns(struct sys_bind_args), 0, 315 { ns(struct sys_bind_args), 0,
316 (sy_call_t *)sys_bind }, /* 104 = bind */ 316 (sy_call_t *)sys_bind }, /* 104 = bind */
317 { ns(struct sys_setsockopt_args), 0, 317 { ns(struct sys_setsockopt_args), 0,
318 (sy_call_t *)sys_setsockopt }, /* 105 = setsockopt */ 318 (sy_call_t *)sys_setsockopt }, /* 105 = setsockopt */
319 { ns(struct sys_listen_args), 0, 319 { ns(struct sys_listen_args), 0,
320 (sy_call_t *)sys_listen }, /* 106 = listen */ 320 (sy_call_t *)sys_listen }, /* 106 = listen */
321 { 0, 0, 0, 321 { 0, 0, 0,
322 sys_nosys }, /* 107 = obsolete vtimes */ 322 sys_nosys }, /* 107 = obsolete vtimes */
323 { ns(struct compat_43_sys_sigvec_args), 0, 323 { ns(struct compat_43_sys_sigvec_args), 0,
324 (sy_call_t *)sys_nomodule }, /* 108 = compat_43_osigvec */ 324 (sy_call_t *)sys_nomodule }, /* 108 = compat_43_osigvec */
325 { ns(struct compat_43_sys_sigblock_args), 0, 325 { ns(struct compat_43_sys_sigblock_args), 0,
326 (sy_call_t *)sys_nomodule }, /* 109 = compat_43_osigblock */ 326 (sy_call_t *)sys_nomodule }, /* 109 = compat_43_osigblock */
327 { ns(struct compat_43_sys_sigsetmask_args), 0, 327 { ns(struct compat_43_sys_sigsetmask_args), 0,
328 (sy_call_t *)sys_nomodule }, /* 110 = compat_43_osigsetmask */ 328 (sy_call_t *)sys_nomodule }, /* 110 = compat_43_osigsetmask */
329 { ns(struct compat_13_sys_sigsuspend_args), 0, 329 { ns(struct compat_13_sys_sigsuspend_args), 0,
330 (sy_call_t *)sys_nomodule }, /* 111 = compat_13_sigsuspend13 */ 330 (sy_call_t *)sys_nomodule }, /* 111 = compat_13_sigsuspend13 */
331 { ns(struct compat_43_sys_sigstack_args), 0, 331 { ns(struct compat_43_sys_sigstack_args), 0,
332 (sy_call_t *)sys_nomodule }, /* 112 = compat_43_osigstack */ 332 (sy_call_t *)sys_nomodule }, /* 112 = compat_43_osigstack */
333 { ns(struct compat_43_sys_recvmsg_args), 0, 333 { ns(struct compat_43_sys_recvmsg_args), 0,
334 (sy_call_t *)sys_nomodule }, /* 113 = compat_43_orecvmsg */ 334 (sy_call_t *)sys_nomodule }, /* 113 = compat_43_orecvmsg */
335 { ns(struct compat_43_sys_sendmsg_args), 0, 335 { ns(struct compat_43_sys_sendmsg_args), 0,
336 (sy_call_t *)sys_nomodule }, /* 114 = compat_43_osendmsg */ 336 (sy_call_t *)sys_nomodule }, /* 114 = compat_43_osendmsg */
337 { 0, 0, 0, 337 { 0, 0, 0,
338 sys_nosys }, /* 115 = obsolete vtrace */ 338 sys_nosys }, /* 115 = obsolete vtrace */
339 { ns(struct compat_50_sys_gettimeofday_args), 0, 339 { ns(struct compat_50_sys_gettimeofday_args), 0,
340 (sy_call_t *)sys_nomodule }, /* 116 = compat_50_gettimeofday */ 340 (sy_call_t *)sys_nomodule }, /* 116 = compat_50_gettimeofday */
341 { ns(struct compat_50_sys_getrusage_args), 0, 341 { ns(struct compat_50_sys_getrusage_args), 0,
342 (sy_call_t *)sys_nomodule }, /* 117 = compat_50_getrusage */ 342 (sy_call_t *)sys_nomodule }, /* 117 = compat_50_getrusage */
343 { ns(struct sys_getsockopt_args), 0, 343 { ns(struct sys_getsockopt_args), 0,
344 (sy_call_t *)sys_getsockopt }, /* 118 = getsockopt */ 344 (sy_call_t *)sys_getsockopt }, /* 118 = getsockopt */
345 { 0, 0, 0, 345 { 0, 0, 0,
346 sys_nosys }, /* 119 = obsolete resuba */ 346 sys_nosys }, /* 119 = obsolete resuba */
347 { ns(struct sys_readv_args), 0, 347 { ns(struct sys_readv_args), 0,
348 (sy_call_t *)sys_readv }, /* 120 = readv */ 348 (sy_call_t *)sys_readv }, /* 120 = readv */
349 { ns(struct sys_writev_args), 0, 349 { ns(struct sys_writev_args), 0,
350 (sy_call_t *)sys_writev }, /* 121 = writev */ 350 (sy_call_t *)sys_writev }, /* 121 = writev */
351 { ns(struct compat_50_sys_settimeofday_args), 0, 351 { ns(struct compat_50_sys_settimeofday_args), 0,
352 (sy_call_t *)sys_nomodule }, /* 122 = compat_50_settimeofday */ 352 (sy_call_t *)sys_nomodule }, /* 122 = compat_50_settimeofday */
353 { ns(struct sys_fchown_args), 0, 353 { ns(struct sys_fchown_args), 0,
354 (sy_call_t *)sys_fchown }, /* 123 = fchown */ 354 (sy_call_t *)sys_fchown }, /* 123 = fchown */
355 { ns(struct sys_fchmod_args), 0, 355 { ns(struct sys_fchmod_args), 0,
356 (sy_call_t *)sys_fchmod }, /* 124 = fchmod */ 356 (sy_call_t *)sys_fchmod }, /* 124 = fchmod */
357 { ns(struct compat_43_sys_recvfrom_args), 0, 357 { ns(struct compat_43_sys_recvfrom_args), 0,
358 (sy_call_t *)sys_nomodule }, /* 125 = compat_43_orecvfrom */ 358 (sy_call_t *)sys_nomodule }, /* 125 = compat_43_orecvfrom */
359 { ns(struct sys_setreuid_args), 0, 359 { ns(struct sys_setreuid_args), 0,
360 (sy_call_t *)sys_setreuid }, /* 126 = setreuid */ 360 (sy_call_t *)sys_setreuid }, /* 126 = setreuid */
361 { ns(struct sys_setregid_args), 0, 361 { ns(struct sys_setregid_args), 0,
362 (sy_call_t *)sys_setregid }, /* 127 = setregid */ 362 (sy_call_t *)sys_setregid }, /* 127 = setregid */
363 { ns(struct sys_rename_args), 0, 363 { ns(struct sys_rename_args), 0,
364 (sy_call_t *)sys_rename }, /* 128 = rename */ 364 (sy_call_t *)sys_rename }, /* 128 = rename */
365 { ns(struct compat_43_sys_truncate_args), 0, 365 { ns(struct compat_43_sys_truncate_args), 0,
366 (sy_call_t *)sys_nomodule }, /* 129 = compat_43_otruncate */ 366 (sy_call_t *)sys_nomodule }, /* 129 = compat_43_otruncate */
367 { ns(struct compat_43_sys_ftruncate_args), 0, 367 { ns(struct compat_43_sys_ftruncate_args), 0,
368 (sy_call_t *)sys_nomodule }, /* 130 = compat_43_oftruncate */ 368 (sy_call_t *)sys_nomodule }, /* 130 = compat_43_oftruncate */
369 { ns(struct sys_flock_args), 0, 369 { ns(struct sys_flock_args), 0,
370 (sy_call_t *)sys_flock }, /* 131 = flock */ 370 (sy_call_t *)sys_flock }, /* 131 = flock */
371 { ns(struct sys_mkfifo_args), 0, 371 { ns(struct sys_mkfifo_args), 0,
372 (sy_call_t *)sys_mkfifo }, /* 132 = mkfifo */ 372 (sy_call_t *)sys_mkfifo }, /* 132 = mkfifo */
373 { ns(struct sys_sendto_args), 0, 373 { ns(struct sys_sendto_args), 0,
374 (sy_call_t *)sys_sendto }, /* 133 = sendto */ 374 (sy_call_t *)sys_sendto }, /* 133 = sendto */
375 { ns(struct sys_shutdown_args), 0, 375 { ns(struct sys_shutdown_args), 0,
376 (sy_call_t *)sys_shutdown }, /* 134 = shutdown */ 376 (sy_call_t *)sys_shutdown }, /* 134 = shutdown */
377 { ns(struct sys_socketpair_args), 0, 377 { ns(struct sys_socketpair_args), 0,
378 (sy_call_t *)sys_socketpair }, /* 135 = socketpair */ 378 (sy_call_t *)sys_socketpair }, /* 135 = socketpair */
379 { ns(struct sys_mkdir_args), 0, 379 { ns(struct sys_mkdir_args), 0,
380 (sy_call_t *)sys_mkdir }, /* 136 = mkdir */ 380 (sy_call_t *)sys_mkdir }, /* 136 = mkdir */
381 { ns(struct sys_rmdir_args), 0, 381 { ns(struct sys_rmdir_args), 0,
382 (sy_call_t *)sys_rmdir }, /* 137 = rmdir */ 382 (sy_call_t *)sys_rmdir }, /* 137 = rmdir */
383 { ns(struct compat_50_sys_utimes_args), 0, 383 { ns(struct compat_50_sys_utimes_args), 0,
384 (sy_call_t *)sys_nomodule }, /* 138 = compat_50_utimes */ 384 (sy_call_t *)sys_nomodule }, /* 138 = compat_50_utimes */
385 { 0, 0, 0, 385 { 0, 0, 0,
386 sys_nosys }, /* 139 = obsolete 4.2 sigreturn */ 386 sys_nosys }, /* 139 = obsolete 4.2 sigreturn */
387 { ns(struct compat_50_sys_adjtime_args), 0, 387 { ns(struct compat_50_sys_adjtime_args), 0,
388 (sy_call_t *)sys_nomodule }, /* 140 = compat_50_adjtime */ 388 (sy_call_t *)sys_nomodule }, /* 140 = compat_50_adjtime */
389 { ns(struct compat_43_sys_getpeername_args), 0, 389 { ns(struct compat_43_sys_getpeername_args), 0,
390 (sy_call_t *)sys_nomodule }, /* 141 = compat_43_ogetpeername */ 390 (sy_call_t *)sys_nomodule }, /* 141 = compat_43_ogetpeername */
391 { 0, 0, 0, 391 { 0, 0, 0,
392 (sy_call_t *)sys_nomodule }, /* 142 = compat_43_ogethostid */ 392 (sy_call_t *)sys_nomodule }, /* 142 = compat_43_ogethostid */
393 { ns(struct compat_43_sys_sethostid_args), 0, 393 { ns(struct compat_43_sys_sethostid_args), 0,
394 (sy_call_t *)sys_nomodule }, /* 143 = compat_43_osethostid */ 394 (sy_call_t *)sys_nomodule }, /* 143 = compat_43_osethostid */
395 { ns(struct compat_43_sys_getrlimit_args), 0, 395 { ns(struct compat_43_sys_getrlimit_args), 0,
396 (sy_call_t *)sys_nomodule }, /* 144 = compat_43_ogetrlimit */ 396 (sy_call_t *)sys_nomodule }, /* 144 = compat_43_ogetrlimit */
397 { ns(struct compat_43_sys_setrlimit_args), 0, 397 { ns(struct compat_43_sys_setrlimit_args), 0,
398 (sy_call_t *)sys_nomodule }, /* 145 = compat_43_osetrlimit */ 398 (sy_call_t *)sys_nomodule }, /* 145 = compat_43_osetrlimit */
399 { ns(struct compat_43_sys_killpg_args), 0, 399 { ns(struct compat_43_sys_killpg_args), 0,
400 (sy_call_t *)sys_nomodule }, /* 146 = compat_43_okillpg */ 400 (sy_call_t *)sys_nomodule }, /* 146 = compat_43_okillpg */
401 { 0, 0, 0, 401 { 0, 0, 0,
402 (sy_call_t *)sys_setsid }, /* 147 = setsid */ 402 (sy_call_t *)sys_setsid }, /* 147 = setsid */
403 { ns(struct sys_quotactl_args), 0, 403 { ns(struct sys_quotactl_args), 0,
404 (sy_call_t *)sys_quotactl }, /* 148 = quotactl */ 404 (sy_call_t *)sys_quotactl }, /* 148 = quotactl */
405 { 0, 0, 0, 405 { 0, 0, 0,
406 (sy_call_t *)sys_nomodule }, /* 149 = compat_43_oquota */ 406 (sy_call_t *)sys_nomodule }, /* 149 = compat_43_oquota */
407 { ns(struct compat_43_sys_getsockname_args), 0, 407 { ns(struct compat_43_sys_getsockname_args), 0,
408 (sy_call_t *)sys_nomodule }, /* 150 = compat_43_ogetsockname */ 408 (sy_call_t *)sys_nomodule }, /* 150 = compat_43_ogetsockname */
409 { 0, 0, 0, 409 { 0, 0, 0,
410 sys_nosys }, /* 151 = unimplemented */ 410 sys_nosys }, /* 151 = unimplemented */
411 { 0, 0, 0, 411 { 0, 0, 0,
412 sys_nosys }, /* 152 = unimplemented */ 412 sys_nosys }, /* 152 = unimplemented */
413 { 0, 0, 0, 413 { 0, 0, 0,
414 sys_nosys }, /* 153 = unimplemented */ 414 sys_nosys }, /* 153 = unimplemented */
415 { 0, 0, 0, 415 { 0, 0, 0,
416 sys_nosys }, /* 154 = unimplemented */ 416 sys_nosys }, /* 154 = unimplemented */
417 { ns(struct sys_nfssvc_args), 0, 417 { ns(struct sys_nfssvc_args), 0,
418 (sy_call_t *)sys_nomodule }, /* 155 = nfssvc */ 418 (sy_call_t *)sys_nomodule }, /* 155 = nfssvc */
419 { ns(struct compat_43_sys_getdirentries_args), 0, 419 { ns(struct compat_43_sys_getdirentries_args), 0,
420 (sy_call_t *)sys_nomodule }, /* 156 = compat_43_ogetdirentries */ 420 (sy_call_t *)sys_nomodule }, /* 156 = compat_43_ogetdirentries */
421 { ns(struct compat_20_sys_statfs_args), 0, 421 { ns(struct compat_20_sys_statfs_args), 0,
422 (sy_call_t *)sys_nomodule }, /* 157 = compat_20_statfs */ 422 (sy_call_t *)sys_nomodule }, /* 157 = compat_20_statfs */
423 { ns(struct compat_20_sys_fstatfs_args), 0, 423 { ns(struct compat_20_sys_fstatfs_args), 0,
424 (sy_call_t *)sys_nomodule }, /* 158 = compat_20_fstatfs */ 424 (sy_call_t *)sys_nomodule }, /* 158 = compat_20_fstatfs */
425 { 0, 0, 0, 425 { 0, 0, 0,
426 sys_nosys }, /* 159 = unimplemented */ 426 sys_nosys }, /* 159 = unimplemented */
427 { 0, 0, 0, 427 { 0, 0, 0,
428 sys_nosys }, /* 160 = unimplemented */ 428 sys_nosys }, /* 160 = unimplemented */
429 { ns(struct compat_30_sys_getfh_args), 0, 429 { ns(struct compat_30_sys_getfh_args), 0,
430 (sy_call_t *)sys_nomodule }, /* 161 = compat_30_getfh */ 430 (sy_call_t *)sys_nomodule }, /* 161 = compat_30_getfh */
431 { ns(struct compat_09_sys_getdomainname_args), 0, 431 { ns(struct compat_09_sys_getdomainname_args), 0,
432 (sy_call_t *)sys_nomodule }, /* 162 = compat_09_ogetdomainname */ 432 (sy_call_t *)sys_nomodule }, /* 162 = compat_09_ogetdomainname */
433 { ns(struct compat_09_sys_setdomainname_args), 0, 433 { ns(struct compat_09_sys_setdomainname_args), 0,
434 (sy_call_t *)sys_nomodule }, /* 163 = compat_09_osetdomainname */ 434 (sy_call_t *)sys_nomodule }, /* 163 = compat_09_osetdomainname */
435 { ns(struct compat_09_sys_uname_args), 0, 435 { ns(struct compat_09_sys_uname_args), 0,
436 (sy_call_t *)sys_nomodule }, /* 164 = compat_09_ouname */ 436 (sy_call_t *)sys_nomodule }, /* 164 = compat_09_ouname */
437 { ns(struct sys_sysarch_args), 0, 437 { ns(struct sys_sysarch_args), 0,
438 (sy_call_t *)sys_sysarch }, /* 165 = sysarch */ 438 (sy_call_t *)sys_sysarch }, /* 165 = sysarch */
439 { 0, 0, 0, 439 { 0, 0, 0,
440 sys_nosys }, /* 166 = unimplemented */ 440 sys_nosys }, /* 166 = unimplemented */
441 { 0, 0, 0, 441 { 0, 0, 0,
442 sys_nosys }, /* 167 = unimplemented */ 442 sys_nosys }, /* 167 = unimplemented */
443 { 0, 0, 0, 443 { 0, 0, 0,
444 sys_nosys }, /* 168 = unimplemented */ 444 sys_nosys }, /* 168 = unimplemented */
445#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 445#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
446 { ns(struct compat_10_sys_semsys_args), 0, 446 { ns(struct compat_10_sys_semsys_args), 0,
447 (sy_call_t *)sys_nomodule }, /* 169 = compat_10_osemsys */ 447 (sy_call_t *)sys_nomodule }, /* 169 = compat_10_osemsys */
448#else 448#else
449 { 0, 0, 0, 449 { 0, 0, 0,
450 sys_nosys }, /* 169 = excluded 1.0 semsys */ 450 sys_nosys }, /* 169 = excluded 1.0 semsys */
451#endif 451#endif
452#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64) 452#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
453 { ns(struct compat_10_sys_msgsys_args), 0, 453 { ns(struct compat_10_sys_msgsys_args), 0,
454 (sy_call_t *)sys_nomodule }, /* 170 = compat_10_omsgsys */ 454 (sy_call_t *)sys_nomodule }, /* 170 = compat_10_omsgsys */
455#else 455#else
456 { 0, 0, 0, 456 { 0, 0, 0,
457 sys_nosys }, /* 170 = excluded 1.0 msgsys */ 457 sys_nosys }, /* 170 = excluded 1.0 msgsys */
458#endif 458#endif
459#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 459#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
460 { ns(struct compat_10_sys_shmsys_args), 0, 460 { ns(struct compat_10_sys_shmsys_args), 0,
461 (sy_call_t *)sys_nomodule }, /* 171 = compat_10_oshmsys */ 461 (sy_call_t *)sys_nomodule }, /* 171 = compat_10_oshmsys */
462#else 462#else
463 { 0, 0, 0, 463 { 0, 0, 0,
464 sys_nosys }, /* 171 = excluded 1.0 shmsys */ 464 sys_nosys }, /* 171 = excluded 1.0 shmsys */
465#endif 465#endif
466 { 0, 0, 0, 466 { 0, 0, 0,
467 sys_nosys }, /* 172 = unimplemented */ 467 sys_nosys }, /* 172 = unimplemented */
468 { ns(struct sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64, 468 { ns(struct sys_pread_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
469 (sy_call_t *)sys_pread }, /* 173 = pread */ 469 (sy_call_t *)sys_pread }, /* 173 = pread */
470 { ns(struct sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64, 470 { ns(struct sys_pwrite_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
471 (sy_call_t *)sys_pwrite }, /* 174 = pwrite */ 471 (sy_call_t *)sys_pwrite }, /* 174 = pwrite */
472 { ns(struct compat_30_sys_ntp_gettime_args), 0, 472 { ns(struct compat_30_sys_ntp_gettime_args), 0,
473 (sy_call_t *)compat_30(sys_ntp_gettime) },/* 175 = compat_30_ntp_gettime */ 473 (sy_call_t *)compat_30(sys_ntp_gettime) },/* 175 = compat_30_ntp_gettime */
474#if defined(NTP) || !defined(_KERNEL_OPT) 474#if defined(NTP) || !defined(_KERNEL_OPT)
475 { ns(struct sys_ntp_adjtime_args), 0, 475 { ns(struct sys_ntp_adjtime_args), 0,
476 (sy_call_t *)sys_ntp_adjtime }, /* 176 = ntp_adjtime */ 476 (sy_call_t *)sys_ntp_adjtime }, /* 176 = ntp_adjtime */
477#else 477#else
478 { 0, 0, 0, 478 { 0, 0, 0,
479 sys_nosys }, /* 176 = excluded ntp_adjtime */ 479 sys_nosys }, /* 176 = excluded ntp_adjtime */
480#endif 480#endif
481 { 0, 0, 0, 481 { 0, 0, 0,
482 sys_nosys }, /* 177 = unimplemented */ 482 sys_nosys }, /* 177 = unimplemented */
483 { 0, 0, 0, 483 { 0, 0, 0,
484 sys_nosys }, /* 178 = unimplemented */ 484 sys_nosys }, /* 178 = unimplemented */
485 { 0, 0, 0, 485 { 0, 0, 0,
486 sys_nosys }, /* 179 = unimplemented */ 486 sys_nosys }, /* 179 = unimplemented */
487 { 0, 0, 0, 487 { 0, 0, 0,
488 sys_nosys }, /* 180 = unimplemented */ 488 sys_nosys }, /* 180 = unimplemented */
489 { ns(struct sys_setgid_args), 0, 489 { ns(struct sys_setgid_args), 0,
490 (sy_call_t *)sys_setgid }, /* 181 = setgid */ 490 (sy_call_t *)sys_setgid }, /* 181 = setgid */
491 { ns(struct sys_setegid_args), 0, 491 { ns(struct sys_setegid_args), 0,
492 (sy_call_t *)sys_setegid }, /* 182 = setegid */ 492 (sy_call_t *)sys_setegid }, /* 182 = setegid */
493 { ns(struct sys_seteuid_args), 0, 493 { ns(struct sys_seteuid_args), 0,
494 (sy_call_t *)sys_seteuid }, /* 183 = seteuid */ 494 (sy_call_t *)sys_seteuid }, /* 183 = seteuid */
495#if defined(LFS) || !defined(_KERNEL) 495#if defined(LFS) || !defined(_KERNEL)
496 { ns(struct sys_lfs_bmapv_args), 0, 496 { ns(struct sys_lfs_bmapv_args), 0,
497 (sy_call_t *)sys_lfs_bmapv }, /* 184 = lfs_bmapv */ 497 (sy_call_t *)sys_lfs_bmapv }, /* 184 = lfs_bmapv */
498 { ns(struct sys_lfs_markv_args), 0, 498 { ns(struct sys_lfs_markv_args), 0,
499 (sy_call_t *)sys_lfs_markv }, /* 185 = lfs_markv */ 499 (sy_call_t *)sys_lfs_markv }, /* 185 = lfs_markv */
500 { ns(struct sys_lfs_segclean_args), 0, 500 { ns(struct sys_lfs_segclean_args), 0,
501 (sy_call_t *)sys_lfs_segclean }, /* 186 = lfs_segclean */ 501 (sy_call_t *)sys_lfs_segclean }, /* 186 = lfs_segclean */
502 { ns(struct compat_50_sys_lfs_segwait_args), 0, 502 { ns(struct compat_50_sys_lfs_segwait_args), 0,
503 (sy_call_t *)sys_nomodule }, /* 187 = compat_50_lfs_segwait */ 503 (sy_call_t *)sys_nomodule }, /* 187 = compat_50_lfs_segwait */
504#else 504#else
505 { 0, 0, 0, 505 { 0, 0, 0,
506 sys_nosys }, /* 184 = excluded lfs_bmapv */ 506 sys_nosys }, /* 184 = excluded lfs_bmapv */
507 { 0, 0, 0, 507 { 0, 0, 0,
508 sys_nosys }, /* 185 = excluded lfs_markv */ 508 sys_nosys }, /* 185 = excluded lfs_markv */
509 { 0, 0, 0, 509 { 0, 0, 0,
510 sys_nosys }, /* 186 = excluded lfs_segclean */ 510 sys_nosys }, /* 186 = excluded lfs_segclean */
511 { 0, 0, 0, 511 { 0, 0, 0,
512 sys_nosys }, /* 187 = excluded lfs_segwait */ 512 sys_nosys }, /* 187 = excluded lfs_segwait */
513#endif 513#endif
514 { ns(struct compat_12_sys_stat_args), 0, 514 { ns(struct compat_12_sys_stat_args), 0,
515 (sy_call_t *)sys_nomodule }, /* 188 = compat_12_stat12 */ 515 (sy_call_t *)sys_nomodule }, /* 188 = compat_12_stat12 */
516 { ns(struct compat_12_sys_fstat_args), 0, 516 { ns(struct compat_12_sys_fstat_args), 0,
517 (sy_call_t *)sys_nomodule }, /* 189 = compat_12_fstat12 */ 517 (sy_call_t *)sys_nomodule }, /* 189 = compat_12_fstat12 */
518 { ns(struct compat_12_sys_lstat_args), 0, 518 { ns(struct compat_12_sys_lstat_args), 0,
519 (sy_call_t *)sys_nomodule }, /* 190 = compat_12_lstat12 */ 519 (sy_call_t *)sys_nomodule }, /* 190 = compat_12_lstat12 */
520 { ns(struct sys_pathconf_args), 0, 520 { ns(struct sys_pathconf_args), 0,
521 (sy_call_t *)sys_pathconf }, /* 191 = pathconf */ 521 (sy_call_t *)sys_pathconf }, /* 191 = pathconf */
522 { ns(struct sys_fpathconf_args), 0, 522 { ns(struct sys_fpathconf_args), 0,
523 (sy_call_t *)sys_fpathconf }, /* 192 = fpathconf */ 523 (sy_call_t *)sys_fpathconf }, /* 192 = fpathconf */
524 { 0, 0, 0, 524 { 0, 0, 0,
525 sys_nosys }, /* 193 = unimplemented */ 525 sys_nosys }, /* 193 = unimplemented */
526 { ns(struct sys_getrlimit_args), 0, 526 { ns(struct sys_getrlimit_args), 0,
527 (sy_call_t *)sys_getrlimit }, /* 194 = getrlimit */ 527 (sy_call_t *)sys_getrlimit }, /* 194 = getrlimit */
528 { ns(struct sys_setrlimit_args), 0, 528 { ns(struct sys_setrlimit_args), 0,
529 (sy_call_t *)sys_setrlimit }, /* 195 = setrlimit */ 529 (sy_call_t *)sys_setrlimit }, /* 195 = setrlimit */
530 { ns(struct compat_12_sys_getdirentries_args), 0, 530 { ns(struct compat_12_sys_getdirentries_args), 0,
531 (sy_call_t *)sys_nomodule }, /* 196 = compat_12_getdirentries */ 531 (sy_call_t *)sys_nomodule }, /* 196 = compat_12_getdirentries */
532 { ns(struct sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64, 532 { ns(struct sys_mmap_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64,
533 (sy_call_t *)sys_mmap }, /* 197 = mmap */ 533 (sy_call_t *)sys_mmap }, /* 197 = mmap */
534 { ns(struct sys___syscall_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT, 534 { ns(struct sys___syscall_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT,
535 (sy_call_t *)sys___syscall }, /* 198 = __syscall */ 535 (sy_call_t *)sys___syscall }, /* 198 = __syscall */
536 { ns(struct sys_lseek_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64, 536 { ns(struct sys_lseek_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64 | SYCALL_RET_64,
537 (sy_call_t *)sys_lseek }, /* 199 = lseek */ 537 (sy_call_t *)sys_lseek }, /* 199 = lseek */
538 { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64, 538 { ns(struct sys_truncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
539 (sy_call_t *)sys_truncate }, /* 200 = truncate */ 539 (sy_call_t *)sys_truncate }, /* 200 = truncate */
540 { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64, 540 { ns(struct sys_ftruncate_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG2_64,
541 (sy_call_t *)sys_ftruncate }, /* 201 = ftruncate */ 541 (sy_call_t *)sys_ftruncate }, /* 201 = ftruncate */
542 { ns(struct sys___sysctl_args), 0, 542 { ns(struct sys___sysctl_args), 0,
543 (sy_call_t *)sys___sysctl }, /* 202 = __sysctl */ 543 (sy_call_t *)sys___sysctl }, /* 202 = __sysctl */
544 { ns(struct sys_mlock_args), 0, 544 { ns(struct sys_mlock_args), 0,
545 (sy_call_t *)sys_mlock }, /* 203 = mlock */ 545 (sy_call_t *)sys_mlock }, /* 203 = mlock */
546 { ns(struct sys_munlock_args), 0, 546 { ns(struct sys_munlock_args), 0,
547 (sy_call_t *)sys_munlock }, /* 204 = munlock */ 547 (sy_call_t *)sys_munlock }, /* 204 = munlock */
548 { ns(struct sys_undelete_args), 0, 548 { ns(struct sys_undelete_args), 0,
549 (sy_call_t *)sys_undelete }, /* 205 = undelete */ 549 (sy_call_t *)sys_undelete }, /* 205 = undelete */
550 { ns(struct compat_50_sys_futimes_args), 0, 550 { ns(struct compat_50_sys_futimes_args), 0,
551 (sy_call_t *)sys_nomodule }, /* 206 = compat_50_futimes */ 551 (sy_call_t *)sys_nomodule }, /* 206 = compat_50_futimes */
552 { ns(struct sys_getpgid_args), 0, 552 { ns(struct sys_getpgid_args), 0,
553 (sy_call_t *)sys_getpgid }, /* 207 = getpgid */ 553 (sy_call_t *)sys_getpgid }, /* 207 = getpgid */
554 { ns(struct sys_reboot_args), 0, 554 { ns(struct sys_reboot_args), 0,
555 (sy_call_t *)sys_reboot }, /* 208 = reboot */ 555 (sy_call_t *)sys_reboot }, /* 208 = reboot */
556 { ns(struct sys_poll_args), 0, 556 { ns(struct sys_poll_args), 0,
557 (sy_call_t *)sys_poll }, /* 209 = poll */ 557 (sy_call_t *)sys_poll }, /* 209 = poll */
558 { 0, 0, 0, 558 { 0, 0, 0,
559 sys_nosys }, /* 210 = unimplemented */ 559 sys_nosys }, /* 210 = unimplemented */
560 { 0, 0, 0, 560 { 0, 0, 0,
561 sys_nosys }, /* 211 = unimplemented */ 561 sys_nosys }, /* 211 = unimplemented */
562 { 0, 0, 0, 562 { 0, 0, 0,
563 sys_nosys }, /* 212 = unimplemented */ 563 sys_nosys }, /* 212 = unimplemented */
564 { 0, 0, 0, 564 { 0, 0, 0,
565 sys_nosys }, /* 213 = unimplemented */ 565 sys_nosys }, /* 213 = unimplemented */
566 { 0, 0, 0, 566 { 0, 0, 0,
567 sys_nosys }, /* 214 = unimplemented */ 567 sys_nosys }, /* 214 = unimplemented */
568 { 0, 0, 0, 568 { 0, 0, 0,
569 sys_nosys }, /* 215 = unimplemented */ 569 sys_nosys }, /* 215 = unimplemented */
570 { 0, 0, 0, 570 { 0, 0, 0,
571 sys_nosys }, /* 216 = unimplemented */ 571 sys_nosys }, /* 216 = unimplemented */
572 { 0, 0, 0, 572 { 0, 0, 0,
573 sys_nosys }, /* 217 = unimplemented */ 573 sys_nosys }, /* 217 = unimplemented */
574 { 0, 0, 0, 574 { 0, 0, 0,
575 sys_nosys }, /* 218 = unimplemented */ 575 sys_nosys }, /* 218 = unimplemented */
576 { 0, 0, 0, 576 { 0, 0, 0,
577 sys_nosys }, /* 219 = unimplemented */ 577 sys_nosys }, /* 219 = unimplemented */
578#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 578#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
579 { ns(struct compat_14_sys___semctl_args), 0, 579 { ns(struct compat_14_sys___semctl_args), 0,
580 (sy_call_t *)sys_nomodule }, /* 220 = compat_14___semctl */ 580 (sy_call_t *)sys_nomodule }, /* 220 = compat_14___semctl */
581 { ns(struct sys_semget_args), 0, 581 { ns(struct sys_semget_args), 0,
582 (sy_call_t *)sys_semget }, /* 221 = semget */ 582 (sy_call_t *)sys_semget }, /* 221 = semget */
583 { ns(struct sys_semop_args), 0, 583 { ns(struct sys_semop_args), 0,
584 (sy_call_t *)sys_semop }, /* 222 = semop */ 584 (sy_call_t *)sys_semop }, /* 222 = semop */
585 { ns(struct sys_semconfig_args), 0, 585 { ns(struct sys_semconfig_args), 0,
586 (sy_call_t *)sys_semconfig }, /* 223 = semconfig */ 586 (sy_call_t *)sys_semconfig }, /* 223 = semconfig */
587#else 587#else
588 { 0, 0, 0, 588 { 0, 0, 0,
589 sys_nosys }, /* 220 = excluded compat_14_semctl */ 589 sys_nosys }, /* 220 = excluded compat_14_semctl */
590 { 0, 0, 0, 590 { 0, 0, 0,
591 sys_nosys }, /* 221 = excluded semget */ 591 sys_nosys }, /* 221 = excluded semget */
592 { 0, 0, 0, 592 { 0, 0, 0,
593 sys_nosys }, /* 222 = excluded semop */ 593 sys_nosys }, /* 222 = excluded semop */
594 { 0, 0, 0, 594 { 0, 0, 0,
595 sys_nosys }, /* 223 = excluded semconfig */ 595 sys_nosys }, /* 223 = excluded semconfig */
596#endif 596#endif
597#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 597#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
598 { ns(struct compat_14_sys_msgctl_args), 0, 598 { ns(struct compat_14_sys_msgctl_args), 0,
599 (sy_call_t *)sys_nomodule }, /* 224 = compat_14_msgctl */ 599 (sy_call_t *)sys_nomodule }, /* 224 = compat_14_msgctl */
600 { ns(struct sys_msgget_args), 0, 600 { ns(struct sys_msgget_args), 0,
601 (sy_call_t *)sys_msgget }, /* 225 = msgget */ 601 (sy_call_t *)sys_msgget }, /* 225 = msgget */
602 { ns(struct sys_msgsnd_args), 0, 602 { ns(struct sys_msgsnd_args), 0,
603 (sy_call_t *)sys_msgsnd }, /* 226 = msgsnd */ 603 (sy_call_t *)sys_msgsnd }, /* 226 = msgsnd */
604 { ns(struct sys_msgrcv_args), 0, 604 { ns(struct sys_msgrcv_args), 0,
605 (sy_call_t *)sys_msgrcv }, /* 227 = msgrcv */ 605 (sy_call_t *)sys_msgrcv }, /* 227 = msgrcv */
606#else 606#else
607 { 0, 0, 0, 607 { 0, 0, 0,
608 sys_nosys }, /* 224 = excluded compat_14_msgctl */ 608 sys_nosys }, /* 224 = excluded compat_14_msgctl */
609 { 0, 0, 0, 609 { 0, 0, 0,
610 sys_nosys }, /* 225 = excluded msgget */ 610 sys_nosys }, /* 225 = excluded msgget */
611 { 0, 0, 0, 611 { 0, 0, 0,
612 sys_nosys }, /* 226 = excluded msgsnd */ 612 sys_nosys }, /* 226 = excluded msgsnd */
613 { 0, 0, 0, 613 { 0, 0, 0,
614 sys_nosys }, /* 227 = excluded msgrcv */ 614 sys_nosys }, /* 227 = excluded msgrcv */
615#endif 615#endif
616#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 616#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
617 { ns(struct sys_shmat_args), 0, 617 { ns(struct sys_shmat_args), 0,
618 (sy_call_t *)sys_shmat }, /* 228 = shmat */ 618 (sy_call_t *)sys_shmat }, /* 228 = shmat */
619 { ns(struct compat_14_sys_shmctl_args), 0, 619 { ns(struct compat_14_sys_shmctl_args), 0,
620 (sy_call_t *)sys_nomodule }, /* 229 = compat_14_shmctl */ 620 (sy_call_t *)sys_nomodule }, /* 229 = compat_14_shmctl */
621 { ns(struct sys_shmdt_args), 0, 621 { ns(struct sys_shmdt_args), 0,
622 (sy_call_t *)sys_shmdt }, /* 230 = shmdt */ 622 (sy_call_t *)sys_shmdt }, /* 230 = shmdt */
623 { ns(struct sys_shmget_args), 0, 623 { ns(struct sys_shmget_args), 0,
624 (sy_call_t *)sys_shmget }, /* 231 = shmget */ 624 (sy_call_t *)sys_shmget }, /* 231 = shmget */
625#else 625#else
626 { 0, 0, 0, 626 { 0, 0, 0,
627 sys_nosys }, /* 228 = excluded shmat */ 627 sys_nosys }, /* 228 = excluded shmat */
628 { 0, 0, 0, 628 { 0, 0, 0,
629 sys_nosys }, /* 229 = excluded compat_14_shmctl */ 629 sys_nosys }, /* 229 = excluded compat_14_shmctl */
630 { 0, 0, 0, 630 { 0, 0, 0,
631 sys_nosys }, /* 230 = excluded shmdt */ 631 sys_nosys }, /* 230 = excluded shmdt */
632 { 0, 0, 0, 632 { 0, 0, 0,
633 sys_nosys }, /* 231 = excluded shmget */ 633 sys_nosys }, /* 231 = excluded shmget */
634#endif 634#endif
635 { ns(struct compat_50_sys_clock_gettime_args), 0, 635 { ns(struct compat_50_sys_clock_gettime_args), 0,
636 (sy_call_t *)sys_nomodule }, /* 232 = compat_50_clock_gettime */ 636 (sy_call_t *)sys_nomodule }, /* 232 = compat_50_clock_gettime */
637 { ns(struct compat_50_sys_clock_settime_args), 0, 637 { ns(struct compat_50_sys_clock_settime_args), 0,
638 (sy_call_t *)sys_nomodule }, /* 233 = compat_50_clock_settime */ 638 (sy_call_t *)sys_nomodule }, /* 233 = compat_50_clock_settime */
639 { ns(struct compat_50_sys_clock_getres_args), 0, 639 { ns(struct compat_50_sys_clock_getres_args), 0,
640 (sy_call_t *)sys_nomodule }, /* 234 = compat_50_clock_getres */ 640 (sy_call_t *)sys_nomodule }, /* 234 = compat_50_clock_getres */
641 { ns(struct sys_timer_create_args), 0, 641 { ns(struct sys_timer_create_args), 0,
642 (sy_call_t *)sys_timer_create }, /* 235 = timer_create */ 642 (sy_call_t *)sys_timer_create }, /* 235 = timer_create */
643 { ns(struct sys_timer_delete_args), 0, 643 { ns(struct sys_timer_delete_args), 0,
644 (sy_call_t *)sys_timer_delete }, /* 236 = timer_delete */ 644 (sy_call_t *)sys_timer_delete }, /* 236 = timer_delete */
645 { ns(struct compat_50_sys_timer_settime_args), 0, 645 { ns(struct compat_50_sys_timer_settime_args), 0,
646 (sy_call_t *)sys_nomodule }, /* 237 = compat_50_timer_settime */ 646 (sy_call_t *)sys_nomodule }, /* 237 = compat_50_timer_settime */
647 { ns(struct compat_50_sys_timer_gettime_args), 0, 647 { ns(struct compat_50_sys_timer_gettime_args), 0,
648 (sy_call_t *)sys_nomodule }, /* 238 = compat_50_timer_gettime */ 648 (sy_call_t *)sys_nomodule }, /* 238 = compat_50_timer_gettime */
649 { ns(struct sys_timer_getoverrun_args), 0, 649 { ns(struct sys_timer_getoverrun_args), 0,
650 (sy_call_t *)sys_timer_getoverrun },/* 239 = timer_getoverrun */ 650 (sy_call_t *)sys_timer_getoverrun },/* 239 = timer_getoverrun */
651 { ns(struct compat_50_sys_nanosleep_args), 0, 651 { ns(struct compat_50_sys_nanosleep_args), 0,
652 (sy_call_t *)sys_nomodule }, /* 240 = compat_50_nanosleep */ 652 (sy_call_t *)sys_nomodule }, /* 240 = compat_50_nanosleep */
653 { ns(struct sys_fdatasync_args), 0, 653 { ns(struct sys_fdatasync_args), 0,
654 (sy_call_t *)sys_fdatasync }, /* 241 = fdatasync */ 654 (sy_call_t *)sys_fdatasync }, /* 241 = fdatasync */
655 { ns(struct sys_mlockall_args), 0, 655 { ns(struct sys_mlockall_args), 0,
656 (sy_call_t *)sys_mlockall }, /* 242 = mlockall */ 656 (sy_call_t *)sys_mlockall }, /* 242 = mlockall */
657 { 0, 0, 0, 657 { 0, 0, 0,
658 (sy_call_t *)sys_munlockall }, /* 243 = munlockall */ 658 (sy_call_t *)sys_munlockall }, /* 243 = munlockall */
659 { ns(struct compat_50_sys___sigtimedwait_args), 0, 659 { ns(struct compat_50_sys___sigtimedwait_args), 0,
660 (sy_call_t *)sys_nomodule }, /* 244 = compat_50___sigtimedwait */ 660 (sy_call_t *)sys_nomodule }, /* 244 = compat_50___sigtimedwait */
661 { 0, 0, 0, 661 { 0, 0, 0,
662 sys_nosys }, /* 245 = unimplemented sys_sigqueue */ 662 sys_nosys }, /* 245 = unimplemented sys_sigqueue */
663 { ns(struct sys_modctl_args), 0, 663 { ns(struct sys_modctl_args), 0,
664 (sy_call_t *)sys_modctl }, /* 246 = modctl */ 664 (sy_call_t *)sys_modctl }, /* 246 = modctl */
665 { ns(struct sys__ksem_init_args), 0, 665 { ns(struct sys__ksem_init_args), 0,
666 (sy_call_t *)sys_nomodule }, /* 247 = _ksem_init */ 666 (sy_call_t *)sys_nomodule }, /* 247 = _ksem_init */
667 { ns(struct sys__ksem_open_args), 0, 667 { ns(struct sys__ksem_open_args), 0,
668 (sy_call_t *)sys_nomodule }, /* 248 = _ksem_open */ 668 (sy_call_t *)sys_nomodule }, /* 248 = _ksem_open */
669 { ns(struct sys__ksem_unlink_args), 0, 669 { ns(struct sys__ksem_unlink_args), 0,
670 (sy_call_t *)sys_nomodule }, /* 249 = _ksem_unlink */ 670 (sy_call_t *)sys_nomodule }, /* 249 = _ksem_unlink */
671 { ns(struct sys__ksem_close_args), 0, 671 { ns(struct sys__ksem_close_args), 0,
672 (sy_call_t *)sys_nomodule }, /* 250 = _ksem_close */ 672 (sy_call_t *)sys_nomodule }, /* 250 = _ksem_close */
673 { ns(struct sys__ksem_post_args), 0, 673 { ns(struct sys__ksem_post_args), 0,
674 (sy_call_t *)sys_nomodule }, /* 251 = _ksem_post */ 674 (sy_call_t *)sys_nomodule }, /* 251 = _ksem_post */
675 { ns(struct sys__ksem_wait_args), 0, 675 { ns(struct sys__ksem_wait_args), 0,
676 (sy_call_t *)sys_nomodule }, /* 252 = _ksem_wait */ 676 (sy_call_t *)sys_nomodule }, /* 252 = _ksem_wait */
677 { ns(struct sys__ksem_trywait_args), 0, 677 { ns(struct sys__ksem_trywait_args), 0,
678 (sy_call_t *)sys_nomodule }, /* 253 = _ksem_trywait */ 678 (sy_call_t *)sys_nomodule }, /* 253 = _ksem_trywait */
679 { ns(struct sys__ksem_getvalue_args), 0, 679 { ns(struct sys__ksem_getvalue_args), 0,
680 (sy_call_t *)sys_nomodule }, /* 254 = _ksem_getvalue */ 680 (sy_call_t *)sys_nomodule }, /* 254 = _ksem_getvalue */
681 { ns(struct sys__ksem_destroy_args), 0, 681 { ns(struct sys__ksem_destroy_args), 0,
682 (sy_call_t *)sys_nomodule }, /* 255 = _ksem_destroy */ 682 (sy_call_t *)sys_nomodule }, /* 255 = _ksem_destroy */
683 { 0, 0, 0, 683 { 0, 0, 0,
684 sys_nosys }, /* 256 = unimplemented sys__ksem_timedwait */ 684 sys_nosys }, /* 256 = unimplemented sys__ksem_timedwait */
685 { ns(struct sys_mq_open_args), 0, 685 { ns(struct sys_mq_open_args), 0,
686 (sy_call_t *)sys_nomodule }, /* 257 = mq_open */ 686 (sy_call_t *)sys_nomodule }, /* 257 = mq_open */
687 { ns(struct sys_mq_close_args), 0, 687 { ns(struct sys_mq_close_args), 0,
688 (sy_call_t *)sys_nomodule }, /* 258 = mq_close */ 688 (sy_call_t *)sys_nomodule }, /* 258 = mq_close */
689 { ns(struct sys_mq_unlink_args), 0, 689 { ns(struct sys_mq_unlink_args), 0,
690 (sy_call_t *)sys_nomodule }, /* 259 = mq_unlink */ 690 (sy_call_t *)sys_nomodule }, /* 259 = mq_unlink */
691 { ns(struct sys_mq_getattr_args), 0, 691 { ns(struct sys_mq_getattr_args), 0,
692 (sy_call_t *)sys_nomodule }, /* 260 = mq_getattr */ 692 (sy_call_t *)sys_nomodule }, /* 260 = mq_getattr */
693 { ns(struct sys_mq_setattr_args), 0, 693 { ns(struct sys_mq_setattr_args), 0,
694 (sy_call_t *)sys_nomodule }, /* 261 = mq_setattr */ 694 (sy_call_t *)sys_nomodule }, /* 261 = mq_setattr */
695 { ns(struct sys_mq_notify_args), 0, 695 { ns(struct sys_mq_notify_args), 0,
696 (sy_call_t *)sys_nomodule }, /* 262 = mq_notify */ 696 (sy_call_t *)sys_nomodule }, /* 262 = mq_notify */
697 { ns(struct sys_mq_send_args), 0, 697 { ns(struct sys_mq_send_args), 0,
698 (sy_call_t *)sys_nomodule }, /* 263 = mq_send */ 698 (sy_call_t *)sys_nomodule }, /* 263 = mq_send */
699 { ns(struct sys_mq_receive_args), 0, 699 { ns(struct sys_mq_receive_args), 0,
700 (sy_call_t *)sys_nomodule }, /* 264 = mq_receive */ 700 (sy_call_t *)sys_nomodule }, /* 264 = mq_receive */
701 { ns(struct compat_50_sys_mq_timedsend_args), 0, 701 { ns(struct compat_50_sys_mq_timedsend_args), 0,
702 (sy_call_t *)sys_nomodule }, /* 265 = compat_50_mq_timedsend */ 702 (sy_call_t *)sys_nomodule }, /* 265 = compat_50_mq_timedsend */
703 { ns(struct compat_50_sys_mq_timedreceive_args), 0, 703 { ns(struct compat_50_sys_mq_timedreceive_args), 0,
704 (sy_call_t *)sys_nomodule }, /* 266 = compat_50_mq_timedreceive */ 704 (sy_call_t *)sys_nomodule }, /* 266 = compat_50_mq_timedreceive */
705 { 0, 0, 0, 705 { 0, 0, 0,
706 sys_nosys }, /* 267 = unimplemented */ 706 sys_nosys }, /* 267 = unimplemented */
707 { 0, 0, 0, 707 { 0, 0, 0,
708 sys_nosys }, /* 268 = unimplemented */ 708 sys_nosys }, /* 268 = unimplemented */
709 { 0, 0, 0, 709 { 0, 0, 0,
710 sys_nosys }, /* 269 = unimplemented */ 710 sys_nosys }, /* 269 = unimplemented */
711 { ns(struct sys___posix_rename_args), 0, 711 { ns(struct sys___posix_rename_args), 0,
712 (sy_call_t *)sys___posix_rename }, /* 270 = __posix_rename */ 712 (sy_call_t *)sys___posix_rename }, /* 270 = __posix_rename */
713 { ns(struct sys_swapctl_args), 0, 713 { ns(struct sys_swapctl_args), 0,
714 (sy_call_t *)sys_swapctl }, /* 271 = swapctl */ 714 (sy_call_t *)sys_swapctl }, /* 271 = swapctl */
715 { ns(struct compat_30_sys_getdents_args), 0, 715 { ns(struct compat_30_sys_getdents_args), 0,
716 (sy_call_t *)sys_nomodule }, /* 272 = compat_30_getdents */ 716 (sy_call_t *)sys_nomodule }, /* 272 = compat_30_getdents */
717 { ns(struct sys_minherit_args), 0, 717 { ns(struct sys_minherit_args), 0,
718 (sy_call_t *)sys_minherit }, /* 273 = minherit */ 718 (sy_call_t *)sys_minherit }, /* 273 = minherit */
719 { ns(struct sys_lchmod_args), 0, 719 { ns(struct sys_lchmod_args), 0,
720 (sy_call_t *)sys_lchmod }, /* 274 = lchmod */ 720 (sy_call_t *)sys_lchmod }, /* 274 = lchmod */
721 { ns(struct sys_lchown_args), 0, 721 { ns(struct sys_lchown_args), 0,
722 (sy_call_t *)sys_lchown }, /* 275 = lchown */ 722 (sy_call_t *)sys_lchown }, /* 275 = lchown */
723 { ns(struct compat_50_sys_lutimes_args), 0, 723 { ns(struct compat_50_sys_lutimes_args), 0,
724 (sy_call_t *)sys_nomodule }, /* 276 = compat_50_lutimes */ 724 (sy_call_t *)sys_nomodule }, /* 276 = compat_50_lutimes */
725 { ns(struct sys___msync13_args), 0, 725 { ns(struct sys___msync13_args), 0,
726 (sy_call_t *)sys___msync13 }, /* 277 = __msync13 */ 726 (sy_call_t *)sys___msync13 }, /* 277 = __msync13 */
727 { ns(struct compat_30_sys___stat13_args), 0, 727 { ns(struct compat_30_sys___stat13_args), 0,
728 (sy_call_t *)sys_nomodule }, /* 278 = compat_30___stat13 */ 728 (sy_call_t *)sys_nomodule }, /* 278 = compat_30___stat13 */
729 { ns(struct compat_30_sys___fstat13_args), 0, 729 { ns(struct compat_30_sys___fstat13_args), 0,
730 (sy_call_t *)sys_nomodule }, /* 279 = compat_30___fstat13 */ 730 (sy_call_t *)sys_nomodule }, /* 279 = compat_30___fstat13 */
731 { ns(struct compat_30_sys___lstat13_args), 0, 731 { ns(struct compat_30_sys___lstat13_args), 0,
732 (sy_call_t *)sys_nomodule }, /* 280 = compat_30___lstat13 */ 732 (sy_call_t *)sys_nomodule }, /* 280 = compat_30___lstat13 */
733 { ns(struct sys___sigaltstack14_args), 0, 733 { ns(struct sys___sigaltstack14_args), 0,
734 (sy_call_t *)sys___sigaltstack14 }, /* 281 = __sigaltstack14 */ 734 (sy_call_t *)sys___sigaltstack14 }, /* 281 = __sigaltstack14 */
735 { 0, 0, 0, 735 { 0, 0, 0,
736 (sy_call_t *)sys___vfork14 }, /* 282 = __vfork14 */ 736 (sy_call_t *)sys___vfork14 }, /* 282 = __vfork14 */
737 { ns(struct sys___posix_chown_args), 0, 737 { ns(struct sys___posix_chown_args), 0,
738 (sy_call_t *)sys___posix_chown }, /* 283 = __posix_chown */ 738 (sy_call_t *)sys___posix_chown }, /* 283 = __posix_chown */
739 { ns(struct sys___posix_fchown_args), 0, 739 { ns(struct sys___posix_fchown_args), 0,
740 (sy_call_t *)sys___posix_fchown }, /* 284 = __posix_fchown */ 740 (sy_call_t *)sys___posix_fchown }, /* 284 = __posix_fchown */
741 { ns(struct sys___posix_lchown_args), 0, 741 { ns(struct sys___posix_lchown_args), 0,
742 (sy_call_t *)sys___posix_lchown }, /* 285 = __posix_lchown */ 742 (sy_call_t *)sys___posix_lchown }, /* 285 = __posix_lchown */
743 { ns(struct sys_getsid_args), 0, 743 { ns(struct sys_getsid_args), 0,
744 (sy_call_t *)sys_getsid }, /* 286 = getsid */ 744 (sy_call_t *)sys_getsid }, /* 286 = getsid */
745 { ns(struct sys___clone_args), 0, 745 { ns(struct sys___clone_args), 0,
746 (sy_call_t *)sys___clone }, /* 287 = __clone */ 746 (sy_call_t *)sys___clone }, /* 287 = __clone */
747 { ns(struct sys_fktrace_args), 0, 747 { ns(struct sys_fktrace_args), 0,
748 (sy_call_t *)sys_fktrace }, /* 288 = fktrace */ 748 (sy_call_t *)sys_fktrace }, /* 288 = fktrace */
749 { ns(struct sys_preadv_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64, 749 { ns(struct sys_preadv_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
750 (sy_call_t *)sys_preadv }, /* 289 = preadv */ 750 (sy_call_t *)sys_preadv }, /* 289 = preadv */
751 { ns(struct sys_pwritev_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64, 751 { ns(struct sys_pwritev_args), SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64,
752 (sy_call_t *)sys_pwritev }, /* 290 = pwritev */ 752 (sy_call_t *)sys_pwritev }, /* 290 = pwritev */
753 { ns(struct compat_16_sys___sigaction14_args), 0, 753 { ns(struct compat_16_sys___sigaction14_args), 0,
754 (sy_call_t *)sys_nomodule }, /* 291 = compat_16___sigaction14 */ 754 (sy_call_t *)sys_nomodule }, /* 291 = compat_16___sigaction14 */
755 { ns(struct sys___sigpending14_args), 0, 755 { ns(struct sys___sigpending14_args), 0,
756 (sy_call_t *)sys___sigpending14 }, /* 292 = __sigpending14 */ 756 (sy_call_t *)sys___sigpending14 }, /* 292 = __sigpending14 */
757 { ns(struct sys___sigprocmask14_args), 0, 757 { ns(struct sys___sigprocmask14_args), 0,
758 (sy_call_t *)sys___sigprocmask14 }, /* 293 = __sigprocmask14 */ 758 (sy_call_t *)sys___sigprocmask14 }, /* 293 = __sigprocmask14 */
759 { ns(struct sys___sigsuspend14_args), 0, 759 { ns(struct sys___sigsuspend14_args), 0,
760 (sy_call_t *)sys___sigsuspend14 }, /* 294 = __sigsuspend14 */ 760 (sy_call_t *)sys___sigsuspend14 }, /* 294 = __sigsuspend14 */
761 { ns(struct compat_16_sys___sigreturn14_args), 0, 761 { ns(struct compat_16_sys___sigreturn14_args), 0,
762 (sy_call_t *)sys_nomodule }, /* 295 = compat_16___sigreturn14 */ 762 (sy_call_t *)sys_nomodule }, /* 295 = compat_16___sigreturn14 */
763 { ns(struct sys___getcwd_args), 0, 763 { ns(struct sys___getcwd_args), 0,
764 (sy_call_t *)sys___getcwd }, /* 296 = __getcwd */ 764 (sy_call_t *)sys___getcwd }, /* 296 = __getcwd */
765 { ns(struct sys_fchroot_args), 0, 765 { ns(struct sys_fchroot_args), 0,
766 (sy_call_t *)sys_fchroot }, /* 297 = fchroot */ 766 (sy_call_t *)sys_fchroot }, /* 297 = fchroot */
767 { ns(struct compat_30_sys_fhopen_args), 0, 767 { ns(struct compat_30_sys_fhopen_args), 0,
768 (sy_call_t *)sys_nomodule }, /* 298 = compat_30_fhopen */ 768 (sy_call_t *)sys_nomodule }, /* 298 = compat_30_fhopen */
769 { ns(struct compat_30_sys_fhstat_args), 0, 769 { ns(struct compat_30_sys_fhstat_args), 0,
770 (sy_call_t *)sys_nomodule }, /* 299 = compat_30_fhstat */ 770 (sy_call_t *)sys_nomodule }, /* 299 = compat_30_fhstat */
771 { ns(struct compat_20_sys_fhstatfs_args), 0, 771 { ns(struct compat_20_sys_fhstatfs_args), 0,
772 (sy_call_t *)sys_nomodule }, /* 300 = compat_20_fhstatfs */ 772 (sy_call_t *)sys_nomodule }, /* 300 = compat_20_fhstatfs */
773#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 773#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
774 { ns(struct compat_50_sys_____semctl13_args), 0, 774 { ns(struct compat_50_sys_____semctl13_args), 0,
775 (sy_call_t *)sys_nomodule }, /* 301 = compat_50_____semctl13 */ 775 (sy_call_t *)sys_nomodule }, /* 301 = compat_50_____semctl13 */
776#else 776#else
777 { 0, 0, 0, 777 { 0, 0, 0,
778 sys_nosys }, /* 301 = excluded ____semctl13 */ 778 sys_nosys }, /* 301 = excluded ____semctl13 */
779#endif 779#endif
780#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 780#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
781 { ns(struct compat_50_sys___msgctl13_args), 0, 781 { ns(struct compat_50_sys___msgctl13_args), 0,
782 (sy_call_t *)sys_nomodule }, /* 302 = compat_50___msgctl13 */ 782 (sy_call_t *)sys_nomodule }, /* 302 = compat_50___msgctl13 */
783#else 783#else
784 { 0, 0, 0, 784 { 0, 0, 0,
785 sys_nosys }, /* 302 = excluded __msgctl13 */ 785 sys_nosys }, /* 302 = excluded __msgctl13 */
786#endif 786#endif
787#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 787#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
788 { ns(struct compat_50_sys___shmctl13_args), 0, 788 { ns(struct compat_50_sys___shmctl13_args), 0,
789 (sy_call_t *)sys_nomodule }, /* 303 = compat_50___shmctl13 */ 789 (sy_call_t *)sys_nomodule }, /* 303 = compat_50___shmctl13 */
790#else 790#else
791 { 0, 0, 0, 791 { 0, 0, 0,
792 sys_nosys }, /* 303 = excluded __shmctl13 */ 792 sys_nosys }, /* 303 = excluded __shmctl13 */
793#endif 793#endif
794 { ns(struct sys_lchflags_args), 0, 794 { ns(struct sys_lchflags_args), 0,
795 (sy_call_t *)sys_lchflags }, /* 304 = lchflags */ 795 (sy_call_t *)sys_lchflags }, /* 304 = lchflags */
796 { 0, 0, 0, 796 { 0, 0, 0,
797 (sy_call_t *)sys_issetugid }, /* 305 = issetugid */ 797 (sy_call_t *)sys_issetugid }, /* 305 = issetugid */
798 { ns(struct sys_utrace_args), 0, 798 { ns(struct sys_utrace_args), 0,
799 (sy_call_t *)sys_utrace }, /* 306 = utrace */ 799 (sy_call_t *)sys_utrace }, /* 306 = utrace */
800 { ns(struct sys_getcontext_args), 0, 800 { ns(struct sys_getcontext_args), 0,
801 (sy_call_t *)sys_getcontext }, /* 307 = getcontext */ 801 (sy_call_t *)sys_getcontext }, /* 307 = getcontext */
802 { ns(struct sys_setcontext_args), 0, 802 { ns(struct sys_setcontext_args), 0,
803 (sy_call_t *)sys_setcontext }, /* 308 = setcontext */ 803 (sy_call_t *)sys_setcontext }, /* 308 = setcontext */
804 { ns(struct sys__lwp_create_args), 0, 804 { ns(struct sys__lwp_create_args), 0,
805 (sy_call_t *)sys__lwp_create }, /* 309 = _lwp_create */ 805 (sy_call_t *)sys__lwp_create }, /* 309 = _lwp_create */
806 { 0, 0, 0, 806 { 0, 0, 0,
807 (sy_call_t *)sys__lwp_exit }, /* 310 = _lwp_exit */ 807 (sy_call_t *)sys__lwp_exit }, /* 310 = _lwp_exit */
808 { 0, 0, 0, 808 { 0, 0, 0,
809 (sy_call_t *)sys__lwp_self }, /* 311 = _lwp_self */ 809 (sy_call_t *)sys__lwp_self }, /* 311 = _lwp_self */
810 { ns(struct sys__lwp_wait_args), 0, 810 { ns(struct sys__lwp_wait_args), 0,
811 (sy_call_t *)sys__lwp_wait }, /* 312 = _lwp_wait */ 811 (sy_call_t *)sys__lwp_wait }, /* 312 = _lwp_wait */
812 { ns(struct sys__lwp_suspend_args), 0, 812 { ns(struct sys__lwp_suspend_args), 0,
813 (sy_call_t *)sys__lwp_suspend }, /* 313 = _lwp_suspend */ 813 (sy_call_t *)sys__lwp_suspend }, /* 313 = _lwp_suspend */
814 { ns(struct sys__lwp_continue_args), 0, 814 { ns(struct sys__lwp_continue_args), 0,
815 (sy_call_t *)sys__lwp_continue }, /* 314 = _lwp_continue */ 815 (sy_call_t *)sys__lwp_continue }, /* 314 = _lwp_continue */
816 { ns(struct sys__lwp_wakeup_args), 0, 816 { ns(struct sys__lwp_wakeup_args), 0,
817 (sy_call_t *)sys__lwp_wakeup }, /* 315 = _lwp_wakeup */ 817 (sy_call_t *)sys__lwp_wakeup }, /* 315 = _lwp_wakeup */
818 { 0, 0, 0, 818 { 0, 0, 0,
819 (sy_call_t *)sys__lwp_getprivate }, /* 316 = _lwp_getprivate */ 819 (sy_call_t *)sys__lwp_getprivate }, /* 316 = _lwp_getprivate */
820 { ns(struct sys__lwp_setprivate_args), 0, 820 { ns(struct sys__lwp_setprivate_args), 0,
821 (sy_call_t *)sys__lwp_setprivate }, /* 317 = _lwp_setprivate */ 821 (sy_call_t *)sys__lwp_setprivate }, /* 317 = _lwp_setprivate */
822 { ns(struct sys__lwp_kill_args), 0, 822 { ns(struct sys__lwp_kill_args), 0,
823 (sy_call_t *)sys__lwp_kill }, /* 318 = _lwp_kill */ 823 (sy_call_t *)sys__lwp_kill }, /* 318 = _lwp_kill */
824 { ns(struct sys__lwp_detach_args), 0, 824 { ns(struct sys__lwp_detach_args), 0,
825 (sy_call_t *)sys__lwp_detach }, /* 319 = _lwp_detach */ 825 (sy_call_t *)sys__lwp_detach }, /* 319 = _lwp_detach */
826 { ns(struct compat_50_sys__lwp_park_args), 0, 826 { ns(struct compat_50_sys__lwp_park_args), 0,
827 (sy_call_t *)sys_nomodule }, /* 320 = compat_50__lwp_park */ 827 (sy_call_t *)sys_nomodule }, /* 320 = compat_50__lwp_park */
828 { ns(struct sys__lwp_unpark_args), 0, 828 { ns(struct sys__lwp_unpark_args), 0,
829 (sy_call_t *)sys__lwp_unpark }, /* 321 = _lwp_unpark */ 829 (sy_call_t *)sys__lwp_unpark }, /* 321 = _lwp_unpark */
830 { ns(struct sys__lwp_unpark_all_args), 0, 830 { ns(struct sys__lwp_unpark_all_args), 0,
831 (sy_call_t *)sys__lwp_unpark_all }, /* 322 = _lwp_unpark_all */ 831 (sy_call_t *)sys__lwp_unpark_all }, /* 322 = _lwp_unpark_all */
832 { ns(struct sys__lwp_setname_args), 0, 832 { ns(struct sys__lwp_setname_args), 0,
833 (sy_call_t *)sys__lwp_setname }, /* 323 = _lwp_setname */ 833 (sy_call_t *)sys__lwp_setname }, /* 323 = _lwp_setname */
834 { ns(struct sys__lwp_getname_args), 0, 834 { ns(struct sys__lwp_getname_args), 0,
835 (sy_call_t *)sys__lwp_getname }, /* 324 = _lwp_getname */ 835 (sy_call_t *)sys__lwp_getname }, /* 324 = _lwp_getname */
836 { ns(struct sys__lwp_ctl_args), 0, 836 { ns(struct sys__lwp_ctl_args), 0,
837 (sy_call_t *)sys__lwp_ctl }, /* 325 = _lwp_ctl */ 837 (sy_call_t *)sys__lwp_ctl }, /* 325 = _lwp_ctl */
838 { 0, 0, 0, 838 { 0, 0, 0,
839 sys_nosys }, /* 326 = unimplemented */ 839 sys_nosys }, /* 326 = unimplemented */
840 { 0, 0, 0, 840 { 0, 0, 0,
841 sys_nosys }, /* 327 = unimplemented */ 841 sys_nosys }, /* 327 = unimplemented */
842 { 0, 0, 0, 842 { 0, 0, 0,
843 sys_nosys }, /* 328 = unimplemented */ 843 sys_nosys }, /* 328 = unimplemented */
844 { 0, 0, 0, 844 { 0, 0, 0,
845 sys_nosys }, /* 329 = unimplemented */ 845 sys_nosys }, /* 329 = unimplemented */
846 { ns(struct sys_sa_register_args), 0, 846 { ns(struct sys_sa_register_args), 0,
847 (sy_call_t *)sys_sa_register }, /* 330 = sa_register */ 847 (sy_call_t *)sys_sa_register }, /* 330 = sa_register */
848 { ns(struct sys_sa_stacks_args), 0, 848 { ns(struct sys_sa_stacks_args), 0,
849 (sy_call_t *)sys_sa_stacks }, /* 331 = sa_stacks */ 849 (sy_call_t *)sys_sa_stacks }, /* 331 = sa_stacks */
850 { 0, 0, 0, 850 { 0, 0, 0,
851 (sy_call_t *)sys_sa_enable }, /* 332 = sa_enable */ 851 (sy_call_t *)sys_sa_enable }, /* 332 = sa_enable */
852 { ns(struct sys_sa_setconcurrency_args), 0, 852 { ns(struct sys_sa_setconcurrency_args), 0,
853 (sy_call_t *)sys_sa_setconcurrency },/* 333 = sa_setconcurrency */ 853 (sy_call_t *)sys_sa_setconcurrency },/* 333 = sa_setconcurrency */
854 { 0, 0, 0, 854 { 0, 0, 0,
855 (sy_call_t *)sys_sa_yield }, /* 334 = sa_yield */ 855 (sy_call_t *)sys_sa_yield }, /* 334 = sa_yield */
856 { ns(struct sys_sa_preempt_args), 0, 856 { ns(struct sys_sa_preempt_args), 0,
857 (sy_call_t *)sys_sa_preempt }, /* 335 = sa_preempt */ 857 (sy_call_t *)sys_sa_preempt }, /* 335 = sa_preempt */
858 { 0, 0, 0, 858 { 0, 0, 0,
859 sys_nosys }, /* 336 = obsolete sys_sa_unblockyield */ 859 sys_nosys }, /* 336 = obsolete sys_sa_unblockyield */
860 { 0, 0, 0, 860 { 0, 0, 0,
861 sys_nosys }, /* 337 = unimplemented */ 861 sys_nosys }, /* 337 = unimplemented */
862 { 0, 0, 0, 862 { 0, 0, 0,
863 sys_nosys }, /* 338 = unimplemented */ 863 sys_nosys }, /* 338 = unimplemented */
864 { 0, 0, 0, 864 { 0, 0, 0,
865 sys_nosys }, /* 339 = unimplemented */ 865 sys_nosys }, /* 339 = unimplemented */
866 { ns(struct sys___sigaction_sigtramp_args), 0, 866 { ns(struct sys___sigaction_sigtramp_args), 0,
867 (sy_call_t *)sys___sigaction_sigtramp },/* 340 = __sigaction_sigtramp */ 867 (sy_call_t *)sys___sigaction_sigtramp },/* 340 = __sigaction_sigtramp */
868 { ns(struct sys_pmc_get_info_args), 0, 868 { ns(struct sys_pmc_get_info_args), 0,
869 (sy_call_t *)sys_pmc_get_info }, /* 341 = pmc_get_info */ 869 (sy_call_t *)sys_pmc_get_info }, /* 341 = pmc_get_info */
870 { ns(struct sys_pmc_control_args), 0, 870 { ns(struct sys_pmc_control_args), 0,
871 (sy_call_t *)sys_pmc_control }, /* 342 = pmc_control */ 871 (sy_call_t *)sys_pmc_control }, /* 342 = pmc_control */
872 { ns(struct sys_rasctl_args), 0, 872 { ns(struct sys_rasctl_args), 0,
873 (sy_call_t *)sys_rasctl }, /* 343 = rasctl */ 873 (sy_call_t *)sys_rasctl }, /* 343 = rasctl */
874 { 0, 0, 0, 874 { 0, 0, 0,
875 (sy_call_t *)sys_kqueue }, /* 344 = kqueue */ 875 (sy_call_t *)sys_kqueue }, /* 344 = kqueue */
876 { ns(struct compat_50_sys_kevent_args), 0, 876 { ns(struct compat_50_sys_kevent_args), 0,
877 (sy_call_t *)sys_nomodule }, /* 345 = compat_50_kevent */ 877 (sy_call_t *)sys_nomodule }, /* 345 = compat_50_kevent */
878 { ns(struct sys__sched_setparam_args), 0, 878 { ns(struct sys__sched_setparam_args), 0,
879 (sy_call_t *)sys__sched_setparam }, /* 346 = _sched_setparam */ 879 (sy_call_t *)sys__sched_setparam }, /* 346 = _sched_setparam */
880 { ns(struct sys__sched_getparam_args), 0, 880 { ns(struct sys__sched_getparam_args), 0,
881 (sy_call_t *)sys__sched_getparam }, /* 347 = _sched_getparam */ 881 (sy_call_t *)sys__sched_getparam }, /* 347 = _sched_getparam */
882 { ns(struct sys__sched_setaffinity_args), 0, 882 { ns(struct sys__sched_setaffinity_args), 0,
883 (sy_call_t *)sys__sched_setaffinity },/* 348 = _sched_setaffinity */ 883 (sy_call_t *)sys__sched_setaffinity },/* 348 = _sched_setaffinity */
884 { ns(struct sys__sched_getaffinity_args), 0, 884 { ns(struct sys__sched_getaffinity_args), 0,
885 (sy_call_t *)sys__sched_getaffinity },/* 349 = _sched_getaffinity */ 885 (sy_call_t *)sys__sched_getaffinity },/* 349 = _sched_getaffinity */
886 { 0, 0, 0, 886 { 0, 0, 0,
887 (sy_call_t *)sys_sched_yield }, /* 350 = sched_yield */ 887 (sy_call_t *)sys_sched_yield }, /* 350 = sched_yield */
888 { 0, 0, 0, 888 { 0, 0, 0,
889 sys_nosys }, /* 351 = unimplemented */ 889 sys_nosys }, /* 351 = unimplemented */
890 { 0, 0, 0, 890 { 0, 0, 0,
891 sys_nosys }, /* 352 = unimplemented */ 891 sys_nosys }, /* 352 = unimplemented */
892 { 0, 0, 0, 892 { 0, 0, 0,
893 sys_nosys }, /* 353 = unimplemented */ 893 sys_nosys }, /* 353 = unimplemented */
894 { ns(struct sys_fsync_range_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64, 894 { ns(struct sys_fsync_range_args), SYCALL_NARGS64_VAL(2) | SYCALL_ARG3_64 | SYCALL_ARG2_64,
895 (sy_call_t *)sys_fsync_range }, /* 354 = fsync_range */ 895 (sy_call_t *)sys_fsync_range }, /* 354 = fsync_range */
896 { ns(struct sys_uuidgen_args), 0, 896 { ns(struct sys_uuidgen_args), 0,
897 (sy_call_t *)sys_uuidgen }, /* 355 = uuidgen */ 897 (sy_call_t *)sys_uuidgen }, /* 355 = uuidgen */
898 { ns(struct sys_getvfsstat_args), 0, 898 { ns(struct sys_getvfsstat_args), 0,
899 (sy_call_t *)sys_getvfsstat }, /* 356 = getvfsstat */ 899 (sy_call_t *)sys_getvfsstat }, /* 356 = getvfsstat */
900 { ns(struct sys_statvfs1_args), 0, 900 { ns(struct sys_statvfs1_args), 0,
901 (sy_call_t *)sys_statvfs1 }, /* 357 = statvfs1 */ 901 (sy_call_t *)sys_statvfs1 }, /* 357 = statvfs1 */
902 { ns(struct sys_fstatvfs1_args), 0, 902 { ns(struct sys_fstatvfs1_args), 0,
903 (sy_call_t *)sys_fstatvfs1 }, /* 358 = fstatvfs1 */ 903 (sy_call_t *)sys_fstatvfs1 }, /* 358 = fstatvfs1 */
904 { ns(struct compat_30_sys_fhstatvfs1_args), 0, 904 { ns(struct compat_30_sys_fhstatvfs1_args), 0,
905 (sy_call_t *)sys_nomodule }, /* 359 = compat_30_fhstatvfs1 */ 905 (sy_call_t *)sys_nomodule }, /* 359 = compat_30_fhstatvfs1 */
906 { ns(struct sys_extattrctl_args), 0, 906 { ns(struct sys_extattrctl_args), 0,
907 (sy_call_t *)sys_extattrctl }, /* 360 = extattrctl */ 907 (sy_call_t *)sys_extattrctl }, /* 360 = extattrctl */
908 { ns(struct sys_extattr_set_file_args), 0, 908 { ns(struct sys_extattr_set_file_args), 0,
909 (sy_call_t *)sys_extattr_set_file },/* 361 = extattr_set_file */ 909 (sy_call_t *)sys_extattr_set_file },/* 361 = extattr_set_file */
910 { ns(struct sys_extattr_get_file_args), 0, 910 { ns(struct sys_extattr_get_file_args), 0,
911 (sy_call_t *)sys_extattr_get_file },/* 362 = extattr_get_file */ 911 (sy_call_t *)sys_extattr_get_file },/* 362 = extattr_get_file */
912 { ns(struct sys_extattr_delete_file_args), 0, 912 { ns(struct sys_extattr_delete_file_args), 0,
913 (sy_call_t *)sys_extattr_delete_file },/* 363 = extattr_delete_file */ 913 (sy_call_t *)sys_extattr_delete_file },/* 363 = extattr_delete_file */
914 { ns(struct sys_extattr_set_fd_args), 0, 914 { ns(struct sys_extattr_set_fd_args), 0,
915 (sy_call_t *)sys_extattr_set_fd }, /* 364 = extattr_set_fd */ 915 (sy_call_t *)sys_extattr_set_fd }, /* 364 = extattr_set_fd */
916 { ns(struct sys_extattr_get_fd_args), 0, 916 { ns(struct sys_extattr_get_fd_args), 0,
917 (sy_call_t *)sys_extattr_get_fd }, /* 365 = extattr_get_fd */ 917 (sy_call_t *)sys_extattr_get_fd }, /* 365 = extattr_get_fd */
918 { ns(struct sys_extattr_delete_fd_args), 0, 918 { ns(struct sys_extattr_delete_fd_args), 0,
919 (sy_call_t *)sys_extattr_delete_fd },/* 366 = extattr_delete_fd */ 919 (sy_call_t *)sys_extattr_delete_fd },/* 366 = extattr_delete_fd */
920 { ns(struct sys_extattr_set_link_args), 0, 920 { ns(struct sys_extattr_set_link_args), 0,
921 (sy_call_t *)sys_extattr_set_link },/* 367 = extattr_set_link */ 921 (sy_call_t *)sys_extattr_set_link },/* 367 = extattr_set_link */
922 { ns(struct sys_extattr_get_link_args), 0, 922 { ns(struct sys_extattr_get_link_args), 0,
923 (sy_call_t *)sys_extattr_get_link },/* 368 = extattr_get_link */ 923 (sy_call_t *)sys_extattr_get_link },/* 368 = extattr_get_link */
924 { ns(struct sys_extattr_delete_link_args), 0, 924 { ns(struct sys_extattr_delete_link_args), 0,
925 (sy_call_t *)sys_extattr_delete_link },/* 369 = extattr_delete_link */ 925 (sy_call_t *)sys_extattr_delete_link },/* 369 = extattr_delete_link */
926 { ns(struct sys_extattr_list_fd_args), 0, 926 { ns(struct sys_extattr_list_fd_args), 0,
927 (sy_call_t *)sys_extattr_list_fd }, /* 370 = extattr_list_fd */ 927 (sy_call_t *)sys_extattr_list_fd }, /* 370 = extattr_list_fd */
928 { ns(struct sys_extattr_list_file_args), 0, 928 { ns(struct sys_extattr_list_file_args), 0,
929 (sy_call_t *)sys_extattr_list_file },/* 371 = extattr_list_file */ 929 (sy_call_t *)sys_extattr_list_file },/* 371 = extattr_list_file */
930 { ns(struct sys_extattr_list_link_args), 0, 930 { ns(struct sys_extattr_list_link_args), 0,
931 (sy_call_t *)sys_extattr_list_link },/* 372 = extattr_list_link */ 931 (sy_call_t *)sys_extattr_list_link },/* 372 = extattr_list_link */
932 { ns(struct compat_50_sys_pselect_args), 0, 932 { ns(struct compat_50_sys_pselect_args), 0,
933 (sy_call_t *)sys_nomodule }, /* 373 = compat_50_pselect */ 933 (sy_call_t *)sys_nomodule }, /* 373 = compat_50_pselect */
934 { ns(struct compat_50_sys_pollts_args), 0, 934 { ns(struct compat_50_sys_pollts_args), 0,
935 (sy_call_t *)sys_nomodule }, /* 374 = compat_50_pollts */ 935 (sy_call_t *)sys_nomodule }, /* 374 = compat_50_pollts */
936 { ns(struct sys_setxattr_args), 0, 936 { ns(struct sys_setxattr_args), 0,
937 (sy_call_t *)sys_setxattr }, /* 375 = setxattr */ 937 (sy_call_t *)sys_setxattr }, /* 375 = setxattr */
938 { ns(struct sys_lsetxattr_args), 0, 938 { ns(struct sys_lsetxattr_args), 0,
939 (sy_call_t *)sys_lsetxattr }, /* 376 = lsetxattr */ 939 (sy_call_t *)sys_lsetxattr }, /* 376 = lsetxattr */
940 { ns(struct sys_fsetxattr_args), 0, 940 { ns(struct sys_fsetxattr_args), 0,
941 (sy_call_t *)sys_fsetxattr }, /* 377 = fsetxattr */ 941 (sy_call_t *)sys_fsetxattr }, /* 377 = fsetxattr */
942 { ns(struct sys_getxattr_args), 0, 942 { ns(struct sys_getxattr_args), 0,
943 (sy_call_t *)sys_getxattr }, /* 378 = getxattr */ 943 (sy_call_t *)sys_getxattr }, /* 378 = getxattr */
944 { ns(struct sys_lgetxattr_args), 0, 944 { ns(struct sys_lgetxattr_args), 0,
945 (sy_call_t *)sys_lgetxattr }, /* 379 = lgetxattr */ 945 (sy_call_t *)sys_lgetxattr }, /* 379 = lgetxattr */
946 { ns(struct sys_fgetxattr_args), 0, 946 { ns(struct sys_fgetxattr_args), 0,
947 (sy_call_t *)sys_fgetxattr }, /* 380 = fgetxattr */ 947 (sy_call_t *)sys_fgetxattr }, /* 380 = fgetxattr */
948 { ns(struct sys_listxattr_args), 0, 948 { ns(struct sys_listxattr_args), 0,
949 (sy_call_t *)sys_listxattr }, /* 381 = listxattr */ 949 (sy_call_t *)sys_listxattr }, /* 381 = listxattr */
950 { ns(struct sys_llistxattr_args), 0, 950 { ns(struct sys_llistxattr_args), 0,
951 (sy_call_t *)sys_llistxattr }, /* 382 = llistxattr */ 951 (sy_call_t *)sys_llistxattr }, /* 382 = llistxattr */
952 { ns(struct sys_flistxattr_args), 0, 952 { ns(struct sys_flistxattr_args), 0,
953 (sy_call_t *)sys_flistxattr }, /* 383 = flistxattr */ 953 (sy_call_t *)sys_flistxattr }, /* 383 = flistxattr */
954 { ns(struct sys_removexattr_args), 0, 954 { ns(struct sys_removexattr_args), 0,
955 (sy_call_t *)sys_removexattr }, /* 384 = removexattr */ 955 (sy_call_t *)sys_removexattr }, /* 384 = removexattr */
956 { ns(struct sys_lremovexattr_args), 0, 956 { ns(struct sys_lremovexattr_args), 0,
957 (sy_call_t *)sys_lremovexattr }, /* 385 = lremovexattr */ 957 (sy_call_t *)sys_lremovexattr }, /* 385 = lremovexattr */
958 { ns(struct sys_fremovexattr_args), 0, 958 { ns(struct sys_fremovexattr_args), 0,
959 (sy_call_t *)sys_fremovexattr }, /* 386 = fremovexattr */ 959 (sy_call_t *)sys_fremovexattr }, /* 386 = fremovexattr */
960 { ns(struct compat_50_sys___stat30_args), 0, 960 { ns(struct compat_50_sys___stat30_args), 0,
961 (sy_call_t *)sys_nomodule }, /* 387 = compat_50___stat30 */ 961 (sy_call_t *)sys_nomodule }, /* 387 = compat_50___stat30 */
962 { ns(struct compat_50_sys___fstat30_args), 0, 962 { ns(struct compat_50_sys___fstat30_args), 0,
963 (sy_call_t *)sys_nomodule }, /* 388 = compat_50___fstat30 */ 963 (sy_call_t *)sys_nomodule }, /* 388 = compat_50___fstat30 */
964 { ns(struct compat_50_sys___lstat30_args), 0, 964 { ns(struct compat_50_sys___lstat30_args), 0,
965 (sy_call_t *)sys_nomodule }, /* 389 = compat_50___lstat30 */ 965 (sy_call_t *)sys_nomodule }, /* 389 = compat_50___lstat30 */
966 { ns(struct sys___getdents30_args), 0, 966 { ns(struct sys___getdents30_args), 0,
967 (sy_call_t *)sys___getdents30 }, /* 390 = __getdents30 */ 967 (sy_call_t *)sys___getdents30 }, /* 390 = __getdents30 */
968 { 0, 0, 0, 968 { 0, 0, 0,
969 (sy_call_t *)nullop }, /* 391 = ignored old posix_fadvise */ 969 (sy_call_t *)nullop }, /* 391 = ignored old posix_fadvise */
970 { ns(struct compat_30_sys___fhstat30_args), 0, 970 { ns(struct compat_30_sys___fhstat30_args), 0,
971 (sy_call_t *)sys_nomodule }, /* 392 = compat_30___fhstat30 */ 971 (sy_call_t *)sys_nomodule }, /* 392 = compat_30___fhstat30 */
972 { ns(struct compat_50_sys___ntp_gettime30_args), 0, 972 { ns(struct compat_50_sys___ntp_gettime30_args), 0,
973 (sy_call_t *)sys_nomodule }, /* 393 = compat_50___ntp_gettime30 */ 973 (sy_call_t *)sys_nomodule }, /* 393 = compat_50___ntp_gettime30 */
974 { ns(struct sys___socket30_args), 0, 974 { ns(struct sys___socket30_args), 0,
975 (sy_call_t *)sys___socket30 }, /* 394 = __socket30 */ 975 (sy_call_t *)sys___socket30 }, /* 394 = __socket30 */
976 { ns(struct sys___getfh30_args), 0, 976 { ns(struct sys___getfh30_args), 0,
977 (sy_call_t *)sys___getfh30 }, /* 395 = __getfh30 */ 977 (sy_call_t *)sys___getfh30 }, /* 395 = __getfh30 */
978 { ns(struct sys___fhopen40_args), 0, 978 { ns(struct sys___fhopen40_args), 0,
979 (sy_call_t *)sys___fhopen40 }, /* 396 = __fhopen40 */ 979 (sy_call_t *)sys___fhopen40 }, /* 396 = __fhopen40 */
980 { ns(struct sys___fhstatvfs140_args), 0, 980 { ns(struct sys___fhstatvfs140_args), 0,
981 (sy_call_t *)sys___fhstatvfs140 }, /* 397 = __fhstatvfs140 */ 981 (sy_call_t *)sys___fhstatvfs140 }, /* 397 = __fhstatvfs140 */
982 { ns(struct compat_50_sys___fhstat40_args), 0, 982 { ns(struct compat_50_sys___fhstat40_args), 0,
983 (sy_call_t *)sys_nomodule }, /* 398 = compat_50___fhstat40 */ 983 (sy_call_t *)sys_nomodule }, /* 398 = compat_50___fhstat40 */
984 { ns(struct sys_aio_cancel_args), 0, 984 { ns(struct sys_aio_cancel_args), 0,
985 (sy_call_t *)sys_nomodule }, /* 399 = aio_cancel */ 985 (sy_call_t *)sys_nomodule }, /* 399 = aio_cancel */
986 { ns(struct sys_aio_error_args), 0, 986 { ns(struct sys_aio_error_args), 0,
987 (sy_call_t *)sys_nomodule }, /* 400 = aio_error */ 987 (sy_call_t *)sys_nomodule }, /* 400 = aio_error */
988 { ns(struct sys_aio_fsync_args), 0, 988 { ns(struct sys_aio_fsync_args), 0,
989 (sy_call_t *)sys_nomodule }, /* 401 = aio_fsync */ 989 (sy_call_t *)sys_nomodule }, /* 401 = aio_fsync */
990 { ns(struct sys_aio_read_args), 0, 990 { ns(struct sys_aio_read_args), 0,
991 (sy_call_t *)sys_nomodule }, /* 402 = aio_read */ 991 (sy_call_t *)sys_nomodule }, /* 402 = aio_read */
992 { ns(struct sys_aio_return_args), 0, 992 { ns(struct sys_aio_return_args), 0,
993 (sy_call_t *)sys_nomodule }, /* 403 = aio_return */ 993 (sy_call_t *)sys_nomodule }, /* 403 = aio_return */
994 { ns(struct compat_50_sys_aio_suspend_args), 0, 994 { ns(struct compat_50_sys_aio_suspend_args), 0,
995 (sy_call_t *)sys_nomodule }, /* 404 = compat_50_aio_suspend */ 995 (sy_call_t *)sys_nomodule }, /* 404 = compat_50_aio_suspend */
996 { ns(struct sys_aio_write_args), 0, 996 { ns(struct sys_aio_write_args), 0,
997 (sy_call_t *)sys_nomodule }, /* 405 = aio_write */ 997 (sy_call_t *)sys_nomodule }, /* 405 = aio_write */
998 { ns(struct sys_lio_listio_args), 0, 998 { ns(struct sys_lio_listio_args), 0,
999 (sy_call_t *)sys_nomodule }, /* 406 = lio_listio */ 999 (sy_call_t *)sys_nomodule }, /* 406 = lio_listio */
1000 { 0, 0, 0, 1000 { 0, 0, 0,
1001 sys_nosys }, /* 407 = unimplemented */ 1001 sys_nosys }, /* 407 = unimplemented */
1002 { 0, 0, 0, 1002 { 0, 0, 0,
1003 sys_nosys }, /* 408 = unimplemented */ 1003 sys_nosys }, /* 408 = unimplemented */
1004 { 0, 0, 0, 1004 { 0, 0, 0,
1005 sys_nosys }, /* 409 = unimplemented */ 1005 sys_nosys }, /* 409 = unimplemented */
1006 { ns(struct sys___mount50_args), 0, 1006 { ns(struct sys___mount50_args), 0,
1007 (sy_call_t *)sys___mount50 }, /* 410 = __mount50 */ 1007 (sy_call_t *)sys___mount50 }, /* 410 = __mount50 */
1008 { ns(struct sys_mremap_args), 0, 1008 { ns(struct sys_mremap_args), 0,
1009 (sy_call_t *)sys_mremap }, /* 411 = mremap */ 1009 (sy_call_t *)sys_mremap }, /* 411 = mremap */
1010 { ns(struct sys_pset_create_args), 0, 1010 { ns(struct sys_pset_create_args), 0,

cvs diff -r1.233 -r1.234 src/sys/kern/syscalls.c (switch to unified diff)

--- src/sys/kern/syscalls.c 2009/12/14 00:48:35 1.233
+++ src/sys/kern/syscalls.c 2009/12/14 00:53:32 1.234
@@ -1,555 +1,555 @@ @@ -1,555 +1,555 @@
1/* $NetBSD: syscalls.c,v 1.233 2009/12/14 00:48:35 matt Exp $ */ 1/* $NetBSD: syscalls.c,v 1.234 2009/12/14 00:53:32 matt Exp $ */
2 2
3/* 3/*
4 * System call names. 4 * System call names.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD 7 * created from NetBSD: syscalls.master,v 1.231 2009/11/26 17:20:20 pooka Exp
8 */ 8 */
9 9
10#include <sys/cdefs.h> 10#include <sys/cdefs.h>
11__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.233 2009/12/14 00:48:35 matt Exp $"); 11__KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.234 2009/12/14 00:53:32 matt Exp $");
12 12
13#if defined(_KERNEL_OPT) 13#if defined(_KERNEL_OPT)
14#include "opt_modular.h" 14#include "opt_modular.h"
15#include "opt_ntp.h" 15#include "opt_ntp.h"
16#include "opt_sysv.h" 16#include "opt_sysv.h"
17#include "fs_lfs.h" 17#include "fs_lfs.h"
18#include <sys/param.h> 18#include <sys/param.h>
19#include <sys/systm.h> 19#include <sys/systm.h>
20#include <sys/signal.h> 20#include <sys/signal.h>
21#include <sys/mount.h> 21#include <sys/mount.h>
22#include <sys/sched.h> 22#include <sys/sched.h>
23#include <sys/syscallargs.h> 23#include <sys/syscallargs.h>
24#endif /* _KERNEL_OPT */ 24#endif /* _KERNEL_OPT */
25 25
26const char *const syscallnames[] = { 26const char *const syscallnames[] = {
27 /* 0 */ "syscall", 27 /* 0 */ "syscall",
28 /* 1 */ "exit", 28 /* 1 */ "exit",
29 /* 2 */ "fork", 29 /* 2 */ "fork",
30 /* 3 */ "read", 30 /* 3 */ "read",
31 /* 4 */ "write", 31 /* 4 */ "write",
32 /* 5 */ "open", 32 /* 5 */ "open",
33 /* 6 */ "close", 33 /* 6 */ "close",
34 /* 7 */ "compat_50_wait4", 34 /* 7 */ "compat_50_wait4",
35 /* 8 */ "compat_43_ocreat", 35 /* 8 */ "compat_43_ocreat",
36 /* 9 */ "link", 36 /* 9 */ "link",
37 /* 10 */ "unlink", 37 /* 10 */ "unlink",
38 /* 11 */ "#11 (obsolete execv)", 38 /* 11 */ "#11 (obsolete execv)",
39 /* 12 */ "chdir", 39 /* 12 */ "chdir",
40 /* 13 */ "fchdir", 40 /* 13 */ "fchdir",
41 /* 14 */ "compat_50_mknod", 41 /* 14 */ "compat_50_mknod",
42 /* 15 */ "chmod", 42 /* 15 */ "chmod",
43 /* 16 */ "chown", 43 /* 16 */ "chown",
44 /* 17 */ "break", 44 /* 17 */ "break",
45 /* 18 */ "compat_20_getfsstat", 45 /* 18 */ "compat_20_getfsstat",
46 /* 19 */ "compat_43_olseek", 46 /* 19 */ "compat_43_olseek",
47 /* 20 */ "getpid", 47 /* 20 */ "getpid",
48 /* 21 */ "compat_40_mount", 48 /* 21 */ "compat_40_mount",
49 /* 22 */ "unmount", 49 /* 22 */ "unmount",
50 /* 23 */ "setuid", 50 /* 23 */ "setuid",
51 /* 24 */ "getuid", 51 /* 24 */ "getuid",
52 /* 25 */ "geteuid", 52 /* 25 */ "geteuid",
53 /* 26 */ "ptrace", 53 /* 26 */ "ptrace",
54 /* 27 */ "recvmsg", 54 /* 27 */ "recvmsg",
55 /* 28 */ "sendmsg", 55 /* 28 */ "sendmsg",
56 /* 29 */ "recvfrom", 56 /* 29 */ "recvfrom",
57 /* 30 */ "accept", 57 /* 30 */ "accept",
58 /* 31 */ "getpeername", 58 /* 31 */ "getpeername",
59 /* 32 */ "getsockname", 59 /* 32 */ "getsockname",
60 /* 33 */ "access", 60 /* 33 */ "access",
61 /* 34 */ "chflags", 61 /* 34 */ "chflags",
62 /* 35 */ "fchflags", 62 /* 35 */ "fchflags",
63 /* 36 */ "sync", 63 /* 36 */ "sync",
64 /* 37 */ "kill", 64 /* 37 */ "kill",
65 /* 38 */ "compat_43_stat43", 65 /* 38 */ "compat_43_stat43",
66 /* 39 */ "getppid", 66 /* 39 */ "getppid",
67 /* 40 */ "compat_43_lstat43", 67 /* 40 */ "compat_43_lstat43",
68 /* 41 */ "dup", 68 /* 41 */ "dup",
69 /* 42 */ "pipe", 69 /* 42 */ "pipe",
70 /* 43 */ "getegid", 70 /* 43 */ "getegid",
71 /* 44 */ "profil", 71 /* 44 */ "profil",
72 /* 45 */ "ktrace", 72 /* 45 */ "ktrace",
73 /* 46 */ "compat_13_sigaction13", 73 /* 46 */ "compat_13_sigaction13",
74 /* 47 */ "getgid", 74 /* 47 */ "getgid",
75 /* 48 */ "compat_13_sigprocmask13", 75 /* 48 */ "compat_13_sigprocmask13",
76 /* 49 */ "__getlogin", 76 /* 49 */ "__getlogin",
77 /* 50 */ "__setlogin", 77 /* 50 */ "__setlogin",
78 /* 51 */ "acct", 78 /* 51 */ "acct",
79 /* 52 */ "compat_13_sigpending13", 79 /* 52 */ "compat_13_sigpending13",
80 /* 53 */ "compat_13_sigaltstack13", 80 /* 53 */ "compat_13_sigaltstack13",
81 /* 54 */ "ioctl", 81 /* 54 */ "ioctl",
82 /* 55 */ "compat_12_oreboot", 82 /* 55 */ "compat_12_oreboot",
83 /* 56 */ "revoke", 83 /* 56 */ "revoke",
84 /* 57 */ "symlink", 84 /* 57 */ "symlink",
85 /* 58 */ "readlink", 85 /* 58 */ "readlink",
86 /* 59 */ "execve", 86 /* 59 */ "execve",
87 /* 60 */ "umask", 87 /* 60 */ "umask",
88 /* 61 */ "chroot", 88 /* 61 */ "chroot",
89 /* 62 */ "compat_43_fstat43", 89 /* 62 */ "compat_43_fstat43",
90 /* 63 */ "compat_43_ogetkerninfo", 90 /* 63 */ "compat_43_ogetkerninfo",
91 /* 64 */ "compat_43_ogetpagesize", 91 /* 64 */ "compat_43_ogetpagesize",
92 /* 65 */ "compat_12_msync", 92 /* 65 */ "compat_12_msync",
93 /* 66 */ "vfork", 93 /* 66 */ "vfork",
94 /* 67 */ "#67 (obsolete vread)", 94 /* 67 */ "#67 (obsolete vread)",
95 /* 68 */ "#68 (obsolete vwrite)", 95 /* 68 */ "#68 (obsolete vwrite)",
96 /* 69 */ "sbrk", 96 /* 69 */ "sbrk",
97 /* 70 */ "sstk", 97 /* 70 */ "sstk",
98 /* 71 */ "compat_43_ommap", 98 /* 71 */ "compat_43_ommap",
99 /* 72 */ "vadvise", 99 /* 72 */ "vadvise",
100 /* 73 */ "munmap", 100 /* 73 */ "munmap",
101 /* 74 */ "mprotect", 101 /* 74 */ "mprotect",
102 /* 75 */ "madvise", 102 /* 75 */ "madvise",
103 /* 76 */ "#76 (obsolete vhangup)", 103 /* 76 */ "#76 (obsolete vhangup)",
104 /* 77 */ "#77 (obsolete vlimit)", 104 /* 77 */ "#77 (obsolete vlimit)",
105 /* 78 */ "mincore", 105 /* 78 */ "mincore",
106 /* 79 */ "getgroups", 106 /* 79 */ "getgroups",
107 /* 80 */ "setgroups", 107 /* 80 */ "setgroups",
108 /* 81 */ "getpgrp", 108 /* 81 */ "getpgrp",
109 /* 82 */ "setpgid", 109 /* 82 */ "setpgid",
110 /* 83 */ "compat_50_setitimer", 110 /* 83 */ "compat_50_setitimer",
111 /* 84 */ "compat_43_owait", 111 /* 84 */ "compat_43_owait",
112 /* 85 */ "compat_12_oswapon", 112 /* 85 */ "compat_12_oswapon",
113 /* 86 */ "compat_50_getitimer", 113 /* 86 */ "compat_50_getitimer",
114 /* 87 */ "compat_43_ogethostname", 114 /* 87 */ "compat_43_ogethostname",
115 /* 88 */ "compat_43_osethostname", 115 /* 88 */ "compat_43_osethostname",
116 /* 89 */ "compat_43_ogetdtablesize", 116 /* 89 */ "compat_43_ogetdtablesize",
117 /* 90 */ "dup2", 117 /* 90 */ "dup2",
118 /* 91 */ "#91 (unimplemented getdopt)", 118 /* 91 */ "#91 (unimplemented getdopt)",
119 /* 92 */ "fcntl", 119 /* 92 */ "fcntl",
120 /* 93 */ "compat_50_select", 120 /* 93 */ "compat_50_select",
121 /* 94 */ "#94 (unimplemented setdopt)", 121 /* 94 */ "#94 (unimplemented setdopt)",
122 /* 95 */ "fsync", 122 /* 95 */ "fsync",
123 /* 96 */ "setpriority", 123 /* 96 */ "setpriority",
124 /* 97 */ "compat_30_socket", 124 /* 97 */ "compat_30_socket",
125 /* 98 */ "connect", 125 /* 98 */ "connect",
126 /* 99 */ "compat_43_oaccept", 126 /* 99 */ "compat_43_oaccept",
127 /* 100 */ "getpriority", 127 /* 100 */ "getpriority",
128 /* 101 */ "compat_43_osend", 128 /* 101 */ "compat_43_osend",
129 /* 102 */ "compat_43_orecv", 129 /* 102 */ "compat_43_orecv",
130 /* 103 */ "compat_13_sigreturn13", 130 /* 103 */ "compat_13_sigreturn13",
131 /* 104 */ "bind", 131 /* 104 */ "bind",
132 /* 105 */ "setsockopt", 132 /* 105 */ "setsockopt",
133 /* 106 */ "listen", 133 /* 106 */ "listen",
134 /* 107 */ "#107 (obsolete vtimes)", 134 /* 107 */ "#107 (obsolete vtimes)",
135 /* 108 */ "compat_43_osigvec", 135 /* 108 */ "compat_43_osigvec",
136 /* 109 */ "compat_43_osigblock", 136 /* 109 */ "compat_43_osigblock",
137 /* 110 */ "compat_43_osigsetmask", 137 /* 110 */ "compat_43_osigsetmask",
138 /* 111 */ "compat_13_sigsuspend13", 138 /* 111 */ "compat_13_sigsuspend13",
139 /* 112 */ "compat_43_osigstack", 139 /* 112 */ "compat_43_osigstack",
140 /* 113 */ "compat_43_orecvmsg", 140 /* 113 */ "compat_43_orecvmsg",
141 /* 114 */ "compat_43_osendmsg", 141 /* 114 */ "compat_43_osendmsg",
142 /* 115 */ "#115 (obsolete vtrace)", 142 /* 115 */ "#115 (obsolete vtrace)",
143 /* 116 */ "compat_50_gettimeofday", 143 /* 116 */ "compat_50_gettimeofday",
144 /* 117 */ "compat_50_getrusage", 144 /* 117 */ "compat_50_getrusage",
145 /* 118 */ "getsockopt", 145 /* 118 */ "getsockopt",
146 /* 119 */ "#119 (obsolete resuba)", 146 /* 119 */ "#119 (obsolete resuba)",
147 /* 120 */ "readv", 147 /* 120 */ "readv",
148 /* 121 */ "writev", 148 /* 121 */ "writev",
149 /* 122 */ "compat_50_settimeofday", 149 /* 122 */ "compat_50_settimeofday",
150 /* 123 */ "fchown", 150 /* 123 */ "fchown",
151 /* 124 */ "fchmod", 151 /* 124 */ "fchmod",
152 /* 125 */ "compat_43_orecvfrom", 152 /* 125 */ "compat_43_orecvfrom",
153 /* 126 */ "setreuid", 153 /* 126 */ "setreuid",
154 /* 127 */ "setregid", 154 /* 127 */ "setregid",
155 /* 128 */ "rename", 155 /* 128 */ "rename",
156 /* 129 */ "compat_43_otruncate", 156 /* 129 */ "compat_43_otruncate",
157 /* 130 */ "compat_43_oftruncate", 157 /* 130 */ "compat_43_oftruncate",
158 /* 131 */ "flock", 158 /* 131 */ "flock",
159 /* 132 */ "mkfifo", 159 /* 132 */ "mkfifo",
160 /* 133 */ "sendto", 160 /* 133 */ "sendto",
161 /* 134 */ "shutdown", 161 /* 134 */ "shutdown",
162 /* 135 */ "socketpair", 162 /* 135 */ "socketpair",
163 /* 136 */ "mkdir", 163 /* 136 */ "mkdir",
164 /* 137 */ "rmdir", 164 /* 137 */ "rmdir",
165 /* 138 */ "compat_50_utimes", 165 /* 138 */ "compat_50_utimes",
166 /* 139 */ "#139 (obsolete 4.2 sigreturn)", 166 /* 139 */ "#139 (obsolete 4.2 sigreturn)",
167 /* 140 */ "compat_50_adjtime", 167 /* 140 */ "compat_50_adjtime",
168 /* 141 */ "compat_43_ogetpeername", 168 /* 141 */ "compat_43_ogetpeername",
169 /* 142 */ "compat_43_ogethostid", 169 /* 142 */ "compat_43_ogethostid",
170 /* 143 */ "compat_43_osethostid", 170 /* 143 */ "compat_43_osethostid",
171 /* 144 */ "compat_43_ogetrlimit", 171 /* 144 */ "compat_43_ogetrlimit",
172 /* 145 */ "compat_43_osetrlimit", 172 /* 145 */ "compat_43_osetrlimit",
173 /* 146 */ "compat_43_okillpg", 173 /* 146 */ "compat_43_okillpg",
174 /* 147 */ "setsid", 174 /* 147 */ "setsid",
175 /* 148 */ "quotactl", 175 /* 148 */ "quotactl",
176 /* 149 */ "compat_43_oquota", 176 /* 149 */ "compat_43_oquota",
177 /* 150 */ "compat_43_ogetsockname", 177 /* 150 */ "compat_43_ogetsockname",
178 /* 151 */ "#151 (unimplemented)", 178 /* 151 */ "#151 (unimplemented)",
179 /* 152 */ "#152 (unimplemented)", 179 /* 152 */ "#152 (unimplemented)",
180 /* 153 */ "#153 (unimplemented)", 180 /* 153 */ "#153 (unimplemented)",
181 /* 154 */ "#154 (unimplemented)", 181 /* 154 */ "#154 (unimplemented)",
182 /* 155 */ "nfssvc", 182 /* 155 */ "nfssvc",
183 /* 156 */ "compat_43_ogetdirentries", 183 /* 156 */ "compat_43_ogetdirentries",
184 /* 157 */ "compat_20_statfs", 184 /* 157 */ "compat_20_statfs",
185 /* 158 */ "compat_20_fstatfs", 185 /* 158 */ "compat_20_fstatfs",
186 /* 159 */ "#159 (unimplemented)", 186 /* 159 */ "#159 (unimplemented)",
187 /* 160 */ "#160 (unimplemented)", 187 /* 160 */ "#160 (unimplemented)",
188 /* 161 */ "compat_30_getfh", 188 /* 161 */ "compat_30_getfh",
189 /* 162 */ "compat_09_ogetdomainname", 189 /* 162 */ "compat_09_ogetdomainname",
190 /* 163 */ "compat_09_osetdomainname", 190 /* 163 */ "compat_09_osetdomainname",
191 /* 164 */ "compat_09_ouname", 191 /* 164 */ "compat_09_ouname",
192 /* 165 */ "sysarch", 192 /* 165 */ "sysarch",
193 /* 166 */ "#166 (unimplemented)", 193 /* 166 */ "#166 (unimplemented)",
194 /* 167 */ "#167 (unimplemented)", 194 /* 167 */ "#167 (unimplemented)",
195 /* 168 */ "#168 (unimplemented)", 195 /* 168 */ "#168 (unimplemented)",
196#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 196#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
197 /* 169 */ "compat_10_osemsys", 197 /* 169 */ "compat_10_osemsys",
198#else 198#else
199 /* 169 */ "#169 (excluded 1.0 semsys)", 199 /* 169 */ "#169 (excluded 1.0 semsys)",
200#endif 200#endif
201#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64) 201#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
202 /* 170 */ "compat_10_omsgsys", 202 /* 170 */ "compat_10_omsgsys",
203#else 203#else
204 /* 170 */ "#170 (excluded 1.0 msgsys)", 204 /* 170 */ "#170 (excluded 1.0 msgsys)",
205#endif 205#endif
206#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 206#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
207 /* 171 */ "compat_10_oshmsys", 207 /* 171 */ "compat_10_oshmsys",
208#else 208#else
209 /* 171 */ "#171 (excluded 1.0 shmsys)", 209 /* 171 */ "#171 (excluded 1.0 shmsys)",
210#endif 210#endif
211 /* 172 */ "#172 (unimplemented)", 211 /* 172 */ "#172 (unimplemented)",
212 /* 173 */ "pread", 212 /* 173 */ "pread",
213 /* 174 */ "pwrite", 213 /* 174 */ "pwrite",
214 /* 175 */ "compat_30_ntp_gettime", 214 /* 175 */ "compat_30_ntp_gettime",
215#if defined(NTP) || !defined(_KERNEL_OPT) 215#if defined(NTP) || !defined(_KERNEL_OPT)
216 /* 176 */ "ntp_adjtime", 216 /* 176 */ "ntp_adjtime",
217#else 217#else
218 /* 176 */ "#176 (excluded ntp_adjtime)", 218 /* 176 */ "#176 (excluded ntp_adjtime)",
219#endif 219#endif
220 /* 177 */ "#177 (unimplemented)", 220 /* 177 */ "#177 (unimplemented)",
221 /* 178 */ "#178 (unimplemented)", 221 /* 178 */ "#178 (unimplemented)",
222 /* 179 */ "#179 (unimplemented)", 222 /* 179 */ "#179 (unimplemented)",
223 /* 180 */ "#180 (unimplemented)", 223 /* 180 */ "#180 (unimplemented)",
224 /* 181 */ "setgid", 224 /* 181 */ "setgid",
225 /* 182 */ "setegid", 225 /* 182 */ "setegid",
226 /* 183 */ "seteuid", 226 /* 183 */ "seteuid",
227#if defined(LFS) || !defined(_KERNEL) 227#if defined(LFS) || !defined(_KERNEL)
228 /* 184 */ "lfs_bmapv", 228 /* 184 */ "lfs_bmapv",
229 /* 185 */ "lfs_markv", 229 /* 185 */ "lfs_markv",
230 /* 186 */ "lfs_segclean", 230 /* 186 */ "lfs_segclean",
231 /* 187 */ "compat_50_lfs_segwait", 231 /* 187 */ "compat_50_lfs_segwait",
232#else 232#else
233 /* 184 */ "#184 (excluded lfs_bmapv)", 233 /* 184 */ "#184 (excluded lfs_bmapv)",
234 /* 185 */ "#185 (excluded lfs_markv)", 234 /* 185 */ "#185 (excluded lfs_markv)",
235 /* 186 */ "#186 (excluded lfs_segclean)", 235 /* 186 */ "#186 (excluded lfs_segclean)",
236 /* 187 */ "#187 (excluded lfs_segwait)", 236 /* 187 */ "#187 (excluded lfs_segwait)",
237#endif 237#endif
238 /* 188 */ "compat_12_stat12", 238 /* 188 */ "compat_12_stat12",
239 /* 189 */ "compat_12_fstat12", 239 /* 189 */ "compat_12_fstat12",
240 /* 190 */ "compat_12_lstat12", 240 /* 190 */ "compat_12_lstat12",
241 /* 191 */ "pathconf", 241 /* 191 */ "pathconf",
242 /* 192 */ "fpathconf", 242 /* 192 */ "fpathconf",
243 /* 193 */ "#193 (unimplemented)", 243 /* 193 */ "#193 (unimplemented)",
244 /* 194 */ "getrlimit", 244 /* 194 */ "getrlimit",
245 /* 195 */ "setrlimit", 245 /* 195 */ "setrlimit",
246 /* 196 */ "compat_12_getdirentries", 246 /* 196 */ "compat_12_getdirentries",
247 /* 197 */ "mmap", 247 /* 197 */ "mmap",
248 /* 198 */ "__syscall", 248 /* 198 */ "__syscall",
249 /* 199 */ "lseek", 249 /* 199 */ "lseek",
250 /* 200 */ "truncate", 250 /* 200 */ "truncate",
251 /* 201 */ "ftruncate", 251 /* 201 */ "ftruncate",
252 /* 202 */ "__sysctl", 252 /* 202 */ "__sysctl",
253 /* 203 */ "mlock", 253 /* 203 */ "mlock",
254 /* 204 */ "munlock", 254 /* 204 */ "munlock",
255 /* 205 */ "undelete", 255 /* 205 */ "undelete",
256 /* 206 */ "compat_50_futimes", 256 /* 206 */ "compat_50_futimes",
257 /* 207 */ "getpgid", 257 /* 207 */ "getpgid",
258 /* 208 */ "reboot", 258 /* 208 */ "reboot",
259 /* 209 */ "poll", 259 /* 209 */ "poll",
260 /* 210 */ "#210 (unimplemented)", 260 /* 210 */ "#210 (unimplemented)",
261 /* 211 */ "#211 (unimplemented)", 261 /* 211 */ "#211 (unimplemented)",
262 /* 212 */ "#212 (unimplemented)", 262 /* 212 */ "#212 (unimplemented)",
263 /* 213 */ "#213 (unimplemented)", 263 /* 213 */ "#213 (unimplemented)",
264 /* 214 */ "#214 (unimplemented)", 264 /* 214 */ "#214 (unimplemented)",
265 /* 215 */ "#215 (unimplemented)", 265 /* 215 */ "#215 (unimplemented)",
266 /* 216 */ "#216 (unimplemented)", 266 /* 216 */ "#216 (unimplemented)",
267 /* 217 */ "#217 (unimplemented)", 267 /* 217 */ "#217 (unimplemented)",
268 /* 218 */ "#218 (unimplemented)", 268 /* 218 */ "#218 (unimplemented)",
269 /* 219 */ "#219 (unimplemented)", 269 /* 219 */ "#219 (unimplemented)",
270#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 270#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
271 /* 220 */ "compat_14___semctl", 271 /* 220 */ "compat_14___semctl",
272 /* 221 */ "semget", 272 /* 221 */ "semget",
273 /* 222 */ "semop", 273 /* 222 */ "semop",
274 /* 223 */ "semconfig", 274 /* 223 */ "semconfig",
275#else 275#else
276 /* 220 */ "#220 (excluded compat_14_semctl)", 276 /* 220 */ "#220 (excluded compat_14_semctl)",
277 /* 221 */ "#221 (excluded semget)", 277 /* 221 */ "#221 (excluded semget)",
278 /* 222 */ "#222 (excluded semop)", 278 /* 222 */ "#222 (excluded semop)",
279 /* 223 */ "#223 (excluded semconfig)", 279 /* 223 */ "#223 (excluded semconfig)",
280#endif 280#endif
281#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 281#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
282 /* 224 */ "compat_14_msgctl", 282 /* 224 */ "compat_14_msgctl",
283 /* 225 */ "msgget", 283 /* 225 */ "msgget",
284 /* 226 */ "msgsnd", 284 /* 226 */ "msgsnd",
285 /* 227 */ "msgrcv", 285 /* 227 */ "msgrcv",
286#else 286#else
287 /* 224 */ "#224 (excluded compat_14_msgctl)", 287 /* 224 */ "#224 (excluded compat_14_msgctl)",
288 /* 225 */ "#225 (excluded msgget)", 288 /* 225 */ "#225 (excluded msgget)",
289 /* 226 */ "#226 (excluded msgsnd)", 289 /* 226 */ "#226 (excluded msgsnd)",
290 /* 227 */ "#227 (excluded msgrcv)", 290 /* 227 */ "#227 (excluded msgrcv)",
291#endif 291#endif
292#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 292#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
293 /* 228 */ "shmat", 293 /* 228 */ "shmat",
294 /* 229 */ "compat_14_shmctl", 294 /* 229 */ "compat_14_shmctl",
295 /* 230 */ "shmdt", 295 /* 230 */ "shmdt",
296 /* 231 */ "shmget", 296 /* 231 */ "shmget",
297#else 297#else
298 /* 228 */ "#228 (excluded shmat)", 298 /* 228 */ "#228 (excluded shmat)",
299 /* 229 */ "#229 (excluded compat_14_shmctl)", 299 /* 229 */ "#229 (excluded compat_14_shmctl)",
300 /* 230 */ "#230 (excluded shmdt)", 300 /* 230 */ "#230 (excluded shmdt)",
301 /* 231 */ "#231 (excluded shmget)", 301 /* 231 */ "#231 (excluded shmget)",
302#endif 302#endif
303 /* 232 */ "compat_50_clock_gettime", 303 /* 232 */ "compat_50_clock_gettime",
304 /* 233 */ "compat_50_clock_settime", 304 /* 233 */ "compat_50_clock_settime",
305 /* 234 */ "compat_50_clock_getres", 305 /* 234 */ "compat_50_clock_getres",
306 /* 235 */ "timer_create", 306 /* 235 */ "timer_create",
307 /* 236 */ "timer_delete", 307 /* 236 */ "timer_delete",
308 /* 237 */ "compat_50_timer_settime", 308 /* 237 */ "compat_50_timer_settime",
309 /* 238 */ "compat_50_timer_gettime", 309 /* 238 */ "compat_50_timer_gettime",
310 /* 239 */ "timer_getoverrun", 310 /* 239 */ "timer_getoverrun",
311 /* 240 */ "compat_50_nanosleep", 311 /* 240 */ "compat_50_nanosleep",
312 /* 241 */ "fdatasync", 312 /* 241 */ "fdatasync",
313 /* 242 */ "mlockall", 313 /* 242 */ "mlockall",
314 /* 243 */ "munlockall", 314 /* 243 */ "munlockall",
315 /* 244 */ "compat_50___sigtimedwait", 315 /* 244 */ "compat_50___sigtimedwait",
316 /* 245 */ "#245 (unimplemented sys_sigqueue)", 316 /* 245 */ "#245 (unimplemented sys_sigqueue)",
317 /* 246 */ "modctl", 317 /* 246 */ "modctl",
318 /* 247 */ "_ksem_init", 318 /* 247 */ "_ksem_init",
319 /* 248 */ "_ksem_open", 319 /* 248 */ "_ksem_open",
320 /* 249 */ "_ksem_unlink", 320 /* 249 */ "_ksem_unlink",
321 /* 250 */ "_ksem_close", 321 /* 250 */ "_ksem_close",
322 /* 251 */ "_ksem_post", 322 /* 251 */ "_ksem_post",
323 /* 252 */ "_ksem_wait", 323 /* 252 */ "_ksem_wait",
324 /* 253 */ "_ksem_trywait", 324 /* 253 */ "_ksem_trywait",
325 /* 254 */ "_ksem_getvalue", 325 /* 254 */ "_ksem_getvalue",
326 /* 255 */ "_ksem_destroy", 326 /* 255 */ "_ksem_destroy",
327 /* 256 */ "#256 (unimplemented sys__ksem_timedwait)", 327 /* 256 */ "#256 (unimplemented sys__ksem_timedwait)",
328 /* 257 */ "mq_open", 328 /* 257 */ "mq_open",
329 /* 258 */ "mq_close", 329 /* 258 */ "mq_close",
330 /* 259 */ "mq_unlink", 330 /* 259 */ "mq_unlink",
331 /* 260 */ "mq_getattr", 331 /* 260 */ "mq_getattr",
332 /* 261 */ "mq_setattr", 332 /* 261 */ "mq_setattr",
333 /* 262 */ "mq_notify", 333 /* 262 */ "mq_notify",
334 /* 263 */ "mq_send", 334 /* 263 */ "mq_send",
335 /* 264 */ "mq_receive", 335 /* 264 */ "mq_receive",
336 /* 265 */ "compat_50_mq_timedsend", 336 /* 265 */ "compat_50_mq_timedsend",
337 /* 266 */ "compat_50_mq_timedreceive", 337 /* 266 */ "compat_50_mq_timedreceive",
338 /* 267 */ "#267 (unimplemented)", 338 /* 267 */ "#267 (unimplemented)",
339 /* 268 */ "#268 (unimplemented)", 339 /* 268 */ "#268 (unimplemented)",
340 /* 269 */ "#269 (unimplemented)", 340 /* 269 */ "#269 (unimplemented)",
341 /* 270 */ "__posix_rename", 341 /* 270 */ "__posix_rename",
342 /* 271 */ "swapctl", 342 /* 271 */ "swapctl",
343 /* 272 */ "compat_30_getdents", 343 /* 272 */ "compat_30_getdents",
344 /* 273 */ "minherit", 344 /* 273 */ "minherit",
345 /* 274 */ "lchmod", 345 /* 274 */ "lchmod",
346 /* 275 */ "lchown", 346 /* 275 */ "lchown",
347 /* 276 */ "compat_50_lutimes", 347 /* 276 */ "compat_50_lutimes",
348 /* 277 */ "__msync13", 348 /* 277 */ "__msync13",
349 /* 278 */ "compat_30___stat13", 349 /* 278 */ "compat_30___stat13",
350 /* 279 */ "compat_30___fstat13", 350 /* 279 */ "compat_30___fstat13",
351 /* 280 */ "compat_30___lstat13", 351 /* 280 */ "compat_30___lstat13",
352 /* 281 */ "__sigaltstack14", 352 /* 281 */ "__sigaltstack14",
353 /* 282 */ "__vfork14", 353 /* 282 */ "__vfork14",
354 /* 283 */ "__posix_chown", 354 /* 283 */ "__posix_chown",
355 /* 284 */ "__posix_fchown", 355 /* 284 */ "__posix_fchown",
356 /* 285 */ "__posix_lchown", 356 /* 285 */ "__posix_lchown",
357 /* 286 */ "getsid", 357 /* 286 */ "getsid",
358 /* 287 */ "__clone", 358 /* 287 */ "__clone",
359 /* 288 */ "fktrace", 359 /* 288 */ "fktrace",
360 /* 289 */ "preadv", 360 /* 289 */ "preadv",
361 /* 290 */ "pwritev", 361 /* 290 */ "pwritev",
362 /* 291 */ "compat_16___sigaction14", 362 /* 291 */ "compat_16___sigaction14",
363 /* 292 */ "__sigpending14", 363 /* 292 */ "__sigpending14",
364 /* 293 */ "__sigprocmask14", 364 /* 293 */ "__sigprocmask14",
365 /* 294 */ "__sigsuspend14", 365 /* 294 */ "__sigsuspend14",
366 /* 295 */ "compat_16___sigreturn14", 366 /* 295 */ "compat_16___sigreturn14",
367 /* 296 */ "__getcwd", 367 /* 296 */ "__getcwd",
368 /* 297 */ "fchroot", 368 /* 297 */ "fchroot",
369 /* 298 */ "compat_30_fhopen", 369 /* 298 */ "compat_30_fhopen",
370 /* 299 */ "compat_30_fhstat", 370 /* 299 */ "compat_30_fhstat",
371 /* 300 */ "compat_20_fhstatfs", 371 /* 300 */ "compat_20_fhstatfs",
372#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 372#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
373 /* 301 */ "compat_50_____semctl13", 373 /* 301 */ "compat_50_____semctl13",
374#else 374#else
375 /* 301 */ "#301 (excluded ____semctl13)", 375 /* 301 */ "#301 (excluded ____semctl13)",
376#endif 376#endif
377#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 377#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
378 /* 302 */ "compat_50___msgctl13", 378 /* 302 */ "compat_50___msgctl13",
379#else 379#else
380 /* 302 */ "#302 (excluded __msgctl13)", 380 /* 302 */ "#302 (excluded __msgctl13)",
381#endif 381#endif
382#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 382#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
383 /* 303 */ "compat_50___shmctl13", 383 /* 303 */ "compat_50___shmctl13",
384#else 384#else
385 /* 303 */ "#303 (excluded __shmctl13)", 385 /* 303 */ "#303 (excluded __shmctl13)",
386#endif 386#endif
387 /* 304 */ "lchflags", 387 /* 304 */ "lchflags",
388 /* 305 */ "issetugid", 388 /* 305 */ "issetugid",
389 /* 306 */ "utrace", 389 /* 306 */ "utrace",
390 /* 307 */ "getcontext", 390 /* 307 */ "getcontext",
391 /* 308 */ "setcontext", 391 /* 308 */ "setcontext",
392 /* 309 */ "_lwp_create", 392 /* 309 */ "_lwp_create",
393 /* 310 */ "_lwp_exit", 393 /* 310 */ "_lwp_exit",
394 /* 311 */ "_lwp_self", 394 /* 311 */ "_lwp_self",
395 /* 312 */ "_lwp_wait", 395 /* 312 */ "_lwp_wait",
396 /* 313 */ "_lwp_suspend", 396 /* 313 */ "_lwp_suspend",
397 /* 314 */ "_lwp_continue", 397 /* 314 */ "_lwp_continue",
398 /* 315 */ "_lwp_wakeup", 398 /* 315 */ "_lwp_wakeup",
399 /* 316 */ "_lwp_getprivate", 399 /* 316 */ "_lwp_getprivate",
400 /* 317 */ "_lwp_setprivate", 400 /* 317 */ "_lwp_setprivate",
401 /* 318 */ "_lwp_kill", 401 /* 318 */ "_lwp_kill",
402 /* 319 */ "_lwp_detach", 402 /* 319 */ "_lwp_detach",
403 /* 320 */ "compat_50__lwp_park", 403 /* 320 */ "compat_50__lwp_park",
404 /* 321 */ "_lwp_unpark", 404 /* 321 */ "_lwp_unpark",
405 /* 322 */ "_lwp_unpark_all", 405 /* 322 */ "_lwp_unpark_all",
406 /* 323 */ "_lwp_setname", 406 /* 323 */ "_lwp_setname",
407 /* 324 */ "_lwp_getname", 407 /* 324 */ "_lwp_getname",
408 /* 325 */ "_lwp_ctl", 408 /* 325 */ "_lwp_ctl",
409 /* 326 */ "#326 (unimplemented)", 409 /* 326 */ "#326 (unimplemented)",
410 /* 327 */ "#327 (unimplemented)", 410 /* 327 */ "#327 (unimplemented)",
411 /* 328 */ "#328 (unimplemented)", 411 /* 328 */ "#328 (unimplemented)",
412 /* 329 */ "#329 (unimplemented)", 412 /* 329 */ "#329 (unimplemented)",
413 /* 330 */ "sa_register", 413 /* 330 */ "sa_register",
414 /* 331 */ "sa_stacks", 414 /* 331 */ "sa_stacks",
415 /* 332 */ "sa_enable", 415 /* 332 */ "sa_enable",
416 /* 333 */ "sa_setconcurrency", 416 /* 333 */ "sa_setconcurrency",
417 /* 334 */ "sa_yield", 417 /* 334 */ "sa_yield",
418 /* 335 */ "sa_preempt", 418 /* 335 */ "sa_preempt",
419 /* 336 */ "#336 (obsolete sys_sa_unblockyield)", 419 /* 336 */ "#336 (obsolete sys_sa_unblockyield)",
420 /* 337 */ "#337 (unimplemented)", 420 /* 337 */ "#337 (unimplemented)",
421 /* 338 */ "#338 (unimplemented)", 421 /* 338 */ "#338 (unimplemented)",
422 /* 339 */ "#339 (unimplemented)", 422 /* 339 */ "#339 (unimplemented)",
423 /* 340 */ "__sigaction_sigtramp", 423 /* 340 */ "__sigaction_sigtramp",
424 /* 341 */ "pmc_get_info", 424 /* 341 */ "pmc_get_info",
425 /* 342 */ "pmc_control", 425 /* 342 */ "pmc_control",
426 /* 343 */ "rasctl", 426 /* 343 */ "rasctl",
427 /* 344 */ "kqueue", 427 /* 344 */ "kqueue",
428 /* 345 */ "compat_50_kevent", 428 /* 345 */ "compat_50_kevent",
429 /* 346 */ "_sched_setparam", 429 /* 346 */ "_sched_setparam",
430 /* 347 */ "_sched_getparam", 430 /* 347 */ "_sched_getparam",
431 /* 348 */ "_sched_setaffinity", 431 /* 348 */ "_sched_setaffinity",
432 /* 349 */ "_sched_getaffinity", 432 /* 349 */ "_sched_getaffinity",
433 /* 350 */ "sched_yield", 433 /* 350 */ "sched_yield",
434 /* 351 */ "#351 (unimplemented)", 434 /* 351 */ "#351 (unimplemented)",
435 /* 352 */ "#352 (unimplemented)", 435 /* 352 */ "#352 (unimplemented)",
436 /* 353 */ "#353 (unimplemented)", 436 /* 353 */ "#353 (unimplemented)",
437 /* 354 */ "fsync_range", 437 /* 354 */ "fsync_range",
438 /* 355 */ "uuidgen", 438 /* 355 */ "uuidgen",
439 /* 356 */ "getvfsstat", 439 /* 356 */ "getvfsstat",
440 /* 357 */ "statvfs1", 440 /* 357 */ "statvfs1",
441 /* 358 */ "fstatvfs1", 441 /* 358 */ "fstatvfs1",
442 /* 359 */ "compat_30_fhstatvfs1", 442 /* 359 */ "compat_30_fhstatvfs1",
443 /* 360 */ "extattrctl", 443 /* 360 */ "extattrctl",
444 /* 361 */ "extattr_set_file", 444 /* 361 */ "extattr_set_file",
445 /* 362 */ "extattr_get_file", 445 /* 362 */ "extattr_get_file",
446 /* 363 */ "extattr_delete_file", 446 /* 363 */ "extattr_delete_file",
447 /* 364 */ "extattr_set_fd", 447 /* 364 */ "extattr_set_fd",
448 /* 365 */ "extattr_get_fd", 448 /* 365 */ "extattr_get_fd",
449 /* 366 */ "extattr_delete_fd", 449 /* 366 */ "extattr_delete_fd",
450 /* 367 */ "extattr_set_link", 450 /* 367 */ "extattr_set_link",
451 /* 368 */ "extattr_get_link", 451 /* 368 */ "extattr_get_link",
452 /* 369 */ "extattr_delete_link", 452 /* 369 */ "extattr_delete_link",
453 /* 370 */ "extattr_list_fd", 453 /* 370 */ "extattr_list_fd",
454 /* 371 */ "extattr_list_file", 454 /* 371 */ "extattr_list_file",
455 /* 372 */ "extattr_list_link", 455 /* 372 */ "extattr_list_link",
456 /* 373 */ "compat_50_pselect", 456 /* 373 */ "compat_50_pselect",
457 /* 374 */ "compat_50_pollts", 457 /* 374 */ "compat_50_pollts",
458 /* 375 */ "setxattr", 458 /* 375 */ "setxattr",
459 /* 376 */ "lsetxattr", 459 /* 376 */ "lsetxattr",
460 /* 377 */ "fsetxattr", 460 /* 377 */ "fsetxattr",
461 /* 378 */ "getxattr", 461 /* 378 */ "getxattr",
462 /* 379 */ "lgetxattr", 462 /* 379 */ "lgetxattr",
463 /* 380 */ "fgetxattr", 463 /* 380 */ "fgetxattr",
464 /* 381 */ "listxattr", 464 /* 381 */ "listxattr",
465 /* 382 */ "llistxattr", 465 /* 382 */ "llistxattr",
466 /* 383 */ "flistxattr", 466 /* 383 */ "flistxattr",
467 /* 384 */ "removexattr", 467 /* 384 */ "removexattr",
468 /* 385 */ "lremovexattr", 468 /* 385 */ "lremovexattr",
469 /* 386 */ "fremovexattr", 469 /* 386 */ "fremovexattr",
470 /* 387 */ "compat_50___stat30", 470 /* 387 */ "compat_50___stat30",
471 /* 388 */ "compat_50___fstat30", 471 /* 388 */ "compat_50___fstat30",
472 /* 389 */ "compat_50___lstat30", 472 /* 389 */ "compat_50___lstat30",
473 /* 390 */ "__getdents30", 473 /* 390 */ "__getdents30",
474 /* 391 */ "#391 (ignored old posix_fadvise)", 474 /* 391 */ "#391 (ignored old posix_fadvise)",
475 /* 392 */ "compat_30___fhstat30", 475 /* 392 */ "compat_30___fhstat30",
476 /* 393 */ "compat_50___ntp_gettime30", 476 /* 393 */ "compat_50___ntp_gettime30",
477 /* 394 */ "__socket30", 477 /* 394 */ "__socket30",
478 /* 395 */ "__getfh30", 478 /* 395 */ "__getfh30",
479 /* 396 */ "__fhopen40", 479 /* 396 */ "__fhopen40",
480 /* 397 */ "__fhstatvfs140", 480 /* 397 */ "__fhstatvfs140",
481 /* 398 */ "compat_50___fhstat40", 481 /* 398 */ "compat_50___fhstat40",
482 /* 399 */ "aio_cancel", 482 /* 399 */ "aio_cancel",
483 /* 400 */ "aio_error", 483 /* 400 */ "aio_error",
484 /* 401 */ "aio_fsync", 484 /* 401 */ "aio_fsync",
485 /* 402 */ "aio_read", 485 /* 402 */ "aio_read",
486 /* 403 */ "aio_return", 486 /* 403 */ "aio_return",
487 /* 404 */ "compat_50_aio_suspend", 487 /* 404 */ "compat_50_aio_suspend",
488 /* 405 */ "aio_write", 488 /* 405 */ "aio_write",
489 /* 406 */ "lio_listio", 489 /* 406 */ "lio_listio",
490 /* 407 */ "#407 (unimplemented)", 490 /* 407 */ "#407 (unimplemented)",
491 /* 408 */ "#408 (unimplemented)", 491 /* 408 */ "#408 (unimplemented)",
492 /* 409 */ "#409 (unimplemented)", 492 /* 409 */ "#409 (unimplemented)",
493 /* 410 */ "__mount50", 493 /* 410 */ "__mount50",
494 /* 411 */ "mremap", 494 /* 411 */ "mremap",
495 /* 412 */ "pset_create", 495 /* 412 */ "pset_create",
496 /* 413 */ "pset_destroy", 496 /* 413 */ "pset_destroy",
497 /* 414 */ "pset_assign", 497 /* 414 */ "pset_assign",
498 /* 415 */ "_pset_bind", 498 /* 415 */ "_pset_bind",
499 /* 416 */ "__posix_fadvise50", 499 /* 416 */ "__posix_fadvise50",
500 /* 417 */ "__select50", 500 /* 417 */ "__select50",
501 /* 418 */ "__gettimeofday50", 501 /* 418 */ "__gettimeofday50",
502 /* 419 */ "__settimeofday50", 502 /* 419 */ "__settimeofday50",
503 /* 420 */ "__utimes50", 503 /* 420 */ "__utimes50",
504 /* 421 */ "__adjtime50", 504 /* 421 */ "__adjtime50",
505#if defined(LFS) || !defined(_KERNEL) 505#if defined(LFS) || !defined(_KERNEL)
506 /* 422 */ "__lfs_segwait50", 506 /* 422 */ "__lfs_segwait50",
507#else 507#else
508 /* 422 */ "#422 (excluded __lfs_segwait50)", 508 /* 422 */ "#422 (excluded __lfs_segwait50)",
509#endif 509#endif
510 /* 423 */ "__futimes50", 510 /* 423 */ "__futimes50",
511 /* 424 */ "__lutimes50", 511 /* 424 */ "__lutimes50",
512 /* 425 */ "__setitimer50", 512 /* 425 */ "__setitimer50",
513 /* 426 */ "__getitimer50", 513 /* 426 */ "__getitimer50",
514 /* 427 */ "__clock_gettime50", 514 /* 427 */ "__clock_gettime50",
515 /* 428 */ "__clock_settime50", 515 /* 428 */ "__clock_settime50",
516 /* 429 */ "__clock_getres50", 516 /* 429 */ "__clock_getres50",
517 /* 430 */ "__nanosleep50", 517 /* 430 */ "__nanosleep50",
518 /* 431 */ "____sigtimedwait50", 518 /* 431 */ "____sigtimedwait50",
519 /* 432 */ "__mq_timedsend50", 519 /* 432 */ "__mq_timedsend50",
520 /* 433 */ "__mq_timedreceive50", 520 /* 433 */ "__mq_timedreceive50",
521 /* 434 */ "___lwp_park50", 521 /* 434 */ "___lwp_park50",
522 /* 435 */ "__kevent50", 522 /* 435 */ "__kevent50",
523 /* 436 */ "__pselect50", 523 /* 436 */ "__pselect50",
524 /* 437 */ "__pollts50", 524 /* 437 */ "__pollts50",
525 /* 438 */ "__aio_suspend50", 525 /* 438 */ "__aio_suspend50",
526 /* 439 */ "__stat50", 526 /* 439 */ "__stat50",
527 /* 440 */ "__fstat50", 527 /* 440 */ "__fstat50",
528 /* 441 */ "__lstat50", 528 /* 441 */ "__lstat50",
529#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 529#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
530 /* 442 */ "____semctl50", 530 /* 442 */ "____semctl50",
531#else 531#else
532 /* 442 */ "#442 (excluded ____semctl50)", 532 /* 442 */ "#442 (excluded ____semctl50)",
533#endif 533#endif
534#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 534#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
535 /* 443 */ "__shmctl50", 535 /* 443 */ "__shmctl50",
536#else 536#else
537 /* 443 */ "#443 (excluded ____shmctl50)", 537 /* 443 */ "#443 (excluded ____shmctl50)",
538#endif 538#endif
539#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 539#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
540 /* 444 */ "__msgctl50", 540 /* 444 */ "__msgctl50",
541#else 541#else
542 /* 444 */ "#444 (excluded ____msgctl50)", 542 /* 444 */ "#444 (excluded ____msgctl50)",
543#endif 543#endif
544 /* 445 */ "__getrusage50", 544 /* 445 */ "__getrusage50",
545 /* 446 */ "__timer_settime50", 545 /* 446 */ "__timer_settime50",
546 /* 447 */ "__timer_gettime50", 546 /* 447 */ "__timer_gettime50",
547#if defined(NTP) || !defined(_KERNEL_OPT) 547#if defined(NTP) || !defined(_KERNEL_OPT)
548 /* 448 */ "__ntp_gettime50", 548 /* 448 */ "__ntp_gettime50",
549#else 549#else
550 /* 448 */ "#448 (excluded ___ntp_gettime50)", 550 /* 448 */ "#448 (excluded ___ntp_gettime50)",
551#endif 551#endif
552 /* 449 */ "__wait450", 552 /* 449 */ "__wait450",
553 /* 450 */ "__mknod50", 553 /* 450 */ "__mknod50",
554 /* 451 */ "__fhstat50", 554 /* 451 */ "__fhstat50",
555}; 555};

cvs diff -r1.229 -r1.230 src/sys/sys/syscall.h (switch to unified diff)

--- src/sys/sys/syscall.h 2009/10/13 21:57:53 1.229
+++ src/sys/sys/syscall.h 2009/12/14 00:53:32 1.230
@@ -1,1006 +1,1006 @@ @@ -1,1006 +1,1006 @@
1/* $NetBSD: syscall.h,v 1.229 2009/10/13 21:57:53 pooka Exp $ */ 1/* $NetBSD: syscall.h,v 1.230 2009/12/14 00:53:32 matt Exp $ */
2 2
3/* 3/*
4 * System call numbers. 4 * System call numbers.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.229 2009/07/21 23:59:00 pooka Exp 7 * created from NetBSD: syscalls.master,v 1.231 2009/11/26 17:20:20 pooka Exp
8 */ 8 */
9 9
10#ifndef _SYS_SYSCALL_H_ 10#ifndef _SYS_SYSCALL_H_
11#define _SYS_SYSCALL_H_ 11#define _SYS_SYSCALL_H_
12 12
13#define SYS_MAXSYSARGS 8 13#define SYS_MAXSYSARGS 8
14 14
15/* syscall: "syscall" ret: "int" args: "int" "..." */ 15/* syscall: "syscall" ret: "int" args: "int" "..." */
16#define SYS_syscall 0 16#define SYS_syscall 0
17 17
18/* syscall: "exit" ret: "void" args: "int" */ 18/* syscall: "exit" ret: "void" args: "int" */
19#define SYS_exit 1 19#define SYS_exit 1
20 20
21/* syscall: "fork" ret: "int" args: */ 21/* syscall: "fork" ret: "int" args: */
22#define SYS_fork 2 22#define SYS_fork 2
23 23
24/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */ 24/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
25#define SYS_read 3 25#define SYS_read 3
26 26
27/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */ 27/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
28#define SYS_write 4 28#define SYS_write 4
29 29
30/* syscall: "open" ret: "int" args: "const char *" "int" "..." */ 30/* syscall: "open" ret: "int" args: "const char *" "int" "..." */
31#define SYS_open 5 31#define SYS_open 5
32 32
33/* syscall: "close" ret: "int" args: "int" */ 33/* syscall: "close" ret: "int" args: "int" */
34#define SYS_close 6 34#define SYS_close 6
35 35
36/* syscall: "compat_50_wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */ 36/* syscall: "compat_50_wait4" ret: "int" args: "int" "int *" "int" "struct rusage50 *" */
37#define SYS_compat_50_wait4 7 37#define SYS_compat_50_wait4 7
38 38
39/* syscall: "compat_43_ocreat" ret: "int" args: "const char *" "mode_t" */ 39/* syscall: "compat_43_ocreat" ret: "int" args: "const char *" "mode_t" */
40#define SYS_compat_43_ocreat 8 40#define SYS_compat_43_ocreat 8
41 41
42/* syscall: "link" ret: "int" args: "const char *" "const char *" */ 42/* syscall: "link" ret: "int" args: "const char *" "const char *" */
43#define SYS_link 9 43#define SYS_link 9
44 44
45/* syscall: "unlink" ret: "int" args: "const char *" */ 45/* syscall: "unlink" ret: "int" args: "const char *" */
46#define SYS_unlink 10 46#define SYS_unlink 10
47 47
48 /* 11 is obsolete execv */ 48 /* 11 is obsolete execv */
49/* syscall: "chdir" ret: "int" args: "const char *" */ 49/* syscall: "chdir" ret: "int" args: "const char *" */
50#define SYS_chdir 12 50#define SYS_chdir 12
51 51
52/* syscall: "fchdir" ret: "int" args: "int" */ 52/* syscall: "fchdir" ret: "int" args: "int" */
53#define SYS_fchdir 13 53#define SYS_fchdir 13
54 54
55/* syscall: "compat_50_mknod" ret: "int" args: "const char *" "mode_t" "uint32_t" */ 55/* syscall: "compat_50_mknod" ret: "int" args: "const char *" "mode_t" "uint32_t" */
56#define SYS_compat_50_mknod 14 56#define SYS_compat_50_mknod 14
57 57
58/* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */ 58/* syscall: "chmod" ret: "int" args: "const char *" "mode_t" */
59#define SYS_chmod 15 59#define SYS_chmod 15
60 60
61/* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 61/* syscall: "chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
62#define SYS_chown 16 62#define SYS_chown 16
63 63
64/* syscall: "break" ret: "int" args: "char *" */ 64/* syscall: "break" ret: "int" args: "char *" */
65#define SYS_break 17 65#define SYS_break 17
66 66
67/* syscall: "compat_20_getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */ 67/* syscall: "compat_20_getfsstat" ret: "int" args: "struct statfs12 *" "long" "int" */
68#define SYS_compat_20_getfsstat 18 68#define SYS_compat_20_getfsstat 18
69 69
70/* syscall: "compat_43_olseek" ret: "long" args: "int" "long" "int" */ 70/* syscall: "compat_43_olseek" ret: "long" args: "int" "long" "int" */
71#define SYS_compat_43_olseek 19 71#define SYS_compat_43_olseek 19
72 72
73/* syscall: "getpid" ret: "pid_t" args: */ 73/* syscall: "getpid" ret: "pid_t" args: */
74#define SYS_getpid 20 74#define SYS_getpid 20
75 75
76/* syscall: "compat_40_mount" ret: "int" args: "const char *" "const char *" "int" "void *" */ 76/* syscall: "compat_40_mount" ret: "int" args: "const char *" "const char *" "int" "void *" */
77#define SYS_compat_40_mount 21 77#define SYS_compat_40_mount 21
78 78
79/* syscall: "unmount" ret: "int" args: "const char *" "int" */ 79/* syscall: "unmount" ret: "int" args: "const char *" "int" */
80#define SYS_unmount 22 80#define SYS_unmount 22
81 81
82/* syscall: "setuid" ret: "int" args: "uid_t" */ 82/* syscall: "setuid" ret: "int" args: "uid_t" */
83#define SYS_setuid 23 83#define SYS_setuid 23
84 84
85/* syscall: "getuid" ret: "uid_t" args: */ 85/* syscall: "getuid" ret: "uid_t" args: */
86#define SYS_getuid 24 86#define SYS_getuid 24
87 87
88/* syscall: "geteuid" ret: "uid_t" args: */ 88/* syscall: "geteuid" ret: "uid_t" args: */
89#define SYS_geteuid 25 89#define SYS_geteuid 25
90 90
91/* syscall: "ptrace" ret: "int" args: "int" "pid_t" "void *" "int" */ 91/* syscall: "ptrace" ret: "int" args: "int" "pid_t" "void *" "int" */
92#define SYS_ptrace 26 92#define SYS_ptrace 26
93 93
94/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */ 94/* syscall: "recvmsg" ret: "ssize_t" args: "int" "struct msghdr *" "int" */
95#define SYS_recvmsg 27 95#define SYS_recvmsg 27
96 96
97/* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */ 97/* syscall: "sendmsg" ret: "ssize_t" args: "int" "const struct msghdr *" "int" */
98#define SYS_sendmsg 28 98#define SYS_sendmsg 28
99 99
100/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "unsigned int *" */ 100/* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "unsigned int *" */
101#define SYS_recvfrom 29 101#define SYS_recvfrom 29
102 102
103/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */ 103/* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
104#define SYS_accept 30 104#define SYS_accept 30
105 105
106/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */ 106/* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
107#define SYS_getpeername 31 107#define SYS_getpeername 31
108 108
109/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */ 109/* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "unsigned int *" */
110#define SYS_getsockname 32 110#define SYS_getsockname 32
111 111
112/* syscall: "access" ret: "int" args: "const char *" "int" */ 112/* syscall: "access" ret: "int" args: "const char *" "int" */
113#define SYS_access 33 113#define SYS_access 33
114 114
115/* syscall: "chflags" ret: "int" args: "const char *" "u_long" */ 115/* syscall: "chflags" ret: "int" args: "const char *" "u_long" */
116#define SYS_chflags 34 116#define SYS_chflags 34
117 117
118/* syscall: "fchflags" ret: "int" args: "int" "u_long" */ 118/* syscall: "fchflags" ret: "int" args: "int" "u_long" */
119#define SYS_fchflags 35 119#define SYS_fchflags 35
120 120
121/* syscall: "sync" ret: "void" args: */ 121/* syscall: "sync" ret: "void" args: */
122#define SYS_sync 36 122#define SYS_sync 36
123 123
124/* syscall: "kill" ret: "int" args: "int" "int" */ 124/* syscall: "kill" ret: "int" args: "int" "int" */
125#define SYS_kill 37 125#define SYS_kill 37
126 126
127/* syscall: "compat_43_stat43" ret: "int" args: "const char *" "struct stat43 *" */ 127/* syscall: "compat_43_stat43" ret: "int" args: "const char *" "struct stat43 *" */
128#define SYS_compat_43_stat43 38 128#define SYS_compat_43_stat43 38
129 129
130/* syscall: "getppid" ret: "pid_t" args: */ 130/* syscall: "getppid" ret: "pid_t" args: */
131#define SYS_getppid 39 131#define SYS_getppid 39
132 132
133/* syscall: "compat_43_lstat43" ret: "int" args: "const char *" "struct stat43 *" */ 133/* syscall: "compat_43_lstat43" ret: "int" args: "const char *" "struct stat43 *" */
134#define SYS_compat_43_lstat43 40 134#define SYS_compat_43_lstat43 40
135 135
136/* syscall: "dup" ret: "int" args: "int" */ 136/* syscall: "dup" ret: "int" args: "int" */
137#define SYS_dup 41 137#define SYS_dup 41
138 138
139/* syscall: "pipe" ret: "int" args: */ 139/* syscall: "pipe" ret: "int" args: */
140#define SYS_pipe 42 140#define SYS_pipe 42
141 141
142/* syscall: "getegid" ret: "gid_t" args: */ 142/* syscall: "getegid" ret: "gid_t" args: */
143#define SYS_getegid 43 143#define SYS_getegid 43
144 144
145/* syscall: "profil" ret: "int" args: "char *" "size_t" "u_long" "u_int" */ 145/* syscall: "profil" ret: "int" args: "char *" "size_t" "u_long" "u_int" */
146#define SYS_profil 44 146#define SYS_profil 44
147 147
148/* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "int" */ 148/* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "int" */
149#define SYS_ktrace 45 149#define SYS_ktrace 45
150 150
151/* syscall: "compat_13_sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */ 151/* syscall: "compat_13_sigaction13" ret: "int" args: "int" "const struct sigaction13 *" "struct sigaction13 *" */
152#define SYS_compat_13_sigaction13 46 152#define SYS_compat_13_sigaction13 46
153 153
154/* syscall: "getgid" ret: "gid_t" args: */ 154/* syscall: "getgid" ret: "gid_t" args: */
155#define SYS_getgid 47 155#define SYS_getgid 47
156 156
157/* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */ 157/* syscall: "compat_13_sigprocmask13" ret: "int" args: "int" "int" */
158#define SYS_compat_13_sigprocmask13 48 158#define SYS_compat_13_sigprocmask13 48
159 159
160/* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */ 160/* syscall: "__getlogin" ret: "int" args: "char *" "size_t" */
161#define SYS___getlogin 49 161#define SYS___getlogin 49
162 162
163/* syscall: "__setlogin" ret: "int" args: "const char *" */ 163/* syscall: "__setlogin" ret: "int" args: "const char *" */
164#define SYS___setlogin 50 164#define SYS___setlogin 50
165 165
166/* syscall: "acct" ret: "int" args: "const char *" */ 166/* syscall: "acct" ret: "int" args: "const char *" */
167#define SYS_acct 51 167#define SYS_acct 51
168 168
169/* syscall: "compat_13_sigpending13" ret: "int" args: */ 169/* syscall: "compat_13_sigpending13" ret: "int" args: */
170#define SYS_compat_13_sigpending13 52 170#define SYS_compat_13_sigpending13 52
171 171
172/* syscall: "compat_13_sigaltstack13" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */ 172/* syscall: "compat_13_sigaltstack13" ret: "int" args: "const struct sigaltstack13 *" "struct sigaltstack13 *" */
173#define SYS_compat_13_sigaltstack13 53 173#define SYS_compat_13_sigaltstack13 53
174 174
175/* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */ 175/* syscall: "ioctl" ret: "int" args: "int" "u_long" "..." */
176#define SYS_ioctl 54 176#define SYS_ioctl 54
177 177
178/* syscall: "compat_12_oreboot" ret: "int" args: "int" */ 178/* syscall: "compat_12_oreboot" ret: "int" args: "int" */
179#define SYS_compat_12_oreboot 55 179#define SYS_compat_12_oreboot 55
180 180
181/* syscall: "revoke" ret: "int" args: "const char *" */ 181/* syscall: "revoke" ret: "int" args: "const char *" */
182#define SYS_revoke 56 182#define SYS_revoke 56
183 183
184/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */ 184/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
185#define SYS_symlink 57 185#define SYS_symlink 57
186 186
187/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "size_t" */ 187/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "size_t" */
188#define SYS_readlink 58 188#define SYS_readlink 58
189 189
190/* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */ 190/* syscall: "execve" ret: "int" args: "const char *" "char *const *" "char *const *" */
191#define SYS_execve 59 191#define SYS_execve 59
192 192
193/* syscall: "umask" ret: "mode_t" args: "mode_t" */ 193/* syscall: "umask" ret: "mode_t" args: "mode_t" */
194#define SYS_umask 60 194#define SYS_umask 60
195 195
196/* syscall: "chroot" ret: "int" args: "const char *" */ 196/* syscall: "chroot" ret: "int" args: "const char *" */
197#define SYS_chroot 61 197#define SYS_chroot 61
198 198
199/* syscall: "compat_43_fstat43" ret: "int" args: "int" "struct stat43 *" */ 199/* syscall: "compat_43_fstat43" ret: "int" args: "int" "struct stat43 *" */
200#define SYS_compat_43_fstat43 62 200#define SYS_compat_43_fstat43 62
201 201
202/* syscall: "compat_43_ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */ 202/* syscall: "compat_43_ogetkerninfo" ret: "int" args: "int" "char *" "int *" "int" */
203#define SYS_compat_43_ogetkerninfo 63 203#define SYS_compat_43_ogetkerninfo 63
204 204
205/* syscall: "compat_43_ogetpagesize" ret: "int" args: */ 205/* syscall: "compat_43_ogetpagesize" ret: "int" args: */
206#define SYS_compat_43_ogetpagesize 64 206#define SYS_compat_43_ogetpagesize 64
207 207
208/* syscall: "compat_12_msync" ret: "int" args: "void *" "size_t" */ 208/* syscall: "compat_12_msync" ret: "int" args: "void *" "size_t" */
209#define SYS_compat_12_msync 65 209#define SYS_compat_12_msync 65
210 210
211/* syscall: "vfork" ret: "int" args: */ 211/* syscall: "vfork" ret: "int" args: */
212#define SYS_vfork 66 212#define SYS_vfork 66
213 213
214 /* 67 is obsolete vread */ 214 /* 67 is obsolete vread */
215 /* 68 is obsolete vwrite */ 215 /* 68 is obsolete vwrite */
216/* syscall: "sbrk" ret: "int" args: "intptr_t" */ 216/* syscall: "sbrk" ret: "int" args: "intptr_t" */
217#define SYS_sbrk 69 217#define SYS_sbrk 69
218 218
219/* syscall: "sstk" ret: "int" args: "int" */ 219/* syscall: "sstk" ret: "int" args: "int" */
220#define SYS_sstk 70 220#define SYS_sstk 70
221 221
222/* syscall: "compat_43_ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */ 222/* syscall: "compat_43_ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */
223#define SYS_compat_43_ommap 71 223#define SYS_compat_43_ommap 71
224 224
225/* syscall: "vadvise" ret: "int" args: "int" */ 225/* syscall: "vadvise" ret: "int" args: "int" */
226#define SYS_vadvise 72 226#define SYS_vadvise 72
227 227
228/* syscall: "munmap" ret: "int" args: "void *" "size_t" */ 228/* syscall: "munmap" ret: "int" args: "void *" "size_t" */
229#define SYS_munmap 73 229#define SYS_munmap 73
230 230
231/* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */ 231/* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */
232#define SYS_mprotect 74 232#define SYS_mprotect 74
233 233
234/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ 234/* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */
235#define SYS_madvise 75 235#define SYS_madvise 75
236 236
237 /* 76 is obsolete vhangup */ 237 /* 76 is obsolete vhangup */
238 /* 77 is obsolete vlimit */ 238 /* 77 is obsolete vlimit */
239/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */ 239/* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */
240#define SYS_mincore 78 240#define SYS_mincore 78
241 241
242/* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */ 242/* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */
243#define SYS_getgroups 79 243#define SYS_getgroups 79
244 244
245/* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */ 245/* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */
246#define SYS_setgroups 80 246#define SYS_setgroups 80
247 247
248/* syscall: "getpgrp" ret: "int" args: */ 248/* syscall: "getpgrp" ret: "int" args: */
249#define SYS_getpgrp 81 249#define SYS_getpgrp 81
250 250
251/* syscall: "setpgid" ret: "int" args: "int" "int" */ 251/* syscall: "setpgid" ret: "int" args: "int" "int" */
252#define SYS_setpgid 82 252#define SYS_setpgid 82
253 253
254/* syscall: "compat_50_setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */ 254/* syscall: "compat_50_setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */
255#define SYS_compat_50_setitimer 83 255#define SYS_compat_50_setitimer 83
256 256
257/* syscall: "compat_43_owait" ret: "int" args: */ 257/* syscall: "compat_43_owait" ret: "int" args: */
258#define SYS_compat_43_owait 84 258#define SYS_compat_43_owait 84
259 259
260/* syscall: "compat_12_oswapon" ret: "int" args: "const char *" */ 260/* syscall: "compat_12_oswapon" ret: "int" args: "const char *" */
261#define SYS_compat_12_oswapon 85 261#define SYS_compat_12_oswapon 85
262 262
263/* syscall: "compat_50_getitimer" ret: "int" args: "int" "struct itimerval50 *" */ 263/* syscall: "compat_50_getitimer" ret: "int" args: "int" "struct itimerval50 *" */
264#define SYS_compat_50_getitimer 86 264#define SYS_compat_50_getitimer 86
265 265
266/* syscall: "compat_43_ogethostname" ret: "int" args: "char *" "u_int" */ 266/* syscall: "compat_43_ogethostname" ret: "int" args: "char *" "u_int" */
267#define SYS_compat_43_ogethostname 87 267#define SYS_compat_43_ogethostname 87
268 268
269/* syscall: "compat_43_osethostname" ret: "int" args: "char *" "u_int" */ 269/* syscall: "compat_43_osethostname" ret: "int" args: "char *" "u_int" */
270#define SYS_compat_43_osethostname 88 270#define SYS_compat_43_osethostname 88
271 271
272/* syscall: "compat_43_ogetdtablesize" ret: "int" args: */ 272/* syscall: "compat_43_ogetdtablesize" ret: "int" args: */
273#define SYS_compat_43_ogetdtablesize 89 273#define SYS_compat_43_ogetdtablesize 89
274 274
275/* syscall: "dup2" ret: "int" args: "int" "int" */ 275/* syscall: "dup2" ret: "int" args: "int" "int" */
276#define SYS_dup2 90 276#define SYS_dup2 90
277 277
278/* syscall: "fcntl" ret: "int" args: "int" "int" "..." */ 278/* syscall: "fcntl" ret: "int" args: "int" "int" "..." */
279#define SYS_fcntl 92 279#define SYS_fcntl 92
280 280
281/* syscall: "compat_50_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ 281/* syscall: "compat_50_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */
282#define SYS_compat_50_select 93 282#define SYS_compat_50_select 93
283 283
284/* syscall: "fsync" ret: "int" args: "int" */ 284/* syscall: "fsync" ret: "int" args: "int" */
285#define SYS_fsync 95 285#define SYS_fsync 95
286 286
287/* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */ 287/* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */
288#define SYS_setpriority 96 288#define SYS_setpriority 96
289 289
290/* syscall: "compat_30_socket" ret: "int" args: "int" "int" "int" */ 290/* syscall: "compat_30_socket" ret: "int" args: "int" "int" "int" */
291#define SYS_compat_30_socket 97 291#define SYS_compat_30_socket 97
292 292
293/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */ 293/* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
294#define SYS_connect 98 294#define SYS_connect 98
295 295
296/* syscall: "compat_43_oaccept" ret: "int" args: "int" "void *" "int *" */ 296/* syscall: "compat_43_oaccept" ret: "int" args: "int" "void *" "int *" */
297#define SYS_compat_43_oaccept 99 297#define SYS_compat_43_oaccept 99
298 298
299/* syscall: "getpriority" ret: "int" args: "int" "id_t" */ 299/* syscall: "getpriority" ret: "int" args: "int" "id_t" */
300#define SYS_getpriority 100 300#define SYS_getpriority 100
301 301
302/* syscall: "compat_43_osend" ret: "int" args: "int" "void *" "int" "int" */ 302/* syscall: "compat_43_osend" ret: "int" args: "int" "void *" "int" "int" */
303#define SYS_compat_43_osend 101 303#define SYS_compat_43_osend 101
304 304
305/* syscall: "compat_43_orecv" ret: "int" args: "int" "void *" "int" "int" */ 305/* syscall: "compat_43_orecv" ret: "int" args: "int" "void *" "int" "int" */
306#define SYS_compat_43_orecv 102 306#define SYS_compat_43_orecv 102
307 307
308/* syscall: "compat_13_sigreturn13" ret: "int" args: "struct sigcontext13 *" */ 308/* syscall: "compat_13_sigreturn13" ret: "int" args: "struct sigcontext13 *" */
309#define SYS_compat_13_sigreturn13 103 309#define SYS_compat_13_sigreturn13 103
310 310
311/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */ 311/* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "unsigned int" */
312#define SYS_bind 104 312#define SYS_bind 104
313 313
314/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "unsigned int" */ 314/* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "unsigned int" */
315#define SYS_setsockopt 105 315#define SYS_setsockopt 105
316 316
317/* syscall: "listen" ret: "int" args: "int" "int" */ 317/* syscall: "listen" ret: "int" args: "int" "int" */
318#define SYS_listen 106 318#define SYS_listen 106
319 319
320 /* 107 is obsolete vtimes */ 320 /* 107 is obsolete vtimes */
321/* syscall: "compat_43_osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */ 321/* syscall: "compat_43_osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */
322#define SYS_compat_43_osigvec 108 322#define SYS_compat_43_osigvec 108
323 323
324/* syscall: "compat_43_osigblock" ret: "int" args: "int" */ 324/* syscall: "compat_43_osigblock" ret: "int" args: "int" */
325#define SYS_compat_43_osigblock 109 325#define SYS_compat_43_osigblock 109
326 326
327/* syscall: "compat_43_osigsetmask" ret: "int" args: "int" */ 327/* syscall: "compat_43_osigsetmask" ret: "int" args: "int" */
328#define SYS_compat_43_osigsetmask 110 328#define SYS_compat_43_osigsetmask 110
329 329
330/* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */ 330/* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */
331#define SYS_compat_13_sigsuspend13 111 331#define SYS_compat_13_sigsuspend13 111
332 332
333/* syscall: "compat_43_osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */ 333/* syscall: "compat_43_osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */
334#define SYS_compat_43_osigstack 112 334#define SYS_compat_43_osigstack 112
335 335
336/* syscall: "compat_43_orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */ 336/* syscall: "compat_43_orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */
337#define SYS_compat_43_orecvmsg 113 337#define SYS_compat_43_orecvmsg 113
338 338
339/* syscall: "compat_43_osendmsg" ret: "int" args: "int" "void *" "int" */ 339/* syscall: "compat_43_osendmsg" ret: "int" args: "int" "void *" "int" */
340#define SYS_compat_43_osendmsg 114 340#define SYS_compat_43_osendmsg 114
341 341
342 /* 115 is obsolete vtrace */ 342 /* 115 is obsolete vtrace */
343/* syscall: "compat_50_gettimeofday" ret: "int" args: "struct timeval50 *" "void *" */ 343/* syscall: "compat_50_gettimeofday" ret: "int" args: "struct timeval50 *" "void *" */
344#define SYS_compat_50_gettimeofday 116 344#define SYS_compat_50_gettimeofday 116
345 345
346/* syscall: "compat_50_getrusage" ret: "int" args: "int" "struct rusage50 *" */ 346/* syscall: "compat_50_getrusage" ret: "int" args: "int" "struct rusage50 *" */
347#define SYS_compat_50_getrusage 117 347#define SYS_compat_50_getrusage 117
348 348
349/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "unsigned int *" */ 349/* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "unsigned int *" */
350#define SYS_getsockopt 118 350#define SYS_getsockopt 118
351 351
352 /* 119 is obsolete resuba */ 352 /* 119 is obsolete resuba */
353/* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ 353/* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
354#define SYS_readv 120 354#define SYS_readv 120
355 355
356/* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ 356/* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */
357#define SYS_writev 121 357#define SYS_writev 121
358 358
359/* syscall: "compat_50_settimeofday" ret: "int" args: "const struct timeval50 *" "const void *" */ 359/* syscall: "compat_50_settimeofday" ret: "int" args: "const struct timeval50 *" "const void *" */
360#define SYS_compat_50_settimeofday 122 360#define SYS_compat_50_settimeofday 122
361 361
362/* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 362/* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */
363#define SYS_fchown 123 363#define SYS_fchown 123
364 364
365/* syscall: "fchmod" ret: "int" args: "int" "mode_t" */ 365/* syscall: "fchmod" ret: "int" args: "int" "mode_t" */
366#define SYS_fchmod 124 366#define SYS_fchmod 124
367 367
368/* syscall: "compat_43_orecvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int *" */ 368/* syscall: "compat_43_orecvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "int *" */
369#define SYS_compat_43_orecvfrom 125 369#define SYS_compat_43_orecvfrom 125
370 370
371/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */ 371/* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */
372#define SYS_setreuid 126 372#define SYS_setreuid 126
373 373
374/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */ 374/* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */
375#define SYS_setregid 127 375#define SYS_setregid 127
376 376
377/* syscall: "rename" ret: "int" args: "const char *" "const char *" */ 377/* syscall: "rename" ret: "int" args: "const char *" "const char *" */
378#define SYS_rename 128 378#define SYS_rename 128
379 379
380/* syscall: "compat_43_otruncate" ret: "int" args: "const char *" "long" */ 380/* syscall: "compat_43_otruncate" ret: "int" args: "const char *" "long" */
381#define SYS_compat_43_otruncate 129 381#define SYS_compat_43_otruncate 129
382 382
383/* syscall: "compat_43_oftruncate" ret: "int" args: "int" "long" */ 383/* syscall: "compat_43_oftruncate" ret: "int" args: "int" "long" */
384#define SYS_compat_43_oftruncate 130 384#define SYS_compat_43_oftruncate 130
385 385
386/* syscall: "flock" ret: "int" args: "int" "int" */ 386/* syscall: "flock" ret: "int" args: "int" "int" */
387#define SYS_flock 131 387#define SYS_flock 131
388 388
389/* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */ 389/* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */
390#define SYS_mkfifo 132 390#define SYS_mkfifo 132
391 391
392/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "unsigned int" */ 392/* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "unsigned int" */
393#define SYS_sendto 133 393#define SYS_sendto 133
394 394
395/* syscall: "shutdown" ret: "int" args: "int" "int" */ 395/* syscall: "shutdown" ret: "int" args: "int" "int" */
396#define SYS_shutdown 134 396#define SYS_shutdown 134
397 397
398/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */ 398/* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */
399#define SYS_socketpair 135 399#define SYS_socketpair 135
400 400
401/* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */ 401/* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */
402#define SYS_mkdir 136 402#define SYS_mkdir 136
403 403
404/* syscall: "rmdir" ret: "int" args: "const char *" */ 404/* syscall: "rmdir" ret: "int" args: "const char *" */
405#define SYS_rmdir 137 405#define SYS_rmdir 137
406 406
407/* syscall: "compat_50_utimes" ret: "int" args: "const char *" "const struct timeval50 *" */ 407/* syscall: "compat_50_utimes" ret: "int" args: "const char *" "const struct timeval50 *" */
408#define SYS_compat_50_utimes 138 408#define SYS_compat_50_utimes 138
409 409
410 /* 139 is obsolete 4.2 sigreturn */ 410 /* 139 is obsolete 4.2 sigreturn */
411/* syscall: "compat_50_adjtime" ret: "int" args: "const struct timeval50 *" "struct timeval50 *" */ 411/* syscall: "compat_50_adjtime" ret: "int" args: "const struct timeval50 *" "struct timeval50 *" */
412#define SYS_compat_50_adjtime 140 412#define SYS_compat_50_adjtime 140
413 413
414/* syscall: "compat_43_ogetpeername" ret: "int" args: "int" "void *" "int *" */ 414/* syscall: "compat_43_ogetpeername" ret: "int" args: "int" "void *" "int *" */
415#define SYS_compat_43_ogetpeername 141 415#define SYS_compat_43_ogetpeername 141
416 416
417/* syscall: "compat_43_ogethostid" ret: "int32_t" args: */ 417/* syscall: "compat_43_ogethostid" ret: "int32_t" args: */
418#define SYS_compat_43_ogethostid 142 418#define SYS_compat_43_ogethostid 142
419 419
420/* syscall: "compat_43_osethostid" ret: "int" args: "int32_t" */ 420/* syscall: "compat_43_osethostid" ret: "int" args: "int32_t" */
421#define SYS_compat_43_osethostid 143 421#define SYS_compat_43_osethostid 143
422 422
423/* syscall: "compat_43_ogetrlimit" ret: "int" args: "int" "struct orlimit *" */ 423/* syscall: "compat_43_ogetrlimit" ret: "int" args: "int" "struct orlimit *" */
424#define SYS_compat_43_ogetrlimit 144 424#define SYS_compat_43_ogetrlimit 144
425 425
426/* syscall: "compat_43_osetrlimit" ret: "int" args: "int" "const struct orlimit *" */ 426/* syscall: "compat_43_osetrlimit" ret: "int" args: "int" "const struct orlimit *" */
427#define SYS_compat_43_osetrlimit 145 427#define SYS_compat_43_osetrlimit 145
428 428
429/* syscall: "compat_43_okillpg" ret: "int" args: "int" "int" */ 429/* syscall: "compat_43_okillpg" ret: "int" args: "int" "int" */
430#define SYS_compat_43_okillpg 146 430#define SYS_compat_43_okillpg 146
431 431
432/* syscall: "setsid" ret: "int" args: */ 432/* syscall: "setsid" ret: "int" args: */
433#define SYS_setsid 147 433#define SYS_setsid 147
434 434
435/* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "void *" */ 435/* syscall: "quotactl" ret: "int" args: "const char *" "int" "int" "void *" */
436#define SYS_quotactl 148 436#define SYS_quotactl 148
437 437
438/* syscall: "compat_43_oquota" ret: "int" args: */ 438/* syscall: "compat_43_oquota" ret: "int" args: */
439#define SYS_compat_43_oquota 149 439#define SYS_compat_43_oquota 149
440 440
441/* syscall: "compat_43_ogetsockname" ret: "int" args: "int" "void *" "int *" */ 441/* syscall: "compat_43_ogetsockname" ret: "int" args: "int" "void *" "int *" */
442#define SYS_compat_43_ogetsockname 150 442#define SYS_compat_43_ogetsockname 150
443 443
444/* syscall: "nfssvc" ret: "int" args: "int" "void *" */ 444/* syscall: "nfssvc" ret: "int" args: "int" "void *" */
445#define SYS_nfssvc 155 445#define SYS_nfssvc 155
446 446
447/* syscall: "compat_43_ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ 447/* syscall: "compat_43_ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
448#define SYS_compat_43_ogetdirentries 156 448#define SYS_compat_43_ogetdirentries 156
449 449
450/* syscall: "compat_20_statfs" ret: "int" args: "const char *" "struct statfs12 *" */ 450/* syscall: "compat_20_statfs" ret: "int" args: "const char *" "struct statfs12 *" */
451#define SYS_compat_20_statfs 157 451#define SYS_compat_20_statfs 157
452 452
453/* syscall: "compat_20_fstatfs" ret: "int" args: "int" "struct statfs12 *" */ 453/* syscall: "compat_20_fstatfs" ret: "int" args: "int" "struct statfs12 *" */
454#define SYS_compat_20_fstatfs 158 454#define SYS_compat_20_fstatfs 158
455 455
456/* syscall: "compat_30_getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */ 456/* syscall: "compat_30_getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */
457#define SYS_compat_30_getfh 161 457#define SYS_compat_30_getfh 161
458 458
459/* syscall: "compat_09_ogetdomainname" ret: "int" args: "char *" "int" */ 459/* syscall: "compat_09_ogetdomainname" ret: "int" args: "char *" "int" */
460#define SYS_compat_09_ogetdomainname 162 460#define SYS_compat_09_ogetdomainname 162
461 461
462/* syscall: "compat_09_osetdomainname" ret: "int" args: "char *" "int" */ 462/* syscall: "compat_09_osetdomainname" ret: "int" args: "char *" "int" */
463#define SYS_compat_09_osetdomainname 163 463#define SYS_compat_09_osetdomainname 163
464 464
465/* syscall: "compat_09_ouname" ret: "int" args: "struct outsname *" */ 465/* syscall: "compat_09_ouname" ret: "int" args: "struct outsname *" */
466#define SYS_compat_09_ouname 164 466#define SYS_compat_09_ouname 164
467 467
468/* syscall: "sysarch" ret: "int" args: "int" "void *" */ 468/* syscall: "sysarch" ret: "int" args: "int" "void *" */
469#define SYS_sysarch 165 469#define SYS_sysarch 165
470 470
471#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 471#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
472/* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */ 472/* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */
473#define SYS_compat_10_osemsys 169 473#define SYS_compat_10_osemsys 169
474 474
475#else 475#else
476 /* 169 is excluded 1.0 semsys */ 476 /* 169 is excluded 1.0 semsys */
477#endif 477#endif
478#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64) 478#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
479/* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */ 479/* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */
480#define SYS_compat_10_omsgsys 170 480#define SYS_compat_10_omsgsys 170
481 481
482#else 482#else
483 /* 170 is excluded 1.0 msgsys */ 483 /* 170 is excluded 1.0 msgsys */
484#endif 484#endif
485#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 485#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
486/* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */ 486/* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */
487#define SYS_compat_10_oshmsys 171 487#define SYS_compat_10_oshmsys 171
488 488
489#else 489#else
490 /* 171 is excluded 1.0 shmsys */ 490 /* 171 is excluded 1.0 shmsys */
491#endif 491#endif
492/* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */ 492/* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */
493#define SYS_pread 173 493#define SYS_pread 173
494 494
495/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */ 495/* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */
496#define SYS_pwrite 174 496#define SYS_pwrite 174
497 497
498/* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */ 498/* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */
499#define SYS_compat_30_ntp_gettime 175 499#define SYS_compat_30_ntp_gettime 175
500 500
501#if defined(NTP) || !defined(_KERNEL_OPT) 501#if defined(NTP) || !defined(_KERNEL_OPT)
502/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */ 502/* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */
503#define SYS_ntp_adjtime 176 503#define SYS_ntp_adjtime 176
504 504
505#else 505#else
506 /* 176 is excluded ntp_adjtime */ 506 /* 176 is excluded ntp_adjtime */
507#endif 507#endif
508/* syscall: "setgid" ret: "int" args: "gid_t" */ 508/* syscall: "setgid" ret: "int" args: "gid_t" */
509#define SYS_setgid 181 509#define SYS_setgid 181
510 510
511/* syscall: "setegid" ret: "int" args: "gid_t" */ 511/* syscall: "setegid" ret: "int" args: "gid_t" */
512#define SYS_setegid 182 512#define SYS_setegid 182
513 513
514/* syscall: "seteuid" ret: "int" args: "uid_t" */ 514/* syscall: "seteuid" ret: "int" args: "uid_t" */
515#define SYS_seteuid 183 515#define SYS_seteuid 183
516 516
517#if defined(LFS) || !defined(_KERNEL) 517#if defined(LFS) || !defined(_KERNEL)
518/* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ 518/* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
519#define SYS_lfs_bmapv 184 519#define SYS_lfs_bmapv 184
520 520
521/* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ 521/* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */
522#define SYS_lfs_markv 185 522#define SYS_lfs_markv 185
523 523
524/* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */ 524/* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */
525#define SYS_lfs_segclean 186 525#define SYS_lfs_segclean 186
526 526
527/* syscall: "compat_50_lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval50 *" */ 527/* syscall: "compat_50_lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval50 *" */
528#define SYS_compat_50_lfs_segwait 187 528#define SYS_compat_50_lfs_segwait 187
529 529
530#else 530#else
531 /* 184 is excluded lfs_bmapv */ 531 /* 184 is excluded lfs_bmapv */
532 /* 185 is excluded lfs_markv */ 532 /* 185 is excluded lfs_markv */
533 /* 186 is excluded lfs_segclean */ 533 /* 186 is excluded lfs_segclean */
534 /* 187 is excluded lfs_segwait */ 534 /* 187 is excluded lfs_segwait */
535#endif 535#endif
536/* syscall: "compat_12_stat12" ret: "int" args: "const char *" "struct stat12 *" */ 536/* syscall: "compat_12_stat12" ret: "int" args: "const char *" "struct stat12 *" */
537#define SYS_compat_12_stat12 188 537#define SYS_compat_12_stat12 188
538 538
539/* syscall: "compat_12_fstat12" ret: "int" args: "int" "struct stat12 *" */ 539/* syscall: "compat_12_fstat12" ret: "int" args: "int" "struct stat12 *" */
540#define SYS_compat_12_fstat12 189 540#define SYS_compat_12_fstat12 189
541 541
542/* syscall: "compat_12_lstat12" ret: "int" args: "const char *" "struct stat12 *" */ 542/* syscall: "compat_12_lstat12" ret: "int" args: "const char *" "struct stat12 *" */
543#define SYS_compat_12_lstat12 190 543#define SYS_compat_12_lstat12 190
544 544
545/* syscall: "pathconf" ret: "long" args: "const char *" "int" */ 545/* syscall: "pathconf" ret: "long" args: "const char *" "int" */
546#define SYS_pathconf 191 546#define SYS_pathconf 191
547 547
548/* syscall: "fpathconf" ret: "long" args: "int" "int" */ 548/* syscall: "fpathconf" ret: "long" args: "int" "int" */
549#define SYS_fpathconf 192 549#define SYS_fpathconf 192
550 550
551/* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */ 551/* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */
552#define SYS_getrlimit 194 552#define SYS_getrlimit 194
553 553
554/* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */ 554/* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */
555#define SYS_setrlimit 195 555#define SYS_setrlimit 195
556 556
557/* syscall: "compat_12_getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ 557/* syscall: "compat_12_getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */
558#define SYS_compat_12_getdirentries 196 558#define SYS_compat_12_getdirentries 196
559 559
560/* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */ 560/* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */
561#define SYS_mmap 197 561#define SYS_mmap 197
562 562
563/* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */ 563/* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */
564#define SYS___syscall 198 564#define SYS___syscall 198
565 565
566/* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */ 566/* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */
567#define SYS_lseek 199 567#define SYS_lseek 199
568 568
569/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */ 569/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
570#define SYS_truncate 200 570#define SYS_truncate 200
571 571
572/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */ 572/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
573#define SYS_ftruncate 201 573#define SYS_ftruncate 201
574 574
575/* syscall: "__sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "const void *" "size_t" */ 575/* syscall: "__sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "const void *" "size_t" */
576#define SYS___sysctl 202 576#define SYS___sysctl 202
577 577
578/* syscall: "mlock" ret: "int" args: "const void *" "size_t" */ 578/* syscall: "mlock" ret: "int" args: "const void *" "size_t" */
579#define SYS_mlock 203 579#define SYS_mlock 203
580 580
581/* syscall: "munlock" ret: "int" args: "const void *" "size_t" */ 581/* syscall: "munlock" ret: "int" args: "const void *" "size_t" */
582#define SYS_munlock 204 582#define SYS_munlock 204
583 583
584/* syscall: "undelete" ret: "int" args: "const char *" */ 584/* syscall: "undelete" ret: "int" args: "const char *" */
585#define SYS_undelete 205 585#define SYS_undelete 205
586 586
587/* syscall: "compat_50_futimes" ret: "int" args: "int" "const struct timeval50 *" */ 587/* syscall: "compat_50_futimes" ret: "int" args: "int" "const struct timeval50 *" */
588#define SYS_compat_50_futimes 206 588#define SYS_compat_50_futimes 206
589 589
590/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ 590/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
591#define SYS_getpgid 207 591#define SYS_getpgid 207
592 592
593/* syscall: "reboot" ret: "int" args: "int" "char *" */ 593/* syscall: "reboot" ret: "int" args: "int" "char *" */
594#define SYS_reboot 208 594#define SYS_reboot 208
595 595
596/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ 596/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
597#define SYS_poll 209 597#define SYS_poll 209
598 598
599#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 599#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
600/* syscall: "compat_14___semctl" ret: "int" args: "int" "int" "int" "union __semun *" */ 600/* syscall: "compat_14___semctl" ret: "int" args: "int" "int" "int" "union __semun *" */
601#define SYS_compat_14___semctl 220 601#define SYS_compat_14___semctl 220
602 602
603/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */ 603/* syscall: "semget" ret: "int" args: "key_t" "int" "int" */
604#define SYS_semget 221 604#define SYS_semget 221
605 605
606/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */ 606/* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */
607#define SYS_semop 222 607#define SYS_semop 222
608 608
609/* syscall: "semconfig" ret: "int" args: "int" */ 609/* syscall: "semconfig" ret: "int" args: "int" */
610#define SYS_semconfig 223 610#define SYS_semconfig 223
611 611
612#else 612#else
613 /* 220 is excluded compat_14_semctl */ 613 /* 220 is excluded compat_14_semctl */
614 /* 221 is excluded semget */ 614 /* 221 is excluded semget */
615 /* 222 is excluded semop */ 615 /* 222 is excluded semop */
616 /* 223 is excluded semconfig */ 616 /* 223 is excluded semconfig */
617#endif 617#endif
618#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 618#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
619/* syscall: "compat_14_msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */ 619/* syscall: "compat_14_msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */
620#define SYS_compat_14_msgctl 224 620#define SYS_compat_14_msgctl 224
621 621
622/* syscall: "msgget" ret: "int" args: "key_t" "int" */ 622/* syscall: "msgget" ret: "int" args: "key_t" "int" */
623#define SYS_msgget 225 623#define SYS_msgget 225
624 624
625/* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */ 625/* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */
626#define SYS_msgsnd 226 626#define SYS_msgsnd 226
627 627
628/* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */ 628/* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */
629#define SYS_msgrcv 227 629#define SYS_msgrcv 227
630 630
631#else 631#else
632 /* 224 is excluded compat_14_msgctl */ 632 /* 224 is excluded compat_14_msgctl */
633 /* 225 is excluded msgget */ 633 /* 225 is excluded msgget */
634 /* 226 is excluded msgsnd */ 634 /* 226 is excluded msgsnd */
635 /* 227 is excluded msgrcv */ 635 /* 227 is excluded msgrcv */
636#endif 636#endif
637#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 637#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
638/* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */ 638/* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */
639#define SYS_shmat 228 639#define SYS_shmat 228
640 640
641/* syscall: "compat_14_shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */ 641/* syscall: "compat_14_shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */
642#define SYS_compat_14_shmctl 229 642#define SYS_compat_14_shmctl 229
643 643
644/* syscall: "shmdt" ret: "int" args: "const void *" */ 644/* syscall: "shmdt" ret: "int" args: "const void *" */
645#define SYS_shmdt 230 645#define SYS_shmdt 230
646 646
647/* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */ 647/* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */
648#define SYS_shmget 231 648#define SYS_shmget 231
649 649
650#else 650#else
651 /* 228 is excluded shmat */ 651 /* 228 is excluded shmat */
652 /* 229 is excluded compat_14_shmctl */ 652 /* 229 is excluded compat_14_shmctl */
653 /* 230 is excluded shmdt */ 653 /* 230 is excluded shmdt */
654 /* 231 is excluded shmget */ 654 /* 231 is excluded shmget */
655#endif 655#endif
656/* syscall: "compat_50_clock_gettime" ret: "int" args: "clockid_t" "struct timespec50 *" */ 656/* syscall: "compat_50_clock_gettime" ret: "int" args: "clockid_t" "struct timespec50 *" */
657#define SYS_compat_50_clock_gettime 232 657#define SYS_compat_50_clock_gettime 232
658 658
659/* syscall: "compat_50_clock_settime" ret: "int" args: "clockid_t" "const struct timespec50 *" */ 659/* syscall: "compat_50_clock_settime" ret: "int" args: "clockid_t" "const struct timespec50 *" */
660#define SYS_compat_50_clock_settime 233 660#define SYS_compat_50_clock_settime 233
661 661
662/* syscall: "compat_50_clock_getres" ret: "int" args: "clockid_t" "struct timespec50 *" */ 662/* syscall: "compat_50_clock_getres" ret: "int" args: "clockid_t" "struct timespec50 *" */
663#define SYS_compat_50_clock_getres 234 663#define SYS_compat_50_clock_getres 234
664 664
665/* syscall: "timer_create" ret: "int" args: "clockid_t" "struct sigevent *" "timer_t *" */ 665/* syscall: "timer_create" ret: "int" args: "clockid_t" "struct sigevent *" "timer_t *" */
666#define SYS_timer_create 235 666#define SYS_timer_create 235
667 667
668/* syscall: "timer_delete" ret: "int" args: "timer_t" */ 668/* syscall: "timer_delete" ret: "int" args: "timer_t" */
669#define SYS_timer_delete 236 669#define SYS_timer_delete 236
670 670
671/* syscall: "compat_50_timer_settime" ret: "int" args: "timer_t" "int" "const struct itimerspec50 *" "struct itimerspec50 *" */ 671/* syscall: "compat_50_timer_settime" ret: "int" args: "timer_t" "int" "const struct itimerspec50 *" "struct itimerspec50 *" */
672#define SYS_compat_50_timer_settime 237 672#define SYS_compat_50_timer_settime 237
673 673
674/* syscall: "compat_50_timer_gettime" ret: "int" args: "timer_t" "struct itimerspec50 *" */ 674/* syscall: "compat_50_timer_gettime" ret: "int" args: "timer_t" "struct itimerspec50 *" */
675#define SYS_compat_50_timer_gettime 238 675#define SYS_compat_50_timer_gettime 238
676 676
677/* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */ 677/* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */
678#define SYS_timer_getoverrun 239 678#define SYS_timer_getoverrun 239
679 679
680/* syscall: "compat_50_nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */ 680/* syscall: "compat_50_nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */
681#define SYS_compat_50_nanosleep 240 681#define SYS_compat_50_nanosleep 240
682 682
683/* syscall: "fdatasync" ret: "int" args: "int" */ 683/* syscall: "fdatasync" ret: "int" args: "int" */
684#define SYS_fdatasync 241 684#define SYS_fdatasync 241
685 685
686/* syscall: "mlockall" ret: "int" args: "int" */ 686/* syscall: "mlockall" ret: "int" args: "int" */
687#define SYS_mlockall 242 687#define SYS_mlockall 242
688 688
689/* syscall: "munlockall" ret: "int" args: */ 689/* syscall: "munlockall" ret: "int" args: */
690#define SYS_munlockall 243 690#define SYS_munlockall 243
691 691
692/* syscall: "compat_50___sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec50 *" */ 692/* syscall: "compat_50___sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec50 *" */
693#define SYS_compat_50___sigtimedwait 244 693#define SYS_compat_50___sigtimedwait 244
694 694
695/* syscall: "modctl" ret: "int" args: "int" "void *" */ 695/* syscall: "modctl" ret: "int" args: "int" "void *" */
696#define SYS_modctl 246 696#define SYS_modctl 246
697 697
698/* syscall: "_ksem_init" ret: "int" args: "unsigned int" "intptr_t *" */ 698/* syscall: "_ksem_init" ret: "int" args: "unsigned int" "intptr_t *" */
699#define SYS__ksem_init 247 699#define SYS__ksem_init 247
700 700
701/* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "intptr_t *" */ 701/* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "intptr_t *" */
702#define SYS__ksem_open 248 702#define SYS__ksem_open 248
703 703
704/* syscall: "_ksem_unlink" ret: "int" args: "const char *" */ 704/* syscall: "_ksem_unlink" ret: "int" args: "const char *" */
705#define SYS__ksem_unlink 249 705#define SYS__ksem_unlink 249
706 706
707/* syscall: "_ksem_close" ret: "int" args: "intptr_t" */ 707/* syscall: "_ksem_close" ret: "int" args: "intptr_t" */
708#define SYS__ksem_close 250 708#define SYS__ksem_close 250
709 709
710/* syscall: "_ksem_post" ret: "int" args: "intptr_t" */ 710/* syscall: "_ksem_post" ret: "int" args: "intptr_t" */
711#define SYS__ksem_post 251 711#define SYS__ksem_post 251
712 712
713/* syscall: "_ksem_wait" ret: "int" args: "intptr_t" */ 713/* syscall: "_ksem_wait" ret: "int" args: "intptr_t" */
714#define SYS__ksem_wait 252 714#define SYS__ksem_wait 252
715 715
716/* syscall: "_ksem_trywait" ret: "int" args: "intptr_t" */ 716/* syscall: "_ksem_trywait" ret: "int" args: "intptr_t" */
717#define SYS__ksem_trywait 253 717#define SYS__ksem_trywait 253
718 718
719/* syscall: "_ksem_getvalue" ret: "int" args: "intptr_t" "unsigned int *" */ 719/* syscall: "_ksem_getvalue" ret: "int" args: "intptr_t" "unsigned int *" */
720#define SYS__ksem_getvalue 254 720#define SYS__ksem_getvalue 254
721 721
722/* syscall: "_ksem_destroy" ret: "int" args: "intptr_t" */ 722/* syscall: "_ksem_destroy" ret: "int" args: "intptr_t" */
723#define SYS__ksem_destroy 255 723#define SYS__ksem_destroy 255
724 724
725/* syscall: "mq_open" ret: "mqd_t" args: "const char *" "int" "mode_t" "struct mq_attr *" */ 725/* syscall: "mq_open" ret: "mqd_t" args: "const char *" "int" "mode_t" "struct mq_attr *" */
726#define SYS_mq_open 257 726#define SYS_mq_open 257
727 727
728/* syscall: "mq_close" ret: "int" args: "mqd_t" */ 728/* syscall: "mq_close" ret: "int" args: "mqd_t" */
729#define SYS_mq_close 258 729#define SYS_mq_close 258
730 730
731/* syscall: "mq_unlink" ret: "int" args: "const char *" */ 731/* syscall: "mq_unlink" ret: "int" args: "const char *" */
732#define SYS_mq_unlink 259 732#define SYS_mq_unlink 259
733 733
734/* syscall: "mq_getattr" ret: "int" args: "mqd_t" "struct mq_attr *" */ 734/* syscall: "mq_getattr" ret: "int" args: "mqd_t" "struct mq_attr *" */
735#define SYS_mq_getattr 260 735#define SYS_mq_getattr 260
736 736
737/* syscall: "mq_setattr" ret: "int" args: "mqd_t" "const struct mq_attr *" "struct mq_attr *" */ 737/* syscall: "mq_setattr" ret: "int" args: "mqd_t" "const struct mq_attr *" "struct mq_attr *" */
738#define SYS_mq_setattr 261 738#define SYS_mq_setattr 261
739 739
740/* syscall: "mq_notify" ret: "int" args: "mqd_t" "const struct sigevent *" */ 740/* syscall: "mq_notify" ret: "int" args: "mqd_t" "const struct sigevent *" */
741#define SYS_mq_notify 262 741#define SYS_mq_notify 262
742 742
743/* syscall: "mq_send" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" */ 743/* syscall: "mq_send" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" */
744#define SYS_mq_send 263 744#define SYS_mq_send 263
745 745
746/* syscall: "mq_receive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" */ 746/* syscall: "mq_receive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" */
747#define SYS_mq_receive 264 747#define SYS_mq_receive 264
748 748
749/* syscall: "compat_50_mq_timedsend" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec50 *" */ 749/* syscall: "compat_50_mq_timedsend" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec50 *" */
750#define SYS_compat_50_mq_timedsend 265 750#define SYS_compat_50_mq_timedsend 265
751 751
752/* syscall: "compat_50_mq_timedreceive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec50 *" */ 752/* syscall: "compat_50_mq_timedreceive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec50 *" */
753#define SYS_compat_50_mq_timedreceive 266 753#define SYS_compat_50_mq_timedreceive 266
754 754
755/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */ 755/* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */
756#define SYS___posix_rename 270 756#define SYS___posix_rename 270
757 757
758/* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */ 758/* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */
759#define SYS_swapctl 271 759#define SYS_swapctl 271
760 760
761/* syscall: "compat_30_getdents" ret: "int" args: "int" "char *" "size_t" */ 761/* syscall: "compat_30_getdents" ret: "int" args: "int" "char *" "size_t" */
762#define SYS_compat_30_getdents 272 762#define SYS_compat_30_getdents 272
763 763
764/* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */ 764/* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */
765#define SYS_minherit 273 765#define SYS_minherit 273
766 766
767/* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */ 767/* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */
768#define SYS_lchmod 274 768#define SYS_lchmod 274
769 769
770/* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 770/* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
771#define SYS_lchown 275 771#define SYS_lchown 275
772 772
773/* syscall: "compat_50_lutimes" ret: "int" args: "const char *" "const struct timeval50 *" */ 773/* syscall: "compat_50_lutimes" ret: "int" args: "const char *" "const struct timeval50 *" */
774#define SYS_compat_50_lutimes 276 774#define SYS_compat_50_lutimes 276
775 775
776/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */ 776/* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */
777#define SYS___msync13 277 777#define SYS___msync13 277
778 778
779/* syscall: "compat_30___stat13" ret: "int" args: "const char *" "struct stat13 *" */ 779/* syscall: "compat_30___stat13" ret: "int" args: "const char *" "struct stat13 *" */
780#define SYS_compat_30___stat13 278 780#define SYS_compat_30___stat13 278
781 781
782/* syscall: "compat_30___fstat13" ret: "int" args: "int" "struct stat13 *" */ 782/* syscall: "compat_30___fstat13" ret: "int" args: "int" "struct stat13 *" */
783#define SYS_compat_30___fstat13 279 783#define SYS_compat_30___fstat13 279
784 784
785/* syscall: "compat_30___lstat13" ret: "int" args: "const char *" "struct stat13 *" */ 785/* syscall: "compat_30___lstat13" ret: "int" args: "const char *" "struct stat13 *" */
786#define SYS_compat_30___lstat13 280 786#define SYS_compat_30___lstat13 280
787 787
788/* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */ 788/* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */
789#define SYS___sigaltstack14 281 789#define SYS___sigaltstack14 281
790 790
791/* syscall: "__vfork14" ret: "int" args: */ 791/* syscall: "__vfork14" ret: "int" args: */
792#define SYS___vfork14 282 792#define SYS___vfork14 282
793 793
794/* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 794/* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */
795#define SYS___posix_chown 283 795#define SYS___posix_chown 283
796 796
797/* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ 797/* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */
798#define SYS___posix_fchown 284 798#define SYS___posix_fchown 284
799 799
800/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ 800/* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */
801#define SYS___posix_lchown 285 801#define SYS___posix_lchown 285
802 802
803/* syscall: "getsid" ret: "pid_t" args: "pid_t" */ 803/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
804#define SYS_getsid 286 804#define SYS_getsid 286
805 805
806/* syscall: "__clone" ret: "pid_t" args: "int" "void *" */ 806/* syscall: "__clone" ret: "pid_t" args: "int" "void *" */
807#define SYS___clone 287 807#define SYS___clone 287
808 808
809/* syscall: "fktrace" ret: "int" args: "int" "int" "int" "int" */ 809/* syscall: "fktrace" ret: "int" args: "int" "int" "int" "int" */
810#define SYS_fktrace 288 810#define SYS_fktrace 288
811 811
812/* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */ 812/* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
813#define SYS_preadv 289 813#define SYS_preadv 289
814 814
815/* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */ 815/* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */
816#define SYS_pwritev 290 816#define SYS_pwritev 290
817 817
818/* syscall: "compat_16___sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */ 818/* syscall: "compat_16___sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */
819#define SYS_compat_16___sigaction14 291 819#define SYS_compat_16___sigaction14 291
820 820
821/* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */ 821/* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */
822#define SYS___sigpending14 292 822#define SYS___sigpending14 292
823 823
824/* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */ 824/* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */
825#define SYS___sigprocmask14 293 825#define SYS___sigprocmask14 293
826 826
827/* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */ 827/* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */
828#define SYS___sigsuspend14 294 828#define SYS___sigsuspend14 294
829 829
830/* syscall: "compat_16___sigreturn14" ret: "int" args: "struct sigcontext *" */ 830/* syscall: "compat_16___sigreturn14" ret: "int" args: "struct sigcontext *" */
831#define SYS_compat_16___sigreturn14 295 831#define SYS_compat_16___sigreturn14 295
832 832
833/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ 833/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
834#define SYS___getcwd 296 834#define SYS___getcwd 296
835 835
836/* syscall: "fchroot" ret: "int" args: "int" */ 836/* syscall: "fchroot" ret: "int" args: "int" */
837#define SYS_fchroot 297 837#define SYS_fchroot 297
838 838
839/* syscall: "compat_30_fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */ 839/* syscall: "compat_30_fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */
840#define SYS_compat_30_fhopen 298 840#define SYS_compat_30_fhopen 298
841 841
842/* syscall: "compat_30_fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct stat13 *" */ 842/* syscall: "compat_30_fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct stat13 *" */
843#define SYS_compat_30_fhstat 299 843#define SYS_compat_30_fhstat 299
844 844
845/* syscall: "compat_20_fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */ 845/* syscall: "compat_20_fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */
846#define SYS_compat_20_fhstatfs 300 846#define SYS_compat_20_fhstatfs 300
847 847
848#if defined(SYSVSEM) || !defined(_KERNEL_OPT) 848#if defined(SYSVSEM) || !defined(_KERNEL_OPT)
849/* syscall: "compat_50_____semctl13" ret: "int" args: "int" "int" "int" "..." */ 849/* syscall: "compat_50_____semctl13" ret: "int" args: "int" "int" "int" "..." */
850#define SYS_compat_50_____semctl13 301 850#define SYS_compat_50_____semctl13 301
851 851
852#else 852#else
853 /* 301 is excluded ____semctl13 */ 853 /* 301 is excluded ____semctl13 */
854#endif 854#endif
855#if defined(SYSVMSG) || !defined(_KERNEL_OPT) 855#if defined(SYSVMSG) || !defined(_KERNEL_OPT)
856/* syscall: "compat_50___msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */ 856/* syscall: "compat_50___msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */
857#define SYS_compat_50___msgctl13 302 857#define SYS_compat_50___msgctl13 302
858 858
859#else 859#else
860 /* 302 is excluded __msgctl13 */ 860 /* 302 is excluded __msgctl13 */
861#endif 861#endif
862#if defined(SYSVSHM) || !defined(_KERNEL_OPT) 862#if defined(SYSVSHM) || !defined(_KERNEL_OPT)
863/* syscall: "compat_50___shmctl13" ret: "int" args: "int" "int" "struct shmid_ds13 *" */ 863/* syscall: "compat_50___shmctl13" ret: "int" args: "int" "int" "struct shmid_ds13 *" */
864#define SYS_compat_50___shmctl13 303 864#define SYS_compat_50___shmctl13 303
865 865
866#else 866#else
867 /* 303 is excluded __shmctl13 */ 867 /* 303 is excluded __shmctl13 */
868#endif 868#endif
869/* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */ 869/* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */
870#define SYS_lchflags 304 870#define SYS_lchflags 304
871 871
872/* syscall: "issetugid" ret: "int" args: */ 872/* syscall: "issetugid" ret: "int" args: */
873#define SYS_issetugid 305 873#define SYS_issetugid 305
874 874
875/* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */ 875/* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */
876#define SYS_utrace 306 876#define SYS_utrace 306
877 877
878/* syscall: "getcontext" ret: "int" args: "struct __ucontext *" */ 878/* syscall: "getcontext" ret: "int" args: "struct __ucontext *" */
879#define SYS_getcontext 307 879#define SYS_getcontext 307
880 880
881/* syscall: "setcontext" ret: "int" args: "const struct __ucontext *" */ 881/* syscall: "setcontext" ret: "int" args: "const struct __ucontext *" */
882#define SYS_setcontext 308 882#define SYS_setcontext 308
883 883
884/* syscall: "_lwp_create" ret: "int" args: "const struct __ucontext *" "u_long" "lwpid_t *" */ 884/* syscall: "_lwp_create" ret: "int" args: "const struct __ucontext *" "u_long" "lwpid_t *" */
885#define SYS__lwp_create 309 885#define SYS__lwp_create 309
886 886
887/* syscall: "_lwp_exit" ret: "int" args: */ 887/* syscall: "_lwp_exit" ret: "int" args: */
888#define SYS__lwp_exit 310 888#define SYS__lwp_exit 310
889 889
890/* syscall: "_lwp_self" ret: "lwpid_t" args: */ 890/* syscall: "_lwp_self" ret: "lwpid_t" args: */
891#define SYS__lwp_self 311 891#define SYS__lwp_self 311
892 892
893/* syscall: "_lwp_wait" ret: "int" args: "lwpid_t" "lwpid_t *" */ 893/* syscall: "_lwp_wait" ret: "int" args: "lwpid_t" "lwpid_t *" */
894#define SYS__lwp_wait 312 894#define SYS__lwp_wait 312
895 895
896/* syscall: "_lwp_suspend" ret: "int" args: "lwpid_t" */ 896/* syscall: "_lwp_suspend" ret: "int" args: "lwpid_t" */
897#define SYS__lwp_suspend 313 897#define SYS__lwp_suspend 313
898 898
899/* syscall: "_lwp_continue" ret: "int" args: "lwpid_t" */ 899/* syscall: "_lwp_continue" ret: "int" args: "lwpid_t" */
900#define SYS__lwp_continue 314 900#define SYS__lwp_continue 314
901 901
902/* syscall: "_lwp_wakeup" ret: "int" args: "lwpid_t" */ 902/* syscall: "_lwp_wakeup" ret: "int" args: "lwpid_t" */
903#define SYS__lwp_wakeup 315 903#define SYS__lwp_wakeup 315
904 904
905/* syscall: "_lwp_getprivate" ret: "void *" args: */ 905/* syscall: "_lwp_getprivate" ret: "void *" args: */
906#define SYS__lwp_getprivate 316 906#define SYS__lwp_getprivate 316
907 907
908/* syscall: "_lwp_setprivate" ret: "void" args: "void *" */ 908/* syscall: "_lwp_setprivate" ret: "void" args: "void *" */
909#define SYS__lwp_setprivate 317 909#define SYS__lwp_setprivate 317
910 910
911/* syscall: "_lwp_kill" ret: "int" args: "lwpid_t" "int" */ 911/* syscall: "_lwp_kill" ret: "int" args: "lwpid_t" "int" */
912#define SYS__lwp_kill 318 912#define SYS__lwp_kill 318
913 913
914/* syscall: "_lwp_detach" ret: "int" args: "lwpid_t" */ 914/* syscall: "_lwp_detach" ret: "int" args: "lwpid_t" */
915#define SYS__lwp_detach 319 915#define SYS__lwp_detach 319
916 916
917/* syscall: "compat_50__lwp_park" ret: "int" args: "const struct timespec50 *" "lwpid_t" "const void *" "const void *" */ 917/* syscall: "compat_50__lwp_park" ret: "int" args: "const struct timespec50 *" "lwpid_t" "const void *" "const void *" */
918#define SYS_compat_50__lwp_park 320 918#define SYS_compat_50__lwp_park 320
919 919
920/* syscall: "_lwp_unpark" ret: "int" args: "lwpid_t" "const void *" */ 920/* syscall: "_lwp_unpark" ret: "int" args: "lwpid_t" "const void *" */
921#define SYS__lwp_unpark 321 921#define SYS__lwp_unpark 321
922 922
923/* syscall: "_lwp_unpark_all" ret: "ssize_t" args: "const lwpid_t *" "size_t" "const void *" */ 923/* syscall: "_lwp_unpark_all" ret: "ssize_t" args: "const lwpid_t *" "size_t" "const void *" */
924#define SYS__lwp_unpark_all 322 924#define SYS__lwp_unpark_all 322
925 925
926/* syscall: "_lwp_setname" ret: "int" args: "lwpid_t" "const char *" */ 926/* syscall: "_lwp_setname" ret: "int" args: "lwpid_t" "const char *" */
927#define SYS__lwp_setname 323 927#define SYS__lwp_setname 323
928 928
929/* syscall: "_lwp_getname" ret: "int" args: "lwpid_t" "char *" "size_t" */ 929/* syscall: "_lwp_getname" ret: "int" args: "lwpid_t" "char *" "size_t" */
930#define SYS__lwp_getname 324 930#define SYS__lwp_getname 324
931 931
932/* syscall: "_lwp_ctl" ret: "int" args: "int" "struct lwpctl **" */ 932/* syscall: "_lwp_ctl" ret: "int" args: "int" "struct lwpctl **" */
933#define SYS__lwp_ctl 325 933#define SYS__lwp_ctl 325
934 934
935/* syscall: "sa_register" ret: "int" args: "sa_upcall_t" "sa_upcall_t *" "int" "ssize_t" */ 935/* syscall: "sa_register" ret: "int" args: "sa_upcall_t" "sa_upcall_t *" "int" "ssize_t" */
936#define SYS_sa_register 330 936#define SYS_sa_register 330
937 937
938/* syscall: "sa_stacks" ret: "int" args: "int" "stack_t *" */ 938/* syscall: "sa_stacks" ret: "int" args: "int" "stack_t *" */
939#define SYS_sa_stacks 331 939#define SYS_sa_stacks 331
940 940
941/* syscall: "sa_enable" ret: "int" args: */ 941/* syscall: "sa_enable" ret: "int" args: */
942#define SYS_sa_enable 332 942#define SYS_sa_enable 332
943 943
944/* syscall: "sa_setconcurrency" ret: "int" args: "int" */ 944/* syscall: "sa_setconcurrency" ret: "int" args: "int" */
945#define SYS_sa_setconcurrency 333 945#define SYS_sa_setconcurrency 333
946 946
947/* syscall: "sa_yield" ret: "int" args: */ 947/* syscall: "sa_yield" ret: "int" args: */
948#define SYS_sa_yield 334 948#define SYS_sa_yield 334
949 949
950/* syscall: "sa_preempt" ret: "int" args: "int" */ 950/* syscall: "sa_preempt" ret: "int" args: "int" */
951#define SYS_sa_preempt 335 951#define SYS_sa_preempt 335
952 952
953 /* 336 is obsolete sys_sa_unblockyield */ 953 /* 336 is obsolete sys_sa_unblockyield */
954/* syscall: "__sigaction_sigtramp" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" "const void *" "int" */ 954/* syscall: "__sigaction_sigtramp" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" "const void *" "int" */
955#define SYS___sigaction_sigtramp 340 955#define SYS___sigaction_sigtramp 340
956 956
957/* syscall: "pmc_get_info" ret: "int" args: "int" "int" "void *" */ 957/* syscall: "pmc_get_info" ret: "int" args: "int" "int" "void *" */
958#define SYS_pmc_get_info 341 958#define SYS_pmc_get_info 341
959 959
960/* syscall: "pmc_control" ret: "int" args: "int" "int" "void *" */ 960/* syscall: "pmc_control" ret: "int" args: "int" "int" "void *" */
961#define SYS_pmc_control 342 961#define SYS_pmc_control 342
962 962
963/* syscall: "rasctl" ret: "int" args: "void *" "size_t" "int" */ 963/* syscall: "rasctl" ret: "int" args: "void *" "size_t" "int" */
964#define SYS_rasctl 343 964#define SYS_rasctl 343
965 965
966/* syscall: "kqueue" ret: "int" args: */ 966/* syscall: "kqueue" ret: "int" args: */
967#define SYS_kqueue 344 967#define SYS_kqueue 344
968 968
969/* syscall: "compat_50_kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec50 *" */ 969/* syscall: "compat_50_kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec50 *" */
970#define SYS_compat_50_kevent 345 970#define SYS_compat_50_kevent 345
971 971
972/* syscall: "_sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const struct sched_param *" */ 972/* syscall: "_sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const struct sched_param *" */
973#define SYS__sched_setparam 346 973#define SYS__sched_setparam 346
974 974
975/* syscall: "_sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "int *" "struct sched_param *" */ 975/* syscall: "_sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "int *" "struct sched_param *" */
976#define SYS__sched_getparam 347 976#define SYS__sched_getparam 347
977 977
978/* syscall: "_sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "const cpuset_t *" */ 978/* syscall: "_sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "const cpuset_t *" */
979#define SYS__sched_setaffinity 348 979#define SYS__sched_setaffinity 348
980 980
981/* syscall: "_sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "cpuset_t *" */ 981/* syscall: "_sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "cpuset_t *" */
982#define SYS__sched_getaffinity 349 982#define SYS__sched_getaffinity 349
983 983
984/* syscall: "sched_yield" ret: "int" args: */ 984/* syscall: "sched_yield" ret: "int" args: */
985#define SYS_sched_yield 350 985#define SYS_sched_yield 350
986 986
987/* syscall: "fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */ 987/* syscall: "fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */
988#define SYS_fsync_range 354 988#define SYS_fsync_range 354
989 989
990/* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */ 990/* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */
991#define SYS_uuidgen 355 991#define SYS_uuidgen 355
992 992
993/* syscall: "getvfsstat" ret: "int" args: "struct statvfs *" "size_t" "int" */ 993/* syscall: "getvfsstat" ret: "int" args: "struct statvfs *" "size_t" "int" */
994#define SYS_getvfsstat 356 994#define SYS_getvfsstat 356
995 995
996/* syscall: "statvfs1" ret: "int" args: "const char *" "struct statvfs *" "int" */ 996/* syscall: "statvfs1" ret: "int" args: "const char *" "struct statvfs *" "int" */
997#define SYS_statvfs1 357 997#define SYS_statvfs1 357
998 998
999/* syscall: "fstatvfs1" ret: "int" args: "int" "struct statvfs *" "int" */ 999/* syscall: "fstatvfs1" ret: "int" args: "int" "struct statvfs *" "int" */
1000#define SYS_fstatvfs1 358 1000#define SYS_fstatvfs1 358
1001 1001
1002/* syscall: "compat_30_fhstatvfs1" ret: "int" args: "const struct compat_30_fhandle *" "struct statvfs *" "int" */ 1002/* syscall: "compat_30_fhstatvfs1" ret: "int" args: "const struct compat_30_fhandle *" "struct statvfs *" "int" */
1003#define SYS_compat_30_fhstatvfs1 359 1003#define SYS_compat_30_fhstatvfs1 359
1004 1004
1005/* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */ 1005/* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */
1006#define SYS_extattrctl 360 1006#define SYS_extattrctl 360

cvs diff -r1.211 -r1.212 src/sys/sys/syscallargs.h (switch to unified diff)

--- src/sys/sys/syscallargs.h 2009/10/13 21:57:53 1.211
+++ src/sys/sys/syscallargs.h 2009/12/14 00:53:32 1.212
@@ -1,1006 +1,1006 @@ @@ -1,1006 +1,1006 @@
1/* $NetBSD: syscallargs.h,v 1.211 2009/10/13 21:57:53 pooka Exp $ */ 1/* $NetBSD: syscallargs.h,v 1.212 2009/12/14 00:53:32 matt Exp $ */
2 2
3/* 3/*
4 * System call argument lists. 4 * System call argument lists.
5 * 5 *
6 * DO NOT EDIT-- this file is automatically generated. 6 * DO NOT EDIT-- this file is automatically generated.
7 * created from NetBSD: syscalls.master,v 1.229 2009/07/21 23:59:00 pooka Exp 7 * created from NetBSD: syscalls.master,v 1.231 2009/11/26 17:20:20 pooka Exp
8 */ 8 */
9 9
10#ifndef _SYS_SYSCALLARGS_H_ 10#ifndef _SYS_SYSCALLARGS_H_
11#define _SYS_SYSCALLARGS_H_ 11#define _SYS_SYSCALLARGS_H_
12 12
13#define SYS_MAXSYSARGS 8 13#define SYS_MAXSYSARGS 8
14 14
15#undef syscallarg 15#undef syscallarg
16#define syscallarg(x) \ 16#define syscallarg(x) \
17 union { \ 17 union { \
18 register_t pad; \ 18 register_t pad; \
19 struct { x datum; } le; \ 19 struct { x datum; } le; \
20 struct { /* LINTED zero array dimension */ \ 20 struct { /* LINTED zero array dimension */ \
21 int8_t pad[ /* CONSTCOND */ \ 21 int8_t pad[ /* CONSTCOND */ \
22 (sizeof (register_t) < sizeof (x)) \ 22 (sizeof (register_t) < sizeof (x)) \
23 ? 0 \ 23 ? 0 \
24 : sizeof (register_t) - sizeof (x)]; \ 24 : sizeof (register_t) - sizeof (x)]; \
25 x datum; \ 25 x datum; \
26 } be; \ 26 } be; \
27 } 27 }
28 28
29#undef check_syscall_args 29#undef check_syscall_args
30#define check_syscall_args(call) \ 30#define check_syscall_args(call) \
31 typedef char call##_check_args[sizeof (struct call##_args) \ 31 typedef char call##_check_args[sizeof (struct call##_args) \
32 <= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; 32 <= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1];
33 33
34struct sys_syscall_args { 34struct sys_syscall_args {
35 syscallarg(int) code; 35 syscallarg(int) code;
36 syscallarg(register_t) args[SYS_MAXSYSARGS]; 36 syscallarg(register_t) args[SYS_MAXSYSARGS];
37}; 37};
38 38
39struct sys_exit_args { 39struct sys_exit_args {
40 syscallarg(int) rval; 40 syscallarg(int) rval;
41}; 41};
42check_syscall_args(sys_exit) 42check_syscall_args(sys_exit)
43 43
44struct sys_read_args { 44struct sys_read_args {
45 syscallarg(int) fd; 45 syscallarg(int) fd;
46 syscallarg(void *) buf; 46 syscallarg(void *) buf;
47 syscallarg(size_t) nbyte; 47 syscallarg(size_t) nbyte;
48}; 48};
49check_syscall_args(sys_read) 49check_syscall_args(sys_read)
50 50
51struct sys_write_args { 51struct sys_write_args {
52 syscallarg(int) fd; 52 syscallarg(int) fd;
53 syscallarg(const void *) buf; 53 syscallarg(const void *) buf;
54 syscallarg(size_t) nbyte; 54 syscallarg(size_t) nbyte;
55}; 55};
56check_syscall_args(sys_write) 56check_syscall_args(sys_write)
57 57
58struct sys_open_args { 58struct sys_open_args {
59 syscallarg(const char *) path; 59 syscallarg(const char *) path;
60 syscallarg(int) flags; 60 syscallarg(int) flags;
61 syscallarg(mode_t) mode; 61 syscallarg(mode_t) mode;
62}; 62};
63check_syscall_args(sys_open) 63check_syscall_args(sys_open)
64 64
65struct sys_close_args { 65struct sys_close_args {
66 syscallarg(int) fd; 66 syscallarg(int) fd;
67}; 67};
68check_syscall_args(sys_close) 68check_syscall_args(sys_close)
69 69
70struct compat_50_sys_wait4_args { 70struct compat_50_sys_wait4_args {
71 syscallarg(int) pid; 71 syscallarg(int) pid;
72 syscallarg(int *) status; 72 syscallarg(int *) status;
73 syscallarg(int) options; 73 syscallarg(int) options;
74 syscallarg(struct rusage50 *) rusage; 74 syscallarg(struct rusage50 *) rusage;
75}; 75};
76check_syscall_args(compat_50_sys_wait4) 76check_syscall_args(compat_50_sys_wait4)
77 77
78struct compat_43_sys_creat_args { 78struct compat_43_sys_creat_args {
79 syscallarg(const char *) path; 79 syscallarg(const char *) path;
80 syscallarg(mode_t) mode; 80 syscallarg(mode_t) mode;
81}; 81};
82check_syscall_args(compat_43_sys_creat) 82check_syscall_args(compat_43_sys_creat)
83 83
84struct sys_link_args { 84struct sys_link_args {
85 syscallarg(const char *) path; 85 syscallarg(const char *) path;
86 syscallarg(const char *) link; 86 syscallarg(const char *) link;
87}; 87};
88check_syscall_args(sys_link) 88check_syscall_args(sys_link)
89 89
90struct sys_unlink_args { 90struct sys_unlink_args {
91 syscallarg(const char *) path; 91 syscallarg(const char *) path;
92}; 92};
93check_syscall_args(sys_unlink) 93check_syscall_args(sys_unlink)
94 94
95struct sys_chdir_args { 95struct sys_chdir_args {
96 syscallarg(const char *) path; 96 syscallarg(const char *) path;
97}; 97};
98check_syscall_args(sys_chdir) 98check_syscall_args(sys_chdir)
99 99
100struct sys_fchdir_args { 100struct sys_fchdir_args {
101 syscallarg(int) fd; 101 syscallarg(int) fd;
102}; 102};
103check_syscall_args(sys_fchdir) 103check_syscall_args(sys_fchdir)
104 104
105struct compat_50_sys_mknod_args { 105struct compat_50_sys_mknod_args {
106 syscallarg(const char *) path; 106 syscallarg(const char *) path;
107 syscallarg(mode_t) mode; 107 syscallarg(mode_t) mode;
108 syscallarg(uint32_t) dev; 108 syscallarg(uint32_t) dev;
109}; 109};
110check_syscall_args(compat_50_sys_mknod) 110check_syscall_args(compat_50_sys_mknod)
111 111
112struct sys_chmod_args { 112struct sys_chmod_args {
113 syscallarg(const char *) path; 113 syscallarg(const char *) path;
114 syscallarg(mode_t) mode; 114 syscallarg(mode_t) mode;
115}; 115};
116check_syscall_args(sys_chmod) 116check_syscall_args(sys_chmod)
117 117
118struct sys_chown_args { 118struct sys_chown_args {
119 syscallarg(const char *) path; 119 syscallarg(const char *) path;
120 syscallarg(uid_t) uid; 120 syscallarg(uid_t) uid;
121 syscallarg(gid_t) gid; 121 syscallarg(gid_t) gid;
122}; 122};
123check_syscall_args(sys_chown) 123check_syscall_args(sys_chown)
124 124
125struct sys_obreak_args { 125struct sys_obreak_args {
126 syscallarg(char *) nsize; 126 syscallarg(char *) nsize;
127}; 127};
128check_syscall_args(sys_obreak) 128check_syscall_args(sys_obreak)
129 129
130struct compat_20_sys_getfsstat_args { 130struct compat_20_sys_getfsstat_args {
131 syscallarg(struct statfs12 *) buf; 131 syscallarg(struct statfs12 *) buf;
132 syscallarg(long) bufsize; 132 syscallarg(long) bufsize;
133 syscallarg(int) flags; 133 syscallarg(int) flags;
134}; 134};
135check_syscall_args(compat_20_sys_getfsstat) 135check_syscall_args(compat_20_sys_getfsstat)
136 136
137struct compat_43_sys_lseek_args { 137struct compat_43_sys_lseek_args {
138 syscallarg(int) fd; 138 syscallarg(int) fd;
139 syscallarg(long) offset; 139 syscallarg(long) offset;
140 syscallarg(int) whence; 140 syscallarg(int) whence;
141}; 141};
142check_syscall_args(compat_43_sys_lseek) 142check_syscall_args(compat_43_sys_lseek)
143 143
144struct compat_40_sys_mount_args { 144struct compat_40_sys_mount_args {
145 syscallarg(const char *) type; 145 syscallarg(const char *) type;
146 syscallarg(const char *) path; 146 syscallarg(const char *) path;
147 syscallarg(int) flags; 147 syscallarg(int) flags;
148 syscallarg(void *) data; 148 syscallarg(void *) data;
149}; 149};
150check_syscall_args(compat_40_sys_mount) 150check_syscall_args(compat_40_sys_mount)
151 151
152struct sys_unmount_args { 152struct sys_unmount_args {
153 syscallarg(const char *) path; 153 syscallarg(const char *) path;
154 syscallarg(int) flags; 154 syscallarg(int) flags;
155}; 155};
156check_syscall_args(sys_unmount) 156check_syscall_args(sys_unmount)
157 157
158struct sys_setuid_args { 158struct sys_setuid_args {
159 syscallarg(uid_t) uid; 159 syscallarg(uid_t) uid;
160}; 160};
161check_syscall_args(sys_setuid) 161check_syscall_args(sys_setuid)
162 162
163struct sys_ptrace_args { 163struct sys_ptrace_args {
164 syscallarg(int) req; 164 syscallarg(int) req;
165 syscallarg(pid_t) pid; 165 syscallarg(pid_t) pid;
166 syscallarg(void *) addr; 166 syscallarg(void *) addr;
167 syscallarg(int) data; 167 syscallarg(int) data;
168}; 168};
169check_syscall_args(sys_ptrace) 169check_syscall_args(sys_ptrace)
170 170
171struct sys_recvmsg_args { 171struct sys_recvmsg_args {
172 syscallarg(int) s; 172 syscallarg(int) s;
173 syscallarg(struct msghdr *) msg; 173 syscallarg(struct msghdr *) msg;
174 syscallarg(int) flags; 174 syscallarg(int) flags;
175}; 175};
176check_syscall_args(sys_recvmsg) 176check_syscall_args(sys_recvmsg)
177 177
178struct sys_sendmsg_args { 178struct sys_sendmsg_args {
179 syscallarg(int) s; 179 syscallarg(int) s;
180 syscallarg(const struct msghdr *) msg; 180 syscallarg(const struct msghdr *) msg;
181 syscallarg(int) flags; 181 syscallarg(int) flags;
182}; 182};
183check_syscall_args(sys_sendmsg) 183check_syscall_args(sys_sendmsg)
184 184
185struct sys_recvfrom_args { 185struct sys_recvfrom_args {
186 syscallarg(int) s; 186 syscallarg(int) s;
187 syscallarg(void *) buf; 187 syscallarg(void *) buf;
188 syscallarg(size_t) len; 188 syscallarg(size_t) len;
189 syscallarg(int) flags; 189 syscallarg(int) flags;
190 syscallarg(struct sockaddr *) from; 190 syscallarg(struct sockaddr *) from;
191 syscallarg(unsigned int *) fromlenaddr; 191 syscallarg(unsigned int *) fromlenaddr;
192}; 192};
193check_syscall_args(sys_recvfrom) 193check_syscall_args(sys_recvfrom)
194 194
195struct sys_accept_args { 195struct sys_accept_args {
196 syscallarg(int) s; 196 syscallarg(int) s;
197 syscallarg(struct sockaddr *) name; 197 syscallarg(struct sockaddr *) name;
198 syscallarg(unsigned int *) anamelen; 198 syscallarg(unsigned int *) anamelen;
199}; 199};
200check_syscall_args(sys_accept) 200check_syscall_args(sys_accept)
201 201
202struct sys_getpeername_args { 202struct sys_getpeername_args {
203 syscallarg(int) fdes; 203 syscallarg(int) fdes;
204 syscallarg(struct sockaddr *) asa; 204 syscallarg(struct sockaddr *) asa;
205 syscallarg(unsigned int *) alen; 205 syscallarg(unsigned int *) alen;
206}; 206};
207check_syscall_args(sys_getpeername) 207check_syscall_args(sys_getpeername)
208 208
209struct sys_getsockname_args { 209struct sys_getsockname_args {
210 syscallarg(int) fdes; 210 syscallarg(int) fdes;
211 syscallarg(struct sockaddr *) asa; 211 syscallarg(struct sockaddr *) asa;
212 syscallarg(unsigned int *) alen; 212 syscallarg(unsigned int *) alen;
213}; 213};
214check_syscall_args(sys_getsockname) 214check_syscall_args(sys_getsockname)
215 215
216struct sys_access_args { 216struct sys_access_args {
217 syscallarg(const char *) path; 217 syscallarg(const char *) path;
218 syscallarg(int) flags; 218 syscallarg(int) flags;
219}; 219};
220check_syscall_args(sys_access) 220check_syscall_args(sys_access)
221 221
222struct sys_chflags_args { 222struct sys_chflags_args {
223 syscallarg(const char *) path; 223 syscallarg(const char *) path;
224 syscallarg(u_long) flags; 224 syscallarg(u_long) flags;
225}; 225};
226check_syscall_args(sys_chflags) 226check_syscall_args(sys_chflags)
227 227
228struct sys_fchflags_args { 228struct sys_fchflags_args {
229 syscallarg(int) fd; 229 syscallarg(int) fd;
230 syscallarg(u_long) flags; 230 syscallarg(u_long) flags;
231}; 231};
232check_syscall_args(sys_fchflags) 232check_syscall_args(sys_fchflags)
233 233
234struct sys_kill_args { 234struct sys_kill_args {
235 syscallarg(int) pid; 235 syscallarg(int) pid;
236 syscallarg(int) signum; 236 syscallarg(int) signum;
237}; 237};
238check_syscall_args(sys_kill) 238check_syscall_args(sys_kill)
239 239
240struct compat_43_sys_stat_args { 240struct compat_43_sys_stat_args {
241 syscallarg(const char *) path; 241 syscallarg(const char *) path;
242 syscallarg(struct stat43 *) ub; 242 syscallarg(struct stat43 *) ub;
243}; 243};
244check_syscall_args(compat_43_sys_stat) 244check_syscall_args(compat_43_sys_stat)
245 245
246struct compat_43_sys_lstat_args { 246struct compat_43_sys_lstat_args {
247 syscallarg(const char *) path; 247 syscallarg(const char *) path;
248 syscallarg(struct stat43 *) ub; 248 syscallarg(struct stat43 *) ub;
249}; 249};
250check_syscall_args(compat_43_sys_lstat) 250check_syscall_args(compat_43_sys_lstat)
251 251
252struct sys_dup_args { 252struct sys_dup_args {
253 syscallarg(int) fd; 253 syscallarg(int) fd;
254}; 254};
255check_syscall_args(sys_dup) 255check_syscall_args(sys_dup)
256 256
257struct sys_profil_args { 257struct sys_profil_args {
258 syscallarg(char *) samples; 258 syscallarg(char *) samples;
259 syscallarg(size_t) size; 259 syscallarg(size_t) size;
260 syscallarg(u_long) offset; 260 syscallarg(u_long) offset;
261 syscallarg(u_int) scale; 261 syscallarg(u_int) scale;
262}; 262};
263check_syscall_args(sys_profil) 263check_syscall_args(sys_profil)
264 264
265struct sys_ktrace_args { 265struct sys_ktrace_args {
266 syscallarg(const char *) fname; 266 syscallarg(const char *) fname;
267 syscallarg(int) ops; 267 syscallarg(int) ops;
268 syscallarg(int) facs; 268 syscallarg(int) facs;
269 syscallarg(int) pid; 269 syscallarg(int) pid;
270}; 270};
271check_syscall_args(sys_ktrace) 271check_syscall_args(sys_ktrace)
272 272
273struct compat_13_sys_sigaction_args { 273struct compat_13_sys_sigaction_args {
274 syscallarg(int) signum; 274 syscallarg(int) signum;
275 syscallarg(const struct sigaction13 *) nsa; 275 syscallarg(const struct sigaction13 *) nsa;
276 syscallarg(struct sigaction13 *) osa; 276 syscallarg(struct sigaction13 *) osa;
277}; 277};
278check_syscall_args(compat_13_sys_sigaction) 278check_syscall_args(compat_13_sys_sigaction)
279 279
280struct compat_13_sys_sigprocmask_args { 280struct compat_13_sys_sigprocmask_args {
281 syscallarg(int) how; 281 syscallarg(int) how;
282 syscallarg(int) mask; 282 syscallarg(int) mask;
283}; 283};
284check_syscall_args(compat_13_sys_sigprocmask) 284check_syscall_args(compat_13_sys_sigprocmask)
285 285
286struct sys___getlogin_args { 286struct sys___getlogin_args {
287 syscallarg(char *) namebuf; 287 syscallarg(char *) namebuf;
288 syscallarg(size_t) namelen; 288 syscallarg(size_t) namelen;
289}; 289};
290check_syscall_args(sys___getlogin) 290check_syscall_args(sys___getlogin)
291 291
292struct sys___setlogin_args { 292struct sys___setlogin_args {
293 syscallarg(const char *) namebuf; 293 syscallarg(const char *) namebuf;
294}; 294};
295check_syscall_args(sys___setlogin) 295check_syscall_args(sys___setlogin)
296 296
297struct sys_acct_args { 297struct sys_acct_args {
298 syscallarg(const char *) path; 298 syscallarg(const char *) path;
299}; 299};
300check_syscall_args(sys_acct) 300check_syscall_args(sys_acct)
301 301
302struct compat_13_sys_sigaltstack_args { 302struct compat_13_sys_sigaltstack_args {
303 syscallarg(const struct sigaltstack13 *) nss; 303 syscallarg(const struct sigaltstack13 *) nss;
304 syscallarg(struct sigaltstack13 *) oss; 304 syscallarg(struct sigaltstack13 *) oss;
305}; 305};
306check_syscall_args(compat_13_sys_sigaltstack) 306check_syscall_args(compat_13_sys_sigaltstack)
307 307
308struct sys_ioctl_args { 308struct sys_ioctl_args {
309 syscallarg(int) fd; 309 syscallarg(int) fd;
310 syscallarg(u_long) com; 310 syscallarg(u_long) com;
311 syscallarg(void *) data; 311 syscallarg(void *) data;
312}; 312};
313check_syscall_args(sys_ioctl) 313check_syscall_args(sys_ioctl)
314 314
315struct compat_12_sys_reboot_args { 315struct compat_12_sys_reboot_args {
316 syscallarg(int) opt; 316 syscallarg(int) opt;
317}; 317};
318check_syscall_args(compat_12_sys_reboot) 318check_syscall_args(compat_12_sys_reboot)
319 319
320struct sys_revoke_args { 320struct sys_revoke_args {
321 syscallarg(const char *) path; 321 syscallarg(const char *) path;
322}; 322};
323check_syscall_args(sys_revoke) 323check_syscall_args(sys_revoke)
324 324
325struct sys_symlink_args { 325struct sys_symlink_args {
326 syscallarg(const char *) path; 326 syscallarg(const char *) path;
327 syscallarg(const char *) link; 327 syscallarg(const char *) link;
328}; 328};
329check_syscall_args(sys_symlink) 329check_syscall_args(sys_symlink)
330 330
331struct sys_readlink_args { 331struct sys_readlink_args {
332 syscallarg(const char *) path; 332 syscallarg(const char *) path;
333 syscallarg(char *) buf; 333 syscallarg(char *) buf;
334 syscallarg(size_t) count; 334 syscallarg(size_t) count;
335}; 335};
336check_syscall_args(sys_readlink) 336check_syscall_args(sys_readlink)
337 337
338struct sys_execve_args { 338struct sys_execve_args {
339 syscallarg(const char *) path; 339 syscallarg(const char *) path;
340 syscallarg(char *const *) argp; 340 syscallarg(char *const *) argp;
341 syscallarg(char *const *) envp; 341 syscallarg(char *const *) envp;
342}; 342};
343check_syscall_args(sys_execve) 343check_syscall_args(sys_execve)
344 344
345struct sys_umask_args { 345struct sys_umask_args {
346 syscallarg(mode_t) newmask; 346 syscallarg(mode_t) newmask;
347}; 347};
348check_syscall_args(sys_umask) 348check_syscall_args(sys_umask)
349 349
350struct sys_chroot_args { 350struct sys_chroot_args {
351 syscallarg(const char *) path; 351 syscallarg(const char *) path;
352}; 352};
353check_syscall_args(sys_chroot) 353check_syscall_args(sys_chroot)
354 354
355struct compat_43_sys_fstat_args { 355struct compat_43_sys_fstat_args {
356 syscallarg(int) fd; 356 syscallarg(int) fd;
357 syscallarg(struct stat43 *) sb; 357 syscallarg(struct stat43 *) sb;
358}; 358};
359check_syscall_args(compat_43_sys_fstat) 359check_syscall_args(compat_43_sys_fstat)
360 360
361struct compat_43_sys_getkerninfo_args { 361struct compat_43_sys_getkerninfo_args {
362 syscallarg(int) op; 362 syscallarg(int) op;
363 syscallarg(char *) where; 363 syscallarg(char *) where;
364 syscallarg(int *) size; 364 syscallarg(int *) size;
365 syscallarg(int) arg; 365 syscallarg(int) arg;
366}; 366};
367check_syscall_args(compat_43_sys_getkerninfo) 367check_syscall_args(compat_43_sys_getkerninfo)
368 368
369struct compat_12_sys_msync_args { 369struct compat_12_sys_msync_args {
370 syscallarg(void *) addr; 370 syscallarg(void *) addr;
371 syscallarg(size_t) len; 371 syscallarg(size_t) len;
372}; 372};
373check_syscall_args(compat_12_sys_msync) 373check_syscall_args(compat_12_sys_msync)
374 374
375struct sys_sbrk_args { 375struct sys_sbrk_args {
376 syscallarg(intptr_t) incr; 376 syscallarg(intptr_t) incr;
377}; 377};
378check_syscall_args(sys_sbrk) 378check_syscall_args(sys_sbrk)
379 379
380struct sys_sstk_args { 380struct sys_sstk_args {
381 syscallarg(int) incr; 381 syscallarg(int) incr;
382}; 382};
383check_syscall_args(sys_sstk) 383check_syscall_args(sys_sstk)
384 384
385struct compat_43_sys_mmap_args { 385struct compat_43_sys_mmap_args {
386 syscallarg(void *) addr; 386 syscallarg(void *) addr;
387 syscallarg(size_t) len; 387 syscallarg(size_t) len;
388 syscallarg(int) prot; 388 syscallarg(int) prot;
389 syscallarg(int) flags; 389 syscallarg(int) flags;
390 syscallarg(int) fd; 390 syscallarg(int) fd;
391 syscallarg(long) pos; 391 syscallarg(long) pos;
392}; 392};
393check_syscall_args(compat_43_sys_mmap) 393check_syscall_args(compat_43_sys_mmap)
394 394
395struct sys_ovadvise_args { 395struct sys_ovadvise_args {
396 syscallarg(int) anom; 396 syscallarg(int) anom;
397}; 397};
398check_syscall_args(sys_ovadvise) 398check_syscall_args(sys_ovadvise)
399 399
400struct sys_munmap_args { 400struct sys_munmap_args {
401 syscallarg(void *) addr; 401 syscallarg(void *) addr;
402 syscallarg(size_t) len; 402 syscallarg(size_t) len;
403}; 403};
404check_syscall_args(sys_munmap) 404check_syscall_args(sys_munmap)
405 405
406struct sys_mprotect_args { 406struct sys_mprotect_args {
407 syscallarg(void *) addr; 407 syscallarg(void *) addr;
408 syscallarg(size_t) len; 408 syscallarg(size_t) len;
409 syscallarg(int) prot; 409 syscallarg(int) prot;
410}; 410};
411check_syscall_args(sys_mprotect) 411check_syscall_args(sys_mprotect)
412 412
413struct sys_madvise_args { 413struct sys_madvise_args {
414 syscallarg(void *) addr; 414 syscallarg(void *) addr;
415 syscallarg(size_t) len; 415 syscallarg(size_t) len;
416 syscallarg(int) behav; 416 syscallarg(int) behav;
417}; 417};
418check_syscall_args(sys_madvise) 418check_syscall_args(sys_madvise)
419 419
420struct sys_mincore_args { 420struct sys_mincore_args {
421 syscallarg(void *) addr; 421 syscallarg(void *) addr;
422 syscallarg(size_t) len; 422 syscallarg(size_t) len;
423 syscallarg(char *) vec; 423 syscallarg(char *) vec;
424}; 424};
425check_syscall_args(sys_mincore) 425check_syscall_args(sys_mincore)
426 426
427struct sys_getgroups_args { 427struct sys_getgroups_args {
428 syscallarg(int) gidsetsize; 428 syscallarg(int) gidsetsize;
429 syscallarg(gid_t *) gidset; 429 syscallarg(gid_t *) gidset;
430}; 430};
431check_syscall_args(sys_getgroups) 431check_syscall_args(sys_getgroups)
432 432
433struct sys_setgroups_args { 433struct sys_setgroups_args {
434 syscallarg(int) gidsetsize; 434 syscallarg(int) gidsetsize;
435 syscallarg(const gid_t *) gidset; 435 syscallarg(const gid_t *) gidset;
436}; 436};
437check_syscall_args(sys_setgroups) 437check_syscall_args(sys_setgroups)
438 438
439struct sys_setpgid_args { 439struct sys_setpgid_args {
440 syscallarg(int) pid; 440 syscallarg(int) pid;
441 syscallarg(int) pgid; 441 syscallarg(int) pgid;
442}; 442};
443check_syscall_args(sys_setpgid) 443check_syscall_args(sys_setpgid)
444 444
445struct compat_50_sys_setitimer_args { 445struct compat_50_sys_setitimer_args {
446 syscallarg(int) which; 446 syscallarg(int) which;
447 syscallarg(const struct itimerval50 *) itv; 447 syscallarg(const struct itimerval50 *) itv;
448 syscallarg(struct itimerval50 *) oitv; 448 syscallarg(struct itimerval50 *) oitv;
449}; 449};
450check_syscall_args(compat_50_sys_setitimer) 450check_syscall_args(compat_50_sys_setitimer)
451 451
452struct compat_12_sys_swapon_args { 452struct compat_12_sys_swapon_args {
453 syscallarg(const char *) name; 453 syscallarg(const char *) name;
454}; 454};
455check_syscall_args(compat_12_sys_swapon) 455check_syscall_args(compat_12_sys_swapon)
456 456
457struct compat_50_sys_getitimer_args { 457struct compat_50_sys_getitimer_args {
458 syscallarg(int) which; 458 syscallarg(int) which;
459 syscallarg(struct itimerval50 *) itv; 459 syscallarg(struct itimerval50 *) itv;
460}; 460};
461check_syscall_args(compat_50_sys_getitimer) 461check_syscall_args(compat_50_sys_getitimer)
462 462
463struct compat_43_sys_gethostname_args { 463struct compat_43_sys_gethostname_args {
464 syscallarg(char *) hostname; 464 syscallarg(char *) hostname;
465 syscallarg(u_int) len; 465 syscallarg(u_int) len;
466}; 466};
467check_syscall_args(compat_43_sys_gethostname) 467check_syscall_args(compat_43_sys_gethostname)
468 468
469struct compat_43_sys_sethostname_args { 469struct compat_43_sys_sethostname_args {
470 syscallarg(char *) hostname; 470 syscallarg(char *) hostname;
471 syscallarg(u_int) len; 471 syscallarg(u_int) len;
472}; 472};
473check_syscall_args(compat_43_sys_sethostname) 473check_syscall_args(compat_43_sys_sethostname)
474 474
475struct sys_dup2_args { 475struct sys_dup2_args {
476 syscallarg(int) from; 476 syscallarg(int) from;
477 syscallarg(int) to; 477 syscallarg(int) to;
478}; 478};
479check_syscall_args(sys_dup2) 479check_syscall_args(sys_dup2)
480 480
481struct sys_fcntl_args { 481struct sys_fcntl_args {
482 syscallarg(int) fd; 482 syscallarg(int) fd;
483 syscallarg(int) cmd; 483 syscallarg(int) cmd;
484 syscallarg(void *) arg; 484 syscallarg(void *) arg;
485}; 485};
486check_syscall_args(sys_fcntl) 486check_syscall_args(sys_fcntl)
487 487
488struct compat_50_sys_select_args { 488struct compat_50_sys_select_args {
489 syscallarg(int) nd; 489 syscallarg(int) nd;
490 syscallarg(fd_set *) in; 490 syscallarg(fd_set *) in;
491 syscallarg(fd_set *) ou; 491 syscallarg(fd_set *) ou;
492 syscallarg(fd_set *) ex; 492 syscallarg(fd_set *) ex;
493 syscallarg(struct timeval50 *) tv; 493 syscallarg(struct timeval50 *) tv;
494}; 494};
495check_syscall_args(compat_50_sys_select) 495check_syscall_args(compat_50_sys_select)
496 496
497struct sys_fsync_args { 497struct sys_fsync_args {
498 syscallarg(int) fd; 498 syscallarg(int) fd;
499}; 499};
500check_syscall_args(sys_fsync) 500check_syscall_args(sys_fsync)
501 501
502struct sys_setpriority_args { 502struct sys_setpriority_args {
503 syscallarg(int) which; 503 syscallarg(int) which;
504 syscallarg(id_t) who; 504 syscallarg(id_t) who;
505 syscallarg(int) prio; 505 syscallarg(int) prio;
506}; 506};
507check_syscall_args(sys_setpriority) 507check_syscall_args(sys_setpriority)
508 508
509struct compat_30_sys_socket_args { 509struct compat_30_sys_socket_args {
510 syscallarg(int) domain; 510 syscallarg(int) domain;
511 syscallarg(int) type; 511 syscallarg(int) type;
512 syscallarg(int) protocol; 512 syscallarg(int) protocol;
513}; 513};
514check_syscall_args(compat_30_sys_socket) 514check_syscall_args(compat_30_sys_socket)
515 515
516struct sys_connect_args { 516struct sys_connect_args {
517 syscallarg(int) s; 517 syscallarg(int) s;
518 syscallarg(const struct sockaddr *) name; 518 syscallarg(const struct sockaddr *) name;
519 syscallarg(unsigned int) namelen; 519 syscallarg(unsigned int) namelen;
520}; 520};
521check_syscall_args(sys_connect) 521check_syscall_args(sys_connect)
522 522
523struct compat_43_sys_accept_args { 523struct compat_43_sys_accept_args {
524 syscallarg(int) s; 524 syscallarg(int) s;
525 syscallarg(void *) name; 525 syscallarg(void *) name;
526 syscallarg(int *) anamelen; 526 syscallarg(int *) anamelen;
527}; 527};
528check_syscall_args(compat_43_sys_accept) 528check_syscall_args(compat_43_sys_accept)
529 529
530struct sys_getpriority_args { 530struct sys_getpriority_args {
531 syscallarg(int) which; 531 syscallarg(int) which;
532 syscallarg(id_t) who; 532 syscallarg(id_t) who;
533}; 533};
534check_syscall_args(sys_getpriority) 534check_syscall_args(sys_getpriority)
535 535
536struct compat_43_sys_send_args { 536struct compat_43_sys_send_args {
537 syscallarg(int) s; 537 syscallarg(int) s;
538 syscallarg(void *) buf; 538 syscallarg(void *) buf;
539 syscallarg(int) len; 539 syscallarg(int) len;
540 syscallarg(int) flags; 540 syscallarg(int) flags;
541}; 541};
542check_syscall_args(compat_43_sys_send) 542check_syscall_args(compat_43_sys_send)
543 543
544struct compat_43_sys_recv_args { 544struct compat_43_sys_recv_args {
545 syscallarg(int) s; 545 syscallarg(int) s;
546 syscallarg(void *) buf; 546 syscallarg(void *) buf;
547 syscallarg(int) len; 547 syscallarg(int) len;
548 syscallarg(int) flags; 548 syscallarg(int) flags;
549}; 549};
550check_syscall_args(compat_43_sys_recv) 550check_syscall_args(compat_43_sys_recv)
551 551
552struct compat_13_sys_sigreturn_args { 552struct compat_13_sys_sigreturn_args {
553 syscallarg(struct sigcontext13 *) sigcntxp; 553 syscallarg(struct sigcontext13 *) sigcntxp;
554}; 554};
555check_syscall_args(compat_13_sys_sigreturn) 555check_syscall_args(compat_13_sys_sigreturn)
556 556
557struct sys_bind_args { 557struct sys_bind_args {
558 syscallarg(int) s; 558 syscallarg(int) s;
559 syscallarg(const struct sockaddr *) name; 559 syscallarg(const struct sockaddr *) name;
560 syscallarg(unsigned int) namelen; 560 syscallarg(unsigned int) namelen;
561}; 561};
562check_syscall_args(sys_bind) 562check_syscall_args(sys_bind)
563 563
564struct sys_setsockopt_args { 564struct sys_setsockopt_args {
565 syscallarg(int) s; 565 syscallarg(int) s;
566 syscallarg(int) level; 566 syscallarg(int) level;
567 syscallarg(int) name; 567 syscallarg(int) name;
568 syscallarg(const void *) val; 568 syscallarg(const void *) val;
569 syscallarg(unsigned int) valsize; 569 syscallarg(unsigned int) valsize;
570}; 570};
571check_syscall_args(sys_setsockopt) 571check_syscall_args(sys_setsockopt)
572 572
573struct sys_listen_args { 573struct sys_listen_args {
574 syscallarg(int) s; 574 syscallarg(int) s;
575 syscallarg(int) backlog; 575 syscallarg(int) backlog;
576}; 576};
577check_syscall_args(sys_listen) 577check_syscall_args(sys_listen)
578 578
579struct compat_43_sys_sigvec_args { 579struct compat_43_sys_sigvec_args {
580 syscallarg(int) signum; 580 syscallarg(int) signum;
581 syscallarg(struct sigvec *) nsv; 581 syscallarg(struct sigvec *) nsv;
582 syscallarg(struct sigvec *) osv; 582 syscallarg(struct sigvec *) osv;
583}; 583};
584check_syscall_args(compat_43_sys_sigvec) 584check_syscall_args(compat_43_sys_sigvec)
585 585
586struct compat_43_sys_sigblock_args { 586struct compat_43_sys_sigblock_args {
587 syscallarg(int) mask; 587 syscallarg(int) mask;
588}; 588};
589check_syscall_args(compat_43_sys_sigblock) 589check_syscall_args(compat_43_sys_sigblock)
590 590
591struct compat_43_sys_sigsetmask_args { 591struct compat_43_sys_sigsetmask_args {
592 syscallarg(int) mask; 592 syscallarg(int) mask;
593}; 593};
594check_syscall_args(compat_43_sys_sigsetmask) 594check_syscall_args(compat_43_sys_sigsetmask)
595 595
596struct compat_13_sys_sigsuspend_args { 596struct compat_13_sys_sigsuspend_args {
597 syscallarg(int) mask; 597 syscallarg(int) mask;
598}; 598};
599check_syscall_args(compat_13_sys_sigsuspend) 599check_syscall_args(compat_13_sys_sigsuspend)
600 600
601struct compat_43_sys_sigstack_args { 601struct compat_43_sys_sigstack_args {
602 syscallarg(struct sigstack *) nss; 602 syscallarg(struct sigstack *) nss;
603 syscallarg(struct sigstack *) oss; 603 syscallarg(struct sigstack *) oss;
604}; 604};
605check_syscall_args(compat_43_sys_sigstack) 605check_syscall_args(compat_43_sys_sigstack)
606 606
607struct compat_43_sys_recvmsg_args { 607struct compat_43_sys_recvmsg_args {
608 syscallarg(int) s; 608 syscallarg(int) s;
609 syscallarg(struct omsghdr *) msg; 609 syscallarg(struct omsghdr *) msg;
610 syscallarg(int) flags; 610 syscallarg(int) flags;
611}; 611};
612check_syscall_args(compat_43_sys_recvmsg) 612check_syscall_args(compat_43_sys_recvmsg)
613 613
614struct compat_43_sys_sendmsg_args { 614struct compat_43_sys_sendmsg_args {
615 syscallarg(int) s; 615 syscallarg(int) s;
616 syscallarg(void *) msg; 616 syscallarg(void *) msg;
617 syscallarg(int) flags; 617 syscallarg(int) flags;
618}; 618};
619check_syscall_args(compat_43_sys_sendmsg) 619check_syscall_args(compat_43_sys_sendmsg)
620 620
621struct compat_50_sys_gettimeofday_args { 621struct compat_50_sys_gettimeofday_args {
622 syscallarg(struct timeval50 *) tp; 622 syscallarg(struct timeval50 *) tp;
623 syscallarg(void *) tzp; 623 syscallarg(void *) tzp;
624}; 624};
625check_syscall_args(compat_50_sys_gettimeofday) 625check_syscall_args(compat_50_sys_gettimeofday)
626 626
627struct compat_50_sys_getrusage_args { 627struct compat_50_sys_getrusage_args {
628 syscallarg(int) who; 628 syscallarg(int) who;
629 syscallarg(struct rusage50 *) rusage; 629 syscallarg(struct rusage50 *) rusage;
630}; 630};
631check_syscall_args(compat_50_sys_getrusage) 631check_syscall_args(compat_50_sys_getrusage)
632 632
633struct sys_getsockopt_args { 633struct sys_getsockopt_args {
634 syscallarg(int) s; 634 syscallarg(int) s;
635 syscallarg(int) level; 635 syscallarg(int) level;
636 syscallarg(int) name; 636 syscallarg(int) name;
637 syscallarg(void *) val; 637 syscallarg(void *) val;
638 syscallarg(unsigned int *) avalsize; 638 syscallarg(unsigned int *) avalsize;
639}; 639};
640check_syscall_args(sys_getsockopt) 640check_syscall_args(sys_getsockopt)
641 641
642struct sys_readv_args { 642struct sys_readv_args {
643 syscallarg(int) fd; 643 syscallarg(int) fd;
644 syscallarg(const struct iovec *) iovp; 644 syscallarg(const struct iovec *) iovp;
645 syscallarg(int) iovcnt; 645 syscallarg(int) iovcnt;
646}; 646};
647check_syscall_args(sys_readv) 647check_syscall_args(sys_readv)
648 648
649struct sys_writev_args { 649struct sys_writev_args {
650 syscallarg(int) fd; 650 syscallarg(int) fd;
651 syscallarg(const struct iovec *) iovp; 651 syscallarg(const struct iovec *) iovp;
652 syscallarg(int) iovcnt; 652 syscallarg(int) iovcnt;
653}; 653};
654check_syscall_args(sys_writev) 654check_syscall_args(sys_writev)
655 655
656struct compat_50_sys_settimeofday_args { 656struct compat_50_sys_settimeofday_args {
657 syscallarg(const struct timeval50 *) tv; 657 syscallarg(const struct timeval50 *) tv;
658 syscallarg(const void *) tzp; 658 syscallarg(const void *) tzp;
659}; 659};
660check_syscall_args(compat_50_sys_settimeofday) 660check_syscall_args(compat_50_sys_settimeofday)
661 661
662struct sys_fchown_args { 662struct sys_fchown_args {
663 syscallarg(int) fd; 663 syscallarg(int) fd;
664 syscallarg(uid_t) uid; 664 syscallarg(uid_t) uid;
665 syscallarg(gid_t) gid; 665 syscallarg(gid_t) gid;
666}; 666};
667check_syscall_args(sys_fchown) 667check_syscall_args(sys_fchown)
668 668
669struct sys_fchmod_args { 669struct sys_fchmod_args {
670 syscallarg(int) fd; 670 syscallarg(int) fd;
671 syscallarg(mode_t) mode; 671 syscallarg(mode_t) mode;
672}; 672};
673check_syscall_args(sys_fchmod) 673check_syscall_args(sys_fchmod)
674 674
675struct compat_43_sys_recvfrom_args { 675struct compat_43_sys_recvfrom_args {
676 syscallarg(int) s; 676 syscallarg(int) s;
677 syscallarg(void *) buf; 677 syscallarg(void *) buf;
678 syscallarg(size_t) len; 678 syscallarg(size_t) len;
679 syscallarg(int) flags; 679 syscallarg(int) flags;
680 syscallarg(void *) from; 680 syscallarg(void *) from;
681 syscallarg(int *) fromlenaddr; 681 syscallarg(int *) fromlenaddr;
682}; 682};
683check_syscall_args(compat_43_sys_recvfrom) 683check_syscall_args(compat_43_sys_recvfrom)
684 684
685struct sys_setreuid_args { 685struct sys_setreuid_args {
686 syscallarg(uid_t) ruid; 686 syscallarg(uid_t) ruid;
687 syscallarg(uid_t) euid; 687 syscallarg(uid_t) euid;
688}; 688};
689check_syscall_args(sys_setreuid) 689check_syscall_args(sys_setreuid)
690 690
691struct sys_setregid_args { 691struct sys_setregid_args {
692 syscallarg(gid_t) rgid; 692 syscallarg(gid_t) rgid;
693 syscallarg(gid_t) egid; 693 syscallarg(gid_t) egid;
694}; 694};
695check_syscall_args(sys_setregid) 695check_syscall_args(sys_setregid)
696 696
697struct sys_rename_args { 697struct sys_rename_args {
698 syscallarg(const char *) from; 698 syscallarg(const char *) from;
699 syscallarg(const char *) to; 699 syscallarg(const char *) to;
700}; 700};
701check_syscall_args(sys_rename) 701check_syscall_args(sys_rename)
702 702
703struct compat_43_sys_truncate_args { 703struct compat_43_sys_truncate_args {
704 syscallarg(const char *) path; 704 syscallarg(const char *) path;
705 syscallarg(long) length; 705 syscallarg(long) length;
706}; 706};
707check_syscall_args(compat_43_sys_truncate) 707check_syscall_args(compat_43_sys_truncate)
708 708
709struct compat_43_sys_ftruncate_args { 709struct compat_43_sys_ftruncate_args {
710 syscallarg(int) fd; 710 syscallarg(int) fd;
711 syscallarg(long) length; 711 syscallarg(long) length;
712}; 712};
713check_syscall_args(compat_43_sys_ftruncate) 713check_syscall_args(compat_43_sys_ftruncate)
714 714
715struct sys_flock_args { 715struct sys_flock_args {
716 syscallarg(int) fd; 716 syscallarg(int) fd;
717 syscallarg(int) how; 717 syscallarg(int) how;
718}; 718};
719check_syscall_args(sys_flock) 719check_syscall_args(sys_flock)
720 720
721struct sys_mkfifo_args { 721struct sys_mkfifo_args {
722 syscallarg(const char *) path; 722 syscallarg(const char *) path;
723 syscallarg(mode_t) mode; 723 syscallarg(mode_t) mode;
724}; 724};
725check_syscall_args(sys_mkfifo) 725check_syscall_args(sys_mkfifo)
726 726
727struct sys_sendto_args { 727struct sys_sendto_args {
728 syscallarg(int) s; 728 syscallarg(int) s;
729 syscallarg(const void *) buf; 729 syscallarg(const void *) buf;
730 syscallarg(size_t) len; 730 syscallarg(size_t) len;
731 syscallarg(int) flags; 731 syscallarg(int) flags;
732 syscallarg(const struct sockaddr *) to; 732 syscallarg(const struct sockaddr *) to;
733 syscallarg(unsigned int) tolen; 733 syscallarg(unsigned int) tolen;
734}; 734};
735check_syscall_args(sys_sendto) 735check_syscall_args(sys_sendto)
736 736
737struct sys_shutdown_args { 737struct sys_shutdown_args {
738 syscallarg(int) s; 738 syscallarg(int) s;
739 syscallarg(int) how; 739 syscallarg(int) how;
740}; 740};
741check_syscall_args(sys_shutdown) 741check_syscall_args(sys_shutdown)
742 742
743struct sys_socketpair_args { 743struct sys_socketpair_args {
744 syscallarg(int) domain; 744 syscallarg(int) domain;
745 syscallarg(int) type; 745 syscallarg(int) type;
746 syscallarg(int) protocol; 746 syscallarg(int) protocol;
747 syscallarg(int *) rsv; 747 syscallarg(int *) rsv;
748}; 748};
749check_syscall_args(sys_socketpair) 749check_syscall_args(sys_socketpair)
750 750
751struct sys_mkdir_args { 751struct sys_mkdir_args {
752 syscallarg(const char *) path; 752 syscallarg(const char *) path;
753 syscallarg(mode_t) mode; 753 syscallarg(mode_t) mode;
754}; 754};
755check_syscall_args(sys_mkdir) 755check_syscall_args(sys_mkdir)
756 756
757struct sys_rmdir_args { 757struct sys_rmdir_args {
758 syscallarg(const char *) path; 758 syscallarg(const char *) path;
759}; 759};
760check_syscall_args(sys_rmdir) 760check_syscall_args(sys_rmdir)
761 761
762struct compat_50_sys_utimes_args { 762struct compat_50_sys_utimes_args {
763 syscallarg(const char *) path; 763 syscallarg(const char *) path;
764 syscallarg(const struct timeval50 *) tptr; 764 syscallarg(const struct timeval50 *) tptr;
765}; 765};
766check_syscall_args(compat_50_sys_utimes) 766check_syscall_args(compat_50_sys_utimes)
767 767
768struct compat_50_sys_adjtime_args { 768struct compat_50_sys_adjtime_args {
769 syscallarg(const struct timeval50 *) delta; 769 syscallarg(const struct timeval50 *) delta;
770 syscallarg(struct timeval50 *) olddelta; 770 syscallarg(struct timeval50 *) olddelta;
771}; 771};
772check_syscall_args(compat_50_sys_adjtime) 772check_syscall_args(compat_50_sys_adjtime)
773 773
774struct compat_43_sys_getpeername_args { 774struct compat_43_sys_getpeername_args {
775 syscallarg(int) fdes; 775 syscallarg(int) fdes;
776 syscallarg(void *) asa; 776 syscallarg(void *) asa;
777 syscallarg(int *) alen; 777 syscallarg(int *) alen;
778}; 778};
779check_syscall_args(compat_43_sys_getpeername) 779check_syscall_args(compat_43_sys_getpeername)
780 780
781struct compat_43_sys_sethostid_args { 781struct compat_43_sys_sethostid_args {
782 syscallarg(int32_t) hostid; 782 syscallarg(int32_t) hostid;
783}; 783};
784check_syscall_args(compat_43_sys_sethostid) 784check_syscall_args(compat_43_sys_sethostid)
785 785
786struct compat_43_sys_getrlimit_args { 786struct compat_43_sys_getrlimit_args {
787 syscallarg(int) which; 787 syscallarg(int) which;
788 syscallarg(struct orlimit *) rlp; 788 syscallarg(struct orlimit *) rlp;
789}; 789};
790check_syscall_args(compat_43_sys_getrlimit) 790check_syscall_args(compat_43_sys_getrlimit)
791 791
792struct compat_43_sys_setrlimit_args { 792struct compat_43_sys_setrlimit_args {
793 syscallarg(int) which; 793 syscallarg(int) which;
794 syscallarg(const struct orlimit *) rlp; 794 syscallarg(const struct orlimit *) rlp;
795}; 795};
796check_syscall_args(compat_43_sys_setrlimit) 796check_syscall_args(compat_43_sys_setrlimit)
797 797
798struct compat_43_sys_killpg_args { 798struct compat_43_sys_killpg_args {
799 syscallarg(int) pgid; 799 syscallarg(int) pgid;
800 syscallarg(int) signum; 800 syscallarg(int) signum;
801}; 801};
802check_syscall_args(compat_43_sys_killpg) 802check_syscall_args(compat_43_sys_killpg)
803 803
804struct sys_quotactl_args { 804struct sys_quotactl_args {
805 syscallarg(const char *) path; 805 syscallarg(const char *) path;
806 syscallarg(int) cmd; 806 syscallarg(int) cmd;
807 syscallarg(int) uid; 807 syscallarg(int) uid;
808 syscallarg(void *) arg; 808 syscallarg(void *) arg;
809}; 809};
810check_syscall_args(sys_quotactl) 810check_syscall_args(sys_quotactl)
811 811
812struct compat_43_sys_getsockname_args { 812struct compat_43_sys_getsockname_args {
813 syscallarg(int) fdec; 813 syscallarg(int) fdec;
814 syscallarg(void *) asa; 814 syscallarg(void *) asa;
815 syscallarg(int *) alen; 815 syscallarg(int *) alen;
816}; 816};
817check_syscall_args(compat_43_sys_getsockname) 817check_syscall_args(compat_43_sys_getsockname)
818 818
819struct sys_nfssvc_args { 819struct sys_nfssvc_args {
820 syscallarg(int) flag; 820 syscallarg(int) flag;
821 syscallarg(void *) argp; 821 syscallarg(void *) argp;
822}; 822};
823check_syscall_args(sys_nfssvc) 823check_syscall_args(sys_nfssvc)
824 824
825struct compat_43_sys_getdirentries_args { 825struct compat_43_sys_getdirentries_args {
826 syscallarg(int) fd; 826 syscallarg(int) fd;
827 syscallarg(char *) buf; 827 syscallarg(char *) buf;
828 syscallarg(u_int) count; 828 syscallarg(u_int) count;
829 syscallarg(long *) basep; 829 syscallarg(long *) basep;
830}; 830};
831check_syscall_args(compat_43_sys_getdirentries) 831check_syscall_args(compat_43_sys_getdirentries)
832 832
833struct compat_20_sys_statfs_args { 833struct compat_20_sys_statfs_args {
834 syscallarg(const char *) path; 834 syscallarg(const char *) path;
835 syscallarg(struct statfs12 *) buf; 835 syscallarg(struct statfs12 *) buf;
836}; 836};
837check_syscall_args(compat_20_sys_statfs) 837check_syscall_args(compat_20_sys_statfs)
838 838
839struct compat_20_sys_fstatfs_args { 839struct compat_20_sys_fstatfs_args {
840 syscallarg(int) fd; 840 syscallarg(int) fd;
841 syscallarg(struct statfs12 *) buf; 841 syscallarg(struct statfs12 *) buf;
842}; 842};
843check_syscall_args(compat_20_sys_fstatfs) 843check_syscall_args(compat_20_sys_fstatfs)
844 844
845struct compat_30_sys_getfh_args { 845struct compat_30_sys_getfh_args {
846 syscallarg(const char *) fname; 846 syscallarg(const char *) fname;
847 syscallarg(struct compat_30_fhandle *) fhp; 847 syscallarg(struct compat_30_fhandle *) fhp;
848}; 848};
849check_syscall_args(compat_30_sys_getfh) 849check_syscall_args(compat_30_sys_getfh)
850 850
851struct compat_09_sys_getdomainname_args { 851struct compat_09_sys_getdomainname_args {
852 syscallarg(char *) domainname; 852 syscallarg(char *) domainname;
853 syscallarg(int) len; 853 syscallarg(int) len;
854}; 854};
855check_syscall_args(compat_09_sys_getdomainname) 855check_syscall_args(compat_09_sys_getdomainname)
856 856
857struct compat_09_sys_setdomainname_args { 857struct compat_09_sys_setdomainname_args {
858 syscallarg(char *) domainname; 858 syscallarg(char *) domainname;
859 syscallarg(int) len; 859 syscallarg(int) len;
860}; 860};
861check_syscall_args(compat_09_sys_setdomainname) 861check_syscall_args(compat_09_sys_setdomainname)
862 862
863struct compat_09_sys_uname_args { 863struct compat_09_sys_uname_args {
864 syscallarg(struct outsname *) name; 864 syscallarg(struct outsname *) name;
865}; 865};
866check_syscall_args(compat_09_sys_uname) 866check_syscall_args(compat_09_sys_uname)
867 867
868struct sys_sysarch_args { 868struct sys_sysarch_args {
869 syscallarg(int) op; 869 syscallarg(int) op;
870 syscallarg(void *) parms; 870 syscallarg(void *) parms;
871}; 871};
872check_syscall_args(sys_sysarch) 872check_syscall_args(sys_sysarch)
873#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 873#if (defined(SYSVSEM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
874 874
875struct compat_10_sys_semsys_args { 875struct compat_10_sys_semsys_args {
876 syscallarg(int) which; 876 syscallarg(int) which;
877 syscallarg(int) a2; 877 syscallarg(int) a2;
878 syscallarg(int) a3; 878 syscallarg(int) a3;
879 syscallarg(int) a4; 879 syscallarg(int) a4;
880 syscallarg(int) a5; 880 syscallarg(int) a5;
881}; 881};
882check_syscall_args(compat_10_sys_semsys) 882check_syscall_args(compat_10_sys_semsys)
883#else 883#else
884#endif 884#endif
885#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64) 885#if (defined(SYSVMSG) || !defined(_KERNEL_OPT)) && !defined(_LP64)
886 886
887struct compat_10_sys_msgsys_args { 887struct compat_10_sys_msgsys_args {
888 syscallarg(int) which; 888 syscallarg(int) which;
889 syscallarg(int) a2; 889 syscallarg(int) a2;
890 syscallarg(int) a3; 890 syscallarg(int) a3;
891 syscallarg(int) a4; 891 syscallarg(int) a4;
892 syscallarg(int) a5; 892 syscallarg(int) a5;
893 syscallarg(int) a6; 893 syscallarg(int) a6;
894}; 894};
895check_syscall_args(compat_10_sys_msgsys) 895check_syscall_args(compat_10_sys_msgsys)
896#else 896#else
897#endif 897#endif
898#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64) 898#if (defined(SYSVSHM) || !defined(_KERNEL_OPT)) && !defined(_LP64)
899 899
900struct compat_10_sys_shmsys_args { 900struct compat_10_sys_shmsys_args {
901 syscallarg(int) which; 901 syscallarg(int) which;
902 syscallarg(int) a2; 902 syscallarg(int) a2;
903 syscallarg(int) a3; 903 syscallarg(int) a3;
904 syscallarg(int) a4; 904 syscallarg(int) a4;
905}; 905};
906check_syscall_args(compat_10_sys_shmsys) 906check_syscall_args(compat_10_sys_shmsys)
907#else 907#else
908#endif 908#endif
909 909
910struct sys_pread_args { 910struct sys_pread_args {
911 syscallarg(int) fd; 911 syscallarg(int) fd;
912 syscallarg(void *) buf; 912 syscallarg(void *) buf;
913 syscallarg(size_t) nbyte; 913 syscallarg(size_t) nbyte;
914 syscallarg(int) PAD; 914 syscallarg(int) PAD;
915 syscallarg(off_t) offset; 915 syscallarg(off_t) offset;
916}; 916};
917check_syscall_args(sys_pread) 917check_syscall_args(sys_pread)
918 918
919struct sys_pwrite_args { 919struct sys_pwrite_args {
920 syscallarg(int) fd; 920 syscallarg(int) fd;
921 syscallarg(const void *) buf; 921 syscallarg(const void *) buf;
922 syscallarg(size_t) nbyte; 922 syscallarg(size_t) nbyte;
923 syscallarg(int) PAD; 923 syscallarg(int) PAD;
924 syscallarg(off_t) offset; 924 syscallarg(off_t) offset;
925}; 925};
926check_syscall_args(sys_pwrite) 926check_syscall_args(sys_pwrite)
927 927
928struct compat_30_sys_ntp_gettime_args { 928struct compat_30_sys_ntp_gettime_args {
929 syscallarg(struct ntptimeval30 *) ntvp; 929 syscallarg(struct ntptimeval30 *) ntvp;
930}; 930};
931check_syscall_args(compat_30_sys_ntp_gettime) 931check_syscall_args(compat_30_sys_ntp_gettime)
932#if defined(NTP) || !defined(_KERNEL_OPT) 932#if defined(NTP) || !defined(_KERNEL_OPT)
933 933
934struct sys_ntp_adjtime_args { 934struct sys_ntp_adjtime_args {
935 syscallarg(struct timex *) tp; 935 syscallarg(struct timex *) tp;
936}; 936};
937check_syscall_args(sys_ntp_adjtime) 937check_syscall_args(sys_ntp_adjtime)
938#else 938#else
939#endif 939#endif
940 940
941struct sys_setgid_args { 941struct sys_setgid_args {
942 syscallarg(gid_t) gid; 942 syscallarg(gid_t) gid;
943}; 943};
944check_syscall_args(sys_setgid) 944check_syscall_args(sys_setgid)
945 945
946struct sys_setegid_args { 946struct sys_setegid_args {
947 syscallarg(gid_t) egid; 947 syscallarg(gid_t) egid;
948}; 948};
949check_syscall_args(sys_setegid) 949check_syscall_args(sys_setegid)
950 950
951struct sys_seteuid_args { 951struct sys_seteuid_args {
952 syscallarg(uid_t) euid; 952 syscallarg(uid_t) euid;
953}; 953};
954check_syscall_args(sys_seteuid) 954check_syscall_args(sys_seteuid)
955#if defined(LFS) || !defined(_KERNEL) 955#if defined(LFS) || !defined(_KERNEL)
956 956
957struct sys_lfs_bmapv_args { 957struct sys_lfs_bmapv_args {
958 syscallarg(fsid_t *) fsidp; 958 syscallarg(fsid_t *) fsidp;
959 syscallarg(struct block_info *) blkiov; 959 syscallarg(struct block_info *) blkiov;
960 syscallarg(int) blkcnt; 960 syscallarg(int) blkcnt;
961}; 961};
962check_syscall_args(sys_lfs_bmapv) 962check_syscall_args(sys_lfs_bmapv)
963 963
964struct sys_lfs_markv_args { 964struct sys_lfs_markv_args {
965 syscallarg(fsid_t *) fsidp; 965 syscallarg(fsid_t *) fsidp;
966 syscallarg(struct block_info *) blkiov; 966 syscallarg(struct block_info *) blkiov;
967 syscallarg(int) blkcnt; 967 syscallarg(int) blkcnt;
968}; 968};
969check_syscall_args(sys_lfs_markv) 969check_syscall_args(sys_lfs_markv)
970 970
971struct sys_lfs_segclean_args { 971struct sys_lfs_segclean_args {
972 syscallarg(fsid_t *) fsidp; 972 syscallarg(fsid_t *) fsidp;
973 syscallarg(u_long) segment; 973 syscallarg(u_long) segment;
974}; 974};
975check_syscall_args(sys_lfs_segclean) 975check_syscall_args(sys_lfs_segclean)
976 976
977struct compat_50_sys_lfs_segwait_args { 977struct compat_50_sys_lfs_segwait_args {
978 syscallarg(fsid_t *) fsidp; 978 syscallarg(fsid_t *) fsidp;
979 syscallarg(struct timeval50 *) tv; 979 syscallarg(struct timeval50 *) tv;
980}; 980};
981check_syscall_args(compat_50_sys_lfs_segwait) 981check_syscall_args(compat_50_sys_lfs_segwait)
982#else 982#else
983#endif 983#endif
984 984
985struct compat_12_sys_stat_args { 985struct compat_12_sys_stat_args {
986 syscallarg(const char *) path; 986 syscallarg(const char *) path;
987 syscallarg(struct stat12 *) ub; 987 syscallarg(struct stat12 *) ub;
988}; 988};
989check_syscall_args(compat_12_sys_stat) 989check_syscall_args(compat_12_sys_stat)
990 990
991struct compat_12_sys_fstat_args { 991struct compat_12_sys_fstat_args {
992 syscallarg(int) fd; 992 syscallarg(int) fd;
993 syscallarg(struct stat12 *) sb; 993 syscallarg(struct stat12 *) sb;
994}; 994};
995check_syscall_args(compat_12_sys_fstat) 995check_syscall_args(compat_12_sys_fstat)
996 996
997struct compat_12_sys_lstat_args { 997struct compat_12_sys_lstat_args {
998 syscallarg(const char *) path; 998 syscallarg(const char *) path;
999 syscallarg(struct stat12 *) ub; 999 syscallarg(struct stat12 *) ub;
1000}; 1000};
1001check_syscall_args(compat_12_sys_lstat) 1001check_syscall_args(compat_12_sys_lstat)
1002 1002
1003struct sys_pathconf_args { 1003struct sys_pathconf_args {
1004 syscallarg(const char *) path; 1004 syscallarg(const char *) path;
1005 syscallarg(int) name; 1005 syscallarg(int) name;
1006}; 1006};