Regendiff -r1.319 -r1.319.2.1 src/sys/kern/init_sysent.c
(pgoyette)
--- src/sys/kern/init_sysent.c 2018/01/06 16:41:23 1.319
+++ src/sys/kern/init_sysent.c 2018/03/10 05:12:17 1.319.2.1
@@ -1,1010 +1,1010 @@ | @@ -1,1010 +1,1010 @@ | |||
1 | /* $NetBSD: init_sysent.c,v 1.319 2018/01/06 16:41:23 kamil Exp $ */ | 1 | /* $NetBSD: init_sysent.c,v 1.319.2.1 2018/03/10 05:12:17 pgoyette 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: syscalls.master,v 1.288 2017/12/19 08:48:19 kamil Exp | 7 | * created from NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette 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.319 2018/01/06 16:41:23 kamil Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: init_sysent.c,v 1.319.2.1 2018/03/10 05:12:17 pgoyette 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 <sys/param.h> | 16 | #include <sys/param.h> | |
17 | #include <sys/systm.h> | 17 | #include <sys/systm.h> | |
18 | #include <sys/signal.h> | 18 | #include <sys/signal.h> | |
19 | #include <sys/socket.h> | 19 | #include <sys/socket.h> | |
20 | #include <sys/mount.h> | 20 | #include <sys/mount.h> | |
21 | #include <sys/sched.h> | 21 | #include <sys/sched.h> | |
22 | #include <sys/idtype.h> | 22 | #include <sys/idtype.h> | |
23 | #include <sys/syscallargs.h> | 23 | #include <sys/syscallargs.h> | |
24 | 24 | |||
25 | #ifdef COMPAT_43 | 25 | #ifdef COMPAT_43 | |
26 | #define compat_43(func) __CONCAT(compat_43_,func) | 26 | #define compat_43(func) __CONCAT(compat_43_,func) | |
27 | #else | 27 | #else | |
28 | #define compat_43(func) sys_nosys | 28 | #define compat_43(func) sys_nosys | |
29 | #endif | 29 | #endif | |
30 | 30 | |||
31 | #ifdef COMPAT_09 | 31 | #ifdef COMPAT_09 | |
32 | #define compat_09(func) __CONCAT(compat_09_,func) | 32 | #define compat_09(func) __CONCAT(compat_09_,func) | |
33 | #else | 33 | #else | |
34 | #define compat_09(func) sys_nosys | 34 | #define compat_09(func) sys_nosys | |
35 | #endif | 35 | #endif | |
36 | 36 | |||
37 | #ifdef COMPAT_10 | 37 | #ifdef COMPAT_10 | |
38 | #define compat_10(func) __CONCAT(compat_10_,func) | 38 | #define compat_10(func) __CONCAT(compat_10_,func) | |
39 | #else | 39 | #else | |
40 | #define compat_10(func) sys_nosys | 40 | #define compat_10(func) sys_nosys | |
41 | #endif | 41 | #endif | |
42 | 42 | |||
43 | #ifdef COMPAT_11 | 43 | #ifdef COMPAT_11 | |
44 | #define compat_11(func) __CONCAT(compat_11_,func) | 44 | #define compat_11(func) __CONCAT(compat_11_,func) | |
45 | #else | 45 | #else | |
46 | #define compat_11(func) sys_nosys | 46 | #define compat_11(func) sys_nosys | |
47 | #endif | 47 | #endif | |
48 | 48 | |||
49 | #ifdef COMPAT_12 | 49 | #ifdef COMPAT_12 | |
50 | #define compat_12(func) __CONCAT(compat_12_,func) | 50 | #define compat_12(func) __CONCAT(compat_12_,func) | |
51 | #else | 51 | #else | |
52 | #define compat_12(func) sys_nosys | 52 | #define compat_12(func) sys_nosys | |
53 | #endif | 53 | #endif | |
54 | 54 | |||
55 | #ifdef COMPAT_13 | 55 | #ifdef COMPAT_13 | |
56 | #define compat_13(func) __CONCAT(compat_13_,func) | 56 | #define compat_13(func) __CONCAT(compat_13_,func) | |
57 | #else | 57 | #else | |
58 | #define compat_13(func) sys_nosys | 58 | #define compat_13(func) sys_nosys | |
59 | #endif | 59 | #endif | |
60 | 60 | |||
61 | #ifdef COMPAT_14 | 61 | #ifdef COMPAT_14 | |
62 | #define compat_14(func) __CONCAT(compat_14_,func) | 62 | #define compat_14(func) __CONCAT(compat_14_,func) | |
63 | #else | 63 | #else | |
64 | #define compat_14(func) sys_nosys | 64 | #define compat_14(func) sys_nosys | |
65 | #endif | 65 | #endif | |
66 | 66 | |||
67 | #ifdef COMPAT_15 | 67 | #ifdef COMPAT_15 | |
68 | #define compat_15(func) __CONCAT(compat_15_,func) | 68 | #define compat_15(func) __CONCAT(compat_15_,func) | |
69 | #else | 69 | #else | |
70 | #define compat_15(func) sys_nosys | 70 | #define compat_15(func) sys_nosys | |
71 | #endif | 71 | #endif | |
72 | 72 | |||
73 | #ifdef COMPAT_16 | 73 | #ifdef COMPAT_16 | |
74 | #define compat_16(func) __CONCAT(compat_16_,func) | 74 | #define compat_16(func) __CONCAT(compat_16_,func) | |
75 | #else | 75 | #else | |
76 | #define compat_16(func) sys_nosys | 76 | #define compat_16(func) sys_nosys | |
77 | #endif | 77 | #endif | |
78 | 78 | |||
79 | #ifdef COMPAT_20 | 79 | #ifdef COMPAT_20 | |
80 | #define compat_20(func) __CONCAT(compat_20_,func) | 80 | #define compat_20(func) __CONCAT(compat_20_,func) | |
81 | #else | 81 | #else | |
82 | #define compat_20(func) sys_nosys | 82 | #define compat_20(func) sys_nosys | |
83 | #endif | 83 | #endif | |
84 | 84 | |||
85 | #ifdef COMPAT_30 | 85 | #ifdef COMPAT_30 | |
86 | #define compat_30(func) __CONCAT(compat_30_,func) | 86 | #define compat_30(func) __CONCAT(compat_30_,func) | |
87 | #else | 87 | #else | |
88 | #define compat_30(func) sys_nosys | 88 | #define compat_30(func) sys_nosys | |
89 | #endif | 89 | #endif | |
90 | 90 | |||
91 | #ifdef COMPAT_40 | 91 | #ifdef COMPAT_40 | |
92 | #define compat_40(func) __CONCAT(compat_40_,func) | 92 | #define compat_40(func) __CONCAT(compat_40_,func) | |
93 | #else | 93 | #else | |
94 | #define compat_40(func) sys_nosys | 94 | #define compat_40(func) sys_nosys | |
95 | #endif | 95 | #endif | |
96 | 96 | |||
97 | #ifdef COMPAT_50 | 97 | #ifdef COMPAT_50 | |
98 | #define compat_50(func) __CONCAT(compat_50_,func) | 98 | #define compat_50(func) __CONCAT(compat_50_,func) | |
99 | #else | 99 | #else | |
100 | #define compat_50(func) sys_nosys | 100 | #define compat_50(func) sys_nosys | |
101 | #endif | 101 | #endif | |
102 | 102 | |||
103 | #ifdef COMPAT_60 | 103 | #ifdef COMPAT_60 | |
104 | #define compat_60(func) __CONCAT(compat_60_,func) | 104 | #define compat_60(func) __CONCAT(compat_60_,func) | |
105 | #else | 105 | #else | |
106 | #define compat_60(func) sys_nosys | 106 | #define compat_60(func) sys_nosys | |
107 | #endif | 107 | #endif | |
108 | 108 | |||
109 | #ifdef COMPAT_70 | 109 | #ifdef COMPAT_70 | |
110 | #define compat_70(func) __CONCAT(compat_70_,func) | 110 | #define compat_70(func) __CONCAT(compat_70_,func) | |
111 | #else | 111 | #else | |
112 | #define compat_70(func) sys_nosys | 112 | #define compat_70(func) sys_nosys | |
113 | #endif | 113 | #endif | |
114 | 114 | |||
115 | #define s(type) sizeof(type) | 115 | #define s(type) sizeof(type) | |
116 | #define n(type) (sizeof(type)/sizeof (register_t)) | 116 | #define n(type) (sizeof(type)/sizeof (register_t)) | |
117 | #define ns(type) .sy_narg = n(type), .sy_argsize = s(type) | 117 | #define ns(type) .sy_narg = n(type), .sy_argsize = s(type) | |
118 | 118 | |||
119 | struct sysent sysent[] = { | 119 | struct sysent sysent[] = { | |
120 | { | 120 | { | |
121 | ns(struct sys_syscall_args), | 121 | ns(struct sys_syscall_args), | |
122 | .sy_flags = SYCALL_INDIRECT, | 122 | .sy_flags = SYCALL_INDIRECT, | |
123 | .sy_call = (sy_call_t *)sys_syscall | 123 | .sy_call = (sy_call_t *)sys_syscall | |
124 | }, /* 0 = syscall */ | 124 | }, /* 0 = syscall */ | |
125 | { | 125 | { | |
126 | ns(struct sys_exit_args), | 126 | ns(struct sys_exit_args), | |
127 | .sy_call = (sy_call_t *)sys_exit | 127 | .sy_call = (sy_call_t *)sys_exit | |
128 | }, /* 1 = exit */ | 128 | }, /* 1 = exit */ | |
129 | { | 129 | { | |
130 | .sy_call = (sy_call_t *)sys_fork | 130 | .sy_call = (sy_call_t *)sys_fork | |
131 | }, /* 2 = fork */ | 131 | }, /* 2 = fork */ | |
132 | { | 132 | { | |
133 | ns(struct sys_read_args), | 133 | ns(struct sys_read_args), | |
134 | .sy_flags = SYCALL_ARG_PTR, | 134 | .sy_flags = SYCALL_ARG_PTR, | |
135 | .sy_call = (sy_call_t *)sys_read | 135 | .sy_call = (sy_call_t *)sys_read | |
136 | }, /* 3 = read */ | 136 | }, /* 3 = read */ | |
137 | { | 137 | { | |
138 | ns(struct sys_write_args), | 138 | ns(struct sys_write_args), | |
139 | .sy_flags = SYCALL_ARG_PTR, | 139 | .sy_flags = SYCALL_ARG_PTR, | |
140 | .sy_call = (sy_call_t *)sys_write | 140 | .sy_call = (sy_call_t *)sys_write | |
141 | }, /* 4 = write */ | 141 | }, /* 4 = write */ | |
142 | { | 142 | { | |
143 | ns(struct sys_open_args), | 143 | ns(struct sys_open_args), | |
144 | .sy_flags = SYCALL_ARG_PTR, | 144 | .sy_flags = SYCALL_ARG_PTR, | |
145 | .sy_call = (sy_call_t *)sys_open | 145 | .sy_call = (sy_call_t *)sys_open | |
146 | }, /* 5 = open */ | 146 | }, /* 5 = open */ | |
147 | { | 147 | { | |
148 | ns(struct sys_close_args), | 148 | ns(struct sys_close_args), | |
149 | .sy_call = (sy_call_t *)sys_close | 149 | .sy_call = (sy_call_t *)sys_close | |
150 | }, /* 6 = close */ | 150 | }, /* 6 = close */ | |
151 | { | 151 | { | |
152 | ns(struct compat_50_sys_wait4_args), | 152 | ns(struct compat_50_sys_wait4_args), | |
153 | .sy_flags = SYCALL_ARG_PTR, | 153 | .sy_flags = SYCALL_ARG_PTR, | |
154 | .sy_call = (sy_call_t *)sys_nomodule | 154 | .sy_call = (sy_call_t *)sys_nomodule | |
155 | }, /* 7 = compat_50_wait4 */ | 155 | }, /* 7 = compat_50_wait4 */ | |
156 | { | 156 | { | |
157 | ns(struct compat_43_sys_creat_args), | 157 | ns(struct compat_43_sys_creat_args), | |
158 | .sy_flags = SYCALL_ARG_PTR, | 158 | .sy_flags = SYCALL_ARG_PTR, | |
159 | .sy_call = (sy_call_t *)sys_nomodule | 159 | .sy_call = (sy_call_t *)sys_nomodule | |
160 | }, /* 8 = compat_43_ocreat */ | 160 | }, /* 8 = compat_43_ocreat */ | |
161 | { | 161 | { | |
162 | ns(struct sys_link_args), | 162 | ns(struct sys_link_args), | |
163 | .sy_flags = SYCALL_ARG_PTR, | 163 | .sy_flags = SYCALL_ARG_PTR, | |
164 | .sy_call = (sy_call_t *)sys_link | 164 | .sy_call = (sy_call_t *)sys_link | |
165 | }, /* 9 = link */ | 165 | }, /* 9 = link */ | |
166 | { | 166 | { | |
167 | ns(struct sys_unlink_args), | 167 | ns(struct sys_unlink_args), | |
168 | .sy_flags = SYCALL_ARG_PTR, | 168 | .sy_flags = SYCALL_ARG_PTR, | |
169 | .sy_call = (sy_call_t *)sys_unlink | 169 | .sy_call = (sy_call_t *)sys_unlink | |
170 | }, /* 10 = unlink */ | 170 | }, /* 10 = unlink */ | |
171 | { | 171 | { | |
172 | .sy_call = sys_nosys, | 172 | .sy_call = sys_nosys, | |
173 | }, /* 11 = filler */ | 173 | }, /* 11 = filler */ | |
174 | { | 174 | { | |
175 | ns(struct sys_chdir_args), | 175 | ns(struct sys_chdir_args), | |
176 | .sy_flags = SYCALL_ARG_PTR, | 176 | .sy_flags = SYCALL_ARG_PTR, | |
177 | .sy_call = (sy_call_t *)sys_chdir | 177 | .sy_call = (sy_call_t *)sys_chdir | |
178 | }, /* 12 = chdir */ | 178 | }, /* 12 = chdir */ | |
179 | { | 179 | { | |
180 | ns(struct sys_fchdir_args), | 180 | ns(struct sys_fchdir_args), | |
181 | .sy_call = (sy_call_t *)sys_fchdir | 181 | .sy_call = (sy_call_t *)sys_fchdir | |
182 | }, /* 13 = fchdir */ | 182 | }, /* 13 = fchdir */ | |
183 | { | 183 | { | |
184 | ns(struct compat_50_sys_mknod_args), | 184 | ns(struct compat_50_sys_mknod_args), | |
185 | .sy_flags = SYCALL_ARG_PTR, | 185 | .sy_flags = SYCALL_ARG_PTR, | |
186 | .sy_call = (sy_call_t *)sys_nomodule | 186 | .sy_call = (sy_call_t *)sys_nomodule | |
187 | }, /* 14 = compat_50_mknod */ | 187 | }, /* 14 = compat_50_mknod */ | |
188 | { | 188 | { | |
189 | ns(struct sys_chmod_args), | 189 | ns(struct sys_chmod_args), | |
190 | .sy_flags = SYCALL_ARG_PTR, | 190 | .sy_flags = SYCALL_ARG_PTR, | |
191 | .sy_call = (sy_call_t *)sys_chmod | 191 | .sy_call = (sy_call_t *)sys_chmod | |
192 | }, /* 15 = chmod */ | 192 | }, /* 15 = chmod */ | |
193 | { | 193 | { | |
194 | ns(struct sys_chown_args), | 194 | ns(struct sys_chown_args), | |
195 | .sy_flags = SYCALL_ARG_PTR, | 195 | .sy_flags = SYCALL_ARG_PTR, | |
196 | .sy_call = (sy_call_t *)sys_chown | 196 | .sy_call = (sy_call_t *)sys_chown | |
197 | }, /* 16 = chown */ | 197 | }, /* 16 = chown */ | |
198 | { | 198 | { | |
199 | ns(struct sys_obreak_args), | 199 | ns(struct sys_obreak_args), | |
200 | .sy_flags = SYCALL_ARG_PTR, | 200 | .sy_flags = SYCALL_ARG_PTR, | |
201 | .sy_call = (sy_call_t *)sys_obreak | 201 | .sy_call = (sy_call_t *)sys_obreak | |
202 | }, /* 17 = break */ | 202 | }, /* 17 = break */ | |
203 | { | 203 | { | |
204 | ns(struct compat_20_sys_getfsstat_args), | 204 | ns(struct compat_20_sys_getfsstat_args), | |
205 | .sy_flags = SYCALL_ARG_PTR, | 205 | .sy_flags = SYCALL_ARG_PTR, | |
206 | .sy_call = (sy_call_t *)sys_nomodule | 206 | .sy_call = (sy_call_t *)sys_nomodule | |
207 | }, /* 18 = compat_20_getfsstat */ | 207 | }, /* 18 = compat_20_getfsstat */ | |
208 | { | 208 | { | |
209 | ns(struct compat_43_sys_lseek_args), | 209 | ns(struct compat_43_sys_lseek_args), | |
210 | .sy_call = (sy_call_t *)sys_nomodule | 210 | .sy_call = (sy_call_t *)sys_nomodule | |
211 | }, /* 19 = compat_43_olseek */ | 211 | }, /* 19 = compat_43_olseek */ | |
212 | { | 212 | { | |
213 | .sy_call = (sy_call_t *)sys_getpid_with_ppid | 213 | .sy_call = (sy_call_t *)sys_getpid_with_ppid | |
214 | }, /* 20 = getpid */ | 214 | }, /* 20 = getpid */ | |
215 | { | 215 | { | |
216 | ns(struct compat_40_sys_mount_args), | 216 | ns(struct compat_40_sys_mount_args), | |
217 | .sy_flags = SYCALL_ARG_PTR, | 217 | .sy_flags = SYCALL_ARG_PTR, | |
218 | .sy_call = (sy_call_t *)sys_nomodule | 218 | .sy_call = (sy_call_t *)sys_nomodule | |
219 | }, /* 21 = compat_40_mount */ | 219 | }, /* 21 = compat_40_mount */ | |
220 | { | 220 | { | |
221 | ns(struct sys_unmount_args), | 221 | ns(struct sys_unmount_args), | |
222 | .sy_flags = SYCALL_ARG_PTR, | 222 | .sy_flags = SYCALL_ARG_PTR, | |
223 | .sy_call = (sy_call_t *)sys_unmount | 223 | .sy_call = (sy_call_t *)sys_unmount | |
224 | }, /* 22 = unmount */ | 224 | }, /* 22 = unmount */ | |
225 | { | 225 | { | |
226 | ns(struct sys_setuid_args), | 226 | ns(struct sys_setuid_args), | |
227 | .sy_call = (sy_call_t *)sys_setuid | 227 | .sy_call = (sy_call_t *)sys_setuid | |
228 | }, /* 23 = setuid */ | 228 | }, /* 23 = setuid */ | |
229 | { | 229 | { | |
230 | .sy_call = (sy_call_t *)sys_getuid_with_euid | 230 | .sy_call = (sy_call_t *)sys_getuid_with_euid | |
231 | }, /* 24 = getuid */ | 231 | }, /* 24 = getuid */ | |
232 | { | 232 | { | |
233 | .sy_call = (sy_call_t *)sys_geteuid | 233 | .sy_call = (sy_call_t *)sys_geteuid | |
234 | }, /* 25 = geteuid */ | 234 | }, /* 25 = geteuid */ | |
235 | { | 235 | { | |
236 | ns(struct sys_ptrace_args), | 236 | ns(struct sys_ptrace_args), | |
237 | .sy_flags = SYCALL_ARG_PTR, | 237 | .sy_flags = SYCALL_ARG_PTR, | |
238 | .sy_call = (sy_call_t *)sys_nomodule | 238 | .sy_call = (sy_call_t *)sys_nomodule | |
239 | }, /* 26 = ptrace */ | 239 | }, /* 26 = ptrace */ | |
240 | { | 240 | { | |
241 | ns(struct sys_recvmsg_args), | 241 | ns(struct sys_recvmsg_args), | |
242 | .sy_flags = SYCALL_ARG_PTR, | 242 | .sy_flags = SYCALL_ARG_PTR, | |
243 | .sy_call = (sy_call_t *)sys_recvmsg | 243 | .sy_call = (sy_call_t *)sys_recvmsg | |
244 | }, /* 27 = recvmsg */ | 244 | }, /* 27 = recvmsg */ | |
245 | { | 245 | { | |
246 | ns(struct sys_sendmsg_args), | 246 | ns(struct sys_sendmsg_args), | |
247 | .sy_flags = SYCALL_ARG_PTR, | 247 | .sy_flags = SYCALL_ARG_PTR, | |
248 | .sy_call = (sy_call_t *)sys_sendmsg | 248 | .sy_call = (sy_call_t *)sys_sendmsg | |
249 | }, /* 28 = sendmsg */ | 249 | }, /* 28 = sendmsg */ | |
250 | { | 250 | { | |
251 | ns(struct sys_recvfrom_args), | 251 | ns(struct sys_recvfrom_args), | |
252 | .sy_flags = SYCALL_ARG_PTR, | 252 | .sy_flags = SYCALL_ARG_PTR, | |
253 | .sy_call = (sy_call_t *)sys_recvfrom | 253 | .sy_call = (sy_call_t *)sys_recvfrom | |
254 | }, /* 29 = recvfrom */ | 254 | }, /* 29 = recvfrom */ | |
255 | { | 255 | { | |
256 | ns(struct sys_accept_args), | 256 | ns(struct sys_accept_args), | |
257 | .sy_flags = SYCALL_ARG_PTR, | 257 | .sy_flags = SYCALL_ARG_PTR, | |
258 | .sy_call = (sy_call_t *)sys_accept | 258 | .sy_call = (sy_call_t *)sys_accept | |
259 | }, /* 30 = accept */ | 259 | }, /* 30 = accept */ | |
260 | { | 260 | { | |
261 | ns(struct sys_getpeername_args), | 261 | ns(struct sys_getpeername_args), | |
262 | .sy_flags = SYCALL_ARG_PTR, | 262 | .sy_flags = SYCALL_ARG_PTR, | |
263 | .sy_call = (sy_call_t *)sys_getpeername | 263 | .sy_call = (sy_call_t *)sys_getpeername | |
264 | }, /* 31 = getpeername */ | 264 | }, /* 31 = getpeername */ | |
265 | { | 265 | { | |
266 | ns(struct sys_getsockname_args), | 266 | ns(struct sys_getsockname_args), | |
267 | .sy_flags = SYCALL_ARG_PTR, | 267 | .sy_flags = SYCALL_ARG_PTR, | |
268 | .sy_call = (sy_call_t *)sys_getsockname | 268 | .sy_call = (sy_call_t *)sys_getsockname | |
269 | }, /* 32 = getsockname */ | 269 | }, /* 32 = getsockname */ | |
270 | { | 270 | { | |
271 | ns(struct sys_access_args), | 271 | ns(struct sys_access_args), | |
272 | .sy_flags = SYCALL_ARG_PTR, | 272 | .sy_flags = SYCALL_ARG_PTR, | |
273 | .sy_call = (sy_call_t *)sys_access | 273 | .sy_call = (sy_call_t *)sys_access | |
274 | }, /* 33 = access */ | 274 | }, /* 33 = access */ | |
275 | { | 275 | { | |
276 | ns(struct sys_chflags_args), | 276 | ns(struct sys_chflags_args), | |
277 | .sy_flags = SYCALL_ARG_PTR, | 277 | .sy_flags = SYCALL_ARG_PTR, | |
278 | .sy_call = (sy_call_t *)sys_chflags | 278 | .sy_call = (sy_call_t *)sys_chflags | |
279 | }, /* 34 = chflags */ | 279 | }, /* 34 = chflags */ | |
280 | { | 280 | { | |
281 | ns(struct sys_fchflags_args), | 281 | ns(struct sys_fchflags_args), | |
282 | .sy_call = (sy_call_t *)sys_fchflags | 282 | .sy_call = (sy_call_t *)sys_fchflags | |
283 | }, /* 35 = fchflags */ | 283 | }, /* 35 = fchflags */ | |
284 | { | 284 | { | |
285 | .sy_call = (sy_call_t *)sys_sync | 285 | .sy_call = (sy_call_t *)sys_sync | |
286 | }, /* 36 = sync */ | 286 | }, /* 36 = sync */ | |
287 | { | 287 | { | |
288 | ns(struct sys_kill_args), | 288 | ns(struct sys_kill_args), | |
289 | .sy_call = (sy_call_t *)sys_kill | 289 | .sy_call = (sy_call_t *)sys_kill | |
290 | }, /* 37 = kill */ | 290 | }, /* 37 = kill */ | |
291 | { | 291 | { | |
292 | ns(struct compat_43_sys_stat_args), | 292 | ns(struct compat_43_sys_stat_args), | |
293 | .sy_flags = SYCALL_ARG_PTR, | 293 | .sy_flags = SYCALL_ARG_PTR, | |
294 | .sy_call = (sy_call_t *)sys_nomodule | 294 | .sy_call = (sy_call_t *)sys_nomodule | |
295 | }, /* 38 = compat_43_stat43 */ | 295 | }, /* 38 = compat_43_stat43 */ | |
296 | { | 296 | { | |
297 | .sy_call = (sy_call_t *)sys_getppid | 297 | .sy_call = (sy_call_t *)sys_getppid | |
298 | }, /* 39 = getppid */ | 298 | }, /* 39 = getppid */ | |
299 | { | 299 | { | |
300 | ns(struct compat_43_sys_lstat_args), | 300 | ns(struct compat_43_sys_lstat_args), | |
301 | .sy_flags = SYCALL_ARG_PTR, | 301 | .sy_flags = SYCALL_ARG_PTR, | |
302 | .sy_call = (sy_call_t *)sys_nomodule | 302 | .sy_call = (sy_call_t *)sys_nomodule | |
303 | }, /* 40 = compat_43_lstat43 */ | 303 | }, /* 40 = compat_43_lstat43 */ | |
304 | { | 304 | { | |
305 | ns(struct sys_dup_args), | 305 | ns(struct sys_dup_args), | |
306 | .sy_call = (sy_call_t *)sys_dup | 306 | .sy_call = (sy_call_t *)sys_dup | |
307 | }, /* 41 = dup */ | 307 | }, /* 41 = dup */ | |
308 | { | 308 | { | |
309 | .sy_call = (sy_call_t *)sys_pipe | 309 | .sy_call = (sy_call_t *)sys_pipe | |
310 | }, /* 42 = pipe */ | 310 | }, /* 42 = pipe */ | |
311 | { | 311 | { | |
312 | .sy_call = (sy_call_t *)sys_getegid | 312 | .sy_call = (sy_call_t *)sys_getegid | |
313 | }, /* 43 = getegid */ | 313 | }, /* 43 = getegid */ | |
314 | { | 314 | { | |
315 | ns(struct sys_profil_args), | 315 | ns(struct sys_profil_args), | |
316 | .sy_flags = SYCALL_ARG_PTR, | 316 | .sy_flags = SYCALL_ARG_PTR, | |
317 | .sy_call = (sy_call_t *)sys_profil | 317 | .sy_call = (sy_call_t *)sys_profil | |
318 | }, /* 44 = profil */ | 318 | }, /* 44 = profil */ | |
319 | { | 319 | { | |
320 | ns(struct sys_ktrace_args), | 320 | ns(struct sys_ktrace_args), | |
321 | .sy_flags = SYCALL_ARG_PTR, | 321 | .sy_flags = SYCALL_ARG_PTR, | |
322 | .sy_call = (sy_call_t *)sys_ktrace | 322 | .sy_call = (sy_call_t *)sys_ktrace | |
323 | }, /* 45 = ktrace */ | 323 | }, /* 45 = ktrace */ | |
324 | { | 324 | { | |
325 | ns(struct compat_13_sys_sigaction_args), | 325 | ns(struct compat_13_sys_sigaction_args), | |
326 | .sy_flags = SYCALL_ARG_PTR, | 326 | .sy_flags = SYCALL_ARG_PTR, | |
327 | .sy_call = (sy_call_t *)sys_nomodule | 327 | .sy_call = (sy_call_t *)sys_nomodule | |
328 | }, /* 46 = compat_13_sigaction13 */ | 328 | }, /* 46 = compat_13_sigaction13 */ | |
329 | { | 329 | { | |
330 | .sy_call = (sy_call_t *)sys_getgid_with_egid | 330 | .sy_call = (sy_call_t *)sys_getgid_with_egid | |
331 | }, /* 47 = getgid */ | 331 | }, /* 47 = getgid */ | |
332 | { | 332 | { | |
333 | ns(struct compat_13_sys_sigprocmask_args), | 333 | ns(struct compat_13_sys_sigprocmask_args), | |
334 | .sy_call = (sy_call_t *)sys_nomodule | 334 | .sy_call = (sy_call_t *)sys_nomodule | |
335 | }, /* 48 = compat_13_sigprocmask13 */ | 335 | }, /* 48 = compat_13_sigprocmask13 */ | |
336 | { | 336 | { | |
337 | ns(struct sys___getlogin_args), | 337 | ns(struct sys___getlogin_args), | |
338 | .sy_flags = SYCALL_ARG_PTR, | 338 | .sy_flags = SYCALL_ARG_PTR, | |
339 | .sy_call = (sy_call_t *)sys___getlogin | 339 | .sy_call = (sy_call_t *)sys___getlogin | |
340 | }, /* 49 = __getlogin */ | 340 | }, /* 49 = __getlogin */ | |
341 | { | 341 | { | |
342 | ns(struct sys___setlogin_args), | 342 | ns(struct sys___setlogin_args), | |
343 | .sy_flags = SYCALL_ARG_PTR, | 343 | .sy_flags = SYCALL_ARG_PTR, | |
344 | .sy_call = (sy_call_t *)sys___setlogin | 344 | .sy_call = (sy_call_t *)sys___setlogin | |
345 | }, /* 50 = __setlogin */ | 345 | }, /* 50 = __setlogin */ | |
346 | { | 346 | { | |
347 | ns(struct sys_acct_args), | 347 | ns(struct sys_acct_args), | |
348 | .sy_flags = SYCALL_ARG_PTR, | 348 | .sy_flags = SYCALL_ARG_PTR, | |
349 | .sy_call = (sy_call_t *)sys_acct | 349 | .sy_call = (sy_call_t *)sys_acct | |
350 | }, /* 51 = acct */ | 350 | }, /* 51 = acct */ | |
351 | { | 351 | { | |
352 | .sy_call = (sy_call_t *)sys_nomodule | 352 | .sy_call = (sy_call_t *)sys_nomodule | |
353 | }, /* 52 = compat_13_sigpending13 */ | 353 | }, /* 52 = compat_13_sigpending13 */ | |
354 | { | 354 | { | |
355 | ns(struct compat_13_sys_sigaltstack_args), | 355 | ns(struct compat_13_sys_sigaltstack_args), | |
356 | .sy_flags = SYCALL_ARG_PTR, | 356 | .sy_flags = SYCALL_ARG_PTR, | |
357 | .sy_call = (sy_call_t *)sys_nomodule | 357 | .sy_call = (sy_call_t *)sys_nomodule | |
358 | }, /* 53 = compat_13_sigaltstack13 */ | 358 | }, /* 53 = compat_13_sigaltstack13 */ | |
359 | { | 359 | { | |
360 | ns(struct sys_ioctl_args), | 360 | ns(struct sys_ioctl_args), | |
361 | .sy_flags = SYCALL_ARG_PTR, | 361 | .sy_flags = SYCALL_ARG_PTR, | |
362 | .sy_call = (sy_call_t *)sys_ioctl | 362 | .sy_call = (sy_call_t *)sys_ioctl | |
363 | }, /* 54 = ioctl */ | 363 | }, /* 54 = ioctl */ | |
364 | { | 364 | { | |
365 | ns(struct compat_12_sys_reboot_args), | 365 | ns(struct compat_12_sys_reboot_args), | |
366 | .sy_call = (sy_call_t *)sys_nomodule | 366 | .sy_call = (sy_call_t *)sys_nomodule | |
367 | }, /* 55 = compat_12_oreboot */ | 367 | }, /* 55 = compat_12_oreboot */ | |
368 | { | 368 | { | |
369 | ns(struct sys_revoke_args), | 369 | ns(struct sys_revoke_args), | |
370 | .sy_flags = SYCALL_ARG_PTR, | 370 | .sy_flags = SYCALL_ARG_PTR, | |
371 | .sy_call = (sy_call_t *)sys_revoke | 371 | .sy_call = (sy_call_t *)sys_revoke | |
372 | }, /* 56 = revoke */ | 372 | }, /* 56 = revoke */ | |
373 | { | 373 | { | |
374 | ns(struct sys_symlink_args), | 374 | ns(struct sys_symlink_args), | |
375 | .sy_flags = SYCALL_ARG_PTR, | 375 | .sy_flags = SYCALL_ARG_PTR, | |
376 | .sy_call = (sy_call_t *)sys_symlink | 376 | .sy_call = (sy_call_t *)sys_symlink | |
377 | }, /* 57 = symlink */ | 377 | }, /* 57 = symlink */ | |
378 | { | 378 | { | |
379 | ns(struct sys_readlink_args), | 379 | ns(struct sys_readlink_args), | |
380 | .sy_flags = SYCALL_ARG_PTR, | 380 | .sy_flags = SYCALL_ARG_PTR, | |
381 | .sy_call = (sy_call_t *)sys_readlink | 381 | .sy_call = (sy_call_t *)sys_readlink | |
382 | }, /* 58 = readlink */ | 382 | }, /* 58 = readlink */ | |
383 | { | 383 | { | |
384 | ns(struct sys_execve_args), | 384 | ns(struct sys_execve_args), | |
385 | .sy_flags = SYCALL_ARG_PTR, | 385 | .sy_flags = SYCALL_ARG_PTR, | |
386 | .sy_call = (sy_call_t *)sys_execve | 386 | .sy_call = (sy_call_t *)sys_execve | |
387 | }, /* 59 = execve */ | 387 | }, /* 59 = execve */ | |
388 | { | 388 | { | |
389 | ns(struct sys_umask_args), | 389 | ns(struct sys_umask_args), | |
390 | .sy_call = (sy_call_t *)sys_umask | 390 | .sy_call = (sy_call_t *)sys_umask | |
391 | }, /* 60 = umask */ | 391 | }, /* 60 = umask */ | |
392 | { | 392 | { | |
393 | ns(struct sys_chroot_args), | 393 | ns(struct sys_chroot_args), | |
394 | .sy_flags = SYCALL_ARG_PTR, | 394 | .sy_flags = SYCALL_ARG_PTR, | |
395 | .sy_call = (sy_call_t *)sys_chroot | 395 | .sy_call = (sy_call_t *)sys_chroot | |
396 | }, /* 61 = chroot */ | 396 | }, /* 61 = chroot */ | |
397 | { | 397 | { | |
398 | ns(struct compat_43_sys_fstat_args), | 398 | ns(struct compat_43_sys_fstat_args), | |
399 | .sy_flags = SYCALL_ARG_PTR, | 399 | .sy_flags = SYCALL_ARG_PTR, | |
400 | .sy_call = (sy_call_t *)sys_nomodule | 400 | .sy_call = (sy_call_t *)sys_nomodule | |
401 | }, /* 62 = compat_43_fstat43 */ | 401 | }, /* 62 = compat_43_fstat43 */ | |
402 | { | 402 | { | |
403 | ns(struct compat_43_sys_getkerninfo_args), | 403 | ns(struct compat_43_sys_getkerninfo_args), | |
404 | .sy_flags = SYCALL_ARG_PTR, | 404 | .sy_flags = SYCALL_ARG_PTR, | |
405 | .sy_call = (sy_call_t *)sys_nomodule | 405 | .sy_call = (sy_call_t *)sys_nomodule | |
406 | }, /* 63 = compat_43_ogetkerninfo */ | 406 | }, /* 63 = compat_43_ogetkerninfo */ | |
407 | { | 407 | { | |
408 | .sy_call = (sy_call_t *)sys_nomodule | 408 | .sy_call = (sy_call_t *)sys_nomodule | |
409 | }, /* 64 = compat_43_ogetpagesize */ | 409 | }, /* 64 = compat_43_ogetpagesize */ | |
410 | { | 410 | { | |
411 | ns(struct compat_12_sys_msync_args), | 411 | ns(struct compat_12_sys_msync_args), | |
412 | .sy_flags = SYCALL_ARG_PTR, | 412 | .sy_flags = SYCALL_ARG_PTR, | |
413 | .sy_call = (sy_call_t *)sys_nomodule | 413 | .sy_call = (sy_call_t *)sys_nomodule | |
414 | }, /* 65 = compat_12_msync */ | 414 | }, /* 65 = compat_12_msync */ | |
415 | { | 415 | { | |
416 | .sy_call = (sy_call_t *)sys_vfork | 416 | .sy_call = (sy_call_t *)sys_vfork | |
417 | }, /* 66 = vfork */ | 417 | }, /* 66 = vfork */ | |
418 | { | 418 | { | |
419 | .sy_call = sys_nosys, | 419 | .sy_call = sys_nosys, | |
420 | }, /* 67 = filler */ | 420 | }, /* 67 = filler */ | |
421 | { | 421 | { | |
422 | .sy_call = sys_nosys, | 422 | .sy_call = sys_nosys, | |
423 | }, /* 68 = filler */ | 423 | }, /* 68 = filler */ | |
424 | { | 424 | { | |
425 | .sy_call = sys_nosys, | 425 | .sy_call = sys_nosys, | |
426 | }, /* 69 = filler */ | 426 | }, /* 69 = filler */ | |
427 | { | 427 | { | |
428 | .sy_call = sys_nosys, | 428 | .sy_call = sys_nosys, | |
429 | }, /* 70 = filler */ | 429 | }, /* 70 = filler */ | |
430 | { | 430 | { | |
431 | ns(struct compat_43_sys_mmap_args), | 431 | ns(struct compat_43_sys_mmap_args), | |
432 | .sy_flags = SYCALL_ARG_PTR, | 432 | .sy_flags = SYCALL_ARG_PTR, | |
433 | .sy_call = (sy_call_t *)sys_nomodule | 433 | .sy_call = (sy_call_t *)sys_nomodule | |
434 | }, /* 71 = compat_43_ommap */ | 434 | }, /* 71 = compat_43_ommap */ | |
435 | { | 435 | { | |
436 | ns(struct sys_ovadvise_args), | 436 | ns(struct sys_ovadvise_args), | |
437 | .sy_call = (sy_call_t *)sys_ovadvise | 437 | .sy_call = (sy_call_t *)sys_ovadvise | |
438 | }, /* 72 = vadvise */ | 438 | }, /* 72 = vadvise */ | |
439 | { | 439 | { | |
440 | ns(struct sys_munmap_args), | 440 | ns(struct sys_munmap_args), | |
441 | .sy_flags = SYCALL_ARG_PTR, | 441 | .sy_flags = SYCALL_ARG_PTR, | |
442 | .sy_call = (sy_call_t *)sys_munmap | 442 | .sy_call = (sy_call_t *)sys_munmap | |
443 | }, /* 73 = munmap */ | 443 | }, /* 73 = munmap */ | |
444 | { | 444 | { | |
445 | ns(struct sys_mprotect_args), | 445 | ns(struct sys_mprotect_args), | |
446 | .sy_flags = SYCALL_ARG_PTR, | 446 | .sy_flags = SYCALL_ARG_PTR, | |
447 | .sy_call = (sy_call_t *)sys_mprotect | 447 | .sy_call = (sy_call_t *)sys_mprotect | |
448 | }, /* 74 = mprotect */ | 448 | }, /* 74 = mprotect */ | |
449 | { | 449 | { | |
450 | ns(struct sys_madvise_args), | 450 | ns(struct sys_madvise_args), | |
451 | .sy_flags = SYCALL_ARG_PTR, | 451 | .sy_flags = SYCALL_ARG_PTR, | |
452 | .sy_call = (sy_call_t *)sys_madvise | 452 | .sy_call = (sy_call_t *)sys_madvise | |
453 | }, /* 75 = madvise */ | 453 | }, /* 75 = madvise */ | |
454 | { | 454 | { | |
455 | .sy_call = sys_nosys, | 455 | .sy_call = sys_nosys, | |
456 | }, /* 76 = filler */ | 456 | }, /* 76 = filler */ | |
457 | { | 457 | { | |
458 | .sy_call = sys_nosys, | 458 | .sy_call = sys_nosys, | |
459 | }, /* 77 = filler */ | 459 | }, /* 77 = filler */ | |
460 | { | 460 | { | |
461 | ns(struct sys_mincore_args), | 461 | ns(struct sys_mincore_args), | |
462 | .sy_flags = SYCALL_ARG_PTR, | 462 | .sy_flags = SYCALL_ARG_PTR, | |
463 | .sy_call = (sy_call_t *)sys_mincore | 463 | .sy_call = (sy_call_t *)sys_mincore | |
464 | }, /* 78 = mincore */ | 464 | }, /* 78 = mincore */ | |
465 | { | 465 | { | |
466 | ns(struct sys_getgroups_args), | 466 | ns(struct sys_getgroups_args), | |
467 | .sy_flags = SYCALL_ARG_PTR, | 467 | .sy_flags = SYCALL_ARG_PTR, | |
468 | .sy_call = (sy_call_t *)sys_getgroups | 468 | .sy_call = (sy_call_t *)sys_getgroups | |
469 | }, /* 79 = getgroups */ | 469 | }, /* 79 = getgroups */ | |
470 | { | 470 | { | |
471 | ns(struct sys_setgroups_args), | 471 | ns(struct sys_setgroups_args), | |
472 | .sy_flags = SYCALL_ARG_PTR, | 472 | .sy_flags = SYCALL_ARG_PTR, | |
473 | .sy_call = (sy_call_t *)sys_setgroups | 473 | .sy_call = (sy_call_t *)sys_setgroups | |
474 | }, /* 80 = setgroups */ | 474 | }, /* 80 = setgroups */ | |
475 | { | 475 | { | |
476 | .sy_call = (sy_call_t *)sys_getpgrp | 476 | .sy_call = (sy_call_t *)sys_getpgrp | |
477 | }, /* 81 = getpgrp */ | 477 | }, /* 81 = getpgrp */ | |
478 | { | 478 | { | |
479 | ns(struct sys_setpgid_args), | 479 | ns(struct sys_setpgid_args), | |
480 | .sy_call = (sy_call_t *)sys_setpgid | 480 | .sy_call = (sy_call_t *)sys_setpgid | |
481 | }, /* 82 = setpgid */ | 481 | }, /* 82 = setpgid */ | |
482 | { | 482 | { | |
483 | ns(struct compat_50_sys_setitimer_args), | 483 | ns(struct compat_50_sys_setitimer_args), | |
484 | .sy_flags = SYCALL_ARG_PTR, | 484 | .sy_flags = SYCALL_ARG_PTR, | |
485 | .sy_call = (sy_call_t *)sys_nomodule | 485 | .sy_call = (sy_call_t *)sys_nomodule | |
486 | }, /* 83 = compat_50_setitimer */ | 486 | }, /* 83 = compat_50_setitimer */ | |
487 | { | 487 | { | |
488 | .sy_call = (sy_call_t *)sys_nomodule | 488 | .sy_call = (sy_call_t *)sys_nomodule | |
489 | }, /* 84 = compat_43_owait */ | 489 | }, /* 84 = compat_43_owait */ | |
490 | { | 490 | { | |
491 | ns(struct compat_12_sys_swapon_args), | 491 | ns(struct compat_12_sys_swapon_args), | |
492 | .sy_flags = SYCALL_ARG_PTR, | 492 | .sy_flags = SYCALL_ARG_PTR, | |
493 | .sy_call = (sy_call_t *)sys_nomodule | 493 | .sy_call = (sy_call_t *)sys_nomodule | |
494 | }, /* 85 = compat_12_oswapon */ | 494 | }, /* 85 = compat_12_oswapon */ | |
495 | { | 495 | { | |
496 | ns(struct compat_50_sys_getitimer_args), | 496 | ns(struct compat_50_sys_getitimer_args), | |
497 | .sy_flags = SYCALL_ARG_PTR, | 497 | .sy_flags = SYCALL_ARG_PTR, | |
498 | .sy_call = (sy_call_t *)sys_nomodule | 498 | .sy_call = (sy_call_t *)sys_nomodule | |
499 | }, /* 86 = compat_50_getitimer */ | 499 | }, /* 86 = compat_50_getitimer */ | |
500 | { | 500 | { | |
501 | ns(struct compat_43_sys_gethostname_args), | 501 | ns(struct compat_43_sys_gethostname_args), | |
502 | .sy_flags = SYCALL_ARG_PTR, | 502 | .sy_flags = SYCALL_ARG_PTR, | |
503 | .sy_call = (sy_call_t *)sys_nomodule | 503 | .sy_call = (sy_call_t *)sys_nomodule | |
504 | }, /* 87 = compat_43_ogethostname */ | 504 | }, /* 87 = compat_43_ogethostname */ | |
505 | { | 505 | { | |
506 | ns(struct compat_43_sys_sethostname_args), | 506 | ns(struct compat_43_sys_sethostname_args), | |
507 | .sy_flags = SYCALL_ARG_PTR, | 507 | .sy_flags = SYCALL_ARG_PTR, | |
508 | .sy_call = (sy_call_t *)sys_nomodule | 508 | .sy_call = (sy_call_t *)sys_nomodule | |
509 | }, /* 88 = compat_43_osethostname */ | 509 | }, /* 88 = compat_43_osethostname */ | |
510 | { | 510 | { | |
511 | .sy_call = (sy_call_t *)sys_nomodule | 511 | .sy_call = (sy_call_t *)sys_nomodule | |
512 | }, /* 89 = compat_43_ogetdtablesize */ | 512 | }, /* 89 = compat_43_ogetdtablesize */ | |
513 | { | 513 | { | |
514 | ns(struct sys_dup2_args), | 514 | ns(struct sys_dup2_args), | |
515 | .sy_call = (sy_call_t *)sys_dup2 | 515 | .sy_call = (sy_call_t *)sys_dup2 | |
516 | }, /* 90 = dup2 */ | 516 | }, /* 90 = dup2 */ | |
517 | { | 517 | { | |
518 | .sy_call = sys_nosys, | 518 | .sy_call = sys_nosys, | |
519 | }, /* 91 = filler */ | 519 | }, /* 91 = filler */ | |
520 | { | 520 | { | |
521 | ns(struct sys_fcntl_args), | 521 | ns(struct sys_fcntl_args), | |
522 | .sy_flags = SYCALL_ARG_PTR, | 522 | .sy_flags = SYCALL_ARG_PTR, | |
523 | .sy_call = (sy_call_t *)sys_fcntl | 523 | .sy_call = (sy_call_t *)sys_fcntl | |
524 | }, /* 92 = fcntl */ | 524 | }, /* 92 = fcntl */ | |
525 | { | 525 | { | |
526 | ns(struct compat_50_sys_select_args), | 526 | ns(struct compat_50_sys_select_args), | |
527 | .sy_flags = SYCALL_ARG_PTR, | 527 | .sy_flags = SYCALL_ARG_PTR, | |
528 | .sy_call = (sy_call_t *)sys_nomodule | 528 | .sy_call = (sy_call_t *)sys_nomodule | |
529 | }, /* 93 = compat_50_select */ | 529 | }, /* 93 = compat_50_select */ | |
530 | { | 530 | { | |
531 | .sy_call = sys_nosys, | 531 | .sy_call = sys_nosys, | |
532 | }, /* 94 = filler */ | 532 | }, /* 94 = filler */ | |
533 | { | 533 | { | |
534 | ns(struct sys_fsync_args), | 534 | ns(struct sys_fsync_args), | |
535 | .sy_call = (sy_call_t *)sys_fsync | 535 | .sy_call = (sy_call_t *)sys_fsync | |
536 | }, /* 95 = fsync */ | 536 | }, /* 95 = fsync */ | |
537 | { | 537 | { | |
538 | ns(struct sys_setpriority_args), | 538 | ns(struct sys_setpriority_args), | |
539 | .sy_call = (sy_call_t *)sys_setpriority | 539 | .sy_call = (sy_call_t *)sys_setpriority | |
540 | }, /* 96 = setpriority */ | 540 | }, /* 96 = setpriority */ | |
541 | { | 541 | { | |
542 | ns(struct compat_30_sys_socket_args), | 542 | ns(struct compat_30_sys_socket_args), | |
543 | .sy_call = (sy_call_t *)sys_nomodule | 543 | .sy_call = (sy_call_t *)sys_nomodule | |
544 | }, /* 97 = compat_30_socket */ | 544 | }, /* 97 = compat_30_socket */ | |
545 | { | 545 | { | |
546 | ns(struct sys_connect_args), | 546 | ns(struct sys_connect_args), | |
547 | .sy_flags = SYCALL_ARG_PTR, | 547 | .sy_flags = SYCALL_ARG_PTR, | |
548 | .sy_call = (sy_call_t *)sys_connect | 548 | .sy_call = (sy_call_t *)sys_connect | |
549 | }, /* 98 = connect */ | 549 | }, /* 98 = connect */ | |
550 | { | 550 | { | |
551 | ns(struct compat_43_sys_accept_args), | 551 | ns(struct compat_43_sys_accept_args), | |
552 | .sy_flags = SYCALL_ARG_PTR, | 552 | .sy_flags = SYCALL_ARG_PTR, | |
553 | .sy_call = (sy_call_t *)sys_nomodule | 553 | .sy_call = (sy_call_t *)sys_nomodule | |
554 | }, /* 99 = compat_43_oaccept */ | 554 | }, /* 99 = compat_43_oaccept */ | |
555 | { | 555 | { | |
556 | ns(struct sys_getpriority_args), | 556 | ns(struct sys_getpriority_args), | |
557 | .sy_call = (sy_call_t *)sys_getpriority | 557 | .sy_call = (sy_call_t *)sys_getpriority | |
558 | }, /* 100 = getpriority */ | 558 | }, /* 100 = getpriority */ | |
559 | { | 559 | { | |
560 | ns(struct compat_43_sys_send_args), | 560 | ns(struct compat_43_sys_send_args), | |
561 | .sy_flags = SYCALL_ARG_PTR, | 561 | .sy_flags = SYCALL_ARG_PTR, | |
562 | .sy_call = (sy_call_t *)sys_nomodule | 562 | .sy_call = (sy_call_t *)sys_nomodule | |
563 | }, /* 101 = compat_43_osend */ | 563 | }, /* 101 = compat_43_osend */ | |
564 | { | 564 | { | |
565 | ns(struct compat_43_sys_recv_args), | 565 | ns(struct compat_43_sys_recv_args), | |
566 | .sy_flags = SYCALL_ARG_PTR, | 566 | .sy_flags = SYCALL_ARG_PTR, | |
567 | .sy_call = (sy_call_t *)sys_nomodule | 567 | .sy_call = (sy_call_t *)sys_nomodule | |
568 | }, /* 102 = compat_43_orecv */ | 568 | }, /* 102 = compat_43_orecv */ | |
569 | { | 569 | { | |
570 | ns(struct compat_13_sys_sigreturn_args), | 570 | ns(struct compat_13_sys_sigreturn_args), | |
571 | .sy_flags = SYCALL_ARG_PTR, | 571 | .sy_flags = SYCALL_ARG_PTR, | |
572 | .sy_call = (sy_call_t *)sys_nomodule | 572 | .sy_call = (sy_call_t *)sys_nomodule | |
573 | }, /* 103 = compat_13_sigreturn13 */ | 573 | }, /* 103 = compat_13_sigreturn13 */ | |
574 | { | 574 | { | |
575 | ns(struct sys_bind_args), | 575 | ns(struct sys_bind_args), | |
576 | .sy_flags = SYCALL_ARG_PTR, | 576 | .sy_flags = SYCALL_ARG_PTR, | |
577 | .sy_call = (sy_call_t *)sys_bind | 577 | .sy_call = (sy_call_t *)sys_bind | |
578 | }, /* 104 = bind */ | 578 | }, /* 104 = bind */ | |
579 | { | 579 | { | |
580 | ns(struct sys_setsockopt_args), | 580 | ns(struct sys_setsockopt_args), | |
581 | .sy_flags = SYCALL_ARG_PTR, | 581 | .sy_flags = SYCALL_ARG_PTR, | |
582 | .sy_call = (sy_call_t *)sys_setsockopt | 582 | .sy_call = (sy_call_t *)sys_setsockopt | |
583 | }, /* 105 = setsockopt */ | 583 | }, /* 105 = setsockopt */ | |
584 | { | 584 | { | |
585 | ns(struct sys_listen_args), | 585 | ns(struct sys_listen_args), | |
586 | .sy_call = (sy_call_t *)sys_listen | 586 | .sy_call = (sy_call_t *)sys_listen | |
587 | }, /* 106 = listen */ | 587 | }, /* 106 = listen */ | |
588 | { | 588 | { | |
589 | .sy_call = sys_nosys, | 589 | .sy_call = sys_nosys, | |
590 | }, /* 107 = filler */ | 590 | }, /* 107 = filler */ | |
591 | { | 591 | { | |
592 | ns(struct compat_43_sys_sigvec_args), | 592 | ns(struct compat_43_sys_sigvec_args), | |
593 | .sy_flags = SYCALL_ARG_PTR, | 593 | .sy_flags = SYCALL_ARG_PTR, | |
594 | .sy_call = (sy_call_t *)sys_nomodule | 594 | .sy_call = (sy_call_t *)sys_nomodule | |
595 | }, /* 108 = compat_43_osigvec */ | 595 | }, /* 108 = compat_43_osigvec */ | |
596 | { | 596 | { | |
597 | ns(struct compat_43_sys_sigblock_args), | 597 | ns(struct compat_43_sys_sigblock_args), | |
598 | .sy_call = (sy_call_t *)sys_nomodule | 598 | .sy_call = (sy_call_t *)sys_nomodule | |
599 | }, /* 109 = compat_43_osigblock */ | 599 | }, /* 109 = compat_43_osigblock */ | |
600 | { | 600 | { | |
601 | ns(struct compat_43_sys_sigsetmask_args), | 601 | ns(struct compat_43_sys_sigsetmask_args), | |
602 | .sy_call = (sy_call_t *)sys_nomodule | 602 | .sy_call = (sy_call_t *)sys_nomodule | |
603 | }, /* 110 = compat_43_osigsetmask */ | 603 | }, /* 110 = compat_43_osigsetmask */ | |
604 | { | 604 | { | |
605 | ns(struct compat_13_sys_sigsuspend_args), | 605 | ns(struct compat_13_sys_sigsuspend_args), | |
606 | .sy_call = (sy_call_t *)sys_nomodule | 606 | .sy_call = (sy_call_t *)sys_nomodule | |
607 | }, /* 111 = compat_13_sigsuspend13 */ | 607 | }, /* 111 = compat_13_sigsuspend13 */ | |
608 | { | 608 | { | |
609 | ns(struct compat_43_sys_sigstack_args), | 609 | ns(struct compat_43_sys_sigstack_args), | |
610 | .sy_flags = SYCALL_ARG_PTR, | 610 | .sy_flags = SYCALL_ARG_PTR, | |
611 | .sy_call = (sy_call_t *)sys_nomodule | 611 | .sy_call = (sy_call_t *)sys_nomodule | |
612 | }, /* 112 = compat_43_osigstack */ | 612 | }, /* 112 = compat_43_osigstack */ | |
613 | { | 613 | { | |
614 | ns(struct compat_43_sys_recvmsg_args), | 614 | ns(struct compat_43_sys_recvmsg_args), | |
615 | .sy_flags = SYCALL_ARG_PTR, | 615 | .sy_flags = SYCALL_ARG_PTR, | |
616 | .sy_call = (sy_call_t *)sys_nomodule | 616 | .sy_call = (sy_call_t *)sys_nomodule | |
617 | }, /* 113 = compat_43_orecvmsg */ | 617 | }, /* 113 = compat_43_orecvmsg */ | |
618 | { | 618 | { | |
619 | ns(struct compat_43_sys_sendmsg_args), | 619 | ns(struct compat_43_sys_sendmsg_args), | |
620 | .sy_flags = SYCALL_ARG_PTR, | 620 | .sy_flags = SYCALL_ARG_PTR, | |
621 | .sy_call = (sy_call_t *)sys_nomodule | 621 | .sy_call = (sy_call_t *)sys_nomodule | |
622 | }, /* 114 = compat_43_osendmsg */ | 622 | }, /* 114 = compat_43_osendmsg */ | |
623 | { | 623 | { | |
624 | .sy_call = sys_nosys, | 624 | .sy_call = sys_nosys, | |
625 | }, /* 115 = filler */ | 625 | }, /* 115 = filler */ | |
626 | { | 626 | { | |
627 | ns(struct compat_50_sys_gettimeofday_args), | 627 | ns(struct compat_50_sys_gettimeofday_args), | |
628 | .sy_flags = SYCALL_ARG_PTR, | 628 | .sy_flags = SYCALL_ARG_PTR, | |
629 | .sy_call = (sy_call_t *)sys_nomodule | 629 | .sy_call = (sy_call_t *)sys_nomodule | |
630 | }, /* 116 = compat_50_gettimeofday */ | 630 | }, /* 116 = compat_50_gettimeofday */ | |
631 | { | 631 | { | |
632 | ns(struct compat_50_sys_getrusage_args), | 632 | ns(struct compat_50_sys_getrusage_args), | |
633 | .sy_flags = SYCALL_ARG_PTR, | 633 | .sy_flags = SYCALL_ARG_PTR, | |
634 | .sy_call = (sy_call_t *)sys_nomodule | 634 | .sy_call = (sy_call_t *)sys_nomodule | |
635 | }, /* 117 = compat_50_getrusage */ | 635 | }, /* 117 = compat_50_getrusage */ | |
636 | { | 636 | { | |
637 | ns(struct sys_getsockopt_args), | 637 | ns(struct sys_getsockopt_args), | |
638 | .sy_flags = SYCALL_ARG_PTR, | 638 | .sy_flags = SYCALL_ARG_PTR, | |
639 | .sy_call = (sy_call_t *)sys_getsockopt | 639 | .sy_call = (sy_call_t *)sys_getsockopt | |
640 | }, /* 118 = getsockopt */ | 640 | }, /* 118 = getsockopt */ | |
641 | { | 641 | { | |
642 | .sy_call = sys_nosys, | 642 | .sy_call = sys_nosys, | |
643 | }, /* 119 = filler */ | 643 | }, /* 119 = filler */ | |
644 | { | 644 | { | |
645 | ns(struct sys_readv_args), | 645 | ns(struct sys_readv_args), | |
646 | .sy_flags = SYCALL_ARG_PTR, | 646 | .sy_flags = SYCALL_ARG_PTR, | |
647 | .sy_call = (sy_call_t *)sys_readv | 647 | .sy_call = (sy_call_t *)sys_readv | |
648 | }, /* 120 = readv */ | 648 | }, /* 120 = readv */ | |
649 | { | 649 | { | |
650 | ns(struct sys_writev_args), | 650 | ns(struct sys_writev_args), | |
651 | .sy_flags = SYCALL_ARG_PTR, | 651 | .sy_flags = SYCALL_ARG_PTR, | |
652 | .sy_call = (sy_call_t *)sys_writev | 652 | .sy_call = (sy_call_t *)sys_writev | |
653 | }, /* 121 = writev */ | 653 | }, /* 121 = writev */ | |
654 | { | 654 | { | |
655 | ns(struct compat_50_sys_settimeofday_args), | 655 | ns(struct compat_50_sys_settimeofday_args), | |
656 | .sy_flags = SYCALL_ARG_PTR, | 656 | .sy_flags = SYCALL_ARG_PTR, | |
657 | .sy_call = (sy_call_t *)sys_nomodule | 657 | .sy_call = (sy_call_t *)sys_nomodule | |
658 | }, /* 122 = compat_50_settimeofday */ | 658 | }, /* 122 = compat_50_settimeofday */ | |
659 | { | 659 | { | |
660 | ns(struct sys_fchown_args), | 660 | ns(struct sys_fchown_args), | |
661 | .sy_call = (sy_call_t *)sys_fchown | 661 | .sy_call = (sy_call_t *)sys_fchown | |
662 | }, /* 123 = fchown */ | 662 | }, /* 123 = fchown */ | |
663 | { | 663 | { | |
664 | ns(struct sys_fchmod_args), | 664 | ns(struct sys_fchmod_args), | |
665 | .sy_call = (sy_call_t *)sys_fchmod | 665 | .sy_call = (sy_call_t *)sys_fchmod | |
666 | }, /* 124 = fchmod */ | 666 | }, /* 124 = fchmod */ | |
667 | { | 667 | { | |
668 | ns(struct compat_43_sys_recvfrom_args), | 668 | ns(struct compat_43_sys_recvfrom_args), | |
669 | .sy_flags = SYCALL_ARG_PTR, | 669 | .sy_flags = SYCALL_ARG_PTR, | |
670 | .sy_call = (sy_call_t *)sys_nomodule | 670 | .sy_call = (sy_call_t *)sys_nomodule | |
671 | }, /* 125 = compat_43_orecvfrom */ | 671 | }, /* 125 = compat_43_orecvfrom */ | |
672 | { | 672 | { | |
673 | ns(struct sys_setreuid_args), | 673 | ns(struct sys_setreuid_args), | |
674 | .sy_call = (sy_call_t *)sys_setreuid | 674 | .sy_call = (sy_call_t *)sys_setreuid | |
675 | }, /* 126 = setreuid */ | 675 | }, /* 126 = setreuid */ | |
676 | { | 676 | { | |
677 | ns(struct sys_setregid_args), | 677 | ns(struct sys_setregid_args), | |
678 | .sy_call = (sy_call_t *)sys_setregid | 678 | .sy_call = (sy_call_t *)sys_setregid | |
679 | }, /* 127 = setregid */ | 679 | }, /* 127 = setregid */ | |
680 | { | 680 | { | |
681 | ns(struct sys_rename_args), | 681 | ns(struct sys_rename_args), | |
682 | .sy_flags = SYCALL_ARG_PTR, | 682 | .sy_flags = SYCALL_ARG_PTR, | |
683 | .sy_call = (sy_call_t *)sys_rename | 683 | .sy_call = (sy_call_t *)sys_rename | |
684 | }, /* 128 = rename */ | 684 | }, /* 128 = rename */ | |
685 | { | 685 | { | |
686 | ns(struct compat_43_sys_truncate_args), | 686 | ns(struct compat_43_sys_truncate_args), | |
687 | .sy_flags = SYCALL_ARG_PTR, | 687 | .sy_flags = SYCALL_ARG_PTR, | |
688 | .sy_call = (sy_call_t *)sys_nomodule | 688 | .sy_call = (sy_call_t *)sys_nomodule | |
689 | }, /* 129 = compat_43_otruncate */ | 689 | }, /* 129 = compat_43_otruncate */ | |
690 | { | 690 | { | |
691 | ns(struct compat_43_sys_ftruncate_args), | 691 | ns(struct compat_43_sys_ftruncate_args), | |
692 | .sy_call = (sy_call_t *)sys_nomodule | 692 | .sy_call = (sy_call_t *)sys_nomodule | |
693 | }, /* 130 = compat_43_oftruncate */ | 693 | }, /* 130 = compat_43_oftruncate */ | |
694 | { | 694 | { | |
695 | ns(struct sys_flock_args), | 695 | ns(struct sys_flock_args), | |
696 | .sy_call = (sy_call_t *)sys_flock | 696 | .sy_call = (sy_call_t *)sys_flock | |
697 | }, /* 131 = flock */ | 697 | }, /* 131 = flock */ | |
698 | { | 698 | { | |
699 | ns(struct sys_mkfifo_args), | 699 | ns(struct sys_mkfifo_args), | |
700 | .sy_flags = SYCALL_ARG_PTR, | 700 | .sy_flags = SYCALL_ARG_PTR, | |
701 | .sy_call = (sy_call_t *)sys_mkfifo | 701 | .sy_call = (sy_call_t *)sys_mkfifo | |
702 | }, /* 132 = mkfifo */ | 702 | }, /* 132 = mkfifo */ | |
703 | { | 703 | { | |
704 | ns(struct sys_sendto_args), | 704 | ns(struct sys_sendto_args), | |
705 | .sy_flags = SYCALL_ARG_PTR, | 705 | .sy_flags = SYCALL_ARG_PTR, | |
706 | .sy_call = (sy_call_t *)sys_sendto | 706 | .sy_call = (sy_call_t *)sys_sendto | |
707 | }, /* 133 = sendto */ | 707 | }, /* 133 = sendto */ | |
708 | { | 708 | { | |
709 | ns(struct sys_shutdown_args), | 709 | ns(struct sys_shutdown_args), | |
710 | .sy_call = (sy_call_t *)sys_shutdown | 710 | .sy_call = (sy_call_t *)sys_shutdown | |
711 | }, /* 134 = shutdown */ | 711 | }, /* 134 = shutdown */ | |
712 | { | 712 | { | |
713 | ns(struct sys_socketpair_args), | 713 | ns(struct sys_socketpair_args), | |
714 | .sy_flags = SYCALL_ARG_PTR, | 714 | .sy_flags = SYCALL_ARG_PTR, | |
715 | .sy_call = (sy_call_t *)sys_socketpair | 715 | .sy_call = (sy_call_t *)sys_socketpair | |
716 | }, /* 135 = socketpair */ | 716 | }, /* 135 = socketpair */ | |
717 | { | 717 | { | |
718 | ns(struct sys_mkdir_args), | 718 | ns(struct sys_mkdir_args), | |
719 | .sy_flags = SYCALL_ARG_PTR, | 719 | .sy_flags = SYCALL_ARG_PTR, | |
720 | .sy_call = (sy_call_t *)sys_mkdir | 720 | .sy_call = (sy_call_t *)sys_mkdir | |
721 | }, /* 136 = mkdir */ | 721 | }, /* 136 = mkdir */ | |
722 | { | 722 | { | |
723 | ns(struct sys_rmdir_args), | 723 | ns(struct sys_rmdir_args), | |
724 | .sy_flags = SYCALL_ARG_PTR, | 724 | .sy_flags = SYCALL_ARG_PTR, | |
725 | .sy_call = (sy_call_t *)sys_rmdir | 725 | .sy_call = (sy_call_t *)sys_rmdir | |
726 | }, /* 137 = rmdir */ | 726 | }, /* 137 = rmdir */ | |
727 | { | 727 | { | |
728 | ns(struct compat_50_sys_utimes_args), | 728 | ns(struct compat_50_sys_utimes_args), | |
729 | .sy_flags = SYCALL_ARG_PTR, | 729 | .sy_flags = SYCALL_ARG_PTR, | |
730 | .sy_call = (sy_call_t *)sys_nomodule | 730 | .sy_call = (sy_call_t *)sys_nomodule | |
731 | }, /* 138 = compat_50_utimes */ | 731 | }, /* 138 = compat_50_utimes */ | |
732 | { | 732 | { | |
733 | .sy_call = sys_nosys, | 733 | .sy_call = sys_nosys, | |
734 | }, /* 139 = filler */ | 734 | }, /* 139 = filler */ | |
735 | { | 735 | { | |
736 | ns(struct compat_50_sys_adjtime_args), | 736 | ns(struct compat_50_sys_adjtime_args), | |
737 | .sy_flags = SYCALL_ARG_PTR, | 737 | .sy_flags = SYCALL_ARG_PTR, | |
738 | .sy_call = (sy_call_t *)sys_nomodule | 738 | .sy_call = (sy_call_t *)sys_nomodule | |
739 | }, /* 140 = compat_50_adjtime */ | 739 | }, /* 140 = compat_50_adjtime */ | |
740 | { | 740 | { | |
741 | ns(struct compat_43_sys_getpeername_args), | 741 | ns(struct compat_43_sys_getpeername_args), | |
742 | .sy_flags = SYCALL_ARG_PTR, | 742 | .sy_flags = SYCALL_ARG_PTR, | |
743 | .sy_call = (sy_call_t *)sys_nomodule | 743 | .sy_call = (sy_call_t *)sys_nomodule | |
744 | }, /* 141 = compat_43_ogetpeername */ | 744 | }, /* 141 = compat_43_ogetpeername */ | |
745 | { | 745 | { | |
746 | .sy_call = (sy_call_t *)sys_nomodule | 746 | .sy_call = (sy_call_t *)sys_nomodule | |
747 | }, /* 142 = compat_43_ogethostid */ | 747 | }, /* 142 = compat_43_ogethostid */ | |
748 | { | 748 | { | |
749 | ns(struct compat_43_sys_sethostid_args), | 749 | ns(struct compat_43_sys_sethostid_args), | |
750 | .sy_call = (sy_call_t *)sys_nomodule | 750 | .sy_call = (sy_call_t *)sys_nomodule | |
751 | }, /* 143 = compat_43_osethostid */ | 751 | }, /* 143 = compat_43_osethostid */ | |
752 | { | 752 | { | |
753 | ns(struct compat_43_sys_getrlimit_args), | 753 | ns(struct compat_43_sys_getrlimit_args), | |
754 | .sy_flags = SYCALL_ARG_PTR, | 754 | .sy_flags = SYCALL_ARG_PTR, | |
755 | .sy_call = (sy_call_t *)sys_nomodule | 755 | .sy_call = (sy_call_t *)sys_nomodule | |
756 | }, /* 144 = compat_43_ogetrlimit */ | 756 | }, /* 144 = compat_43_ogetrlimit */ | |
757 | { | 757 | { | |
758 | ns(struct compat_43_sys_setrlimit_args), | 758 | ns(struct compat_43_sys_setrlimit_args), | |
759 | .sy_flags = SYCALL_ARG_PTR, | 759 | .sy_flags = SYCALL_ARG_PTR, | |
760 | .sy_call = (sy_call_t *)sys_nomodule | 760 | .sy_call = (sy_call_t *)sys_nomodule | |
761 | }, /* 145 = compat_43_osetrlimit */ | 761 | }, /* 145 = compat_43_osetrlimit */ | |
762 | { | 762 | { | |
763 | ns(struct compat_43_sys_killpg_args), | 763 | ns(struct compat_43_sys_killpg_args), | |
764 | .sy_call = (sy_call_t *)sys_nomodule | 764 | .sy_call = (sy_call_t *)sys_nomodule | |
765 | }, /* 146 = compat_43_okillpg */ | 765 | }, /* 146 = compat_43_okillpg */ | |
766 | { | 766 | { | |
767 | .sy_call = (sy_call_t *)sys_setsid | 767 | .sy_call = (sy_call_t *)sys_setsid | |
768 | }, /* 147 = setsid */ | 768 | }, /* 147 = setsid */ | |
769 | { | 769 | { | |
770 | ns(struct compat_50_sys_quotactl_args), | 770 | ns(struct compat_50_sys_quotactl_args), | |
771 | .sy_flags = SYCALL_ARG_PTR, | 771 | .sy_flags = SYCALL_ARG_PTR, | |
772 | .sy_call = (sy_call_t *)sys_nomodule | 772 | .sy_call = (sy_call_t *)sys_nomodule | |
773 | }, /* 148 = compat_50_quotactl */ | 773 | }, /* 148 = compat_50_quotactl */ | |
774 | { | 774 | { | |
775 | .sy_call = (sy_call_t *)sys_nomodule | 775 | .sy_call = (sy_call_t *)sys_nomodule | |
776 | }, /* 149 = compat_43_oquota */ | 776 | }, /* 149 = compat_43_oquota */ | |
777 | { | 777 | { | |
778 | ns(struct compat_43_sys_getsockname_args), | 778 | ns(struct compat_43_sys_getsockname_args), | |
779 | .sy_flags = SYCALL_ARG_PTR, | 779 | .sy_flags = SYCALL_ARG_PTR, | |
780 | .sy_call = (sy_call_t *)sys_nomodule | 780 | .sy_call = (sy_call_t *)sys_nomodule | |
781 | }, /* 150 = compat_43_ogetsockname */ | 781 | }, /* 150 = compat_43_ogetsockname */ | |
782 | { | 782 | { | |
783 | .sy_call = sys_nosys, | 783 | .sy_call = sys_nosys, | |
784 | }, /* 151 = filler */ | 784 | }, /* 151 = filler */ | |
785 | { | 785 | { | |
786 | .sy_call = sys_nosys, | 786 | .sy_call = sys_nosys, | |
787 | }, /* 152 = filler */ | 787 | }, /* 152 = filler */ | |
788 | { | 788 | { | |
789 | .sy_call = sys_nosys, | 789 | .sy_call = sys_nosys, | |
790 | }, /* 153 = filler */ | 790 | }, /* 153 = filler */ | |
791 | { | 791 | { | |
792 | .sy_call = sys_nosys, | 792 | .sy_call = sys_nosys, | |
793 | }, /* 154 = filler */ | 793 | }, /* 154 = filler */ | |
794 | { | 794 | { | |
795 | ns(struct sys_nfssvc_args), | 795 | ns(struct sys_nfssvc_args), | |
796 | .sy_flags = SYCALL_ARG_PTR, | 796 | .sy_flags = SYCALL_ARG_PTR, | |
797 | .sy_call = (sy_call_t *)sys_nomodule | 797 | .sy_call = (sy_call_t *)sys_nomodule | |
798 | }, /* 155 = nfssvc */ | 798 | }, /* 155 = nfssvc */ | |
799 | { | 799 | { | |
800 | ns(struct compat_43_sys_getdirentries_args), | 800 | ns(struct compat_43_sys_getdirentries_args), | |
801 | .sy_flags = SYCALL_ARG_PTR, | 801 | .sy_flags = SYCALL_ARG_PTR, | |
802 | .sy_call = (sy_call_t *)sys_nomodule | 802 | .sy_call = (sy_call_t *)sys_nomodule | |
803 | }, /* 156 = compat_43_ogetdirentries */ | 803 | }, /* 156 = compat_43_ogetdirentries */ | |
804 | { | 804 | { | |
805 | ns(struct compat_20_sys_statfs_args), | 805 | ns(struct compat_20_sys_statfs_args), | |
806 | .sy_flags = SYCALL_ARG_PTR, | 806 | .sy_flags = SYCALL_ARG_PTR, | |
807 | .sy_call = (sy_call_t *)sys_nomodule | 807 | .sy_call = (sy_call_t *)sys_nomodule | |
808 | }, /* 157 = compat_20_statfs */ | 808 | }, /* 157 = compat_20_statfs */ | |
809 | { | 809 | { | |
810 | ns(struct compat_20_sys_fstatfs_args), | 810 | ns(struct compat_20_sys_fstatfs_args), | |
811 | .sy_flags = SYCALL_ARG_PTR, | 811 | .sy_flags = SYCALL_ARG_PTR, | |
812 | .sy_call = (sy_call_t *)sys_nomodule | 812 | .sy_call = (sy_call_t *)sys_nomodule | |
813 | }, /* 158 = compat_20_fstatfs */ | 813 | }, /* 158 = compat_20_fstatfs */ | |
814 | { | 814 | { | |
815 | .sy_call = sys_nosys, | 815 | .sy_call = sys_nosys, | |
816 | }, /* 159 = filler */ | 816 | }, /* 159 = filler */ | |
817 | { | 817 | { | |
818 | .sy_call = sys_nosys, | 818 | .sy_call = sys_nosys, | |
819 | }, /* 160 = filler */ | 819 | }, /* 160 = filler */ | |
820 | { | 820 | { | |
821 | ns(struct compat_30_sys_getfh_args), | 821 | ns(struct compat_30_sys_getfh_args), | |
822 | .sy_flags = SYCALL_ARG_PTR, | 822 | .sy_flags = SYCALL_ARG_PTR, | |
823 | .sy_call = (sy_call_t *)sys_nomodule | 823 | .sy_call = (sy_call_t *)sys_nomodule | |
824 | }, /* 161 = compat_30_getfh */ | 824 | }, /* 161 = compat_30_getfh */ | |
825 | { | 825 | { | |
826 | ns(struct compat_09_sys_getdomainname_args), | 826 | ns(struct compat_09_sys_getdomainname_args), | |
827 | .sy_flags = SYCALL_ARG_PTR, | 827 | .sy_flags = SYCALL_ARG_PTR, | |
828 | .sy_call = (sy_call_t *)sys_nomodule | 828 | .sy_call = (sy_call_t *)sys_nomodule | |
829 | }, /* 162 = compat_09_ogetdomainname */ | 829 | }, /* 162 = compat_09_ogetdomainname */ | |
830 | { | 830 | { | |
831 | ns(struct compat_09_sys_setdomainname_args), | 831 | ns(struct compat_09_sys_setdomainname_args), | |
832 | .sy_flags = SYCALL_ARG_PTR, | 832 | .sy_flags = SYCALL_ARG_PTR, | |
833 | .sy_call = (sy_call_t *)sys_nomodule | 833 | .sy_call = (sy_call_t *)sys_nomodule | |
834 | }, /* 163 = compat_09_osetdomainname */ | 834 | }, /* 163 = compat_09_osetdomainname */ | |
835 | { | 835 | { | |
836 | ns(struct compat_09_sys_uname_args), | 836 | ns(struct compat_09_sys_uname_args), | |
837 | .sy_flags = SYCALL_ARG_PTR, | 837 | .sy_flags = SYCALL_ARG_PTR, | |
838 | .sy_call = (sy_call_t *)sys_nomodule | 838 | .sy_call = (sy_call_t *)sys_nomodule | |
839 | }, /* 164 = compat_09_ouname */ | 839 | }, /* 164 = compat_09_ouname */ | |
840 | { | 840 | { | |
841 | ns(struct sys_sysarch_args), | 841 | ns(struct sys_sysarch_args), | |
842 | .sy_flags = SYCALL_ARG_PTR, | 842 | .sy_flags = SYCALL_ARG_PTR, | |
843 | .sy_call = (sy_call_t *)sys_sysarch | 843 | .sy_call = (sy_call_t *)sys_sysarch | |
844 | }, /* 165 = sysarch */ | 844 | }, /* 165 = sysarch */ | |
845 | { | 845 | { | |
846 | .sy_call = sys_nosys, | 846 | .sy_call = sys_nosys, | |
847 | }, /* 166 = filler */ | 847 | }, /* 166 = filler */ | |
848 | { | 848 | { | |
849 | .sy_call = sys_nosys, | 849 | .sy_call = sys_nosys, | |
850 | }, /* 167 = filler */ | 850 | }, /* 167 = filler */ | |
851 | { | 851 | { | |
852 | .sy_call = sys_nosys, | 852 | .sy_call = sys_nosys, | |
853 | }, /* 168 = filler */ | 853 | }, /* 168 = filler */ | |
854 | #if !defined(_LP64) | 854 | #if !defined(_LP64) | |
855 | { | 855 | { | |
856 | ns(struct compat_10_sys_semsys_args), | 856 | ns(struct compat_10_sys_semsys_args), | |
857 | .sy_call = (sy_call_t *)sys_nomodule | 857 | .sy_call = (sy_call_t *)sys_nomodule | |
858 | }, /* 169 = compat_10_osemsys */ | 858 | }, /* 169 = compat_10_osemsys */ | |
859 | #else | 859 | #else | |
860 | { | 860 | { | |
861 | .sy_call = sys_nosys, | 861 | .sy_call = sys_nosys, | |
862 | }, /* 169 = filler */ | 862 | }, /* 169 = filler */ | |
863 | #endif | 863 | #endif | |
864 | #if !defined(_LP64) | 864 | #if !defined(_LP64) | |
865 | { | 865 | { | |
866 | ns(struct compat_10_sys_msgsys_args), | 866 | ns(struct compat_10_sys_msgsys_args), | |
867 | .sy_call = (sy_call_t *)sys_nomodule | 867 | .sy_call = (sy_call_t *)sys_nomodule | |
868 | }, /* 170 = compat_10_omsgsys */ | 868 | }, /* 170 = compat_10_omsgsys */ | |
869 | #else | 869 | #else | |
870 | { | 870 | { | |
871 | .sy_call = sys_nosys, | 871 | .sy_call = sys_nosys, | |
872 | }, /* 170 = filler */ | 872 | }, /* 170 = filler */ | |
873 | #endif | 873 | #endif | |
874 | #if !defined(_LP64) | 874 | #if !defined(_LP64) | |
875 | { | 875 | { | |
876 | ns(struct compat_10_sys_shmsys_args), | 876 | ns(struct compat_10_sys_shmsys_args), | |
877 | .sy_call = (sy_call_t *)sys_nomodule | 877 | .sy_call = (sy_call_t *)sys_nomodule | |
878 | }, /* 171 = compat_10_oshmsys */ | 878 | }, /* 171 = compat_10_oshmsys */ | |
879 | #else | 879 | #else | |
880 | { | 880 | { | |
881 | .sy_call = sys_nosys, | 881 | .sy_call = sys_nosys, | |
882 | }, /* 171 = filler */ | 882 | }, /* 171 = filler */ | |
883 | #endif | 883 | #endif | |
884 | { | 884 | { | |
885 | .sy_call = sys_nosys, | 885 | .sy_call = sys_nosys, | |
886 | }, /* 172 = filler */ | 886 | }, /* 172 = filler */ | |
887 | { | 887 | { | |
888 | ns(struct sys_pread_args), | 888 | ns(struct sys_pread_args), | |
889 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, | 889 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, | |
890 | .sy_call = (sy_call_t *)sys_pread | 890 | .sy_call = (sy_call_t *)sys_pread | |
891 | }, /* 173 = pread */ | 891 | }, /* 173 = pread */ | |
892 | { | 892 | { | |
893 | ns(struct sys_pwrite_args), | 893 | ns(struct sys_pwrite_args), | |
894 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, | 894 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG4_64 | SYCALL_ARG_PTR, | |
895 | .sy_call = (sy_call_t *)sys_pwrite | 895 | .sy_call = (sy_call_t *)sys_pwrite | |
896 | }, /* 174 = pwrite */ | 896 | }, /* 174 = pwrite */ | |
897 | { | 897 | { | |
898 | ns(struct compat_30_sys_ntp_gettime_args), | 898 | ns(struct compat_30_sys_ntp_gettime_args), | |
899 | .sy_flags = SYCALL_ARG_PTR, | 899 | .sy_flags = SYCALL_ARG_PTR, | |
900 | .sy_call = (sy_call_t *)compat_30(sys_ntp_gettime) | 900 | .sy_call = (sy_call_t *)compat_30(sys_ntp_gettime) | |
901 | }, /* 175 = compat_30_ntp_gettime */ | 901 | }, /* 175 = compat_30_ntp_gettime */ | |
902 | #if defined(NTP) || !defined(_KERNEL_OPT) | 902 | #if defined(NTP) || !defined(_KERNEL_OPT) | |
903 | { | 903 | { | |
904 | ns(struct sys_ntp_adjtime_args), | 904 | ns(struct sys_ntp_adjtime_args), | |
905 | .sy_flags = SYCALL_ARG_PTR, | 905 | .sy_flags = SYCALL_ARG_PTR, | |
906 | .sy_call = (sy_call_t *)sys_ntp_adjtime | 906 | .sy_call = (sy_call_t *)sys_ntp_adjtime | |
907 | }, /* 176 = ntp_adjtime */ | 907 | }, /* 176 = ntp_adjtime */ | |
908 | #else | 908 | #else | |
909 | { | 909 | { | |
910 | .sy_call = sys_nosys, | 910 | .sy_call = sys_nosys, | |
911 | }, /* 176 = filler */ | 911 | }, /* 176 = filler */ | |
912 | #endif | 912 | #endif | |
913 | { | 913 | { | |
914 | .sy_call = sys_nosys, | 914 | .sy_call = sys_nosys, | |
915 | }, /* 177 = filler */ | 915 | }, /* 177 = filler */ | |
916 | { | 916 | { | |
917 | .sy_call = sys_nosys, | 917 | .sy_call = sys_nosys, | |
918 | }, /* 178 = filler */ | 918 | }, /* 178 = filler */ | |
919 | { | 919 | { | |
920 | .sy_call = sys_nosys, | 920 | .sy_call = sys_nosys, | |
921 | }, /* 179 = filler */ | 921 | }, /* 179 = filler */ | |
922 | { | 922 | { | |
923 | .sy_call = sys_nosys, | 923 | .sy_call = sys_nosys, | |
924 | }, /* 180 = filler */ | 924 | }, /* 180 = filler */ | |
925 | { | 925 | { | |
926 | ns(struct sys_setgid_args), | 926 | ns(struct sys_setgid_args), | |
927 | .sy_call = (sy_call_t *)sys_setgid | 927 | .sy_call = (sy_call_t *)sys_setgid | |
928 | }, /* 181 = setgid */ | 928 | }, /* 181 = setgid */ | |
929 | { | 929 | { | |
930 | ns(struct sys_setegid_args), | 930 | ns(struct sys_setegid_args), | |
931 | .sy_call = (sy_call_t *)sys_setegid | 931 | .sy_call = (sy_call_t *)sys_setegid | |
932 | }, /* 182 = setegid */ | 932 | }, /* 182 = setegid */ | |
933 | { | 933 | { | |
934 | ns(struct sys_seteuid_args), | 934 | ns(struct sys_seteuid_args), | |
935 | .sy_call = (sy_call_t *)sys_seteuid | 935 | .sy_call = (sy_call_t *)sys_seteuid | |
936 | }, /* 183 = seteuid */ | 936 | }, /* 183 = seteuid */ | |
937 | { | 937 | { | |
938 | ns(struct sys_lfs_bmapv_args), | 938 | ns(struct sys_lfs_bmapv_args), | |
939 | .sy_flags = SYCALL_ARG_PTR, | 939 | .sy_flags = SYCALL_ARG_PTR, | |
940 | .sy_call = (sy_call_t *)sys_nomodule | 940 | .sy_call = (sy_call_t *)sys_nomodule | |
941 | }, /* 184 = lfs_bmapv */ | 941 | }, /* 184 = lfs_bmapv */ | |
942 | { | 942 | { | |
943 | ns(struct sys_lfs_markv_args), | 943 | ns(struct sys_lfs_markv_args), | |
944 | .sy_flags = SYCALL_ARG_PTR, | 944 | .sy_flags = SYCALL_ARG_PTR, | |
945 | .sy_call = (sy_call_t *)sys_nomodule | 945 | .sy_call = (sy_call_t *)sys_nomodule | |
946 | }, /* 185 = lfs_markv */ | 946 | }, /* 185 = lfs_markv */ | |
947 | { | 947 | { | |
948 | ns(struct sys_lfs_segclean_args), | 948 | ns(struct sys_lfs_segclean_args), | |
949 | .sy_flags = SYCALL_ARG_PTR, | 949 | .sy_flags = SYCALL_ARG_PTR, | |
950 | .sy_call = (sy_call_t *)sys_nomodule | 950 | .sy_call = (sy_call_t *)sys_nomodule | |
951 | }, /* 186 = lfs_segclean */ | 951 | }, /* 186 = lfs_segclean */ | |
952 | { | 952 | { | |
953 | ns(struct compat_50_sys_lfs_segwait_args), | 953 | ns(struct compat_50_sys_lfs_segwait_args), | |
954 | .sy_flags = SYCALL_ARG_PTR, | 954 | .sy_flags = SYCALL_ARG_PTR, | |
955 | .sy_call = (sy_call_t *)sys_nomodule | 955 | .sy_call = (sy_call_t *)sys_nomodule | |
956 | }, /* 187 = compat_50_lfs_segwait */ | 956 | }, /* 187 = compat_50_lfs_segwait */ | |
957 | { | 957 | { | |
958 | ns(struct compat_12_sys_stat_args), | 958 | ns(struct compat_12_sys_stat_args), | |
959 | .sy_flags = SYCALL_ARG_PTR, | 959 | .sy_flags = SYCALL_ARG_PTR, | |
960 | .sy_call = (sy_call_t *)sys_nomodule | 960 | .sy_call = (sy_call_t *)sys_nomodule | |
961 | }, /* 188 = compat_12_stat12 */ | 961 | }, /* 188 = compat_12_stat12 */ | |
962 | { | 962 | { | |
963 | ns(struct compat_12_sys_fstat_args), | 963 | ns(struct compat_12_sys_fstat_args), | |
964 | .sy_flags = SYCALL_ARG_PTR, | 964 | .sy_flags = SYCALL_ARG_PTR, | |
965 | .sy_call = (sy_call_t *)sys_nomodule | 965 | .sy_call = (sy_call_t *)sys_nomodule | |
966 | }, /* 189 = compat_12_fstat12 */ | 966 | }, /* 189 = compat_12_fstat12 */ | |
967 | { | 967 | { | |
968 | ns(struct compat_12_sys_lstat_args), | 968 | ns(struct compat_12_sys_lstat_args), | |
969 | .sy_flags = SYCALL_ARG_PTR, | 969 | .sy_flags = SYCALL_ARG_PTR, | |
970 | .sy_call = (sy_call_t *)sys_nomodule | 970 | .sy_call = (sy_call_t *)sys_nomodule | |
971 | }, /* 190 = compat_12_lstat12 */ | 971 | }, /* 190 = compat_12_lstat12 */ | |
972 | { | 972 | { | |
973 | ns(struct sys_pathconf_args), | 973 | ns(struct sys_pathconf_args), | |
974 | .sy_flags = SYCALL_ARG_PTR, | 974 | .sy_flags = SYCALL_ARG_PTR, | |
975 | .sy_call = (sy_call_t *)sys_pathconf | 975 | .sy_call = (sy_call_t *)sys_pathconf | |
976 | }, /* 191 = pathconf */ | 976 | }, /* 191 = pathconf */ | |
977 | { | 977 | { | |
978 | ns(struct sys_fpathconf_args), | 978 | ns(struct sys_fpathconf_args), | |
979 | .sy_call = (sy_call_t *)sys_fpathconf | 979 | .sy_call = (sy_call_t *)sys_fpathconf | |
980 | }, /* 192 = fpathconf */ | 980 | }, /* 192 = fpathconf */ | |
981 | { | 981 | { | |
982 | .sy_call = sys_nosys, | 982 | .sy_call = sys_nosys, | |
983 | }, /* 193 = filler */ | 983 | }, /* 193 = filler */ | |
984 | { | 984 | { | |
985 | ns(struct sys_getrlimit_args), | 985 | ns(struct sys_getrlimit_args), | |
986 | .sy_flags = SYCALL_ARG_PTR, | 986 | .sy_flags = SYCALL_ARG_PTR, | |
987 | .sy_call = (sy_call_t *)sys_getrlimit | 987 | .sy_call = (sy_call_t *)sys_getrlimit | |
988 | }, /* 194 = getrlimit */ | 988 | }, /* 194 = getrlimit */ | |
989 | { | 989 | { | |
990 | ns(struct sys_setrlimit_args), | 990 | ns(struct sys_setrlimit_args), | |
991 | .sy_flags = SYCALL_ARG_PTR, | 991 | .sy_flags = SYCALL_ARG_PTR, | |
992 | .sy_call = (sy_call_t *)sys_setrlimit | 992 | .sy_call = (sy_call_t *)sys_setrlimit | |
993 | }, /* 195 = setrlimit */ | 993 | }, /* 195 = setrlimit */ | |
994 | { | 994 | { | |
995 | ns(struct compat_12_sys_getdirentries_args), | 995 | ns(struct compat_12_sys_getdirentries_args), | |
996 | .sy_flags = SYCALL_ARG_PTR, | 996 | .sy_flags = SYCALL_ARG_PTR, | |
997 | .sy_call = (sy_call_t *)sys_nomodule | 997 | .sy_call = (sy_call_t *)sys_nomodule | |
998 | }, /* 196 = compat_12_getdirentries */ | 998 | }, /* 196 = compat_12_getdirentries */ | |
999 | { | 999 | { | |
1000 | ns(struct sys_mmap_args), | 1000 | ns(struct sys_mmap_args), | |
1001 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64 | SYCALL_ARG_PTR, | 1001 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG6_64 | SYCALL_ARG_PTR, | |
1002 | .sy_call = (sy_call_t *)sys_mmap | 1002 | .sy_call = (sy_call_t *)sys_mmap | |
1003 | }, /* 197 = mmap */ | 1003 | }, /* 197 = mmap */ | |
1004 | { | 1004 | { | |
1005 | ns(struct sys___syscall_args), | 1005 | ns(struct sys___syscall_args), | |
1006 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT, | 1006 | .sy_flags = SYCALL_NARGS64_VAL(1) | SYCALL_ARG0_64 | SYCALL_RET_64 | SYCALL_INDIRECT, | |
1007 | .sy_call = (sy_call_t *)sys___syscall | 1007 | .sy_call = (sy_call_t *)sys___syscall | |
1008 | }, /* 198 = __syscall */ | 1008 | }, /* 198 = __syscall */ | |
1009 | { | 1009 | { | |
1010 | ns(struct sys_lseek_args), | 1010 | ns(struct sys_lseek_args), |
--- src/sys/kern/syscalls.c 2018/01/06 16:41:23 1.310
+++ src/sys/kern/syscalls.c 2018/03/10 05:12:17 1.310.2.1
@@ -1,1010 +1,1010 @@ | @@ -1,1010 +1,1010 @@ | |||
1 | /* $NetBSD: syscalls.c,v 1.310 2018/01/06 16:41:23 kamil Exp $ */ | 1 | /* $NetBSD: syscalls.c,v 1.310.2.1 2018/03/10 05:12:17 pgoyette 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: syscalls.master,v 1.288 2017/12/19 08:48:19 kamil Exp | 7 | * created from NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.310 2018/01/06 16:41:23 kamil Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: syscalls.c,v 1.310.2.1 2018/03/10 05:12:17 pgoyette 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 <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/socket.h> | 20 | #include <sys/socket.h> | |
21 | #include <sys/mount.h> | 21 | #include <sys/mount.h> | |
22 | #include <sys/sched.h> | 22 | #include <sys/sched.h> | |
23 | #include <sys/idtype.h> | 23 | #include <sys/idtype.h> | |
24 | #include <sys/syscallargs.h> | 24 | #include <sys/syscallargs.h> | |
25 | #else /* _KERNEL_OPT */ | 25 | #else /* _KERNEL_OPT */ | |
26 | #include <sys/null.h> | 26 | #include <sys/null.h> | |
27 | #endif /* _KERNEL_OPT */ | 27 | #endif /* _KERNEL_OPT */ | |
28 | 28 | |||
29 | const char *const syscallnames[] = { | 29 | const char *const syscallnames[] = { | |
30 | /* 0 */ "syscall", | 30 | /* 0 */ "syscall", | |
31 | /* 1 */ "exit", | 31 | /* 1 */ "exit", | |
32 | /* 2 */ "fork", | 32 | /* 2 */ "fork", | |
33 | /* 3 */ "read", | 33 | /* 3 */ "read", | |
34 | /* 4 */ "write", | 34 | /* 4 */ "write", | |
35 | /* 5 */ "open", | 35 | /* 5 */ "open", | |
36 | /* 6 */ "close", | 36 | /* 6 */ "close", | |
37 | /* 7 */ "compat_50_wait4", | 37 | /* 7 */ "compat_50_wait4", | |
38 | /* 8 */ "compat_43_ocreat", | 38 | /* 8 */ "compat_43_ocreat", | |
39 | /* 9 */ "link", | 39 | /* 9 */ "link", | |
40 | /* 10 */ "unlink", | 40 | /* 10 */ "unlink", | |
41 | /* 11 */ "#11 (obsolete execv)", | 41 | /* 11 */ "#11 (obsolete execv)", | |
42 | /* 12 */ "chdir", | 42 | /* 12 */ "chdir", | |
43 | /* 13 */ "fchdir", | 43 | /* 13 */ "fchdir", | |
44 | /* 14 */ "compat_50_mknod", | 44 | /* 14 */ "compat_50_mknod", | |
45 | /* 15 */ "chmod", | 45 | /* 15 */ "chmod", | |
46 | /* 16 */ "chown", | 46 | /* 16 */ "chown", | |
47 | /* 17 */ "break", | 47 | /* 17 */ "break", | |
48 | /* 18 */ "compat_20_getfsstat", | 48 | /* 18 */ "compat_20_getfsstat", | |
49 | /* 19 */ "compat_43_olseek", | 49 | /* 19 */ "compat_43_olseek", | |
50 | /* 20 */ "getpid", | 50 | /* 20 */ "getpid", | |
51 | /* 21 */ "compat_40_mount", | 51 | /* 21 */ "compat_40_mount", | |
52 | /* 22 */ "unmount", | 52 | /* 22 */ "unmount", | |
53 | /* 23 */ "setuid", | 53 | /* 23 */ "setuid", | |
54 | /* 24 */ "getuid", | 54 | /* 24 */ "getuid", | |
55 | /* 25 */ "geteuid", | 55 | /* 25 */ "geteuid", | |
56 | /* 26 */ "ptrace", | 56 | /* 26 */ "ptrace", | |
57 | /* 27 */ "recvmsg", | 57 | /* 27 */ "recvmsg", | |
58 | /* 28 */ "sendmsg", | 58 | /* 28 */ "sendmsg", | |
59 | /* 29 */ "recvfrom", | 59 | /* 29 */ "recvfrom", | |
60 | /* 30 */ "accept", | 60 | /* 30 */ "accept", | |
61 | /* 31 */ "getpeername", | 61 | /* 31 */ "getpeername", | |
62 | /* 32 */ "getsockname", | 62 | /* 32 */ "getsockname", | |
63 | /* 33 */ "access", | 63 | /* 33 */ "access", | |
64 | /* 34 */ "chflags", | 64 | /* 34 */ "chflags", | |
65 | /* 35 */ "fchflags", | 65 | /* 35 */ "fchflags", | |
66 | /* 36 */ "sync", | 66 | /* 36 */ "sync", | |
67 | /* 37 */ "kill", | 67 | /* 37 */ "kill", | |
68 | /* 38 */ "compat_43_stat43", | 68 | /* 38 */ "compat_43_stat43", | |
69 | /* 39 */ "getppid", | 69 | /* 39 */ "getppid", | |
70 | /* 40 */ "compat_43_lstat43", | 70 | /* 40 */ "compat_43_lstat43", | |
71 | /* 41 */ "dup", | 71 | /* 41 */ "dup", | |
72 | /* 42 */ "pipe", | 72 | /* 42 */ "pipe", | |
73 | /* 43 */ "getegid", | 73 | /* 43 */ "getegid", | |
74 | /* 44 */ "profil", | 74 | /* 44 */ "profil", | |
75 | /* 45 */ "ktrace", | 75 | /* 45 */ "ktrace", | |
76 | /* 46 */ "compat_13_sigaction13", | 76 | /* 46 */ "compat_13_sigaction13", | |
77 | /* 47 */ "getgid", | 77 | /* 47 */ "getgid", | |
78 | /* 48 */ "compat_13_sigprocmask13", | 78 | /* 48 */ "compat_13_sigprocmask13", | |
79 | /* 49 */ "__getlogin", | 79 | /* 49 */ "__getlogin", | |
80 | /* 50 */ "__setlogin", | 80 | /* 50 */ "__setlogin", | |
81 | /* 51 */ "acct", | 81 | /* 51 */ "acct", | |
82 | /* 52 */ "compat_13_sigpending13", | 82 | /* 52 */ "compat_13_sigpending13", | |
83 | /* 53 */ "compat_13_sigaltstack13", | 83 | /* 53 */ "compat_13_sigaltstack13", | |
84 | /* 54 */ "ioctl", | 84 | /* 54 */ "ioctl", | |
85 | /* 55 */ "compat_12_oreboot", | 85 | /* 55 */ "compat_12_oreboot", | |
86 | /* 56 */ "revoke", | 86 | /* 56 */ "revoke", | |
87 | /* 57 */ "symlink", | 87 | /* 57 */ "symlink", | |
88 | /* 58 */ "readlink", | 88 | /* 58 */ "readlink", | |
89 | /* 59 */ "execve", | 89 | /* 59 */ "execve", | |
90 | /* 60 */ "umask", | 90 | /* 60 */ "umask", | |
91 | /* 61 */ "chroot", | 91 | /* 61 */ "chroot", | |
92 | /* 62 */ "compat_43_fstat43", | 92 | /* 62 */ "compat_43_fstat43", | |
93 | /* 63 */ "compat_43_ogetkerninfo", | 93 | /* 63 */ "compat_43_ogetkerninfo", | |
94 | /* 64 */ "compat_43_ogetpagesize", | 94 | /* 64 */ "compat_43_ogetpagesize", | |
95 | /* 65 */ "compat_12_msync", | 95 | /* 65 */ "compat_12_msync", | |
96 | /* 66 */ "vfork", | 96 | /* 66 */ "vfork", | |
97 | /* 67 */ "#67 (obsolete vread)", | 97 | /* 67 */ "#67 (obsolete vread)", | |
98 | /* 68 */ "#68 (obsolete vwrite)", | 98 | /* 68 */ "#68 (obsolete vwrite)", | |
99 | /* 69 */ "#69 (obsolete sbrk)", | 99 | /* 69 */ "#69 (obsolete sbrk)", | |
100 | /* 70 */ "#70 (obsolete sstk)", | 100 | /* 70 */ "#70 (obsolete sstk)", | |
101 | /* 71 */ "compat_43_ommap", | 101 | /* 71 */ "compat_43_ommap", | |
102 | /* 72 */ "vadvise", | 102 | /* 72 */ "vadvise", | |
103 | /* 73 */ "munmap", | 103 | /* 73 */ "munmap", | |
104 | /* 74 */ "mprotect", | 104 | /* 74 */ "mprotect", | |
105 | /* 75 */ "madvise", | 105 | /* 75 */ "madvise", | |
106 | /* 76 */ "#76 (obsolete vhangup)", | 106 | /* 76 */ "#76 (obsolete vhangup)", | |
107 | /* 77 */ "#77 (obsolete vlimit)", | 107 | /* 77 */ "#77 (obsolete vlimit)", | |
108 | /* 78 */ "mincore", | 108 | /* 78 */ "mincore", | |
109 | /* 79 */ "getgroups", | 109 | /* 79 */ "getgroups", | |
110 | /* 80 */ "setgroups", | 110 | /* 80 */ "setgroups", | |
111 | /* 81 */ "getpgrp", | 111 | /* 81 */ "getpgrp", | |
112 | /* 82 */ "setpgid", | 112 | /* 82 */ "setpgid", | |
113 | /* 83 */ "compat_50_setitimer", | 113 | /* 83 */ "compat_50_setitimer", | |
114 | /* 84 */ "compat_43_owait", | 114 | /* 84 */ "compat_43_owait", | |
115 | /* 85 */ "compat_12_oswapon", | 115 | /* 85 */ "compat_12_oswapon", | |
116 | /* 86 */ "compat_50_getitimer", | 116 | /* 86 */ "compat_50_getitimer", | |
117 | /* 87 */ "compat_43_ogethostname", | 117 | /* 87 */ "compat_43_ogethostname", | |
118 | /* 88 */ "compat_43_osethostname", | 118 | /* 88 */ "compat_43_osethostname", | |
119 | /* 89 */ "compat_43_ogetdtablesize", | 119 | /* 89 */ "compat_43_ogetdtablesize", | |
120 | /* 90 */ "dup2", | 120 | /* 90 */ "dup2", | |
121 | /* 91 */ "#91 (unimplemented getdopt)", | 121 | /* 91 */ "#91 (unimplemented getdopt)", | |
122 | /* 92 */ "fcntl", | 122 | /* 92 */ "fcntl", | |
123 | /* 93 */ "compat_50_select", | 123 | /* 93 */ "compat_50_select", | |
124 | /* 94 */ "#94 (unimplemented setdopt)", | 124 | /* 94 */ "#94 (unimplemented setdopt)", | |
125 | /* 95 */ "fsync", | 125 | /* 95 */ "fsync", | |
126 | /* 96 */ "setpriority", | 126 | /* 96 */ "setpriority", | |
127 | /* 97 */ "compat_30_socket", | 127 | /* 97 */ "compat_30_socket", | |
128 | /* 98 */ "connect", | 128 | /* 98 */ "connect", | |
129 | /* 99 */ "compat_43_oaccept", | 129 | /* 99 */ "compat_43_oaccept", | |
130 | /* 100 */ "getpriority", | 130 | /* 100 */ "getpriority", | |
131 | /* 101 */ "compat_43_osend", | 131 | /* 101 */ "compat_43_osend", | |
132 | /* 102 */ "compat_43_orecv", | 132 | /* 102 */ "compat_43_orecv", | |
133 | /* 103 */ "compat_13_sigreturn13", | 133 | /* 103 */ "compat_13_sigreturn13", | |
134 | /* 104 */ "bind", | 134 | /* 104 */ "bind", | |
135 | /* 105 */ "setsockopt", | 135 | /* 105 */ "setsockopt", | |
136 | /* 106 */ "listen", | 136 | /* 106 */ "listen", | |
137 | /* 107 */ "#107 (obsolete vtimes)", | 137 | /* 107 */ "#107 (obsolete vtimes)", | |
138 | /* 108 */ "compat_43_osigvec", | 138 | /* 108 */ "compat_43_osigvec", | |
139 | /* 109 */ "compat_43_osigblock", | 139 | /* 109 */ "compat_43_osigblock", | |
140 | /* 110 */ "compat_43_osigsetmask", | 140 | /* 110 */ "compat_43_osigsetmask", | |
141 | /* 111 */ "compat_13_sigsuspend13", | 141 | /* 111 */ "compat_13_sigsuspend13", | |
142 | /* 112 */ "compat_43_osigstack", | 142 | /* 112 */ "compat_43_osigstack", | |
143 | /* 113 */ "compat_43_orecvmsg", | 143 | /* 113 */ "compat_43_orecvmsg", | |
144 | /* 114 */ "compat_43_osendmsg", | 144 | /* 114 */ "compat_43_osendmsg", | |
145 | /* 115 */ "#115 (obsolete vtrace)", | 145 | /* 115 */ "#115 (obsolete vtrace)", | |
146 | /* 116 */ "compat_50_gettimeofday", | 146 | /* 116 */ "compat_50_gettimeofday", | |
147 | /* 117 */ "compat_50_getrusage", | 147 | /* 117 */ "compat_50_getrusage", | |
148 | /* 118 */ "getsockopt", | 148 | /* 118 */ "getsockopt", | |
149 | /* 119 */ "#119 (obsolete resuba)", | 149 | /* 119 */ "#119 (obsolete resuba)", | |
150 | /* 120 */ "readv", | 150 | /* 120 */ "readv", | |
151 | /* 121 */ "writev", | 151 | /* 121 */ "writev", | |
152 | /* 122 */ "compat_50_settimeofday", | 152 | /* 122 */ "compat_50_settimeofday", | |
153 | /* 123 */ "fchown", | 153 | /* 123 */ "fchown", | |
154 | /* 124 */ "fchmod", | 154 | /* 124 */ "fchmod", | |
155 | /* 125 */ "compat_43_orecvfrom", | 155 | /* 125 */ "compat_43_orecvfrom", | |
156 | /* 126 */ "setreuid", | 156 | /* 126 */ "setreuid", | |
157 | /* 127 */ "setregid", | 157 | /* 127 */ "setregid", | |
158 | /* 128 */ "rename", | 158 | /* 128 */ "rename", | |
159 | /* 129 */ "compat_43_otruncate", | 159 | /* 129 */ "compat_43_otruncate", | |
160 | /* 130 */ "compat_43_oftruncate", | 160 | /* 130 */ "compat_43_oftruncate", | |
161 | /* 131 */ "flock", | 161 | /* 131 */ "flock", | |
162 | /* 132 */ "mkfifo", | 162 | /* 132 */ "mkfifo", | |
163 | /* 133 */ "sendto", | 163 | /* 133 */ "sendto", | |
164 | /* 134 */ "shutdown", | 164 | /* 134 */ "shutdown", | |
165 | /* 135 */ "socketpair", | 165 | /* 135 */ "socketpair", | |
166 | /* 136 */ "mkdir", | 166 | /* 136 */ "mkdir", | |
167 | /* 137 */ "rmdir", | 167 | /* 137 */ "rmdir", | |
168 | /* 138 */ "compat_50_utimes", | 168 | /* 138 */ "compat_50_utimes", | |
169 | /* 139 */ "#139 (obsolete 4.2 sigreturn)", | 169 | /* 139 */ "#139 (obsolete 4.2 sigreturn)", | |
170 | /* 140 */ "compat_50_adjtime", | 170 | /* 140 */ "compat_50_adjtime", | |
171 | /* 141 */ "compat_43_ogetpeername", | 171 | /* 141 */ "compat_43_ogetpeername", | |
172 | /* 142 */ "compat_43_ogethostid", | 172 | /* 142 */ "compat_43_ogethostid", | |
173 | /* 143 */ "compat_43_osethostid", | 173 | /* 143 */ "compat_43_osethostid", | |
174 | /* 144 */ "compat_43_ogetrlimit", | 174 | /* 144 */ "compat_43_ogetrlimit", | |
175 | /* 145 */ "compat_43_osetrlimit", | 175 | /* 145 */ "compat_43_osetrlimit", | |
176 | /* 146 */ "compat_43_okillpg", | 176 | /* 146 */ "compat_43_okillpg", | |
177 | /* 147 */ "setsid", | 177 | /* 147 */ "setsid", | |
178 | /* 148 */ "compat_50_quotactl", | 178 | /* 148 */ "compat_50_quotactl", | |
179 | /* 149 */ "compat_43_oquota", | 179 | /* 149 */ "compat_43_oquota", | |
180 | /* 150 */ "compat_43_ogetsockname", | 180 | /* 150 */ "compat_43_ogetsockname", | |
181 | /* 151 */ "#151 (unimplemented)", | 181 | /* 151 */ "#151 (unimplemented)", | |
182 | /* 152 */ "#152 (unimplemented)", | 182 | /* 152 */ "#152 (unimplemented)", | |
183 | /* 153 */ "#153 (unimplemented)", | 183 | /* 153 */ "#153 (unimplemented)", | |
184 | /* 154 */ "#154 (unimplemented)", | 184 | /* 154 */ "#154 (unimplemented)", | |
185 | /* 155 */ "nfssvc", | 185 | /* 155 */ "nfssvc", | |
186 | /* 156 */ "compat_43_ogetdirentries", | 186 | /* 156 */ "compat_43_ogetdirentries", | |
187 | /* 157 */ "compat_20_statfs", | 187 | /* 157 */ "compat_20_statfs", | |
188 | /* 158 */ "compat_20_fstatfs", | 188 | /* 158 */ "compat_20_fstatfs", | |
189 | /* 159 */ "#159 (unimplemented)", | 189 | /* 159 */ "#159 (unimplemented)", | |
190 | /* 160 */ "#160 (unimplemented)", | 190 | /* 160 */ "#160 (unimplemented)", | |
191 | /* 161 */ "compat_30_getfh", | 191 | /* 161 */ "compat_30_getfh", | |
192 | /* 162 */ "compat_09_ogetdomainname", | 192 | /* 162 */ "compat_09_ogetdomainname", | |
193 | /* 163 */ "compat_09_osetdomainname", | 193 | /* 163 */ "compat_09_osetdomainname", | |
194 | /* 164 */ "compat_09_ouname", | 194 | /* 164 */ "compat_09_ouname", | |
195 | /* 165 */ "sysarch", | 195 | /* 165 */ "sysarch", | |
196 | /* 166 */ "#166 (unimplemented)", | 196 | /* 166 */ "#166 (unimplemented)", | |
197 | /* 167 */ "#167 (unimplemented)", | 197 | /* 167 */ "#167 (unimplemented)", | |
198 | /* 168 */ "#168 (unimplemented)", | 198 | /* 168 */ "#168 (unimplemented)", | |
199 | #if !defined(_LP64) | 199 | #if !defined(_LP64) | |
200 | /* 169 */ "compat_10_osemsys", | 200 | /* 169 */ "compat_10_osemsys", | |
201 | #else | 201 | #else | |
202 | /* 169 */ "#169 (excluded 1.0 semsys)", | 202 | /* 169 */ "#169 (excluded 1.0 semsys)", | |
203 | #endif | 203 | #endif | |
204 | #if !defined(_LP64) | 204 | #if !defined(_LP64) | |
205 | /* 170 */ "compat_10_omsgsys", | 205 | /* 170 */ "compat_10_omsgsys", | |
206 | #else | 206 | #else | |
207 | /* 170 */ "#170 (excluded 1.0 msgsys)", | 207 | /* 170 */ "#170 (excluded 1.0 msgsys)", | |
208 | #endif | 208 | #endif | |
209 | #if !defined(_LP64) | 209 | #if !defined(_LP64) | |
210 | /* 171 */ "compat_10_oshmsys", | 210 | /* 171 */ "compat_10_oshmsys", | |
211 | #else | 211 | #else | |
212 | /* 171 */ "#171 (excluded 1.0 shmsys)", | 212 | /* 171 */ "#171 (excluded 1.0 shmsys)", | |
213 | #endif | 213 | #endif | |
214 | /* 172 */ "#172 (unimplemented)", | 214 | /* 172 */ "#172 (unimplemented)", | |
215 | /* 173 */ "pread", | 215 | /* 173 */ "pread", | |
216 | /* 174 */ "pwrite", | 216 | /* 174 */ "pwrite", | |
217 | /* 175 */ "compat_30_ntp_gettime", | 217 | /* 175 */ "compat_30_ntp_gettime", | |
218 | #if defined(NTP) || !defined(_KERNEL_OPT) | 218 | #if defined(NTP) || !defined(_KERNEL_OPT) | |
219 | /* 176 */ "ntp_adjtime", | 219 | /* 176 */ "ntp_adjtime", | |
220 | #else | 220 | #else | |
221 | /* 176 */ "#176 (excluded ntp_adjtime)", | 221 | /* 176 */ "#176 (excluded ntp_adjtime)", | |
222 | #endif | 222 | #endif | |
223 | /* 177 */ "#177 (unimplemented)", | 223 | /* 177 */ "#177 (unimplemented)", | |
224 | /* 178 */ "#178 (unimplemented)", | 224 | /* 178 */ "#178 (unimplemented)", | |
225 | /* 179 */ "#179 (unimplemented)", | 225 | /* 179 */ "#179 (unimplemented)", | |
226 | /* 180 */ "#180 (unimplemented)", | 226 | /* 180 */ "#180 (unimplemented)", | |
227 | /* 181 */ "setgid", | 227 | /* 181 */ "setgid", | |
228 | /* 182 */ "setegid", | 228 | /* 182 */ "setegid", | |
229 | /* 183 */ "seteuid", | 229 | /* 183 */ "seteuid", | |
230 | /* 184 */ "lfs_bmapv", | 230 | /* 184 */ "lfs_bmapv", | |
231 | /* 185 */ "lfs_markv", | 231 | /* 185 */ "lfs_markv", | |
232 | /* 186 */ "lfs_segclean", | 232 | /* 186 */ "lfs_segclean", | |
233 | /* 187 */ "compat_50_lfs_segwait", | 233 | /* 187 */ "compat_50_lfs_segwait", | |
234 | /* 188 */ "compat_12_stat12", | 234 | /* 188 */ "compat_12_stat12", | |
235 | /* 189 */ "compat_12_fstat12", | 235 | /* 189 */ "compat_12_fstat12", | |
236 | /* 190 */ "compat_12_lstat12", | 236 | /* 190 */ "compat_12_lstat12", | |
237 | /* 191 */ "pathconf", | 237 | /* 191 */ "pathconf", | |
238 | /* 192 */ "fpathconf", | 238 | /* 192 */ "fpathconf", | |
239 | /* 193 */ "#193 (unimplemented)", | 239 | /* 193 */ "#193 (unimplemented)", | |
240 | /* 194 */ "getrlimit", | 240 | /* 194 */ "getrlimit", | |
241 | /* 195 */ "setrlimit", | 241 | /* 195 */ "setrlimit", | |
242 | /* 196 */ "compat_12_getdirentries", | 242 | /* 196 */ "compat_12_getdirentries", | |
243 | /* 197 */ "mmap", | 243 | /* 197 */ "mmap", | |
244 | /* 198 */ "__syscall", | 244 | /* 198 */ "__syscall", | |
245 | /* 199 */ "lseek", | 245 | /* 199 */ "lseek", | |
246 | /* 200 */ "truncate", | 246 | /* 200 */ "truncate", | |
247 | /* 201 */ "ftruncate", | 247 | /* 201 */ "ftruncate", | |
248 | /* 202 */ "__sysctl", | 248 | /* 202 */ "__sysctl", | |
249 | /* 203 */ "mlock", | 249 | /* 203 */ "mlock", | |
250 | /* 204 */ "munlock", | 250 | /* 204 */ "munlock", | |
251 | /* 205 */ "undelete", | 251 | /* 205 */ "undelete", | |
252 | /* 206 */ "compat_50_futimes", | 252 | /* 206 */ "compat_50_futimes", | |
253 | /* 207 */ "getpgid", | 253 | /* 207 */ "getpgid", | |
254 | /* 208 */ "reboot", | 254 | /* 208 */ "reboot", | |
255 | /* 209 */ "poll", | 255 | /* 209 */ "poll", | |
256 | /* 210 */ "afssys", | 256 | /* 210 */ "afssys", | |
257 | /* 211 */ "#211 (unimplemented)", | 257 | /* 211 */ "#211 (unimplemented)", | |
258 | /* 212 */ "#212 (unimplemented)", | 258 | /* 212 */ "#212 (unimplemented)", | |
259 | /* 213 */ "#213 (unimplemented)", | 259 | /* 213 */ "#213 (unimplemented)", | |
260 | /* 214 */ "#214 (unimplemented)", | 260 | /* 214 */ "#214 (unimplemented)", | |
261 | /* 215 */ "#215 (unimplemented)", | 261 | /* 215 */ "#215 (unimplemented)", | |
262 | /* 216 */ "#216 (unimplemented)", | 262 | /* 216 */ "#216 (unimplemented)", | |
263 | /* 217 */ "#217 (unimplemented)", | 263 | /* 217 */ "#217 (unimplemented)", | |
264 | /* 218 */ "#218 (unimplemented)", | 264 | /* 218 */ "#218 (unimplemented)", | |
265 | /* 219 */ "#219 (unimplemented)", | 265 | /* 219 */ "#219 (unimplemented)", | |
266 | /* 220 */ "compat_14___semctl", | 266 | /* 220 */ "compat_14___semctl", | |
267 | /* 221 */ "semget", | 267 | /* 221 */ "semget", | |
268 | /* 222 */ "semop", | 268 | /* 222 */ "semop", | |
269 | /* 223 */ "semconfig", | 269 | /* 223 */ "semconfig", | |
270 | /* 224 */ "compat_14_msgctl", | 270 | /* 224 */ "compat_14_msgctl", | |
271 | /* 225 */ "msgget", | 271 | /* 225 */ "msgget", | |
272 | /* 226 */ "msgsnd", | 272 | /* 226 */ "msgsnd", | |
273 | /* 227 */ "msgrcv", | 273 | /* 227 */ "msgrcv", | |
274 | /* 228 */ "shmat", | 274 | /* 228 */ "shmat", | |
275 | /* 229 */ "compat_14_shmctl", | 275 | /* 229 */ "compat_14_shmctl", | |
276 | /* 230 */ "shmdt", | 276 | /* 230 */ "shmdt", | |
277 | /* 231 */ "shmget", | 277 | /* 231 */ "shmget", | |
278 | /* 232 */ "compat_50_clock_gettime", | 278 | /* 232 */ "compat_50_clock_gettime", | |
279 | /* 233 */ "compat_50_clock_settime", | 279 | /* 233 */ "compat_50_clock_settime", | |
280 | /* 234 */ "compat_50_clock_getres", | 280 | /* 234 */ "compat_50_clock_getres", | |
281 | /* 235 */ "timer_create", | 281 | /* 235 */ "timer_create", | |
282 | /* 236 */ "timer_delete", | 282 | /* 236 */ "timer_delete", | |
283 | /* 237 */ "compat_50_timer_settime", | 283 | /* 237 */ "compat_50_timer_settime", | |
284 | /* 238 */ "compat_50_timer_gettime", | 284 | /* 238 */ "compat_50_timer_gettime", | |
285 | /* 239 */ "timer_getoverrun", | 285 | /* 239 */ "timer_getoverrun", | |
286 | /* 240 */ "compat_50_nanosleep", | 286 | /* 240 */ "compat_50_nanosleep", | |
287 | /* 241 */ "fdatasync", | 287 | /* 241 */ "fdatasync", | |
288 | /* 242 */ "mlockall", | 288 | /* 242 */ "mlockall", | |
289 | /* 243 */ "munlockall", | 289 | /* 243 */ "munlockall", | |
290 | /* 244 */ "compat_50___sigtimedwait", | 290 | /* 244 */ "compat_50___sigtimedwait", | |
291 | /* 245 */ "sigqueueinfo", | 291 | /* 245 */ "sigqueueinfo", | |
292 | /* 246 */ "modctl", | 292 | /* 246 */ "modctl", | |
293 | /* 247 */ "_ksem_init", | 293 | /* 247 */ "_ksem_init", | |
294 | /* 248 */ "_ksem_open", | 294 | /* 248 */ "_ksem_open", | |
295 | /* 249 */ "_ksem_unlink", | 295 | /* 249 */ "_ksem_unlink", | |
296 | /* 250 */ "_ksem_close", | 296 | /* 250 */ "_ksem_close", | |
297 | /* 251 */ "_ksem_post", | 297 | /* 251 */ "_ksem_post", | |
298 | /* 252 */ "_ksem_wait", | 298 | /* 252 */ "_ksem_wait", | |
299 | /* 253 */ "_ksem_trywait", | 299 | /* 253 */ "_ksem_trywait", | |
300 | /* 254 */ "_ksem_getvalue", | 300 | /* 254 */ "_ksem_getvalue", | |
301 | /* 255 */ "_ksem_destroy", | 301 | /* 255 */ "_ksem_destroy", | |
302 | /* 256 */ "_ksem_timedwait", | 302 | /* 256 */ "_ksem_timedwait", | |
303 | /* 257 */ "mq_open", | 303 | /* 257 */ "mq_open", | |
304 | /* 258 */ "mq_close", | 304 | /* 258 */ "mq_close", | |
305 | /* 259 */ "mq_unlink", | 305 | /* 259 */ "mq_unlink", | |
306 | /* 260 */ "mq_getattr", | 306 | /* 260 */ "mq_getattr", | |
307 | /* 261 */ "mq_setattr", | 307 | /* 261 */ "mq_setattr", | |
308 | /* 262 */ "mq_notify", | 308 | /* 262 */ "mq_notify", | |
309 | /* 263 */ "mq_send", | 309 | /* 263 */ "mq_send", | |
310 | /* 264 */ "mq_receive", | 310 | /* 264 */ "mq_receive", | |
311 | /* 265 */ "compat_50_mq_timedsend", | 311 | /* 265 */ "compat_50_mq_timedsend", | |
312 | /* 266 */ "compat_50_mq_timedreceive", | 312 | /* 266 */ "compat_50_mq_timedreceive", | |
313 | /* 267 */ "#267 (unimplemented)", | 313 | /* 267 */ "#267 (unimplemented)", | |
314 | /* 268 */ "#268 (unimplemented)", | 314 | /* 268 */ "#268 (unimplemented)", | |
315 | /* 269 */ "#269 (unimplemented)", | 315 | /* 269 */ "#269 (unimplemented)", | |
316 | /* 270 */ "__posix_rename", | 316 | /* 270 */ "__posix_rename", | |
317 | /* 271 */ "swapctl", | 317 | /* 271 */ "swapctl", | |
318 | /* 272 */ "compat_30_getdents", | 318 | /* 272 */ "compat_30_getdents", | |
319 | /* 273 */ "minherit", | 319 | /* 273 */ "minherit", | |
320 | /* 274 */ "lchmod", | 320 | /* 274 */ "lchmod", | |
321 | /* 275 */ "lchown", | 321 | /* 275 */ "lchown", | |
322 | /* 276 */ "compat_50_lutimes", | 322 | /* 276 */ "compat_50_lutimes", | |
323 | /* 277 */ "__msync13", | 323 | /* 277 */ "__msync13", | |
324 | /* 278 */ "compat_30___stat13", | 324 | /* 278 */ "compat_30___stat13", | |
325 | /* 279 */ "compat_30___fstat13", | 325 | /* 279 */ "compat_30___fstat13", | |
326 | /* 280 */ "compat_30___lstat13", | 326 | /* 280 */ "compat_30___lstat13", | |
327 | /* 281 */ "__sigaltstack14", | 327 | /* 281 */ "__sigaltstack14", | |
328 | /* 282 */ "__vfork14", | 328 | /* 282 */ "__vfork14", | |
329 | /* 283 */ "__posix_chown", | 329 | /* 283 */ "__posix_chown", | |
330 | /* 284 */ "__posix_fchown", | 330 | /* 284 */ "__posix_fchown", | |
331 | /* 285 */ "__posix_lchown", | 331 | /* 285 */ "__posix_lchown", | |
332 | /* 286 */ "getsid", | 332 | /* 286 */ "getsid", | |
333 | /* 287 */ "__clone", | 333 | /* 287 */ "__clone", | |
334 | /* 288 */ "fktrace", | 334 | /* 288 */ "fktrace", | |
335 | /* 289 */ "preadv", | 335 | /* 289 */ "preadv", | |
336 | /* 290 */ "pwritev", | 336 | /* 290 */ "pwritev", | |
337 | /* 291 */ "compat_16___sigaction14", | 337 | /* 291 */ "compat_16___sigaction14", | |
338 | /* 292 */ "__sigpending14", | 338 | /* 292 */ "__sigpending14", | |
339 | /* 293 */ "__sigprocmask14", | 339 | /* 293 */ "__sigprocmask14", | |
340 | /* 294 */ "__sigsuspend14", | 340 | /* 294 */ "__sigsuspend14", | |
341 | /* 295 */ "compat_16___sigreturn14", | 341 | /* 295 */ "compat_16___sigreturn14", | |
342 | /* 296 */ "__getcwd", | 342 | /* 296 */ "__getcwd", | |
343 | /* 297 */ "fchroot", | 343 | /* 297 */ "fchroot", | |
344 | /* 298 */ "compat_30_fhopen", | 344 | /* 298 */ "compat_30_fhopen", | |
345 | /* 299 */ "compat_30_fhstat", | 345 | /* 299 */ "compat_30_fhstat", | |
346 | /* 300 */ "compat_20_fhstatfs", | 346 | /* 300 */ "compat_20_fhstatfs", | |
347 | /* 301 */ "compat_50_____semctl13", | 347 | /* 301 */ "compat_50_____semctl13", | |
348 | /* 302 */ "compat_50___msgctl13", | 348 | /* 302 */ "compat_50___msgctl13", | |
349 | /* 303 */ "compat_50___shmctl13", | 349 | /* 303 */ "compat_50___shmctl13", | |
350 | /* 304 */ "lchflags", | 350 | /* 304 */ "lchflags", | |
351 | /* 305 */ "issetugid", | 351 | /* 305 */ "issetugid", | |
352 | /* 306 */ "utrace", | 352 | /* 306 */ "utrace", | |
353 | /* 307 */ "getcontext", | 353 | /* 307 */ "getcontext", | |
354 | /* 308 */ "setcontext", | 354 | /* 308 */ "setcontext", | |
355 | /* 309 */ "_lwp_create", | 355 | /* 309 */ "_lwp_create", | |
356 | /* 310 */ "_lwp_exit", | 356 | /* 310 */ "_lwp_exit", | |
357 | /* 311 */ "_lwp_self", | 357 | /* 311 */ "_lwp_self", | |
358 | /* 312 */ "_lwp_wait", | 358 | /* 312 */ "_lwp_wait", | |
359 | /* 313 */ "_lwp_suspend", | 359 | /* 313 */ "_lwp_suspend", | |
360 | /* 314 */ "_lwp_continue", | 360 | /* 314 */ "_lwp_continue", | |
361 | /* 315 */ "_lwp_wakeup", | 361 | /* 315 */ "_lwp_wakeup", | |
362 | /* 316 */ "_lwp_getprivate", | 362 | /* 316 */ "_lwp_getprivate", | |
363 | /* 317 */ "_lwp_setprivate", | 363 | /* 317 */ "_lwp_setprivate", | |
364 | /* 318 */ "_lwp_kill", | 364 | /* 318 */ "_lwp_kill", | |
365 | /* 319 */ "_lwp_detach", | 365 | /* 319 */ "_lwp_detach", | |
366 | /* 320 */ "compat_50__lwp_park", | 366 | /* 320 */ "compat_50__lwp_park", | |
367 | /* 321 */ "_lwp_unpark", | 367 | /* 321 */ "_lwp_unpark", | |
368 | /* 322 */ "_lwp_unpark_all", | 368 | /* 322 */ "_lwp_unpark_all", | |
369 | /* 323 */ "_lwp_setname", | 369 | /* 323 */ "_lwp_setname", | |
370 | /* 324 */ "_lwp_getname", | 370 | /* 324 */ "_lwp_getname", | |
371 | /* 325 */ "_lwp_ctl", | 371 | /* 325 */ "_lwp_ctl", | |
372 | /* 326 */ "#326 (unimplemented)", | 372 | /* 326 */ "#326 (unimplemented)", | |
373 | /* 327 */ "#327 (unimplemented)", | 373 | /* 327 */ "#327 (unimplemented)", | |
374 | /* 328 */ "#328 (unimplemented)", | 374 | /* 328 */ "#328 (unimplemented)", | |
375 | /* 329 */ "#329 (unimplemented)", | 375 | /* 329 */ "#329 (unimplemented)", | |
376 | /* 330 */ "compat_60_sa_register", | 376 | /* 330 */ "compat_60_sa_register", | |
377 | /* 331 */ "compat_60_sa_stacks", | 377 | /* 331 */ "compat_60_sa_stacks", | |
378 | /* 332 */ "compat_60_sa_enable", | 378 | /* 332 */ "compat_60_sa_enable", | |
379 | /* 333 */ "compat_60_sa_setconcurrency", | 379 | /* 333 */ "compat_60_sa_setconcurrency", | |
380 | /* 334 */ "compat_60_sa_yield", | 380 | /* 334 */ "compat_60_sa_yield", | |
381 | /* 335 */ "compat_60_sa_preempt", | 381 | /* 335 */ "compat_60_sa_preempt", | |
382 | /* 336 */ "#336 (obsolete sys_sa_unblockyield)", | 382 | /* 336 */ "#336 (obsolete sys_sa_unblockyield)", | |
383 | /* 337 */ "#337 (unimplemented)", | 383 | /* 337 */ "#337 (unimplemented)", | |
384 | /* 338 */ "#338 (unimplemented)", | 384 | /* 338 */ "#338 (unimplemented)", | |
385 | /* 339 */ "#339 (unimplemented)", | 385 | /* 339 */ "#339 (unimplemented)", | |
386 | /* 340 */ "__sigaction_sigtramp", | 386 | /* 340 */ "__sigaction_sigtramp", | |
387 | /* 341 */ "pmc_get_info", | 387 | /* 341 */ "pmc_get_info", | |
388 | /* 342 */ "pmc_control", | 388 | /* 342 */ "pmc_control", | |
389 | /* 343 */ "rasctl", | 389 | /* 343 */ "rasctl", | |
390 | /* 344 */ "kqueue", | 390 | /* 344 */ "kqueue", | |
391 | /* 345 */ "compat_50_kevent", | 391 | /* 345 */ "compat_50_kevent", | |
392 | /* 346 */ "_sched_setparam", | 392 | /* 346 */ "_sched_setparam", | |
393 | /* 347 */ "_sched_getparam", | 393 | /* 347 */ "_sched_getparam", | |
394 | /* 348 */ "_sched_setaffinity", | 394 | /* 348 */ "_sched_setaffinity", | |
395 | /* 349 */ "_sched_getaffinity", | 395 | /* 349 */ "_sched_getaffinity", | |
396 | /* 350 */ "sched_yield", | 396 | /* 350 */ "sched_yield", | |
397 | /* 351 */ "_sched_protect", | 397 | /* 351 */ "_sched_protect", | |
398 | /* 352 */ "#352 (unimplemented)", | 398 | /* 352 */ "#352 (unimplemented)", | |
399 | /* 353 */ "#353 (unimplemented)", | 399 | /* 353 */ "#353 (unimplemented)", | |
400 | /* 354 */ "fsync_range", | 400 | /* 354 */ "fsync_range", | |
401 | /* 355 */ "uuidgen", | 401 | /* 355 */ "uuidgen", | |
402 | /* 356 */ "getvfsstat", | 402 | /* 356 */ "getvfsstat", | |
403 | /* 357 */ "statvfs1", | 403 | /* 357 */ "statvfs1", | |
404 | /* 358 */ "fstatvfs1", | 404 | /* 358 */ "fstatvfs1", | |
405 | /* 359 */ "compat_30_fhstatvfs1", | 405 | /* 359 */ "compat_30_fhstatvfs1", | |
406 | /* 360 */ "extattrctl", | 406 | /* 360 */ "extattrctl", | |
407 | /* 361 */ "extattr_set_file", | 407 | /* 361 */ "extattr_set_file", | |
408 | /* 362 */ "extattr_get_file", | 408 | /* 362 */ "extattr_get_file", | |
409 | /* 363 */ "extattr_delete_file", | 409 | /* 363 */ "extattr_delete_file", | |
410 | /* 364 */ "extattr_set_fd", | 410 | /* 364 */ "extattr_set_fd", | |
411 | /* 365 */ "extattr_get_fd", | 411 | /* 365 */ "extattr_get_fd", | |
412 | /* 366 */ "extattr_delete_fd", | 412 | /* 366 */ "extattr_delete_fd", | |
413 | /* 367 */ "extattr_set_link", | 413 | /* 367 */ "extattr_set_link", | |
414 | /* 368 */ "extattr_get_link", | 414 | /* 368 */ "extattr_get_link", | |
415 | /* 369 */ "extattr_delete_link", | 415 | /* 369 */ "extattr_delete_link", | |
416 | /* 370 */ "extattr_list_fd", | 416 | /* 370 */ "extattr_list_fd", | |
417 | /* 371 */ "extattr_list_file", | 417 | /* 371 */ "extattr_list_file", | |
418 | /* 372 */ "extattr_list_link", | 418 | /* 372 */ "extattr_list_link", | |
419 | /* 373 */ "compat_50_pselect", | 419 | /* 373 */ "compat_50_pselect", | |
420 | /* 374 */ "compat_50_pollts", | 420 | /* 374 */ "compat_50_pollts", | |
421 | /* 375 */ "setxattr", | 421 | /* 375 */ "setxattr", | |
422 | /* 376 */ "lsetxattr", | 422 | /* 376 */ "lsetxattr", | |
423 | /* 377 */ "fsetxattr", | 423 | /* 377 */ "fsetxattr", | |
424 | /* 378 */ "getxattr", | 424 | /* 378 */ "getxattr", | |
425 | /* 379 */ "lgetxattr", | 425 | /* 379 */ "lgetxattr", | |
426 | /* 380 */ "fgetxattr", | 426 | /* 380 */ "fgetxattr", | |
427 | /* 381 */ "listxattr", | 427 | /* 381 */ "listxattr", | |
428 | /* 382 */ "llistxattr", | 428 | /* 382 */ "llistxattr", | |
429 | /* 383 */ "flistxattr", | 429 | /* 383 */ "flistxattr", | |
430 | /* 384 */ "removexattr", | 430 | /* 384 */ "removexattr", | |
431 | /* 385 */ "lremovexattr", | 431 | /* 385 */ "lremovexattr", | |
432 | /* 386 */ "fremovexattr", | 432 | /* 386 */ "fremovexattr", | |
433 | /* 387 */ "compat_50___stat30", | 433 | /* 387 */ "compat_50___stat30", | |
434 | /* 388 */ "compat_50___fstat30", | 434 | /* 388 */ "compat_50___fstat30", | |
435 | /* 389 */ "compat_50___lstat30", | 435 | /* 389 */ "compat_50___lstat30", | |
436 | /* 390 */ "__getdents30", | 436 | /* 390 */ "__getdents30", | |
437 | /* 391 */ "#391 (ignored old posix_fadvise)", | 437 | /* 391 */ "#391 (ignored old posix_fadvise)", | |
438 | /* 392 */ "compat_30___fhstat30", | 438 | /* 392 */ "compat_30___fhstat30", | |
439 | /* 393 */ "compat_50___ntp_gettime30", | 439 | /* 393 */ "compat_50___ntp_gettime30", | |
440 | /* 394 */ "__socket30", | 440 | /* 394 */ "__socket30", | |
441 | /* 395 */ "__getfh30", | 441 | /* 395 */ "__getfh30", | |
442 | /* 396 */ "__fhopen40", | 442 | /* 396 */ "__fhopen40", | |
443 | /* 397 */ "__fhstatvfs140", | 443 | /* 397 */ "__fhstatvfs140", | |
444 | /* 398 */ "compat_50___fhstat40", | 444 | /* 398 */ "compat_50___fhstat40", | |
445 | /* 399 */ "aio_cancel", | 445 | /* 399 */ "aio_cancel", | |
446 | /* 400 */ "aio_error", | 446 | /* 400 */ "aio_error", | |
447 | /* 401 */ "aio_fsync", | 447 | /* 401 */ "aio_fsync", | |
448 | /* 402 */ "aio_read", | 448 | /* 402 */ "aio_read", | |
449 | /* 403 */ "aio_return", | 449 | /* 403 */ "aio_return", | |
450 | /* 404 */ "compat_50_aio_suspend", | 450 | /* 404 */ "compat_50_aio_suspend", | |
451 | /* 405 */ "aio_write", | 451 | /* 405 */ "aio_write", | |
452 | /* 406 */ "lio_listio", | 452 | /* 406 */ "lio_listio", | |
453 | /* 407 */ "#407 (unimplemented)", | 453 | /* 407 */ "#407 (unimplemented)", | |
454 | /* 408 */ "#408 (unimplemented)", | 454 | /* 408 */ "#408 (unimplemented)", | |
455 | /* 409 */ "#409 (unimplemented)", | 455 | /* 409 */ "#409 (unimplemented)", | |
456 | /* 410 */ "__mount50", | 456 | /* 410 */ "__mount50", | |
457 | /* 411 */ "mremap", | 457 | /* 411 */ "mremap", | |
458 | /* 412 */ "pset_create", | 458 | /* 412 */ "pset_create", | |
459 | /* 413 */ "pset_destroy", | 459 | /* 413 */ "pset_destroy", | |
460 | /* 414 */ "pset_assign", | 460 | /* 414 */ "pset_assign", | |
461 | /* 415 */ "_pset_bind", | 461 | /* 415 */ "_pset_bind", | |
462 | /* 416 */ "__posix_fadvise50", | 462 | /* 416 */ "__posix_fadvise50", | |
463 | /* 417 */ "__select50", | 463 | /* 417 */ "__select50", | |
464 | /* 418 */ "__gettimeofday50", | 464 | /* 418 */ "__gettimeofday50", | |
465 | /* 419 */ "__settimeofday50", | 465 | /* 419 */ "__settimeofday50", | |
466 | /* 420 */ "__utimes50", | 466 | /* 420 */ "__utimes50", | |
467 | /* 421 */ "__adjtime50", | 467 | /* 421 */ "__adjtime50", | |
468 | /* 422 */ "__lfs_segwait50", | 468 | /* 422 */ "__lfs_segwait50", | |
469 | /* 423 */ "__futimes50", | 469 | /* 423 */ "__futimes50", | |
470 | /* 424 */ "__lutimes50", | 470 | /* 424 */ "__lutimes50", | |
471 | /* 425 */ "__setitimer50", | 471 | /* 425 */ "__setitimer50", | |
472 | /* 426 */ "__getitimer50", | 472 | /* 426 */ "__getitimer50", | |
473 | /* 427 */ "__clock_gettime50", | 473 | /* 427 */ "__clock_gettime50", | |
474 | /* 428 */ "__clock_settime50", | 474 | /* 428 */ "__clock_settime50", | |
475 | /* 429 */ "__clock_getres50", | 475 | /* 429 */ "__clock_getres50", | |
476 | /* 430 */ "__nanosleep50", | 476 | /* 430 */ "__nanosleep50", | |
477 | /* 431 */ "____sigtimedwait50", | 477 | /* 431 */ "____sigtimedwait50", | |
478 | /* 432 */ "__mq_timedsend50", | 478 | /* 432 */ "__mq_timedsend50", | |
479 | /* 433 */ "__mq_timedreceive50", | 479 | /* 433 */ "__mq_timedreceive50", | |
480 | /* 434 */ "compat_60__lwp_park", | 480 | /* 434 */ "compat_60__lwp_park", | |
481 | /* 435 */ "__kevent50", | 481 | /* 435 */ "__kevent50", | |
482 | /* 436 */ "__pselect50", | 482 | /* 436 */ "__pselect50", | |
483 | /* 437 */ "__pollts50", | 483 | /* 437 */ "__pollts50", | |
484 | /* 438 */ "__aio_suspend50", | 484 | /* 438 */ "__aio_suspend50", | |
485 | /* 439 */ "__stat50", | 485 | /* 439 */ "__stat50", | |
486 | /* 440 */ "__fstat50", | 486 | /* 440 */ "__fstat50", | |
487 | /* 441 */ "__lstat50", | 487 | /* 441 */ "__lstat50", | |
488 | /* 442 */ "____semctl50", | 488 | /* 442 */ "____semctl50", | |
489 | /* 443 */ "__shmctl50", | 489 | /* 443 */ "__shmctl50", | |
490 | /* 444 */ "__msgctl50", | 490 | /* 444 */ "__msgctl50", | |
491 | /* 445 */ "__getrusage50", | 491 | /* 445 */ "__getrusage50", | |
492 | /* 446 */ "__timer_settime50", | 492 | /* 446 */ "__timer_settime50", | |
493 | /* 447 */ "__timer_gettime50", | 493 | /* 447 */ "__timer_gettime50", | |
494 | #if defined(NTP) || !defined(_KERNEL_OPT) | 494 | #if defined(NTP) || !defined(_KERNEL_OPT) | |
495 | /* 448 */ "__ntp_gettime50", | 495 | /* 448 */ "__ntp_gettime50", | |
496 | #else | 496 | #else | |
497 | /* 448 */ "#448 (excluded ___ntp_gettime50)", | 497 | /* 448 */ "#448 (excluded ___ntp_gettime50)", | |
498 | #endif | 498 | #endif | |
499 | /* 449 */ "__wait450", | 499 | /* 449 */ "__wait450", | |
500 | /* 450 */ "__mknod50", | 500 | /* 450 */ "__mknod50", | |
501 | /* 451 */ "__fhstat50", | 501 | /* 451 */ "__fhstat50", | |
502 | /* 452 */ "#452 (obsolete 5.99 quotactl)", | 502 | /* 452 */ "#452 (obsolete 5.99 quotactl)", | |
503 | /* 453 */ "pipe2", | 503 | /* 453 */ "pipe2", | |
504 | /* 454 */ "dup3", | 504 | /* 454 */ "dup3", | |
505 | /* 455 */ "kqueue1", | 505 | /* 455 */ "kqueue1", | |
506 | /* 456 */ "paccept", | 506 | /* 456 */ "paccept", | |
507 | /* 457 */ "linkat", | 507 | /* 457 */ "linkat", | |
508 | /* 458 */ "renameat", | 508 | /* 458 */ "renameat", | |
509 | /* 459 */ "mkfifoat", | 509 | /* 459 */ "mkfifoat", | |
510 | /* 460 */ "mknodat", | 510 | /* 460 */ "mknodat", | |
511 | /* 461 */ "mkdirat", | 511 | /* 461 */ "mkdirat", | |
512 | /* 462 */ "faccessat", | 512 | /* 462 */ "faccessat", | |
513 | /* 463 */ "fchmodat", | 513 | /* 463 */ "fchmodat", | |
514 | /* 464 */ "fchownat", | 514 | /* 464 */ "fchownat", | |
515 | /* 465 */ "fexecve", | 515 | /* 465 */ "fexecve", | |
516 | /* 466 */ "fstatat", | 516 | /* 466 */ "fstatat", | |
517 | /* 467 */ "utimensat", | 517 | /* 467 */ "utimensat", | |
518 | /* 468 */ "openat", | 518 | /* 468 */ "openat", | |
519 | /* 469 */ "readlinkat", | 519 | /* 469 */ "readlinkat", | |
520 | /* 470 */ "symlinkat", | 520 | /* 470 */ "symlinkat", | |
521 | /* 471 */ "unlinkat", | 521 | /* 471 */ "unlinkat", | |
522 | /* 472 */ "futimens", | 522 | /* 472 */ "futimens", | |
523 | /* 473 */ "__quotactl", | 523 | /* 473 */ "__quotactl", | |
524 | /* 474 */ "posix_spawn", | 524 | /* 474 */ "posix_spawn", | |
525 | /* 475 */ "recvmmsg", | 525 | /* 475 */ "recvmmsg", | |
526 | /* 476 */ "sendmmsg", | 526 | /* 476 */ "sendmmsg", | |
527 | /* 477 */ "clock_nanosleep", | 527 | /* 477 */ "clock_nanosleep", | |
528 | /* 478 */ "___lwp_park60", | 528 | /* 478 */ "___lwp_park60", | |
529 | /* 479 */ "posix_fallocate", | 529 | /* 479 */ "posix_fallocate", | |
530 | /* 480 */ "fdiscard", | 530 | /* 480 */ "fdiscard", | |
531 | /* 481 */ "wait6", | 531 | /* 481 */ "wait6", | |
532 | /* 482 */ "clock_getcpuclockid2", | 532 | /* 482 */ "clock_getcpuclockid2", | |
533 | /* 483 */ "# filler", | 533 | /* 483 */ "# filler", | |
534 | /* 484 */ "# filler", | 534 | /* 484 */ "# filler", | |
535 | /* 485 */ "# filler", | 535 | /* 485 */ "# filler", | |
536 | /* 486 */ "# filler", | 536 | /* 486 */ "# filler", | |
537 | /* 487 */ "# filler", | 537 | /* 487 */ "# filler", | |
538 | /* 488 */ "# filler", | 538 | /* 488 */ "# filler", | |
539 | /* 489 */ "# filler", | 539 | /* 489 */ "# filler", | |
540 | /* 490 */ "# filler", | 540 | /* 490 */ "# filler", | |
541 | /* 491 */ "# filler", | 541 | /* 491 */ "# filler", | |
542 | /* 492 */ "# filler", | 542 | /* 492 */ "# filler", | |
543 | /* 493 */ "# filler", | 543 | /* 493 */ "# filler", | |
544 | /* 494 */ "# filler", | 544 | /* 494 */ "# filler", | |
545 | /* 495 */ "# filler", | 545 | /* 495 */ "# filler", | |
546 | /* 496 */ "# filler", | 546 | /* 496 */ "# filler", | |
547 | /* 497 */ "# filler", | 547 | /* 497 */ "# filler", | |
548 | /* 498 */ "# filler", | 548 | /* 498 */ "# filler", | |
549 | /* 499 */ "# filler", | 549 | /* 499 */ "# filler", | |
550 | /* 500 */ "# filler", | 550 | /* 500 */ "# filler", | |
551 | /* 501 */ "# filler", | 551 | /* 501 */ "# filler", | |
552 | /* 502 */ "# filler", | 552 | /* 502 */ "# filler", | |
553 | /* 503 */ "# filler", | 553 | /* 503 */ "# filler", | |
554 | /* 504 */ "# filler", | 554 | /* 504 */ "# filler", | |
555 | /* 505 */ "# filler", | 555 | /* 505 */ "# filler", | |
556 | /* 506 */ "# filler", | 556 | /* 506 */ "# filler", | |
557 | /* 507 */ "# filler", | 557 | /* 507 */ "# filler", | |
558 | /* 508 */ "# filler", | 558 | /* 508 */ "# filler", | |
559 | /* 509 */ "# filler", | 559 | /* 509 */ "# filler", | |
560 | /* 510 */ "# filler", | 560 | /* 510 */ "# filler", | |
561 | /* 511 */ "# filler", | 561 | /* 511 */ "# filler", | |
562 | }; | 562 | }; | |
563 | 563 | |||
564 | 564 | |||
565 | /* libc style syscall names */ | 565 | /* libc style syscall names */ | |
566 | const char *const altsyscallnames[] = { | 566 | const char *const altsyscallnames[] = { | |
567 | /* 0 */ NULL, /* syscall */ | 567 | /* 0 */ NULL, /* syscall */ | |
568 | /* 1 */ NULL, /* exit */ | 568 | /* 1 */ NULL, /* exit */ | |
569 | /* 2 */ NULL, /* fork */ | 569 | /* 2 */ NULL, /* fork */ | |
570 | /* 3 */ NULL, /* read */ | 570 | /* 3 */ NULL, /* read */ | |
571 | /* 4 */ NULL, /* write */ | 571 | /* 4 */ NULL, /* write */ | |
572 | /* 5 */ NULL, /* open */ | 572 | /* 5 */ NULL, /* open */ | |
573 | /* 6 */ NULL, /* close */ | 573 | /* 6 */ NULL, /* close */ | |
574 | /* 7 */ NULL, /* compat_50_wait4 */ | 574 | /* 7 */ NULL, /* compat_50_wait4 */ | |
575 | /* 8 */ NULL, /* compat_43_ocreat */ | 575 | /* 8 */ NULL, /* compat_43_ocreat */ | |
576 | /* 9 */ NULL, /* link */ | 576 | /* 9 */ NULL, /* link */ | |
577 | /* 10 */ NULL, /* unlink */ | 577 | /* 10 */ NULL, /* unlink */ | |
578 | /* 11 */ NULL, /* obsolete execv */ | 578 | /* 11 */ NULL, /* obsolete execv */ | |
579 | /* 12 */ NULL, /* chdir */ | 579 | /* 12 */ NULL, /* chdir */ | |
580 | /* 13 */ NULL, /* fchdir */ | 580 | /* 13 */ NULL, /* fchdir */ | |
581 | /* 14 */ NULL, /* compat_50_mknod */ | 581 | /* 14 */ NULL, /* compat_50_mknod */ | |
582 | /* 15 */ NULL, /* chmod */ | 582 | /* 15 */ NULL, /* chmod */ | |
583 | /* 16 */ NULL, /* chown */ | 583 | /* 16 */ NULL, /* chown */ | |
584 | /* 17 */ "obreak", | 584 | /* 17 */ "obreak", | |
585 | /* 18 */ NULL, /* compat_20_getfsstat */ | 585 | /* 18 */ NULL, /* compat_20_getfsstat */ | |
586 | /* 19 */ NULL, /* compat_43_olseek */ | 586 | /* 19 */ NULL, /* compat_43_olseek */ | |
587 | /* 20 */ "getpid_with_ppid", | 587 | /* 20 */ "getpid_with_ppid", | |
588 | /* 21 */ NULL, /* compat_40_mount */ | 588 | /* 21 */ NULL, /* compat_40_mount */ | |
589 | /* 22 */ NULL, /* unmount */ | 589 | /* 22 */ NULL, /* unmount */ | |
590 | /* 23 */ NULL, /* setuid */ | 590 | /* 23 */ NULL, /* setuid */ | |
591 | /* 24 */ "getuid_with_euid", | 591 | /* 24 */ "getuid_with_euid", | |
592 | /* 25 */ NULL, /* geteuid */ | 592 | /* 25 */ NULL, /* geteuid */ | |
593 | /* 26 */ NULL, /* ptrace */ | 593 | /* 26 */ NULL, /* ptrace */ | |
594 | /* 27 */ NULL, /* recvmsg */ | 594 | /* 27 */ NULL, /* recvmsg */ | |
595 | /* 28 */ NULL, /* sendmsg */ | 595 | /* 28 */ NULL, /* sendmsg */ | |
596 | /* 29 */ NULL, /* recvfrom */ | 596 | /* 29 */ NULL, /* recvfrom */ | |
597 | /* 30 */ NULL, /* accept */ | 597 | /* 30 */ NULL, /* accept */ | |
598 | /* 31 */ NULL, /* getpeername */ | 598 | /* 31 */ NULL, /* getpeername */ | |
599 | /* 32 */ NULL, /* getsockname */ | 599 | /* 32 */ NULL, /* getsockname */ | |
600 | /* 33 */ NULL, /* access */ | 600 | /* 33 */ NULL, /* access */ | |
601 | /* 34 */ NULL, /* chflags */ | 601 | /* 34 */ NULL, /* chflags */ | |
602 | /* 35 */ NULL, /* fchflags */ | 602 | /* 35 */ NULL, /* fchflags */ | |
603 | /* 36 */ NULL, /* sync */ | 603 | /* 36 */ NULL, /* sync */ | |
604 | /* 37 */ NULL, /* kill */ | 604 | /* 37 */ NULL, /* kill */ | |
605 | /* 38 */ NULL, /* compat_43_stat43 */ | 605 | /* 38 */ NULL, /* compat_43_stat43 */ | |
606 | /* 39 */ NULL, /* getppid */ | 606 | /* 39 */ NULL, /* getppid */ | |
607 | /* 40 */ NULL, /* compat_43_lstat43 */ | 607 | /* 40 */ NULL, /* compat_43_lstat43 */ | |
608 | /* 41 */ NULL, /* dup */ | 608 | /* 41 */ NULL, /* dup */ | |
609 | /* 42 */ NULL, /* pipe */ | 609 | /* 42 */ NULL, /* pipe */ | |
610 | /* 43 */ NULL, /* getegid */ | 610 | /* 43 */ NULL, /* getegid */ | |
611 | /* 44 */ NULL, /* profil */ | 611 | /* 44 */ NULL, /* profil */ | |
612 | /* 45 */ NULL, /* ktrace */ | 612 | /* 45 */ NULL, /* ktrace */ | |
613 | /* 46 */ NULL, /* compat_13_sigaction13 */ | 613 | /* 46 */ NULL, /* compat_13_sigaction13 */ | |
614 | /* 47 */ "getgid_with_egid", | 614 | /* 47 */ "getgid_with_egid", | |
615 | /* 48 */ NULL, /* compat_13_sigprocmask13 */ | 615 | /* 48 */ NULL, /* compat_13_sigprocmask13 */ | |
616 | /* 49 */ NULL, /* __getlogin */ | 616 | /* 49 */ NULL, /* __getlogin */ | |
617 | /* 50 */ NULL, /* __setlogin */ | 617 | /* 50 */ NULL, /* __setlogin */ | |
618 | /* 51 */ NULL, /* acct */ | 618 | /* 51 */ NULL, /* acct */ | |
619 | /* 52 */ NULL, /* compat_13_sigpending13 */ | 619 | /* 52 */ NULL, /* compat_13_sigpending13 */ | |
620 | /* 53 */ NULL, /* compat_13_sigaltstack13 */ | 620 | /* 53 */ NULL, /* compat_13_sigaltstack13 */ | |
621 | /* 54 */ NULL, /* ioctl */ | 621 | /* 54 */ NULL, /* ioctl */ | |
622 | /* 55 */ NULL, /* compat_12_oreboot */ | 622 | /* 55 */ NULL, /* compat_12_oreboot */ | |
623 | /* 56 */ NULL, /* revoke */ | 623 | /* 56 */ NULL, /* revoke */ | |
624 | /* 57 */ NULL, /* symlink */ | 624 | /* 57 */ NULL, /* symlink */ | |
625 | /* 58 */ NULL, /* readlink */ | 625 | /* 58 */ NULL, /* readlink */ | |
626 | /* 59 */ NULL, /* execve */ | 626 | /* 59 */ NULL, /* execve */ | |
627 | /* 60 */ NULL, /* umask */ | 627 | /* 60 */ NULL, /* umask */ | |
628 | /* 61 */ NULL, /* chroot */ | 628 | /* 61 */ NULL, /* chroot */ | |
629 | /* 62 */ NULL, /* compat_43_fstat43 */ | 629 | /* 62 */ NULL, /* compat_43_fstat43 */ | |
630 | /* 63 */ NULL, /* compat_43_ogetkerninfo */ | 630 | /* 63 */ NULL, /* compat_43_ogetkerninfo */ | |
631 | /* 64 */ NULL, /* compat_43_ogetpagesize */ | 631 | /* 64 */ NULL, /* compat_43_ogetpagesize */ | |
632 | /* 65 */ NULL, /* compat_12_msync */ | 632 | /* 65 */ NULL, /* compat_12_msync */ | |
633 | /* 66 */ NULL, /* vfork */ | 633 | /* 66 */ NULL, /* vfork */ | |
634 | /* 67 */ NULL, /* obsolete vread */ | 634 | /* 67 */ NULL, /* obsolete vread */ | |
635 | /* 68 */ NULL, /* obsolete vwrite */ | 635 | /* 68 */ NULL, /* obsolete vwrite */ | |
636 | /* 69 */ NULL, /* obsolete sbrk */ | 636 | /* 69 */ NULL, /* obsolete sbrk */ | |
637 | /* 70 */ NULL, /* obsolete sstk */ | 637 | /* 70 */ NULL, /* obsolete sstk */ | |
638 | /* 71 */ NULL, /* compat_43_ommap */ | 638 | /* 71 */ NULL, /* compat_43_ommap */ | |
639 | /* 72 */ "ovadvise", | 639 | /* 72 */ "ovadvise", | |
640 | /* 73 */ NULL, /* munmap */ | 640 | /* 73 */ NULL, /* munmap */ | |
641 | /* 74 */ NULL, /* mprotect */ | 641 | /* 74 */ NULL, /* mprotect */ | |
642 | /* 75 */ NULL, /* madvise */ | 642 | /* 75 */ NULL, /* madvise */ | |
643 | /* 76 */ NULL, /* obsolete vhangup */ | 643 | /* 76 */ NULL, /* obsolete vhangup */ | |
644 | /* 77 */ NULL, /* obsolete vlimit */ | 644 | /* 77 */ NULL, /* obsolete vlimit */ | |
645 | /* 78 */ NULL, /* mincore */ | 645 | /* 78 */ NULL, /* mincore */ | |
646 | /* 79 */ NULL, /* getgroups */ | 646 | /* 79 */ NULL, /* getgroups */ | |
647 | /* 80 */ NULL, /* setgroups */ | 647 | /* 80 */ NULL, /* setgroups */ | |
648 | /* 81 */ NULL, /* getpgrp */ | 648 | /* 81 */ NULL, /* getpgrp */ | |
649 | /* 82 */ NULL, /* setpgid */ | 649 | /* 82 */ NULL, /* setpgid */ | |
650 | /* 83 */ NULL, /* compat_50_setitimer */ | 650 | /* 83 */ NULL, /* compat_50_setitimer */ | |
651 | /* 84 */ NULL, /* compat_43_owait */ | 651 | /* 84 */ NULL, /* compat_43_owait */ | |
652 | /* 85 */ NULL, /* compat_12_oswapon */ | 652 | /* 85 */ NULL, /* compat_12_oswapon */ | |
653 | /* 86 */ NULL, /* compat_50_getitimer */ | 653 | /* 86 */ NULL, /* compat_50_getitimer */ | |
654 | /* 87 */ NULL, /* compat_43_ogethostname */ | 654 | /* 87 */ NULL, /* compat_43_ogethostname */ | |
655 | /* 88 */ NULL, /* compat_43_osethostname */ | 655 | /* 88 */ NULL, /* compat_43_osethostname */ | |
656 | /* 89 */ NULL, /* compat_43_ogetdtablesize */ | 656 | /* 89 */ NULL, /* compat_43_ogetdtablesize */ | |
657 | /* 90 */ NULL, /* dup2 */ | 657 | /* 90 */ NULL, /* dup2 */ | |
658 | /* 91 */ NULL, /* unimplemented getdopt */ | 658 | /* 91 */ NULL, /* unimplemented getdopt */ | |
659 | /* 92 */ NULL, /* fcntl */ | 659 | /* 92 */ NULL, /* fcntl */ | |
660 | /* 93 */ NULL, /* compat_50_select */ | 660 | /* 93 */ NULL, /* compat_50_select */ | |
661 | /* 94 */ NULL, /* unimplemented setdopt */ | 661 | /* 94 */ NULL, /* unimplemented setdopt */ | |
662 | /* 95 */ NULL, /* fsync */ | 662 | /* 95 */ NULL, /* fsync */ | |
663 | /* 96 */ NULL, /* setpriority */ | 663 | /* 96 */ NULL, /* setpriority */ | |
664 | /* 97 */ NULL, /* compat_30_socket */ | 664 | /* 97 */ NULL, /* compat_30_socket */ | |
665 | /* 98 */ NULL, /* connect */ | 665 | /* 98 */ NULL, /* connect */ | |
666 | /* 99 */ NULL, /* compat_43_oaccept */ | 666 | /* 99 */ NULL, /* compat_43_oaccept */ | |
667 | /* 100 */ NULL, /* getpriority */ | 667 | /* 100 */ NULL, /* getpriority */ | |
668 | /* 101 */ NULL, /* compat_43_osend */ | 668 | /* 101 */ NULL, /* compat_43_osend */ | |
669 | /* 102 */ NULL, /* compat_43_orecv */ | 669 | /* 102 */ NULL, /* compat_43_orecv */ | |
670 | /* 103 */ NULL, /* compat_13_sigreturn13 */ | 670 | /* 103 */ NULL, /* compat_13_sigreturn13 */ | |
671 | /* 104 */ NULL, /* bind */ | 671 | /* 104 */ NULL, /* bind */ | |
672 | /* 105 */ NULL, /* setsockopt */ | 672 | /* 105 */ NULL, /* setsockopt */ | |
673 | /* 106 */ NULL, /* listen */ | 673 | /* 106 */ NULL, /* listen */ | |
674 | /* 107 */ NULL, /* obsolete vtimes */ | 674 | /* 107 */ NULL, /* obsolete vtimes */ | |
675 | /* 108 */ NULL, /* compat_43_osigvec */ | 675 | /* 108 */ NULL, /* compat_43_osigvec */ | |
676 | /* 109 */ NULL, /* compat_43_osigblock */ | 676 | /* 109 */ NULL, /* compat_43_osigblock */ | |
677 | /* 110 */ NULL, /* compat_43_osigsetmask */ | 677 | /* 110 */ NULL, /* compat_43_osigsetmask */ | |
678 | /* 111 */ NULL, /* compat_13_sigsuspend13 */ | 678 | /* 111 */ NULL, /* compat_13_sigsuspend13 */ | |
679 | /* 112 */ NULL, /* compat_43_osigstack */ | 679 | /* 112 */ NULL, /* compat_43_osigstack */ | |
680 | /* 113 */ NULL, /* compat_43_orecvmsg */ | 680 | /* 113 */ NULL, /* compat_43_orecvmsg */ | |
681 | /* 114 */ NULL, /* compat_43_osendmsg */ | 681 | /* 114 */ NULL, /* compat_43_osendmsg */ | |
682 | /* 115 */ NULL, /* obsolete vtrace */ | 682 | /* 115 */ NULL, /* obsolete vtrace */ | |
683 | /* 116 */ NULL, /* compat_50_gettimeofday */ | 683 | /* 116 */ NULL, /* compat_50_gettimeofday */ | |
684 | /* 117 */ NULL, /* compat_50_getrusage */ | 684 | /* 117 */ NULL, /* compat_50_getrusage */ | |
685 | /* 118 */ NULL, /* getsockopt */ | 685 | /* 118 */ NULL, /* getsockopt */ | |
686 | /* 119 */ NULL, /* obsolete resuba */ | 686 | /* 119 */ NULL, /* obsolete resuba */ | |
687 | /* 120 */ NULL, /* readv */ | 687 | /* 120 */ NULL, /* readv */ | |
688 | /* 121 */ NULL, /* writev */ | 688 | /* 121 */ NULL, /* writev */ | |
689 | /* 122 */ NULL, /* compat_50_settimeofday */ | 689 | /* 122 */ NULL, /* compat_50_settimeofday */ | |
690 | /* 123 */ NULL, /* fchown */ | 690 | /* 123 */ NULL, /* fchown */ | |
691 | /* 124 */ NULL, /* fchmod */ | 691 | /* 124 */ NULL, /* fchmod */ | |
692 | /* 125 */ NULL, /* compat_43_orecvfrom */ | 692 | /* 125 */ NULL, /* compat_43_orecvfrom */ | |
693 | /* 126 */ NULL, /* setreuid */ | 693 | /* 126 */ NULL, /* setreuid */ | |
694 | /* 127 */ NULL, /* setregid */ | 694 | /* 127 */ NULL, /* setregid */ | |
695 | /* 128 */ NULL, /* rename */ | 695 | /* 128 */ NULL, /* rename */ | |
696 | /* 129 */ NULL, /* compat_43_otruncate */ | 696 | /* 129 */ NULL, /* compat_43_otruncate */ | |
697 | /* 130 */ NULL, /* compat_43_oftruncate */ | 697 | /* 130 */ NULL, /* compat_43_oftruncate */ | |
698 | /* 131 */ NULL, /* flock */ | 698 | /* 131 */ NULL, /* flock */ | |
699 | /* 132 */ NULL, /* mkfifo */ | 699 | /* 132 */ NULL, /* mkfifo */ | |
700 | /* 133 */ NULL, /* sendto */ | 700 | /* 133 */ NULL, /* sendto */ | |
701 | /* 134 */ NULL, /* shutdown */ | 701 | /* 134 */ NULL, /* shutdown */ | |
702 | /* 135 */ NULL, /* socketpair */ | 702 | /* 135 */ NULL, /* socketpair */ | |
703 | /* 136 */ NULL, /* mkdir */ | 703 | /* 136 */ NULL, /* mkdir */ | |
704 | /* 137 */ NULL, /* rmdir */ | 704 | /* 137 */ NULL, /* rmdir */ | |
705 | /* 138 */ NULL, /* compat_50_utimes */ | 705 | /* 138 */ NULL, /* compat_50_utimes */ | |
706 | /* 139 */ NULL, /* obsolete 4.2 sigreturn */ | 706 | /* 139 */ NULL, /* obsolete 4.2 sigreturn */ | |
707 | /* 140 */ NULL, /* compat_50_adjtime */ | 707 | /* 140 */ NULL, /* compat_50_adjtime */ | |
708 | /* 141 */ NULL, /* compat_43_ogetpeername */ | 708 | /* 141 */ NULL, /* compat_43_ogetpeername */ | |
709 | /* 142 */ NULL, /* compat_43_ogethostid */ | 709 | /* 142 */ NULL, /* compat_43_ogethostid */ | |
710 | /* 143 */ NULL, /* compat_43_osethostid */ | 710 | /* 143 */ NULL, /* compat_43_osethostid */ | |
711 | /* 144 */ NULL, /* compat_43_ogetrlimit */ | 711 | /* 144 */ NULL, /* compat_43_ogetrlimit */ | |
712 | /* 145 */ NULL, /* compat_43_osetrlimit */ | 712 | /* 145 */ NULL, /* compat_43_osetrlimit */ | |
713 | /* 146 */ NULL, /* compat_43_okillpg */ | 713 | /* 146 */ NULL, /* compat_43_okillpg */ | |
714 | /* 147 */ NULL, /* setsid */ | 714 | /* 147 */ NULL, /* setsid */ | |
715 | /* 148 */ NULL, /* compat_50_quotactl */ | 715 | /* 148 */ NULL, /* compat_50_quotactl */ | |
716 | /* 149 */ NULL, /* compat_43_oquota */ | 716 | /* 149 */ NULL, /* compat_43_oquota */ | |
717 | /* 150 */ NULL, /* compat_43_ogetsockname */ | 717 | /* 150 */ NULL, /* compat_43_ogetsockname */ | |
718 | /* 151 */ NULL, /* unimplemented */ | 718 | /* 151 */ NULL, /* unimplemented */ | |
719 | /* 152 */ NULL, /* unimplemented */ | 719 | /* 152 */ NULL, /* unimplemented */ | |
720 | /* 153 */ NULL, /* unimplemented */ | 720 | /* 153 */ NULL, /* unimplemented */ | |
721 | /* 154 */ NULL, /* unimplemented */ | 721 | /* 154 */ NULL, /* unimplemented */ | |
722 | /* 155 */ NULL, /* nfssvc */ | 722 | /* 155 */ NULL, /* nfssvc */ | |
723 | /* 156 */ NULL, /* compat_43_ogetdirentries */ | 723 | /* 156 */ NULL, /* compat_43_ogetdirentries */ | |
724 | /* 157 */ NULL, /* compat_20_statfs */ | 724 | /* 157 */ NULL, /* compat_20_statfs */ | |
725 | /* 158 */ NULL, /* compat_20_fstatfs */ | 725 | /* 158 */ NULL, /* compat_20_fstatfs */ | |
726 | /* 159 */ NULL, /* unimplemented */ | 726 | /* 159 */ NULL, /* unimplemented */ | |
727 | /* 160 */ NULL, /* unimplemented */ | 727 | /* 160 */ NULL, /* unimplemented */ | |
728 | /* 161 */ NULL, /* compat_30_getfh */ | 728 | /* 161 */ NULL, /* compat_30_getfh */ | |
729 | /* 162 */ NULL, /* compat_09_ogetdomainname */ | 729 | /* 162 */ NULL, /* compat_09_ogetdomainname */ | |
730 | /* 163 */ NULL, /* compat_09_osetdomainname */ | 730 | /* 163 */ NULL, /* compat_09_osetdomainname */ | |
731 | /* 164 */ NULL, /* compat_09_ouname */ | 731 | /* 164 */ NULL, /* compat_09_ouname */ | |
732 | /* 165 */ NULL, /* sysarch */ | 732 | /* 165 */ NULL, /* sysarch */ | |
733 | /* 166 */ NULL, /* unimplemented */ | 733 | /* 166 */ NULL, /* unimplemented */ | |
734 | /* 167 */ NULL, /* unimplemented */ | 734 | /* 167 */ NULL, /* unimplemented */ | |
735 | /* 168 */ NULL, /* unimplemented */ | 735 | /* 168 */ NULL, /* unimplemented */ | |
736 | #if !defined(_LP64) | 736 | #if !defined(_LP64) | |
737 | /* 169 */ NULL, /* compat_10_osemsys */ | 737 | /* 169 */ NULL, /* compat_10_osemsys */ | |
738 | #else | 738 | #else | |
739 | /* 169 */ NULL, /* excluded 1.0 semsys */ | 739 | /* 169 */ NULL, /* excluded 1.0 semsys */ | |
740 | #endif | 740 | #endif | |
741 | #if !defined(_LP64) | 741 | #if !defined(_LP64) | |
742 | /* 170 */ NULL, /* compat_10_omsgsys */ | 742 | /* 170 */ NULL, /* compat_10_omsgsys */ | |
743 | #else | 743 | #else | |
744 | /* 170 */ NULL, /* excluded 1.0 msgsys */ | 744 | /* 170 */ NULL, /* excluded 1.0 msgsys */ | |
745 | #endif | 745 | #endif | |
746 | #if !defined(_LP64) | 746 | #if !defined(_LP64) | |
747 | /* 171 */ NULL, /* compat_10_oshmsys */ | 747 | /* 171 */ NULL, /* compat_10_oshmsys */ | |
748 | #else | 748 | #else | |
749 | /* 171 */ NULL, /* excluded 1.0 shmsys */ | 749 | /* 171 */ NULL, /* excluded 1.0 shmsys */ | |
750 | #endif | 750 | #endif | |
751 | /* 172 */ NULL, /* unimplemented */ | 751 | /* 172 */ NULL, /* unimplemented */ | |
752 | /* 173 */ NULL, /* pread */ | 752 | /* 173 */ NULL, /* pread */ | |
753 | /* 174 */ NULL, /* pwrite */ | 753 | /* 174 */ NULL, /* pwrite */ | |
754 | /* 175 */ NULL, /* compat_30_ntp_gettime */ | 754 | /* 175 */ NULL, /* compat_30_ntp_gettime */ | |
755 | #if defined(NTP) || !defined(_KERNEL_OPT) | 755 | #if defined(NTP) || !defined(_KERNEL_OPT) | |
756 | /* 176 */ NULL, /* ntp_adjtime */ | 756 | /* 176 */ NULL, /* ntp_adjtime */ | |
757 | #else | 757 | #else | |
758 | /* 176 */ NULL, /* excluded ntp_adjtime */ | 758 | /* 176 */ NULL, /* excluded ntp_adjtime */ | |
759 | #endif | 759 | #endif | |
760 | /* 177 */ NULL, /* unimplemented */ | 760 | /* 177 */ NULL, /* unimplemented */ | |
761 | /* 178 */ NULL, /* unimplemented */ | 761 | /* 178 */ NULL, /* unimplemented */ | |
762 | /* 179 */ NULL, /* unimplemented */ | 762 | /* 179 */ NULL, /* unimplemented */ | |
763 | /* 180 */ NULL, /* unimplemented */ | 763 | /* 180 */ NULL, /* unimplemented */ | |
764 | /* 181 */ NULL, /* setgid */ | 764 | /* 181 */ NULL, /* setgid */ | |
765 | /* 182 */ NULL, /* setegid */ | 765 | /* 182 */ NULL, /* setegid */ | |
766 | /* 183 */ NULL, /* seteuid */ | 766 | /* 183 */ NULL, /* seteuid */ | |
767 | /* 184 */ NULL, /* lfs_bmapv */ | 767 | /* 184 */ NULL, /* lfs_bmapv */ | |
768 | /* 185 */ NULL, /* lfs_markv */ | 768 | /* 185 */ NULL, /* lfs_markv */ | |
769 | /* 186 */ NULL, /* lfs_segclean */ | 769 | /* 186 */ NULL, /* lfs_segclean */ | |
770 | /* 187 */ NULL, /* compat_50_lfs_segwait */ | 770 | /* 187 */ NULL, /* compat_50_lfs_segwait */ | |
771 | /* 188 */ NULL, /* compat_12_stat12 */ | 771 | /* 188 */ NULL, /* compat_12_stat12 */ | |
772 | /* 189 */ NULL, /* compat_12_fstat12 */ | 772 | /* 189 */ NULL, /* compat_12_fstat12 */ | |
773 | /* 190 */ NULL, /* compat_12_lstat12 */ | 773 | /* 190 */ NULL, /* compat_12_lstat12 */ | |
774 | /* 191 */ NULL, /* pathconf */ | 774 | /* 191 */ NULL, /* pathconf */ | |
775 | /* 192 */ NULL, /* fpathconf */ | 775 | /* 192 */ NULL, /* fpathconf */ | |
776 | /* 193 */ NULL, /* unimplemented */ | 776 | /* 193 */ NULL, /* unimplemented */ | |
777 | /* 194 */ NULL, /* getrlimit */ | 777 | /* 194 */ NULL, /* getrlimit */ | |
778 | /* 195 */ NULL, /* setrlimit */ | 778 | /* 195 */ NULL, /* setrlimit */ | |
779 | /* 196 */ NULL, /* compat_12_getdirentries */ | 779 | /* 196 */ NULL, /* compat_12_getdirentries */ | |
780 | /* 197 */ NULL, /* mmap */ | 780 | /* 197 */ NULL, /* mmap */ | |
781 | /* 198 */ NULL, /* __syscall */ | 781 | /* 198 */ NULL, /* __syscall */ | |
782 | /* 199 */ NULL, /* lseek */ | 782 | /* 199 */ NULL, /* lseek */ | |
783 | /* 200 */ NULL, /* truncate */ | 783 | /* 200 */ NULL, /* truncate */ | |
784 | /* 201 */ NULL, /* ftruncate */ | 784 | /* 201 */ NULL, /* ftruncate */ | |
785 | /* 202 */ NULL, /* __sysctl */ | 785 | /* 202 */ NULL, /* __sysctl */ | |
786 | /* 203 */ NULL, /* mlock */ | 786 | /* 203 */ NULL, /* mlock */ | |
787 | /* 204 */ NULL, /* munlock */ | 787 | /* 204 */ NULL, /* munlock */ | |
788 | /* 205 */ NULL, /* undelete */ | 788 | /* 205 */ NULL, /* undelete */ | |
789 | /* 206 */ NULL, /* compat_50_futimes */ | 789 | /* 206 */ NULL, /* compat_50_futimes */ | |
790 | /* 207 */ NULL, /* getpgid */ | 790 | /* 207 */ NULL, /* getpgid */ | |
791 | /* 208 */ NULL, /* reboot */ | 791 | /* 208 */ NULL, /* reboot */ | |
792 | /* 209 */ NULL, /* poll */ | 792 | /* 209 */ NULL, /* poll */ | |
793 | /* 210 */ NULL, /* afssys */ | 793 | /* 210 */ NULL, /* afssys */ | |
794 | /* 211 */ NULL, /* unimplemented */ | 794 | /* 211 */ NULL, /* unimplemented */ | |
795 | /* 212 */ NULL, /* unimplemented */ | 795 | /* 212 */ NULL, /* unimplemented */ | |
796 | /* 213 */ NULL, /* unimplemented */ | 796 | /* 213 */ NULL, /* unimplemented */ | |
797 | /* 214 */ NULL, /* unimplemented */ | 797 | /* 214 */ NULL, /* unimplemented */ | |
798 | /* 215 */ NULL, /* unimplemented */ | 798 | /* 215 */ NULL, /* unimplemented */ | |
799 | /* 216 */ NULL, /* unimplemented */ | 799 | /* 216 */ NULL, /* unimplemented */ | |
800 | /* 217 */ NULL, /* unimplemented */ | 800 | /* 217 */ NULL, /* unimplemented */ | |
801 | /* 218 */ NULL, /* unimplemented */ | 801 | /* 218 */ NULL, /* unimplemented */ | |
802 | /* 219 */ NULL, /* unimplemented */ | 802 | /* 219 */ NULL, /* unimplemented */ | |
803 | /* 220 */ NULL, /* compat_14___semctl */ | 803 | /* 220 */ NULL, /* compat_14___semctl */ | |
804 | /* 221 */ NULL, /* semget */ | 804 | /* 221 */ NULL, /* semget */ | |
805 | /* 222 */ NULL, /* semop */ | 805 | /* 222 */ NULL, /* semop */ | |
806 | /* 223 */ NULL, /* semconfig */ | 806 | /* 223 */ NULL, /* semconfig */ | |
807 | /* 224 */ NULL, /* compat_14_msgctl */ | 807 | /* 224 */ NULL, /* compat_14_msgctl */ | |
808 | /* 225 */ NULL, /* msgget */ | 808 | /* 225 */ NULL, /* msgget */ | |
809 | /* 226 */ NULL, /* msgsnd */ | 809 | /* 226 */ NULL, /* msgsnd */ | |
810 | /* 227 */ NULL, /* msgrcv */ | 810 | /* 227 */ NULL, /* msgrcv */ | |
811 | /* 228 */ NULL, /* shmat */ | 811 | /* 228 */ NULL, /* shmat */ | |
812 | /* 229 */ NULL, /* compat_14_shmctl */ | 812 | /* 229 */ NULL, /* compat_14_shmctl */ | |
813 | /* 230 */ NULL, /* shmdt */ | 813 | /* 230 */ NULL, /* shmdt */ | |
814 | /* 231 */ NULL, /* shmget */ | 814 | /* 231 */ NULL, /* shmget */ | |
815 | /* 232 */ NULL, /* compat_50_clock_gettime */ | 815 | /* 232 */ NULL, /* compat_50_clock_gettime */ | |
816 | /* 233 */ NULL, /* compat_50_clock_settime */ | 816 | /* 233 */ NULL, /* compat_50_clock_settime */ | |
817 | /* 234 */ NULL, /* compat_50_clock_getres */ | 817 | /* 234 */ NULL, /* compat_50_clock_getres */ | |
818 | /* 235 */ NULL, /* timer_create */ | 818 | /* 235 */ NULL, /* timer_create */ | |
819 | /* 236 */ NULL, /* timer_delete */ | 819 | /* 236 */ NULL, /* timer_delete */ | |
820 | /* 237 */ NULL, /* compat_50_timer_settime */ | 820 | /* 237 */ NULL, /* compat_50_timer_settime */ | |
821 | /* 238 */ NULL, /* compat_50_timer_gettime */ | 821 | /* 238 */ NULL, /* compat_50_timer_gettime */ | |
822 | /* 239 */ NULL, /* timer_getoverrun */ | 822 | /* 239 */ NULL, /* timer_getoverrun */ | |
823 | /* 240 */ NULL, /* compat_50_nanosleep */ | 823 | /* 240 */ NULL, /* compat_50_nanosleep */ | |
824 | /* 241 */ NULL, /* fdatasync */ | 824 | /* 241 */ NULL, /* fdatasync */ | |
825 | /* 242 */ NULL, /* mlockall */ | 825 | /* 242 */ NULL, /* mlockall */ | |
826 | /* 243 */ NULL, /* munlockall */ | 826 | /* 243 */ NULL, /* munlockall */ | |
827 | /* 244 */ NULL, /* compat_50___sigtimedwait */ | 827 | /* 244 */ NULL, /* compat_50___sigtimedwait */ | |
828 | /* 245 */ NULL, /* sigqueueinfo */ | 828 | /* 245 */ NULL, /* sigqueueinfo */ | |
829 | /* 246 */ NULL, /* modctl */ | 829 | /* 246 */ NULL, /* modctl */ | |
830 | /* 247 */ NULL, /* _ksem_init */ | 830 | /* 247 */ NULL, /* _ksem_init */ | |
831 | /* 248 */ NULL, /* _ksem_open */ | 831 | /* 248 */ NULL, /* _ksem_open */ | |
832 | /* 249 */ NULL, /* _ksem_unlink */ | 832 | /* 249 */ NULL, /* _ksem_unlink */ | |
833 | /* 250 */ NULL, /* _ksem_close */ | 833 | /* 250 */ NULL, /* _ksem_close */ | |
834 | /* 251 */ NULL, /* _ksem_post */ | 834 | /* 251 */ NULL, /* _ksem_post */ | |
835 | /* 252 */ NULL, /* _ksem_wait */ | 835 | /* 252 */ NULL, /* _ksem_wait */ | |
836 | /* 253 */ NULL, /* _ksem_trywait */ | 836 | /* 253 */ NULL, /* _ksem_trywait */ | |
837 | /* 254 */ NULL, /* _ksem_getvalue */ | 837 | /* 254 */ NULL, /* _ksem_getvalue */ | |
838 | /* 255 */ NULL, /* _ksem_destroy */ | 838 | /* 255 */ NULL, /* _ksem_destroy */ | |
839 | /* 256 */ NULL, /* _ksem_timedwait */ | 839 | /* 256 */ NULL, /* _ksem_timedwait */ | |
840 | /* 257 */ NULL, /* mq_open */ | 840 | /* 257 */ NULL, /* mq_open */ | |
841 | /* 258 */ NULL, /* mq_close */ | 841 | /* 258 */ NULL, /* mq_close */ | |
842 | /* 259 */ NULL, /* mq_unlink */ | 842 | /* 259 */ NULL, /* mq_unlink */ | |
843 | /* 260 */ NULL, /* mq_getattr */ | 843 | /* 260 */ NULL, /* mq_getattr */ | |
844 | /* 261 */ NULL, /* mq_setattr */ | 844 | /* 261 */ NULL, /* mq_setattr */ | |
845 | /* 262 */ NULL, /* mq_notify */ | 845 | /* 262 */ NULL, /* mq_notify */ | |
846 | /* 263 */ NULL, /* mq_send */ | 846 | /* 263 */ NULL, /* mq_send */ | |
847 | /* 264 */ NULL, /* mq_receive */ | 847 | /* 264 */ NULL, /* mq_receive */ | |
848 | /* 265 */ NULL, /* compat_50_mq_timedsend */ | 848 | /* 265 */ NULL, /* compat_50_mq_timedsend */ | |
849 | /* 266 */ NULL, /* compat_50_mq_timedreceive */ | 849 | /* 266 */ NULL, /* compat_50_mq_timedreceive */ | |
850 | /* 267 */ NULL, /* unimplemented */ | 850 | /* 267 */ NULL, /* unimplemented */ | |
851 | /* 268 */ NULL, /* unimplemented */ | 851 | /* 268 */ NULL, /* unimplemented */ | |
852 | /* 269 */ NULL, /* unimplemented */ | 852 | /* 269 */ NULL, /* unimplemented */ | |
853 | /* 270 */ NULL, /* __posix_rename */ | 853 | /* 270 */ NULL, /* __posix_rename */ | |
854 | /* 271 */ NULL, /* swapctl */ | 854 | /* 271 */ NULL, /* swapctl */ | |
855 | /* 272 */ NULL, /* compat_30_getdents */ | 855 | /* 272 */ NULL, /* compat_30_getdents */ | |
856 | /* 273 */ NULL, /* minherit */ | 856 | /* 273 */ NULL, /* minherit */ | |
857 | /* 274 */ NULL, /* lchmod */ | 857 | /* 274 */ NULL, /* lchmod */ | |
858 | /* 275 */ NULL, /* lchown */ | 858 | /* 275 */ NULL, /* lchown */ | |
859 | /* 276 */ NULL, /* compat_50_lutimes */ | 859 | /* 276 */ NULL, /* compat_50_lutimes */ | |
860 | /* 277 */ "msync", | 860 | /* 277 */ "msync", | |
861 | /* 278 */ NULL, /* compat_30___stat13 */ | 861 | /* 278 */ NULL, /* compat_30___stat13 */ | |
862 | /* 279 */ NULL, /* compat_30___fstat13 */ | 862 | /* 279 */ NULL, /* compat_30___fstat13 */ | |
863 | /* 280 */ NULL, /* compat_30___lstat13 */ | 863 | /* 280 */ NULL, /* compat_30___lstat13 */ | |
864 | /* 281 */ "sigaltstack", | 864 | /* 281 */ "sigaltstack", | |
865 | /* 282 */ "vfork", | 865 | /* 282 */ "vfork", | |
866 | /* 283 */ NULL, /* __posix_chown */ | 866 | /* 283 */ NULL, /* __posix_chown */ | |
867 | /* 284 */ NULL, /* __posix_fchown */ | 867 | /* 284 */ NULL, /* __posix_fchown */ | |
868 | /* 285 */ NULL, /* __posix_lchown */ | 868 | /* 285 */ NULL, /* __posix_lchown */ | |
869 | /* 286 */ NULL, /* getsid */ | 869 | /* 286 */ NULL, /* getsid */ | |
870 | /* 287 */ NULL, /* __clone */ | 870 | /* 287 */ NULL, /* __clone */ | |
871 | /* 288 */ NULL, /* fktrace */ | 871 | /* 288 */ NULL, /* fktrace */ | |
872 | /* 289 */ NULL, /* preadv */ | 872 | /* 289 */ NULL, /* preadv */ | |
873 | /* 290 */ NULL, /* pwritev */ | 873 | /* 290 */ NULL, /* pwritev */ | |
874 | /* 291 */ NULL, /* compat_16___sigaction14 */ | 874 | /* 291 */ NULL, /* compat_16___sigaction14 */ | |
875 | /* 292 */ "sigpending", | 875 | /* 292 */ "sigpending", | |
876 | /* 293 */ "sigprocmask", | 876 | /* 293 */ "sigprocmask", | |
877 | /* 294 */ "sigsuspend", | 877 | /* 294 */ "sigsuspend", | |
878 | /* 295 */ NULL, /* compat_16___sigreturn14 */ | 878 | /* 295 */ NULL, /* compat_16___sigreturn14 */ | |
879 | /* 296 */ NULL, /* __getcwd */ | 879 | /* 296 */ NULL, /* __getcwd */ | |
880 | /* 297 */ NULL, /* fchroot */ | 880 | /* 297 */ NULL, /* fchroot */ | |
881 | /* 298 */ NULL, /* compat_30_fhopen */ | 881 | /* 298 */ NULL, /* compat_30_fhopen */ | |
882 | /* 299 */ NULL, /* compat_30_fhstat */ | 882 | /* 299 */ NULL, /* compat_30_fhstat */ | |
883 | /* 300 */ NULL, /* compat_20_fhstatfs */ | 883 | /* 300 */ NULL, /* compat_20_fhstatfs */ | |
884 | /* 301 */ NULL, /* compat_50_____semctl13 */ | 884 | /* 301 */ NULL, /* compat_50_____semctl13 */ | |
885 | /* 302 */ NULL, /* compat_50___msgctl13 */ | 885 | /* 302 */ NULL, /* compat_50___msgctl13 */ | |
886 | /* 303 */ NULL, /* compat_50___shmctl13 */ | 886 | /* 303 */ NULL, /* compat_50___shmctl13 */ | |
887 | /* 304 */ NULL, /* lchflags */ | 887 | /* 304 */ NULL, /* lchflags */ | |
888 | /* 305 */ NULL, /* issetugid */ | 888 | /* 305 */ NULL, /* issetugid */ | |
889 | /* 306 */ NULL, /* utrace */ | 889 | /* 306 */ NULL, /* utrace */ | |
890 | /* 307 */ NULL, /* getcontext */ | 890 | /* 307 */ NULL, /* getcontext */ | |
891 | /* 308 */ NULL, /* setcontext */ | 891 | /* 308 */ NULL, /* setcontext */ | |
892 | /* 309 */ NULL, /* _lwp_create */ | 892 | /* 309 */ NULL, /* _lwp_create */ | |
893 | /* 310 */ NULL, /* _lwp_exit */ | 893 | /* 310 */ NULL, /* _lwp_exit */ | |
894 | /* 311 */ NULL, /* _lwp_self */ | 894 | /* 311 */ NULL, /* _lwp_self */ | |
895 | /* 312 */ NULL, /* _lwp_wait */ | 895 | /* 312 */ NULL, /* _lwp_wait */ | |
896 | /* 313 */ NULL, /* _lwp_suspend */ | 896 | /* 313 */ NULL, /* _lwp_suspend */ | |
897 | /* 314 */ NULL, /* _lwp_continue */ | 897 | /* 314 */ NULL, /* _lwp_continue */ | |
898 | /* 315 */ NULL, /* _lwp_wakeup */ | 898 | /* 315 */ NULL, /* _lwp_wakeup */ | |
899 | /* 316 */ NULL, /* _lwp_getprivate */ | 899 | /* 316 */ NULL, /* _lwp_getprivate */ | |
900 | /* 317 */ NULL, /* _lwp_setprivate */ | 900 | /* 317 */ NULL, /* _lwp_setprivate */ | |
901 | /* 318 */ NULL, /* _lwp_kill */ | 901 | /* 318 */ NULL, /* _lwp_kill */ | |
902 | /* 319 */ NULL, /* _lwp_detach */ | 902 | /* 319 */ NULL, /* _lwp_detach */ | |
903 | /* 320 */ NULL, /* compat_50__lwp_park */ | 903 | /* 320 */ NULL, /* compat_50__lwp_park */ | |
904 | /* 321 */ NULL, /* _lwp_unpark */ | 904 | /* 321 */ NULL, /* _lwp_unpark */ | |
905 | /* 322 */ NULL, /* _lwp_unpark_all */ | 905 | /* 322 */ NULL, /* _lwp_unpark_all */ | |
906 | /* 323 */ NULL, /* _lwp_setname */ | 906 | /* 323 */ NULL, /* _lwp_setname */ | |
907 | /* 324 */ NULL, /* _lwp_getname */ | 907 | /* 324 */ NULL, /* _lwp_getname */ | |
908 | /* 325 */ NULL, /* _lwp_ctl */ | 908 | /* 325 */ NULL, /* _lwp_ctl */ | |
909 | /* 326 */ NULL, /* unimplemented */ | 909 | /* 326 */ NULL, /* unimplemented */ | |
910 | /* 327 */ NULL, /* unimplemented */ | 910 | /* 327 */ NULL, /* unimplemented */ | |
911 | /* 328 */ NULL, /* unimplemented */ | 911 | /* 328 */ NULL, /* unimplemented */ | |
912 | /* 329 */ NULL, /* unimplemented */ | 912 | /* 329 */ NULL, /* unimplemented */ | |
913 | /* 330 */ NULL, /* compat_60_sa_register */ | 913 | /* 330 */ NULL, /* compat_60_sa_register */ | |
914 | /* 331 */ NULL, /* compat_60_sa_stacks */ | 914 | /* 331 */ NULL, /* compat_60_sa_stacks */ | |
915 | /* 332 */ NULL, /* compat_60_sa_enable */ | 915 | /* 332 */ NULL, /* compat_60_sa_enable */ | |
916 | /* 333 */ NULL, /* compat_60_sa_setconcurrency */ | 916 | /* 333 */ NULL, /* compat_60_sa_setconcurrency */ | |
917 | /* 334 */ NULL, /* compat_60_sa_yield */ | 917 | /* 334 */ NULL, /* compat_60_sa_yield */ | |
918 | /* 335 */ NULL, /* compat_60_sa_preempt */ | 918 | /* 335 */ NULL, /* compat_60_sa_preempt */ | |
919 | /* 336 */ NULL, /* obsolete sys_sa_unblockyield */ | 919 | /* 336 */ NULL, /* obsolete sys_sa_unblockyield */ | |
920 | /* 337 */ NULL, /* unimplemented */ | 920 | /* 337 */ NULL, /* unimplemented */ | |
921 | /* 338 */ NULL, /* unimplemented */ | 921 | /* 338 */ NULL, /* unimplemented */ | |
922 | /* 339 */ NULL, /* unimplemented */ | 922 | /* 339 */ NULL, /* unimplemented */ | |
923 | /* 340 */ NULL, /* __sigaction_sigtramp */ | 923 | /* 340 */ NULL, /* __sigaction_sigtramp */ | |
924 | /* 341 */ NULL, /* pmc_get_info */ | 924 | /* 341 */ NULL, /* pmc_get_info */ | |
925 | /* 342 */ NULL, /* pmc_control */ | 925 | /* 342 */ NULL, /* pmc_control */ | |
926 | /* 343 */ NULL, /* rasctl */ | 926 | /* 343 */ NULL, /* rasctl */ | |
927 | /* 344 */ NULL, /* kqueue */ | 927 | /* 344 */ NULL, /* kqueue */ | |
928 | /* 345 */ NULL, /* compat_50_kevent */ | 928 | /* 345 */ NULL, /* compat_50_kevent */ | |
929 | /* 346 */ NULL, /* _sched_setparam */ | 929 | /* 346 */ NULL, /* _sched_setparam */ | |
930 | /* 347 */ NULL, /* _sched_getparam */ | 930 | /* 347 */ NULL, /* _sched_getparam */ | |
931 | /* 348 */ NULL, /* _sched_setaffinity */ | 931 | /* 348 */ NULL, /* _sched_setaffinity */ | |
932 | /* 349 */ NULL, /* _sched_getaffinity */ | 932 | /* 349 */ NULL, /* _sched_getaffinity */ | |
933 | /* 350 */ NULL, /* sched_yield */ | 933 | /* 350 */ NULL, /* sched_yield */ | |
934 | /* 351 */ NULL, /* _sched_protect */ | 934 | /* 351 */ NULL, /* _sched_protect */ | |
935 | /* 352 */ NULL, /* unimplemented */ | 935 | /* 352 */ NULL, /* unimplemented */ | |
936 | /* 353 */ NULL, /* unimplemented */ | 936 | /* 353 */ NULL, /* unimplemented */ | |
937 | /* 354 */ NULL, /* fsync_range */ | 937 | /* 354 */ NULL, /* fsync_range */ | |
938 | /* 355 */ NULL, /* uuidgen */ | 938 | /* 355 */ NULL, /* uuidgen */ | |
939 | /* 356 */ NULL, /* getvfsstat */ | 939 | /* 356 */ NULL, /* getvfsstat */ | |
940 | /* 357 */ NULL, /* statvfs1 */ | 940 | /* 357 */ NULL, /* statvfs1 */ | |
941 | /* 358 */ NULL, /* fstatvfs1 */ | 941 | /* 358 */ NULL, /* fstatvfs1 */ | |
942 | /* 359 */ NULL, /* compat_30_fhstatvfs1 */ | 942 | /* 359 */ NULL, /* compat_30_fhstatvfs1 */ | |
943 | /* 360 */ NULL, /* extattrctl */ | 943 | /* 360 */ NULL, /* extattrctl */ | |
944 | /* 361 */ NULL, /* extattr_set_file */ | 944 | /* 361 */ NULL, /* extattr_set_file */ | |
945 | /* 362 */ NULL, /* extattr_get_file */ | 945 | /* 362 */ NULL, /* extattr_get_file */ | |
946 | /* 363 */ NULL, /* extattr_delete_file */ | 946 | /* 363 */ NULL, /* extattr_delete_file */ | |
947 | /* 364 */ NULL, /* extattr_set_fd */ | 947 | /* 364 */ NULL, /* extattr_set_fd */ | |
948 | /* 365 */ NULL, /* extattr_get_fd */ | 948 | /* 365 */ NULL, /* extattr_get_fd */ | |
949 | /* 366 */ NULL, /* extattr_delete_fd */ | 949 | /* 366 */ NULL, /* extattr_delete_fd */ | |
950 | /* 367 */ NULL, /* extattr_set_link */ | 950 | /* 367 */ NULL, /* extattr_set_link */ | |
951 | /* 368 */ NULL, /* extattr_get_link */ | 951 | /* 368 */ NULL, /* extattr_get_link */ | |
952 | /* 369 */ NULL, /* extattr_delete_link */ | 952 | /* 369 */ NULL, /* extattr_delete_link */ | |
953 | /* 370 */ NULL, /* extattr_list_fd */ | 953 | /* 370 */ NULL, /* extattr_list_fd */ | |
954 | /* 371 */ NULL, /* extattr_list_file */ | 954 | /* 371 */ NULL, /* extattr_list_file */ | |
955 | /* 372 */ NULL, /* extattr_list_link */ | 955 | /* 372 */ NULL, /* extattr_list_link */ | |
956 | /* 373 */ NULL, /* compat_50_pselect */ | 956 | /* 373 */ NULL, /* compat_50_pselect */ | |
957 | /* 374 */ NULL, /* compat_50_pollts */ | 957 | /* 374 */ NULL, /* compat_50_pollts */ | |
958 | /* 375 */ NULL, /* setxattr */ | 958 | /* 375 */ NULL, /* setxattr */ | |
959 | /* 376 */ NULL, /* lsetxattr */ | 959 | /* 376 */ NULL, /* lsetxattr */ | |
960 | /* 377 */ NULL, /* fsetxattr */ | 960 | /* 377 */ NULL, /* fsetxattr */ | |
961 | /* 378 */ NULL, /* getxattr */ | 961 | /* 378 */ NULL, /* getxattr */ | |
962 | /* 379 */ NULL, /* lgetxattr */ | 962 | /* 379 */ NULL, /* lgetxattr */ | |
963 | /* 380 */ NULL, /* fgetxattr */ | 963 | /* 380 */ NULL, /* fgetxattr */ | |
964 | /* 381 */ NULL, /* listxattr */ | 964 | /* 381 */ NULL, /* listxattr */ | |
965 | /* 382 */ NULL, /* llistxattr */ | 965 | /* 382 */ NULL, /* llistxattr */ | |
966 | /* 383 */ NULL, /* flistxattr */ | 966 | /* 383 */ NULL, /* flistxattr */ | |
967 | /* 384 */ NULL, /* removexattr */ | 967 | /* 384 */ NULL, /* removexattr */ | |
968 | /* 385 */ NULL, /* lremovexattr */ | 968 | /* 385 */ NULL, /* lremovexattr */ | |
969 | /* 386 */ NULL, /* fremovexattr */ | 969 | /* 386 */ NULL, /* fremovexattr */ | |
970 | /* 387 */ NULL, /* compat_50___stat30 */ | 970 | /* 387 */ NULL, /* compat_50___stat30 */ | |
971 | /* 388 */ NULL, /* compat_50___fstat30 */ | 971 | /* 388 */ NULL, /* compat_50___fstat30 */ | |
972 | /* 389 */ NULL, /* compat_50___lstat30 */ | 972 | /* 389 */ NULL, /* compat_50___lstat30 */ | |
973 | /* 390 */ "getdents", | 973 | /* 390 */ "getdents", | |
974 | /* 391 */ NULL, /* ignored old posix_fadvise */ | 974 | /* 391 */ NULL, /* ignored old posix_fadvise */ | |
975 | /* 392 */ NULL, /* compat_30___fhstat30 */ | 975 | /* 392 */ NULL, /* compat_30___fhstat30 */ | |
976 | /* 393 */ NULL, /* compat_50___ntp_gettime30 */ | 976 | /* 393 */ NULL, /* compat_50___ntp_gettime30 */ | |
977 | /* 394 */ "socket", | 977 | /* 394 */ "socket", | |
978 | /* 395 */ "getfh", | 978 | /* 395 */ "getfh", | |
979 | /* 396 */ "fhopen", | 979 | /* 396 */ "fhopen", | |
980 | /* 397 */ "fhstatvfs1", | 980 | /* 397 */ "fhstatvfs1", | |
981 | /* 398 */ NULL, /* compat_50___fhstat40 */ | 981 | /* 398 */ NULL, /* compat_50___fhstat40 */ | |
982 | /* 399 */ NULL, /* aio_cancel */ | 982 | /* 399 */ NULL, /* aio_cancel */ | |
983 | /* 400 */ NULL, /* aio_error */ | 983 | /* 400 */ NULL, /* aio_error */ | |
984 | /* 401 */ NULL, /* aio_fsync */ | 984 | /* 401 */ NULL, /* aio_fsync */ | |
985 | /* 402 */ NULL, /* aio_read */ | 985 | /* 402 */ NULL, /* aio_read */ | |
986 | /* 403 */ NULL, /* aio_return */ | 986 | /* 403 */ NULL, /* aio_return */ | |
987 | /* 404 */ NULL, /* compat_50_aio_suspend */ | 987 | /* 404 */ NULL, /* compat_50_aio_suspend */ | |
988 | /* 405 */ NULL, /* aio_write */ | 988 | /* 405 */ NULL, /* aio_write */ | |
989 | /* 406 */ NULL, /* lio_listio */ | 989 | /* 406 */ NULL, /* lio_listio */ | |
990 | /* 407 */ NULL, /* unimplemented */ | 990 | /* 407 */ NULL, /* unimplemented */ | |
991 | /* 408 */ NULL, /* unimplemented */ | 991 | /* 408 */ NULL, /* unimplemented */ | |
992 | /* 409 */ NULL, /* unimplemented */ | 992 | /* 409 */ NULL, /* unimplemented */ | |
993 | /* 410 */ "mount", | 993 | /* 410 */ "mount", | |
994 | /* 411 */ NULL, /* mremap */ | 994 | /* 411 */ NULL, /* mremap */ | |
995 | /* 412 */ NULL, /* pset_create */ | 995 | /* 412 */ NULL, /* pset_create */ | |
996 | /* 413 */ NULL, /* pset_destroy */ | 996 | /* 413 */ NULL, /* pset_destroy */ | |
997 | /* 414 */ NULL, /* pset_assign */ | 997 | /* 414 */ NULL, /* pset_assign */ | |
998 | /* 415 */ NULL, /* _pset_bind */ | 998 | /* 415 */ NULL, /* _pset_bind */ | |
999 | /* 416 */ "posix_fadvise", | 999 | /* 416 */ "posix_fadvise", | |
1000 | /* 417 */ "select", | 1000 | /* 417 */ "select", | |
1001 | /* 418 */ "gettimeofday", | 1001 | /* 418 */ "gettimeofday", | |
1002 | /* 419 */ "settimeofday", | 1002 | /* 419 */ "settimeofday", | |
1003 | /* 420 */ "utimes", | 1003 | /* 420 */ "utimes", | |
1004 | /* 421 */ "adjtime", | 1004 | /* 421 */ "adjtime", | |
1005 | /* 422 */ "lfs_segwait", | 1005 | /* 422 */ "lfs_segwait", | |
1006 | /* 423 */ "futimes", | 1006 | /* 423 */ "futimes", | |
1007 | /* 424 */ "lutimes", | 1007 | /* 424 */ "lutimes", | |
1008 | /* 425 */ "setitimer", | 1008 | /* 425 */ "setitimer", | |
1009 | /* 426 */ "getitimer", | 1009 | /* 426 */ "getitimer", | |
1010 | /* 427 */ "clock_gettime", | 1010 | /* 427 */ "clock_gettime", |
--- src/sys/kern/syscalls_autoload.c 2018/01/06 16:41:23 1.27
+++ src/sys/kern/syscalls_autoload.c 2018/03/10 05:12:17 1.27.2.1
@@ -1,181 +1,181 @@ | @@ -1,181 +1,181 @@ | |||
1 | /* $NetBSD: syscalls_autoload.c,v 1.27 2018/01/06 16:41:23 kamil Exp $ */ | 1 | /* $NetBSD: syscalls_autoload.c,v 1.27.2.1 2018/03/10 05:12:17 pgoyette Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call autoload table. | 4 | * System call autoload 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: syscalls.master,v 1.287 2017/12/08 01:19:29 christos Exp | 7 | * created from NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #include <sys/cdefs.h> | 10 | #include <sys/cdefs.h> | |
11 | __KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.27 2018/01/06 16:41:23 kamil Exp $"); | 11 | __KERNEL_RCSID(0, "$NetBSD: syscalls_autoload.c,v 1.27.2.1 2018/03/10 05:12:17 pgoyette Exp $"); | |
12 | 12 | |||
13 | #include <sys/proc.h> | 13 | #include <sys/proc.h> | |
14 | static struct sc_autoload netbsd_syscalls_autoload[] = { | 14 | static struct sc_autoload netbsd_syscalls_autoload[] = { | |
15 | { SYS_compat_50_wait4, "compat" }, | 15 | { SYS_compat_50_wait4, "compat" }, | |
16 | { SYS_compat_43_ocreat, "compat" }, | 16 | { SYS_compat_43_ocreat, "compat" }, | |
17 | { SYS_compat_50_mknod, "compat" }, | 17 | { SYS_compat_50_mknod, "compat" }, | |
18 | { SYS_compat_20_getfsstat, "compat" }, | 18 | { SYS_compat_20_getfsstat, "compat" }, | |
19 | { SYS_compat_43_olseek, "compat" }, | 19 | { SYS_compat_43_olseek, "compat" }, | |
20 | { SYS_compat_40_mount, "compat" }, | 20 | { SYS_compat_40_mount, "compat" }, | |
21 | { SYS_ptrace, "ptrace" }, | 21 | { SYS_ptrace, "ptrace" }, | |
22 | { SYS_compat_43_stat43, "compat" }, | 22 | { SYS_compat_43_stat43, "compat" }, | |
23 | { SYS_compat_43_lstat43, "compat" }, | 23 | { SYS_compat_43_lstat43, "compat" }, | |
24 | { SYS_compat_13_sigaction13, "compat" }, | 24 | { SYS_compat_13_sigaction13, "compat" }, | |
25 | { SYS_compat_13_sigprocmask13, "compat" }, | 25 | { SYS_compat_13_sigprocmask13, "compat" }, | |
26 | { SYS_compat_13_sigpending13, "compat" }, | 26 | { SYS_compat_13_sigpending13, "compat" }, | |
27 | { SYS_compat_13_sigaltstack13, "compat" }, | 27 | { SYS_compat_13_sigaltstack13, "compat" }, | |
28 | { SYS_compat_12_oreboot, "compat" }, | 28 | { SYS_compat_12_oreboot, "compat" }, | |
29 | { SYS_compat_43_fstat43, "compat" }, | 29 | { SYS_compat_43_fstat43, "compat" }, | |
30 | { SYS_compat_43_ogetkerninfo, "compat" }, | 30 | { SYS_compat_43_ogetkerninfo, "compat" }, | |
31 | { SYS_compat_43_ogetpagesize, "compat" }, | 31 | { SYS_compat_43_ogetpagesize, "compat" }, | |
32 | { SYS_compat_12_msync, "compat" }, | 32 | { SYS_compat_12_msync, "compat" }, | |
33 | { SYS_compat_43_ommap, "compat" }, | 33 | { SYS_compat_43_ommap, "compat" }, | |
34 | { SYS_compat_50_setitimer, "compat" }, | 34 | { SYS_compat_50_setitimer, "compat" }, | |
35 | { SYS_compat_43_owait, "compat" }, | 35 | { SYS_compat_43_owait, "compat" }, | |
36 | { SYS_compat_12_oswapon, "compat" }, | 36 | { SYS_compat_12_oswapon, "compat" }, | |
37 | { SYS_compat_50_getitimer, "compat" }, | 37 | { SYS_compat_50_getitimer, "compat" }, | |
38 | { SYS_compat_43_ogethostname, "compat" }, | 38 | { SYS_compat_43_ogethostname, "compat" }, | |
39 | { SYS_compat_43_osethostname, "compat" }, | 39 | { SYS_compat_43_osethostname, "compat" }, | |
40 | { SYS_compat_43_ogetdtablesize, "compat" }, | 40 | { SYS_compat_43_ogetdtablesize, "compat" }, | |
41 | { SYS_compat_50_select, "compat" }, | 41 | { SYS_compat_50_select, "compat" }, | |
42 | { SYS_compat_30_socket, "compat" }, | 42 | { SYS_compat_30_socket, "compat" }, | |
43 | { SYS_compat_43_oaccept, "compat" }, | 43 | { SYS_compat_43_oaccept, "compat" }, | |
44 | { SYS_compat_43_osend, "compat" }, | 44 | { SYS_compat_43_osend, "compat" }, | |
45 | { SYS_compat_43_orecv, "compat" }, | 45 | { SYS_compat_43_orecv, "compat" }, | |
46 | { SYS_compat_13_sigreturn13, "compat" }, | 46 | { SYS_compat_13_sigreturn13, "compat" }, | |
47 | { SYS_compat_43_osigvec, "compat" }, | 47 | { SYS_compat_43_osigvec, "compat" }, | |
48 | { SYS_compat_43_osigblock, "compat" }, | 48 | { SYS_compat_43_osigblock, "compat" }, | |
49 | { SYS_compat_43_osigsetmask, "compat" }, | 49 | { SYS_compat_43_osigsetmask, "compat" }, | |
50 | { SYS_compat_13_sigsuspend13, "compat" }, | 50 | { SYS_compat_13_sigsuspend13, "compat" }, | |
51 | { SYS_compat_43_osigstack, "compat" }, | 51 | { SYS_compat_43_osigstack, "compat" }, | |
52 | { SYS_compat_43_orecvmsg, "compat" }, | 52 | { SYS_compat_43_orecvmsg, "compat" }, | |
53 | { SYS_compat_43_osendmsg, "compat" }, | 53 | { SYS_compat_43_osendmsg, "compat" }, | |
54 | { SYS_compat_50_gettimeofday, "compat" }, | 54 | { SYS_compat_50_gettimeofday, "compat" }, | |
55 | { SYS_compat_50_getrusage, "compat" }, | 55 | { SYS_compat_50_getrusage, "compat" }, | |
56 | { SYS_compat_50_settimeofday, "compat" }, | 56 | { SYS_compat_50_settimeofday, "compat" }, | |
57 | { SYS_compat_43_orecvfrom, "compat" }, | 57 | { SYS_compat_43_orecvfrom, "compat" }, | |
58 | { SYS_compat_43_otruncate, "compat" }, | 58 | { SYS_compat_43_otruncate, "compat" }, | |
59 | { SYS_compat_43_oftruncate, "compat" }, | 59 | { SYS_compat_43_oftruncate, "compat" }, | |
60 | { SYS_compat_50_utimes, "compat" }, | 60 | { SYS_compat_50_utimes, "compat" }, | |
61 | { SYS_compat_50_adjtime, "compat" }, | 61 | { SYS_compat_50_adjtime, "compat" }, | |
62 | { SYS_compat_43_ogetpeername, "compat" }, | 62 | { SYS_compat_43_ogetpeername, "compat" }, | |
63 | { SYS_compat_43_ogethostid, "compat" }, | 63 | { SYS_compat_43_ogethostid, "compat" }, | |
64 | { SYS_compat_43_osethostid, "compat" }, | 64 | { SYS_compat_43_osethostid, "compat" }, | |
65 | { SYS_compat_43_ogetrlimit, "compat" }, | 65 | { SYS_compat_43_ogetrlimit, "compat" }, | |
66 | { SYS_compat_43_osetrlimit, "compat" }, | 66 | { SYS_compat_43_osetrlimit, "compat" }, | |
67 | { SYS_compat_43_okillpg, "compat" }, | 67 | { SYS_compat_43_okillpg, "compat" }, | |
68 | { SYS_compat_50_quotactl, "XXX" }, | 68 | { SYS_compat_50_quotactl, "XXX" }, | |
69 | { SYS_compat_43_oquota, "compat" }, | 69 | { SYS_compat_43_oquota, "compat" }, | |
70 | { SYS_compat_43_ogetsockname, "compat" }, | 70 | { SYS_compat_43_ogetsockname, "compat" }, | |
71 | { SYS_nfssvc, "nfsserver" }, | 71 | { SYS_nfssvc, "nfsserver" }, | |
72 | { SYS_compat_43_ogetdirentries, "compat" }, | 72 | { SYS_compat_43_ogetdirentries, "compat" }, | |
73 | { SYS_compat_20_statfs, "compat" }, | 73 | { SYS_compat_20_statfs, "compat" }, | |
74 | { SYS_compat_20_fstatfs, "compat" }, | 74 | { SYS_compat_20_fstatfs, "compat" }, | |
75 | { SYS_compat_30_getfh, "compat" }, | 75 | { SYS_compat_30_getfh, "compat" }, | |
76 | { SYS_compat_09_ogetdomainname, "compat" }, | 76 | { SYS_compat_09_ogetdomainname, "compat" }, | |
77 | { SYS_compat_09_osetdomainname, "compat" }, | 77 | { SYS_compat_09_osetdomainname, "compat" }, | |
78 | { SYS_compat_09_ouname, "compat" }, | 78 | { SYS_compat_09_ouname, "compat" }, | |
79 | #if !defined(_LP64) | 79 | #if !defined(_LP64) | |
80 | { SYS_compat_10_osemsys, "sysv_ipc" }, | 80 | { SYS_compat_10_osemsys, "compat_sysv" }, | |
81 | #else | 81 | #else | |
82 | #endif | 82 | #endif | |
83 | #if !defined(_LP64) | 83 | #if !defined(_LP64) | |
84 | { SYS_compat_10_omsgsys, "sysv_ipc" }, | 84 | { SYS_compat_10_omsgsys, "compat_sysv" }, | |
85 | #else | 85 | #else | |
86 | #endif | 86 | #endif | |
87 | #if !defined(_LP64) | 87 | #if !defined(_LP64) | |
88 | { SYS_compat_10_oshmsys, "sysv_ipc" }, | 88 | { SYS_compat_10_oshmsys, "compat_sysv" }, | |
89 | #else | 89 | #else | |
90 | #endif | 90 | #endif | |
91 | { SYS_lfs_bmapv, "lfs" }, | 91 | { SYS_lfs_bmapv, "lfs" }, | |
92 | { SYS_lfs_markv, "lfs" }, | 92 | { SYS_lfs_markv, "lfs" }, | |
93 | { SYS_lfs_segclean, "lfs" }, | 93 | { SYS_lfs_segclean, "lfs" }, | |
94 | { SYS_compat_50_lfs_segwait, "compat" }, | 94 | { SYS_compat_50_lfs_segwait, "compat" }, | |
95 | { SYS_compat_12_stat12, "compat" }, | 95 | { SYS_compat_12_stat12, "compat" }, | |
96 | { SYS_compat_12_fstat12, "compat" }, | 96 | { SYS_compat_12_fstat12, "compat" }, | |
97 | { SYS_compat_12_lstat12, "compat" }, | 97 | { SYS_compat_12_lstat12, "compat" }, | |
98 | { SYS_compat_12_getdirentries, "compat" }, | 98 | { SYS_compat_12_getdirentries, "compat" }, | |
99 | { SYS_compat_50_futimes, "compat" }, | 99 | { SYS_compat_50_futimes, "compat" }, | |
100 | { SYS_afssys, "openafs" }, | 100 | { SYS_afssys, "openafs" }, | |
101 | { SYS_compat_14___semctl, "sysv_ipc" }, | 101 | { SYS_compat_14___semctl, "compat_sysv" }, | |
102 | { SYS_semget, "sysv_ipc" }, | 102 | { SYS_semget, "sysv_ipc" }, | |
103 | { SYS_semop, "sysv_ipc" }, | 103 | { SYS_semop, "sysv_ipc" }, | |
104 | { SYS_semconfig, "sysv_ipc" }, | 104 | { SYS_semconfig, "sysv_ipc" }, | |
105 | { SYS_compat_14_msgctl, "sysv_ipc" }, | 105 | { SYS_compat_14_msgctl, "compat_sysv" }, | |
106 | { SYS_msgget, "sysv_ipc" }, | 106 | { SYS_msgget, "sysv_ipc" }, | |
107 | { SYS_msgsnd, "sysv_ipc" }, | 107 | { SYS_msgsnd, "sysv_ipc" }, | |
108 | { SYS_msgrcv, "sysv_ipc" }, | 108 | { SYS_msgrcv, "sysv_ipc" }, | |
109 | { SYS_shmat, "sysv_ipc" }, | 109 | { SYS_shmat, "sysv_ipc" }, | |
110 | { SYS_compat_14_shmctl, "sysv_ipc" }, | 110 | { SYS_compat_14_shmctl, "compat_sysv" }, | |
111 | { SYS_shmdt, "sysv_ipc" }, | 111 | { SYS_shmdt, "sysv_ipc" }, | |
112 | { SYS_shmget, "sysv_ipc" }, | 112 | { SYS_shmget, "sysv_ipc" }, | |
113 | { SYS_compat_50_clock_gettime, "compat" }, | 113 | { SYS_compat_50_clock_gettime, "compat" }, | |
114 | { SYS_compat_50_clock_settime, "compat" }, | 114 | { SYS_compat_50_clock_settime, "compat" }, | |
115 | { SYS_compat_50_clock_getres, "compat" }, | 115 | { SYS_compat_50_clock_getres, "compat" }, | |
116 | { SYS_compat_50_timer_settime, "compat" }, | 116 | { SYS_compat_50_timer_settime, "compat" }, | |
117 | { SYS_compat_50_timer_gettime, "compat" }, | 117 | { SYS_compat_50_timer_gettime, "compat" }, | |
118 | { SYS_compat_50_nanosleep, "compat" }, | 118 | { SYS_compat_50_nanosleep, "compat" }, | |
119 | { SYS_compat_50___sigtimedwait, "compat" }, | 119 | { SYS_compat_50___sigtimedwait, "compat" }, | |
120 | { SYS__ksem_init, "ksem" }, | 120 | { SYS__ksem_init, "ksem" }, | |
121 | { SYS__ksem_open, "ksem" }, | 121 | { SYS__ksem_open, "ksem" }, | |
122 | { SYS__ksem_unlink, "ksem" }, | 122 | { SYS__ksem_unlink, "ksem" }, | |
123 | { SYS__ksem_close, "ksem" }, | 123 | { SYS__ksem_close, "ksem" }, | |
124 | { SYS__ksem_post, "ksem" }, | 124 | { SYS__ksem_post, "ksem" }, | |
125 | { SYS__ksem_wait, "ksem" }, | 125 | { SYS__ksem_wait, "ksem" }, | |
126 | { SYS__ksem_trywait, "ksem" }, | 126 | { SYS__ksem_trywait, "ksem" }, | |
127 | { SYS__ksem_getvalue, "ksem" }, | 127 | { SYS__ksem_getvalue, "ksem" }, | |
128 | { SYS__ksem_destroy, "ksem" }, | 128 | { SYS__ksem_destroy, "ksem" }, | |
129 | { SYS__ksem_timedwait, "ksem" }, | 129 | { SYS__ksem_timedwait, "ksem" }, | |
130 | { SYS_mq_open, "mqueue" }, | 130 | { SYS_mq_open, "mqueue" }, | |
131 | { SYS_mq_close, "mqueue" }, | 131 | { SYS_mq_close, "mqueue" }, | |
132 | { SYS_mq_unlink, "mqueue" }, | 132 | { SYS_mq_unlink, "mqueue" }, | |
133 | { SYS_mq_getattr, "mqueue" }, | 133 | { SYS_mq_getattr, "mqueue" }, | |
134 | { SYS_mq_setattr, "mqueue" }, | 134 | { SYS_mq_setattr, "mqueue" }, | |
135 | { SYS_mq_notify, "mqueue" }, | 135 | { SYS_mq_notify, "mqueue" }, | |
136 | { SYS_mq_send, "mqueue" }, | 136 | { SYS_mq_send, "mqueue" }, | |
137 | { SYS_mq_receive, "mqueue" }, | 137 | { SYS_mq_receive, "mqueue" }, | |
138 | { SYS_compat_50_mq_timedsend, "compat" }, | 138 | { SYS_compat_50_mq_timedsend, "compat" }, | |
139 | { SYS_compat_50_mq_timedreceive, "compat" }, | 139 | { SYS_compat_50_mq_timedreceive, "compat" }, | |
140 | { SYS_compat_30_getdents, "compat" }, | 140 | { SYS_compat_30_getdents, "compat" }, | |
141 | { SYS_compat_50_lutimes, "compat" }, | 141 | { SYS_compat_50_lutimes, "compat" }, | |
142 | { SYS_compat_30___stat13, "compat" }, | 142 | { SYS_compat_30___stat13, "compat" }, | |
143 | { SYS_compat_30___fstat13, "compat" }, | 143 | { SYS_compat_30___fstat13, "compat" }, | |
144 | { SYS_compat_30___lstat13, "compat" }, | 144 | { SYS_compat_30___lstat13, "compat" }, | |
145 | { SYS_compat_16___sigaction14, "compat" }, | 145 | { SYS_compat_16___sigaction14, "compat" }, | |
146 | { SYS_compat_16___sigreturn14, "compat" }, | 146 | { SYS_compat_16___sigreturn14, "compat" }, | |
147 | { SYS_compat_30_fhopen, "compat" }, | 147 | { SYS_compat_30_fhopen, "compat" }, | |
148 | { SYS_compat_30_fhstat, "compat" }, | 148 | { SYS_compat_30_fhstat, "compat" }, | |
149 | { SYS_compat_20_fhstatfs, "compat" }, | 149 | { SYS_compat_20_fhstatfs, "compat" }, | |
150 | { SYS_compat_50_____semctl13, "sysv_ipc" }, | 150 | { SYS_compat_50_____semctl13, "compat_sysv" }, | |
151 | { SYS_compat_50___msgctl13, "sysv_ipc" }, | 151 | { SYS_compat_50___msgctl13, "compat_sysv" }, | |
152 | { SYS_compat_50___shmctl13, "sysv_ipc" }, | 152 | { SYS_compat_50___shmctl13, "compat_sysv" }, | |
153 | { SYS_compat_50__lwp_park, "compat" }, | 153 | { SYS_compat_50__lwp_park, "compat" }, | |
154 | { SYS_compat_50_kevent, "compat" }, | 154 | { SYS_compat_50_kevent, "compat" }, | |
155 | { SYS_compat_30_fhstatvfs1, "compat" }, | 155 | { SYS_compat_30_fhstatvfs1, "compat" }, | |
156 | { SYS_compat_50_pselect, "compat" }, | 156 | { SYS_compat_50_pselect, "compat" }, | |
157 | { SYS_compat_50_pollts, "compat" }, | 157 | { SYS_compat_50_pollts, "compat" }, | |
158 | { SYS_compat_50___stat30, "compat" }, | 158 | { SYS_compat_50___stat30, "compat" }, | |
159 | { SYS_compat_50___fstat30, "compat" }, | 159 | { SYS_compat_50___fstat30, "compat" }, | |
160 | { SYS_compat_50___lstat30, "compat" }, | 160 | { SYS_compat_50___lstat30, "compat" }, | |
161 | { SYS_compat_30___fhstat30, "compat" }, | 161 | { SYS_compat_30___fhstat30, "compat" }, | |
162 | { SYS_compat_50___ntp_gettime30, "compat" }, | 162 | { SYS_compat_50___ntp_gettime30, "compat" }, | |
163 | { SYS_compat_50___fhstat40, "compat" }, | 163 | { SYS_compat_50___fhstat40, "compat" }, | |
164 | { SYS_aio_cancel, "aio" }, | 164 | { SYS_aio_cancel, "aio" }, | |
165 | { SYS_aio_error, "aio" }, | 165 | { SYS_aio_error, "aio" }, | |
166 | { SYS_aio_fsync, "aio" }, | 166 | { SYS_aio_fsync, "aio" }, | |
167 | { SYS_aio_read, "aio" }, | 167 | { SYS_aio_read, "aio" }, | |
168 | { SYS_aio_return, "aio" }, | 168 | { SYS_aio_return, "aio" }, | |
169 | { SYS_compat_50_aio_suspend, "compat" }, | 169 | { SYS_compat_50_aio_suspend, "compat" }, | |
170 | { SYS_aio_write, "aio" }, | 170 | { SYS_aio_write, "aio" }, | |
171 | { SYS_lio_listio, "aio" }, | 171 | { SYS_lio_listio, "aio" }, | |
172 | { SYS___lfs_segwait50, "lfs" }, | 172 | { SYS___lfs_segwait50, "lfs" }, | |
173 | { SYS___mq_timedsend50, "mqueue" }, | 173 | { SYS___mq_timedsend50, "mqueue" }, | |
174 | { SYS___mq_timedreceive50, "mqueue" }, | 174 | { SYS___mq_timedreceive50, "mqueue" }, | |
175 | { SYS_compat_60__lwp_park, "compat" }, | 175 | { SYS_compat_60__lwp_park, "compat" }, | |
176 | { SYS___aio_suspend50, "aio" }, | 176 | { SYS___aio_suspend50, "aio" }, | |
177 | { SYS_____semctl50, "sysv_ipc" }, | 177 | { SYS_____semctl50, "sysv_ipc" }, | |
178 | { SYS___shmctl50, "sysv_ipc" }, | 178 | { SYS___shmctl50, "sysv_ipc" }, | |
179 | { SYS___msgctl50, "sysv_ipc" }, | 179 | { SYS___msgctl50, "sysv_ipc" }, | |
180 | { 0, NULL } | 180 | { 0, NULL } | |
181 | }; | 181 | }; |
--- src/sys/kern/systrace_args.c 2018/01/06 16:41:23 1.29
+++ src/sys/kern/systrace_args.c 2018/03/10 05:12:17 1.29.2.1
@@ -1,1000 +1,1000 @@ | @@ -1,1000 +1,1000 @@ | |||
1 | /* $NetBSD: systrace_args.c,v 1.29 2018/01/06 16:41:23 kamil Exp $ */ | 1 | /* $NetBSD: systrace_args.c,v 1.29.2.1 2018/03/10 05:12:17 pgoyette Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call argument to DTrace register array converstion. | 4 | * System call argument to DTrace register array converstion. | |
5 | * | 5 | * | |
6 | * DO NOT EDIT-- this file is automatically generated. | 6 | * DO NOT EDIT-- this file is automatically generated. | |
7 | * This file is part of the DTrace syscall provider. | 7 | * This file is part of the DTrace syscall provider. | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | static void | 10 | static void | |
11 | systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args) | 11 | systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args) | |
12 | { | 12 | { | |
13 | intptr_t *iarg = (intptr_t *)uarg; | 13 | intptr_t *iarg = (intptr_t *)uarg; | |
14 | switch (sysnum) { | 14 | switch (sysnum) { | |
15 | /* sys_syscall */ | 15 | /* sys_syscall */ | |
16 | case 0: { | 16 | case 0: { | |
17 | const struct sys_syscall_args *p = params; | 17 | const struct sys_syscall_args *p = params; | |
18 | iarg[0] = SCARG(p, code); /* int */ | 18 | iarg[0] = SCARG(p, code); /* int */ | |
19 | iarg[1] = SCARG(p, args[SYS_MAXSYSARGS]); /* register_t */ | 19 | iarg[1] = SCARG(p, args[SYS_MAXSYSARGS]); /* register_t */ | |
20 | *n_args = 2; | 20 | *n_args = 2; | |
21 | break; | 21 | break; | |
22 | } | 22 | } | |
23 | /* sys_exit */ | 23 | /* sys_exit */ | |
24 | case 1: { | 24 | case 1: { | |
25 | const struct sys_exit_args *p = params; | 25 | const struct sys_exit_args *p = params; | |
26 | iarg[0] = SCARG(p, rval); /* int */ | 26 | iarg[0] = SCARG(p, rval); /* int */ | |
27 | *n_args = 1; | 27 | *n_args = 1; | |
28 | break; | 28 | break; | |
29 | } | 29 | } | |
30 | /* sys_fork */ | 30 | /* sys_fork */ | |
31 | case 2: { | 31 | case 2: { | |
32 | *n_args = 0; | 32 | *n_args = 0; | |
33 | break; | 33 | break; | |
34 | } | 34 | } | |
35 | /* sys_read */ | 35 | /* sys_read */ | |
36 | case 3: { | 36 | case 3: { | |
37 | const struct sys_read_args *p = params; | 37 | const struct sys_read_args *p = params; | |
38 | iarg[0] = SCARG(p, fd); /* int */ | 38 | iarg[0] = SCARG(p, fd); /* int */ | |
39 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | 39 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | |
40 | uarg[2] = SCARG(p, nbyte); /* size_t */ | 40 | uarg[2] = SCARG(p, nbyte); /* size_t */ | |
41 | *n_args = 3; | 41 | *n_args = 3; | |
42 | break; | 42 | break; | |
43 | } | 43 | } | |
44 | /* sys_write */ | 44 | /* sys_write */ | |
45 | case 4: { | 45 | case 4: { | |
46 | const struct sys_write_args *p = params; | 46 | const struct sys_write_args *p = params; | |
47 | iarg[0] = SCARG(p, fd); /* int */ | 47 | iarg[0] = SCARG(p, fd); /* int */ | |
48 | uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ | 48 | uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ | |
49 | uarg[2] = SCARG(p, nbyte); /* size_t */ | 49 | uarg[2] = SCARG(p, nbyte); /* size_t */ | |
50 | *n_args = 3; | 50 | *n_args = 3; | |
51 | break; | 51 | break; | |
52 | } | 52 | } | |
53 | /* sys_open */ | 53 | /* sys_open */ | |
54 | case 5: { | 54 | case 5: { | |
55 | const struct sys_open_args *p = params; | 55 | const struct sys_open_args *p = params; | |
56 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 56 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
57 | iarg[1] = SCARG(p, flags); /* int */ | 57 | iarg[1] = SCARG(p, flags); /* int */ | |
58 | iarg[2] = SCARG(p, mode); /* mode_t */ | 58 | iarg[2] = SCARG(p, mode); /* mode_t */ | |
59 | *n_args = 3; | 59 | *n_args = 3; | |
60 | break; | 60 | break; | |
61 | } | 61 | } | |
62 | /* sys_close */ | 62 | /* sys_close */ | |
63 | case 6: { | 63 | case 6: { | |
64 | const struct sys_close_args *p = params; | 64 | const struct sys_close_args *p = params; | |
65 | iarg[0] = SCARG(p, fd); /* int */ | 65 | iarg[0] = SCARG(p, fd); /* int */ | |
66 | *n_args = 1; | 66 | *n_args = 1; | |
67 | break; | 67 | break; | |
68 | } | 68 | } | |
69 | /* sys_wait4 */ | 69 | /* sys_wait4 */ | |
70 | case 7: { | 70 | case 7: { | |
71 | const struct compat_50_sys_wait4_args *p = params; | 71 | const struct compat_50_sys_wait4_args *p = params; | |
72 | iarg[0] = SCARG(p, pid); /* pid_t */ | 72 | iarg[0] = SCARG(p, pid); /* pid_t */ | |
73 | uarg[1] = (intptr_t) SCARG(p, status); /* int * */ | 73 | uarg[1] = (intptr_t) SCARG(p, status); /* int * */ | |
74 | iarg[2] = SCARG(p, options); /* int */ | 74 | iarg[2] = SCARG(p, options); /* int */ | |
75 | uarg[3] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ | 75 | uarg[3] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ | |
76 | *n_args = 4; | 76 | *n_args = 4; | |
77 | break; | 77 | break; | |
78 | } | 78 | } | |
79 | /* sys_creat */ | 79 | /* sys_creat */ | |
80 | case 8: { | 80 | case 8: { | |
81 | const struct compat_43_sys_creat_args *p = params; | 81 | const struct compat_43_sys_creat_args *p = params; | |
82 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 82 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
83 | iarg[1] = SCARG(p, mode); /* mode_t */ | 83 | iarg[1] = SCARG(p, mode); /* mode_t */ | |
84 | *n_args = 2; | 84 | *n_args = 2; | |
85 | break; | 85 | break; | |
86 | } | 86 | } | |
87 | /* sys_link */ | 87 | /* sys_link */ | |
88 | case 9: { | 88 | case 9: { | |
89 | const struct sys_link_args *p = params; | 89 | const struct sys_link_args *p = params; | |
90 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 90 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
91 | uarg[1] = (intptr_t) SCARG(p, link); /* const char * */ | 91 | uarg[1] = (intptr_t) SCARG(p, link); /* const char * */ | |
92 | *n_args = 2; | 92 | *n_args = 2; | |
93 | break; | 93 | break; | |
94 | } | 94 | } | |
95 | /* sys_unlink */ | 95 | /* sys_unlink */ | |
96 | case 10: { | 96 | case 10: { | |
97 | const struct sys_unlink_args *p = params; | 97 | const struct sys_unlink_args *p = params; | |
98 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 98 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
99 | *n_args = 1; | 99 | *n_args = 1; | |
100 | break; | 100 | break; | |
101 | } | 101 | } | |
102 | /* sys_chdir */ | 102 | /* sys_chdir */ | |
103 | case 12: { | 103 | case 12: { | |
104 | const struct sys_chdir_args *p = params; | 104 | const struct sys_chdir_args *p = params; | |
105 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 105 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
106 | *n_args = 1; | 106 | *n_args = 1; | |
107 | break; | 107 | break; | |
108 | } | 108 | } | |
109 | /* sys_fchdir */ | 109 | /* sys_fchdir */ | |
110 | case 13: { | 110 | case 13: { | |
111 | const struct sys_fchdir_args *p = params; | 111 | const struct sys_fchdir_args *p = params; | |
112 | iarg[0] = SCARG(p, fd); /* int */ | 112 | iarg[0] = SCARG(p, fd); /* int */ | |
113 | *n_args = 1; | 113 | *n_args = 1; | |
114 | break; | 114 | break; | |
115 | } | 115 | } | |
116 | /* sys_mknod */ | 116 | /* sys_mknod */ | |
117 | case 14: { | 117 | case 14: { | |
118 | const struct compat_50_sys_mknod_args *p = params; | 118 | const struct compat_50_sys_mknod_args *p = params; | |
119 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 119 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
120 | iarg[1] = SCARG(p, mode); /* mode_t */ | 120 | iarg[1] = SCARG(p, mode); /* mode_t */ | |
121 | uarg[2] = SCARG(p, dev); /* uint32_t */ | 121 | uarg[2] = SCARG(p, dev); /* uint32_t */ | |
122 | *n_args = 3; | 122 | *n_args = 3; | |
123 | break; | 123 | break; | |
124 | } | 124 | } | |
125 | /* sys_chmod */ | 125 | /* sys_chmod */ | |
126 | case 15: { | 126 | case 15: { | |
127 | const struct sys_chmod_args *p = params; | 127 | const struct sys_chmod_args *p = params; | |
128 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 128 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
129 | iarg[1] = SCARG(p, mode); /* mode_t */ | 129 | iarg[1] = SCARG(p, mode); /* mode_t */ | |
130 | *n_args = 2; | 130 | *n_args = 2; | |
131 | break; | 131 | break; | |
132 | } | 132 | } | |
133 | /* sys_chown */ | 133 | /* sys_chown */ | |
134 | case 16: { | 134 | case 16: { | |
135 | const struct sys_chown_args *p = params; | 135 | const struct sys_chown_args *p = params; | |
136 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 136 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
137 | uarg[1] = SCARG(p, uid); /* uid_t */ | 137 | uarg[1] = SCARG(p, uid); /* uid_t */ | |
138 | iarg[2] = SCARG(p, gid); /* gid_t */ | 138 | iarg[2] = SCARG(p, gid); /* gid_t */ | |
139 | *n_args = 3; | 139 | *n_args = 3; | |
140 | break; | 140 | break; | |
141 | } | 141 | } | |
142 | /* sys_obreak */ | 142 | /* sys_obreak */ | |
143 | case 17: { | 143 | case 17: { | |
144 | const struct sys_obreak_args *p = params; | 144 | const struct sys_obreak_args *p = params; | |
145 | uarg[0] = (intptr_t) SCARG(p, nsize); /* char * */ | 145 | uarg[0] = (intptr_t) SCARG(p, nsize); /* char * */ | |
146 | *n_args = 1; | 146 | *n_args = 1; | |
147 | break; | 147 | break; | |
148 | } | 148 | } | |
149 | /* sys_getfsstat */ | 149 | /* sys_getfsstat */ | |
150 | case 18: { | 150 | case 18: { | |
151 | const struct compat_20_sys_getfsstat_args *p = params; | 151 | const struct compat_20_sys_getfsstat_args *p = params; | |
152 | uarg[0] = (intptr_t) SCARG(p, buf); /* struct statfs12 * */ | 152 | uarg[0] = (intptr_t) SCARG(p, buf); /* struct statfs12 * */ | |
153 | iarg[1] = SCARG(p, bufsize); /* long */ | 153 | iarg[1] = SCARG(p, bufsize); /* long */ | |
154 | iarg[2] = SCARG(p, flags); /* int */ | 154 | iarg[2] = SCARG(p, flags); /* int */ | |
155 | *n_args = 3; | 155 | *n_args = 3; | |
156 | break; | 156 | break; | |
157 | } | 157 | } | |
158 | /* sys_lseek */ | 158 | /* sys_lseek */ | |
159 | case 19: { | 159 | case 19: { | |
160 | const struct compat_43_sys_lseek_args *p = params; | 160 | const struct compat_43_sys_lseek_args *p = params; | |
161 | iarg[0] = SCARG(p, fd); /* int */ | 161 | iarg[0] = SCARG(p, fd); /* int */ | |
162 | iarg[1] = SCARG(p, offset); /* long */ | 162 | iarg[1] = SCARG(p, offset); /* long */ | |
163 | iarg[2] = SCARG(p, whence); /* int */ | 163 | iarg[2] = SCARG(p, whence); /* int */ | |
164 | *n_args = 3; | 164 | *n_args = 3; | |
165 | break; | 165 | break; | |
166 | } | 166 | } | |
167 | /* sys_getpid_with_ppid */ | 167 | /* sys_getpid_with_ppid */ | |
168 | case 20: { | 168 | case 20: { | |
169 | *n_args = 0; | 169 | *n_args = 0; | |
170 | break; | 170 | break; | |
171 | } | 171 | } | |
172 | /* sys_mount */ | 172 | /* sys_mount */ | |
173 | case 21: { | 173 | case 21: { | |
174 | const struct compat_40_sys_mount_args *p = params; | 174 | const struct compat_40_sys_mount_args *p = params; | |
175 | uarg[0] = (intptr_t) SCARG(p, type); /* const char * */ | 175 | uarg[0] = (intptr_t) SCARG(p, type); /* const char * */ | |
176 | uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ | 176 | uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ | |
177 | iarg[2] = SCARG(p, flags); /* int */ | 177 | iarg[2] = SCARG(p, flags); /* int */ | |
178 | uarg[3] = (intptr_t) SCARG(p, data); /* void * */ | 178 | uarg[3] = (intptr_t) SCARG(p, data); /* void * */ | |
179 | *n_args = 4; | 179 | *n_args = 4; | |
180 | break; | 180 | break; | |
181 | } | 181 | } | |
182 | /* sys_unmount */ | 182 | /* sys_unmount */ | |
183 | case 22: { | 183 | case 22: { | |
184 | const struct sys_unmount_args *p = params; | 184 | const struct sys_unmount_args *p = params; | |
185 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 185 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
186 | iarg[1] = SCARG(p, flags); /* int */ | 186 | iarg[1] = SCARG(p, flags); /* int */ | |
187 | *n_args = 2; | 187 | *n_args = 2; | |
188 | break; | 188 | break; | |
189 | } | 189 | } | |
190 | /* sys_setuid */ | 190 | /* sys_setuid */ | |
191 | case 23: { | 191 | case 23: { | |
192 | const struct sys_setuid_args *p = params; | 192 | const struct sys_setuid_args *p = params; | |
193 | uarg[0] = SCARG(p, uid); /* uid_t */ | 193 | uarg[0] = SCARG(p, uid); /* uid_t */ | |
194 | *n_args = 1; | 194 | *n_args = 1; | |
195 | break; | 195 | break; | |
196 | } | 196 | } | |
197 | /* sys_getuid_with_euid */ | 197 | /* sys_getuid_with_euid */ | |
198 | case 24: { | 198 | case 24: { | |
199 | *n_args = 0; | 199 | *n_args = 0; | |
200 | break; | 200 | break; | |
201 | } | 201 | } | |
202 | /* sys_geteuid */ | 202 | /* sys_geteuid */ | |
203 | case 25: { | 203 | case 25: { | |
204 | *n_args = 0; | 204 | *n_args = 0; | |
205 | break; | 205 | break; | |
206 | } | 206 | } | |
207 | /* sys_ptrace */ | 207 | /* sys_ptrace */ | |
208 | case 26: { | 208 | case 26: { | |
209 | const struct sys_ptrace_args *p = params; | 209 | const struct sys_ptrace_args *p = params; | |
210 | iarg[0] = SCARG(p, req); /* int */ | 210 | iarg[0] = SCARG(p, req); /* int */ | |
211 | iarg[1] = SCARG(p, pid); /* pid_t */ | 211 | iarg[1] = SCARG(p, pid); /* pid_t */ | |
212 | uarg[2] = (intptr_t) SCARG(p, addr); /* void * */ | 212 | uarg[2] = (intptr_t) SCARG(p, addr); /* void * */ | |
213 | iarg[3] = SCARG(p, data); /* int */ | 213 | iarg[3] = SCARG(p, data); /* int */ | |
214 | *n_args = 4; | 214 | *n_args = 4; | |
215 | break; | 215 | break; | |
216 | } | 216 | } | |
217 | /* sys_recvmsg */ | 217 | /* sys_recvmsg */ | |
218 | case 27: { | 218 | case 27: { | |
219 | const struct sys_recvmsg_args *p = params; | 219 | const struct sys_recvmsg_args *p = params; | |
220 | iarg[0] = SCARG(p, s); /* int */ | 220 | iarg[0] = SCARG(p, s); /* int */ | |
221 | uarg[1] = (intptr_t) SCARG(p, msg); /* struct msghdr * */ | 221 | uarg[1] = (intptr_t) SCARG(p, msg); /* struct msghdr * */ | |
222 | iarg[2] = SCARG(p, flags); /* int */ | 222 | iarg[2] = SCARG(p, flags); /* int */ | |
223 | *n_args = 3; | 223 | *n_args = 3; | |
224 | break; | 224 | break; | |
225 | } | 225 | } | |
226 | /* sys_sendmsg */ | 226 | /* sys_sendmsg */ | |
227 | case 28: { | 227 | case 28: { | |
228 | const struct sys_sendmsg_args *p = params; | 228 | const struct sys_sendmsg_args *p = params; | |
229 | iarg[0] = SCARG(p, s); /* int */ | 229 | iarg[0] = SCARG(p, s); /* int */ | |
230 | uarg[1] = (intptr_t) SCARG(p, msg); /* const struct msghdr * */ | 230 | uarg[1] = (intptr_t) SCARG(p, msg); /* const struct msghdr * */ | |
231 | iarg[2] = SCARG(p, flags); /* int */ | 231 | iarg[2] = SCARG(p, flags); /* int */ | |
232 | *n_args = 3; | 232 | *n_args = 3; | |
233 | break; | 233 | break; | |
234 | } | 234 | } | |
235 | /* sys_recvfrom */ | 235 | /* sys_recvfrom */ | |
236 | case 29: { | 236 | case 29: { | |
237 | const struct sys_recvfrom_args *p = params; | 237 | const struct sys_recvfrom_args *p = params; | |
238 | iarg[0] = SCARG(p, s); /* int */ | 238 | iarg[0] = SCARG(p, s); /* int */ | |
239 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | 239 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | |
240 | uarg[2] = SCARG(p, len); /* size_t */ | 240 | uarg[2] = SCARG(p, len); /* size_t */ | |
241 | iarg[3] = SCARG(p, flags); /* int */ | 241 | iarg[3] = SCARG(p, flags); /* int */ | |
242 | uarg[4] = (intptr_t) SCARG(p, from); /* struct sockaddr * */ | 242 | uarg[4] = (intptr_t) SCARG(p, from); /* struct sockaddr * */ | |
243 | uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* socklen_t * */ | 243 | uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* socklen_t * */ | |
244 | *n_args = 6; | 244 | *n_args = 6; | |
245 | break; | 245 | break; | |
246 | } | 246 | } | |
247 | /* sys_accept */ | 247 | /* sys_accept */ | |
248 | case 30: { | 248 | case 30: { | |
249 | const struct sys_accept_args *p = params; | 249 | const struct sys_accept_args *p = params; | |
250 | iarg[0] = SCARG(p, s); /* int */ | 250 | iarg[0] = SCARG(p, s); /* int */ | |
251 | uarg[1] = (intptr_t) SCARG(p, name); /* struct sockaddr * */ | 251 | uarg[1] = (intptr_t) SCARG(p, name); /* struct sockaddr * */ | |
252 | uarg[2] = (intptr_t) SCARG(p, anamelen); /* socklen_t * */ | 252 | uarg[2] = (intptr_t) SCARG(p, anamelen); /* socklen_t * */ | |
253 | *n_args = 3; | 253 | *n_args = 3; | |
254 | break; | 254 | break; | |
255 | } | 255 | } | |
256 | /* sys_getpeername */ | 256 | /* sys_getpeername */ | |
257 | case 31: { | 257 | case 31: { | |
258 | const struct sys_getpeername_args *p = params; | 258 | const struct sys_getpeername_args *p = params; | |
259 | iarg[0] = SCARG(p, fdes); /* int */ | 259 | iarg[0] = SCARG(p, fdes); /* int */ | |
260 | uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */ | 260 | uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */ | |
261 | uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */ | 261 | uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */ | |
262 | *n_args = 3; | 262 | *n_args = 3; | |
263 | break; | 263 | break; | |
264 | } | 264 | } | |
265 | /* sys_getsockname */ | 265 | /* sys_getsockname */ | |
266 | case 32: { | 266 | case 32: { | |
267 | const struct sys_getsockname_args *p = params; | 267 | const struct sys_getsockname_args *p = params; | |
268 | iarg[0] = SCARG(p, fdes); /* int */ | 268 | iarg[0] = SCARG(p, fdes); /* int */ | |
269 | uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */ | 269 | uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */ | |
270 | uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */ | 270 | uarg[2] = (intptr_t) SCARG(p, alen); /* socklen_t * */ | |
271 | *n_args = 3; | 271 | *n_args = 3; | |
272 | break; | 272 | break; | |
273 | } | 273 | } | |
274 | /* sys_access */ | 274 | /* sys_access */ | |
275 | case 33: { | 275 | case 33: { | |
276 | const struct sys_access_args *p = params; | 276 | const struct sys_access_args *p = params; | |
277 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 277 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
278 | iarg[1] = SCARG(p, flags); /* int */ | 278 | iarg[1] = SCARG(p, flags); /* int */ | |
279 | *n_args = 2; | 279 | *n_args = 2; | |
280 | break; | 280 | break; | |
281 | } | 281 | } | |
282 | /* sys_chflags */ | 282 | /* sys_chflags */ | |
283 | case 34: { | 283 | case 34: { | |
284 | const struct sys_chflags_args *p = params; | 284 | const struct sys_chflags_args *p = params; | |
285 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 285 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
286 | uarg[1] = SCARG(p, flags); /* u_long */ | 286 | uarg[1] = SCARG(p, flags); /* u_long */ | |
287 | *n_args = 2; | 287 | *n_args = 2; | |
288 | break; | 288 | break; | |
289 | } | 289 | } | |
290 | /* sys_fchflags */ | 290 | /* sys_fchflags */ | |
291 | case 35: { | 291 | case 35: { | |
292 | const struct sys_fchflags_args *p = params; | 292 | const struct sys_fchflags_args *p = params; | |
293 | iarg[0] = SCARG(p, fd); /* int */ | 293 | iarg[0] = SCARG(p, fd); /* int */ | |
294 | uarg[1] = SCARG(p, flags); /* u_long */ | 294 | uarg[1] = SCARG(p, flags); /* u_long */ | |
295 | *n_args = 2; | 295 | *n_args = 2; | |
296 | break; | 296 | break; | |
297 | } | 297 | } | |
298 | /* sys_sync */ | 298 | /* sys_sync */ | |
299 | case 36: { | 299 | case 36: { | |
300 | *n_args = 0; | 300 | *n_args = 0; | |
301 | break; | 301 | break; | |
302 | } | 302 | } | |
303 | /* sys_kill */ | 303 | /* sys_kill */ | |
304 | case 37: { | 304 | case 37: { | |
305 | const struct sys_kill_args *p = params; | 305 | const struct sys_kill_args *p = params; | |
306 | iarg[0] = SCARG(p, pid); /* pid_t */ | 306 | iarg[0] = SCARG(p, pid); /* pid_t */ | |
307 | iarg[1] = SCARG(p, signum); /* int */ | 307 | iarg[1] = SCARG(p, signum); /* int */ | |
308 | *n_args = 2; | 308 | *n_args = 2; | |
309 | break; | 309 | break; | |
310 | } | 310 | } | |
311 | /* sys_stat */ | 311 | /* sys_stat */ | |
312 | case 38: { | 312 | case 38: { | |
313 | const struct compat_43_sys_stat_args *p = params; | 313 | const struct compat_43_sys_stat_args *p = params; | |
314 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 314 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
315 | uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat43 * */ | 315 | uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat43 * */ | |
316 | *n_args = 2; | 316 | *n_args = 2; | |
317 | break; | 317 | break; | |
318 | } | 318 | } | |
319 | /* sys_getppid */ | 319 | /* sys_getppid */ | |
320 | case 39: { | 320 | case 39: { | |
321 | *n_args = 0; | 321 | *n_args = 0; | |
322 | break; | 322 | break; | |
323 | } | 323 | } | |
324 | /* sys_lstat */ | 324 | /* sys_lstat */ | |
325 | case 40: { | 325 | case 40: { | |
326 | const struct compat_43_sys_lstat_args *p = params; | 326 | const struct compat_43_sys_lstat_args *p = params; | |
327 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 327 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
328 | uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat43 * */ | 328 | uarg[1] = (intptr_t) SCARG(p, ub); /* struct stat43 * */ | |
329 | *n_args = 2; | 329 | *n_args = 2; | |
330 | break; | 330 | break; | |
331 | } | 331 | } | |
332 | /* sys_dup */ | 332 | /* sys_dup */ | |
333 | case 41: { | 333 | case 41: { | |
334 | const struct sys_dup_args *p = params; | 334 | const struct sys_dup_args *p = params; | |
335 | iarg[0] = SCARG(p, fd); /* int */ | 335 | iarg[0] = SCARG(p, fd); /* int */ | |
336 | *n_args = 1; | 336 | *n_args = 1; | |
337 | break; | 337 | break; | |
338 | } | 338 | } | |
339 | /* sys_pipe */ | 339 | /* sys_pipe */ | |
340 | case 42: { | 340 | case 42: { | |
341 | *n_args = 0; | 341 | *n_args = 0; | |
342 | break; | 342 | break; | |
343 | } | 343 | } | |
344 | /* sys_getegid */ | 344 | /* sys_getegid */ | |
345 | case 43: { | 345 | case 43: { | |
346 | *n_args = 0; | 346 | *n_args = 0; | |
347 | break; | 347 | break; | |
348 | } | 348 | } | |
349 | /* sys_profil */ | 349 | /* sys_profil */ | |
350 | case 44: { | 350 | case 44: { | |
351 | const struct sys_profil_args *p = params; | 351 | const struct sys_profil_args *p = params; | |
352 | uarg[0] = (intptr_t) SCARG(p, samples); /* char * */ | 352 | uarg[0] = (intptr_t) SCARG(p, samples); /* char * */ | |
353 | uarg[1] = SCARG(p, size); /* size_t */ | 353 | uarg[1] = SCARG(p, size); /* size_t */ | |
354 | uarg[2] = SCARG(p, offset); /* u_long */ | 354 | uarg[2] = SCARG(p, offset); /* u_long */ | |
355 | uarg[3] = SCARG(p, scale); /* u_int */ | 355 | uarg[3] = SCARG(p, scale); /* u_int */ | |
356 | *n_args = 4; | 356 | *n_args = 4; | |
357 | break; | 357 | break; | |
358 | } | 358 | } | |
359 | /* sys_ktrace */ | 359 | /* sys_ktrace */ | |
360 | case 45: { | 360 | case 45: { | |
361 | const struct sys_ktrace_args *p = params; | 361 | const struct sys_ktrace_args *p = params; | |
362 | uarg[0] = (intptr_t) SCARG(p, fname); /* const char * */ | 362 | uarg[0] = (intptr_t) SCARG(p, fname); /* const char * */ | |
363 | iarg[1] = SCARG(p, ops); /* int */ | 363 | iarg[1] = SCARG(p, ops); /* int */ | |
364 | iarg[2] = SCARG(p, facs); /* int */ | 364 | iarg[2] = SCARG(p, facs); /* int */ | |
365 | iarg[3] = SCARG(p, pid); /* pid_t */ | 365 | iarg[3] = SCARG(p, pid); /* pid_t */ | |
366 | *n_args = 4; | 366 | *n_args = 4; | |
367 | break; | 367 | break; | |
368 | } | 368 | } | |
369 | /* sys_sigaction */ | 369 | /* sys_sigaction */ | |
370 | case 46: { | 370 | case 46: { | |
371 | const struct compat_13_sys_sigaction_args *p = params; | 371 | const struct compat_13_sys_sigaction_args *p = params; | |
372 | iarg[0] = SCARG(p, signum); /* int */ | 372 | iarg[0] = SCARG(p, signum); /* int */ | |
373 | uarg[1] = (intptr_t) SCARG(p, nsa); /* const struct sigaction13 * */ | 373 | uarg[1] = (intptr_t) SCARG(p, nsa); /* const struct sigaction13 * */ | |
374 | uarg[2] = (intptr_t) SCARG(p, osa); /* struct sigaction13 * */ | 374 | uarg[2] = (intptr_t) SCARG(p, osa); /* struct sigaction13 * */ | |
375 | *n_args = 3; | 375 | *n_args = 3; | |
376 | break; | 376 | break; | |
377 | } | 377 | } | |
378 | /* sys_getgid_with_egid */ | 378 | /* sys_getgid_with_egid */ | |
379 | case 47: { | 379 | case 47: { | |
380 | *n_args = 0; | 380 | *n_args = 0; | |
381 | break; | 381 | break; | |
382 | } | 382 | } | |
383 | /* sys_sigprocmask */ | 383 | /* sys_sigprocmask */ | |
384 | case 48: { | 384 | case 48: { | |
385 | const struct compat_13_sys_sigprocmask_args *p = params; | 385 | const struct compat_13_sys_sigprocmask_args *p = params; | |
386 | iarg[0] = SCARG(p, how); /* int */ | 386 | iarg[0] = SCARG(p, how); /* int */ | |
387 | iarg[1] = SCARG(p, mask); /* int */ | 387 | iarg[1] = SCARG(p, mask); /* int */ | |
388 | *n_args = 2; | 388 | *n_args = 2; | |
389 | break; | 389 | break; | |
390 | } | 390 | } | |
391 | /* sys___getlogin */ | 391 | /* sys___getlogin */ | |
392 | case 49: { | 392 | case 49: { | |
393 | const struct sys___getlogin_args *p = params; | 393 | const struct sys___getlogin_args *p = params; | |
394 | uarg[0] = (intptr_t) SCARG(p, namebuf); /* char * */ | 394 | uarg[0] = (intptr_t) SCARG(p, namebuf); /* char * */ | |
395 | uarg[1] = SCARG(p, namelen); /* size_t */ | 395 | uarg[1] = SCARG(p, namelen); /* size_t */ | |
396 | *n_args = 2; | 396 | *n_args = 2; | |
397 | break; | 397 | break; | |
398 | } | 398 | } | |
399 | /* sys___setlogin */ | 399 | /* sys___setlogin */ | |
400 | case 50: { | 400 | case 50: { | |
401 | const struct sys___setlogin_args *p = params; | 401 | const struct sys___setlogin_args *p = params; | |
402 | uarg[0] = (intptr_t) SCARG(p, namebuf); /* const char * */ | 402 | uarg[0] = (intptr_t) SCARG(p, namebuf); /* const char * */ | |
403 | *n_args = 1; | 403 | *n_args = 1; | |
404 | break; | 404 | break; | |
405 | } | 405 | } | |
406 | /* sys_acct */ | 406 | /* sys_acct */ | |
407 | case 51: { | 407 | case 51: { | |
408 | const struct sys_acct_args *p = params; | 408 | const struct sys_acct_args *p = params; | |
409 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 409 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
410 | *n_args = 1; | 410 | *n_args = 1; | |
411 | break; | 411 | break; | |
412 | } | 412 | } | |
413 | /* sys_sigpending */ | 413 | /* sys_sigpending */ | |
414 | case 52: { | 414 | case 52: { | |
415 | *n_args = 0; | 415 | *n_args = 0; | |
416 | break; | 416 | break; | |
417 | } | 417 | } | |
418 | /* sys_sigaltstack */ | 418 | /* sys_sigaltstack */ | |
419 | case 53: { | 419 | case 53: { | |
420 | const struct compat_13_sys_sigaltstack_args *p = params; | 420 | const struct compat_13_sys_sigaltstack_args *p = params; | |
421 | uarg[0] = (intptr_t) SCARG(p, nss); /* const struct sigaltstack13 * */ | 421 | uarg[0] = (intptr_t) SCARG(p, nss); /* const struct sigaltstack13 * */ | |
422 | uarg[1] = (intptr_t) SCARG(p, oss); /* struct sigaltstack13 * */ | 422 | uarg[1] = (intptr_t) SCARG(p, oss); /* struct sigaltstack13 * */ | |
423 | *n_args = 2; | 423 | *n_args = 2; | |
424 | break; | 424 | break; | |
425 | } | 425 | } | |
426 | /* sys_ioctl */ | 426 | /* sys_ioctl */ | |
427 | case 54: { | 427 | case 54: { | |
428 | const struct sys_ioctl_args *p = params; | 428 | const struct sys_ioctl_args *p = params; | |
429 | iarg[0] = SCARG(p, fd); /* int */ | 429 | iarg[0] = SCARG(p, fd); /* int */ | |
430 | uarg[1] = SCARG(p, com); /* u_long */ | 430 | uarg[1] = SCARG(p, com); /* u_long */ | |
431 | uarg[2] = (intptr_t) SCARG(p, data); /* void * */ | 431 | uarg[2] = (intptr_t) SCARG(p, data); /* void * */ | |
432 | *n_args = 3; | 432 | *n_args = 3; | |
433 | break; | 433 | break; | |
434 | } | 434 | } | |
435 | /* sys_reboot */ | 435 | /* sys_reboot */ | |
436 | case 55: { | 436 | case 55: { | |
437 | const struct compat_12_sys_reboot_args *p = params; | 437 | const struct compat_12_sys_reboot_args *p = params; | |
438 | iarg[0] = SCARG(p, opt); /* int */ | 438 | iarg[0] = SCARG(p, opt); /* int */ | |
439 | *n_args = 1; | 439 | *n_args = 1; | |
440 | break; | 440 | break; | |
441 | } | 441 | } | |
442 | /* sys_revoke */ | 442 | /* sys_revoke */ | |
443 | case 56: { | 443 | case 56: { | |
444 | const struct sys_revoke_args *p = params; | 444 | const struct sys_revoke_args *p = params; | |
445 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 445 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
446 | *n_args = 1; | 446 | *n_args = 1; | |
447 | break; | 447 | break; | |
448 | } | 448 | } | |
449 | /* sys_symlink */ | 449 | /* sys_symlink */ | |
450 | case 57: { | 450 | case 57: { | |
451 | const struct sys_symlink_args *p = params; | 451 | const struct sys_symlink_args *p = params; | |
452 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 452 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
453 | uarg[1] = (intptr_t) SCARG(p, link); /* const char * */ | 453 | uarg[1] = (intptr_t) SCARG(p, link); /* const char * */ | |
454 | *n_args = 2; | 454 | *n_args = 2; | |
455 | break; | 455 | break; | |
456 | } | 456 | } | |
457 | /* sys_readlink */ | 457 | /* sys_readlink */ | |
458 | case 58: { | 458 | case 58: { | |
459 | const struct sys_readlink_args *p = params; | 459 | const struct sys_readlink_args *p = params; | |
460 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 460 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
461 | uarg[1] = (intptr_t) SCARG(p, buf); /* char * */ | 461 | uarg[1] = (intptr_t) SCARG(p, buf); /* char * */ | |
462 | uarg[2] = SCARG(p, count); /* size_t */ | 462 | uarg[2] = SCARG(p, count); /* size_t */ | |
463 | *n_args = 3; | 463 | *n_args = 3; | |
464 | break; | 464 | break; | |
465 | } | 465 | } | |
466 | /* sys_execve */ | 466 | /* sys_execve */ | |
467 | case 59: { | 467 | case 59: { | |
468 | const struct sys_execve_args *p = params; | 468 | const struct sys_execve_args *p = params; | |
469 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 469 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
470 | uarg[1] = (intptr_t) SCARG(p, argp); /* char *const * */ | 470 | uarg[1] = (intptr_t) SCARG(p, argp); /* char *const * */ | |
471 | uarg[2] = (intptr_t) SCARG(p, envp); /* char *const * */ | 471 | uarg[2] = (intptr_t) SCARG(p, envp); /* char *const * */ | |
472 | *n_args = 3; | 472 | *n_args = 3; | |
473 | break; | 473 | break; | |
474 | } | 474 | } | |
475 | /* sys_umask */ | 475 | /* sys_umask */ | |
476 | case 60: { | 476 | case 60: { | |
477 | const struct sys_umask_args *p = params; | 477 | const struct sys_umask_args *p = params; | |
478 | iarg[0] = SCARG(p, newmask); /* mode_t */ | 478 | iarg[0] = SCARG(p, newmask); /* mode_t */ | |
479 | *n_args = 1; | 479 | *n_args = 1; | |
480 | break; | 480 | break; | |
481 | } | 481 | } | |
482 | /* sys_chroot */ | 482 | /* sys_chroot */ | |
483 | case 61: { | 483 | case 61: { | |
484 | const struct sys_chroot_args *p = params; | 484 | const struct sys_chroot_args *p = params; | |
485 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 485 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
486 | *n_args = 1; | 486 | *n_args = 1; | |
487 | break; | 487 | break; | |
488 | } | 488 | } | |
489 | /* sys_fstat */ | 489 | /* sys_fstat */ | |
490 | case 62: { | 490 | case 62: { | |
491 | const struct compat_43_sys_fstat_args *p = params; | 491 | const struct compat_43_sys_fstat_args *p = params; | |
492 | iarg[0] = SCARG(p, fd); /* int */ | 492 | iarg[0] = SCARG(p, fd); /* int */ | |
493 | uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat43 * */ | 493 | uarg[1] = (intptr_t) SCARG(p, sb); /* struct stat43 * */ | |
494 | *n_args = 2; | 494 | *n_args = 2; | |
495 | break; | 495 | break; | |
496 | } | 496 | } | |
497 | /* sys_getkerninfo */ | 497 | /* sys_getkerninfo */ | |
498 | case 63: { | 498 | case 63: { | |
499 | const struct compat_43_sys_getkerninfo_args *p = params; | 499 | const struct compat_43_sys_getkerninfo_args *p = params; | |
500 | iarg[0] = SCARG(p, op); /* int */ | 500 | iarg[0] = SCARG(p, op); /* int */ | |
501 | uarg[1] = (intptr_t) SCARG(p, where); /* char * */ | 501 | uarg[1] = (intptr_t) SCARG(p, where); /* char * */ | |
502 | uarg[2] = (intptr_t) SCARG(p, size); /* int * */ | 502 | uarg[2] = (intptr_t) SCARG(p, size); /* int * */ | |
503 | iarg[3] = SCARG(p, arg); /* int */ | 503 | iarg[3] = SCARG(p, arg); /* int */ | |
504 | *n_args = 4; | 504 | *n_args = 4; | |
505 | break; | 505 | break; | |
506 | } | 506 | } | |
507 | /* sys_getpagesize */ | 507 | /* sys_getpagesize */ | |
508 | case 64: { | 508 | case 64: { | |
509 | *n_args = 0; | 509 | *n_args = 0; | |
510 | break; | 510 | break; | |
511 | } | 511 | } | |
512 | /* sys_msync */ | 512 | /* sys_msync */ | |
513 | case 65: { | 513 | case 65: { | |
514 | const struct compat_12_sys_msync_args *p = params; | 514 | const struct compat_12_sys_msync_args *p = params; | |
515 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | 515 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | |
516 | uarg[1] = SCARG(p, len); /* size_t */ | 516 | uarg[1] = SCARG(p, len); /* size_t */ | |
517 | *n_args = 2; | 517 | *n_args = 2; | |
518 | break; | 518 | break; | |
519 | } | 519 | } | |
520 | /* sys_vfork */ | 520 | /* sys_vfork */ | |
521 | case 66: { | 521 | case 66: { | |
522 | *n_args = 0; | 522 | *n_args = 0; | |
523 | break; | 523 | break; | |
524 | } | 524 | } | |
525 | /* sys_mmap */ | 525 | /* sys_mmap */ | |
526 | case 71: { | 526 | case 71: { | |
527 | const struct compat_43_sys_mmap_args *p = params; | 527 | const struct compat_43_sys_mmap_args *p = params; | |
528 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | 528 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | |
529 | uarg[1] = SCARG(p, len); /* size_t */ | 529 | uarg[1] = SCARG(p, len); /* size_t */ | |
530 | iarg[2] = SCARG(p, prot); /* int */ | 530 | iarg[2] = SCARG(p, prot); /* int */ | |
531 | iarg[3] = SCARG(p, flags); /* int */ | 531 | iarg[3] = SCARG(p, flags); /* int */ | |
532 | iarg[4] = SCARG(p, fd); /* int */ | 532 | iarg[4] = SCARG(p, fd); /* int */ | |
533 | iarg[5] = SCARG(p, pos); /* long */ | 533 | iarg[5] = SCARG(p, pos); /* long */ | |
534 | *n_args = 6; | 534 | *n_args = 6; | |
535 | break; | 535 | break; | |
536 | } | 536 | } | |
537 | /* sys_ovadvise */ | 537 | /* sys_ovadvise */ | |
538 | case 72: { | 538 | case 72: { | |
539 | const struct sys_ovadvise_args *p = params; | 539 | const struct sys_ovadvise_args *p = params; | |
540 | iarg[0] = SCARG(p, anom); /* int */ | 540 | iarg[0] = SCARG(p, anom); /* int */ | |
541 | *n_args = 1; | 541 | *n_args = 1; | |
542 | break; | 542 | break; | |
543 | } | 543 | } | |
544 | /* sys_munmap */ | 544 | /* sys_munmap */ | |
545 | case 73: { | 545 | case 73: { | |
546 | const struct sys_munmap_args *p = params; | 546 | const struct sys_munmap_args *p = params; | |
547 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | 547 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | |
548 | uarg[1] = SCARG(p, len); /* size_t */ | 548 | uarg[1] = SCARG(p, len); /* size_t */ | |
549 | *n_args = 2; | 549 | *n_args = 2; | |
550 | break; | 550 | break; | |
551 | } | 551 | } | |
552 | /* sys_mprotect */ | 552 | /* sys_mprotect */ | |
553 | case 74: { | 553 | case 74: { | |
554 | const struct sys_mprotect_args *p = params; | 554 | const struct sys_mprotect_args *p = params; | |
555 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | 555 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | |
556 | uarg[1] = SCARG(p, len); /* size_t */ | 556 | uarg[1] = SCARG(p, len); /* size_t */ | |
557 | iarg[2] = SCARG(p, prot); /* int */ | 557 | iarg[2] = SCARG(p, prot); /* int */ | |
558 | *n_args = 3; | 558 | *n_args = 3; | |
559 | break; | 559 | break; | |
560 | } | 560 | } | |
561 | /* sys_madvise */ | 561 | /* sys_madvise */ | |
562 | case 75: { | 562 | case 75: { | |
563 | const struct sys_madvise_args *p = params; | 563 | const struct sys_madvise_args *p = params; | |
564 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | 564 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | |
565 | uarg[1] = SCARG(p, len); /* size_t */ | 565 | uarg[1] = SCARG(p, len); /* size_t */ | |
566 | iarg[2] = SCARG(p, behav); /* int */ | 566 | iarg[2] = SCARG(p, behav); /* int */ | |
567 | *n_args = 3; | 567 | *n_args = 3; | |
568 | break; | 568 | break; | |
569 | } | 569 | } | |
570 | /* sys_mincore */ | 570 | /* sys_mincore */ | |
571 | case 78: { | 571 | case 78: { | |
572 | const struct sys_mincore_args *p = params; | 572 | const struct sys_mincore_args *p = params; | |
573 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | 573 | uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ | |
574 | uarg[1] = SCARG(p, len); /* size_t */ | 574 | uarg[1] = SCARG(p, len); /* size_t */ | |
575 | uarg[2] = (intptr_t) SCARG(p, vec); /* char * */ | 575 | uarg[2] = (intptr_t) SCARG(p, vec); /* char * */ | |
576 | *n_args = 3; | 576 | *n_args = 3; | |
577 | break; | 577 | break; | |
578 | } | 578 | } | |
579 | /* sys_getgroups */ | 579 | /* sys_getgroups */ | |
580 | case 79: { | 580 | case 79: { | |
581 | const struct sys_getgroups_args *p = params; | 581 | const struct sys_getgroups_args *p = params; | |
582 | iarg[0] = SCARG(p, gidsetsize); /* int */ | 582 | iarg[0] = SCARG(p, gidsetsize); /* int */ | |
583 | uarg[1] = (intptr_t) SCARG(p, gidset); /* gid_t * */ | 583 | uarg[1] = (intptr_t) SCARG(p, gidset); /* gid_t * */ | |
584 | *n_args = 2; | 584 | *n_args = 2; | |
585 | break; | 585 | break; | |
586 | } | 586 | } | |
587 | /* sys_setgroups */ | 587 | /* sys_setgroups */ | |
588 | case 80: { | 588 | case 80: { | |
589 | const struct sys_setgroups_args *p = params; | 589 | const struct sys_setgroups_args *p = params; | |
590 | iarg[0] = SCARG(p, gidsetsize); /* int */ | 590 | iarg[0] = SCARG(p, gidsetsize); /* int */ | |
591 | uarg[1] = (intptr_t) SCARG(p, gidset); /* const gid_t * */ | 591 | uarg[1] = (intptr_t) SCARG(p, gidset); /* const gid_t * */ | |
592 | *n_args = 2; | 592 | *n_args = 2; | |
593 | break; | 593 | break; | |
594 | } | 594 | } | |
595 | /* sys_getpgrp */ | 595 | /* sys_getpgrp */ | |
596 | case 81: { | 596 | case 81: { | |
597 | *n_args = 0; | 597 | *n_args = 0; | |
598 | break; | 598 | break; | |
599 | } | 599 | } | |
600 | /* sys_setpgid */ | 600 | /* sys_setpgid */ | |
601 | case 82: { | 601 | case 82: { | |
602 | const struct sys_setpgid_args *p = params; | 602 | const struct sys_setpgid_args *p = params; | |
603 | iarg[0] = SCARG(p, pid); /* pid_t */ | 603 | iarg[0] = SCARG(p, pid); /* pid_t */ | |
604 | iarg[1] = SCARG(p, pgid); /* pid_t */ | 604 | iarg[1] = SCARG(p, pgid); /* pid_t */ | |
605 | *n_args = 2; | 605 | *n_args = 2; | |
606 | break; | 606 | break; | |
607 | } | 607 | } | |
608 | /* sys_setitimer */ | 608 | /* sys_setitimer */ | |
609 | case 83: { | 609 | case 83: { | |
610 | const struct compat_50_sys_setitimer_args *p = params; | 610 | const struct compat_50_sys_setitimer_args *p = params; | |
611 | iarg[0] = SCARG(p, which); /* int */ | 611 | iarg[0] = SCARG(p, which); /* int */ | |
612 | uarg[1] = (intptr_t) SCARG(p, itv); /* const struct itimerval50 * */ | 612 | uarg[1] = (intptr_t) SCARG(p, itv); /* const struct itimerval50 * */ | |
613 | uarg[2] = (intptr_t) SCARG(p, oitv); /* struct itimerval50 * */ | 613 | uarg[2] = (intptr_t) SCARG(p, oitv); /* struct itimerval50 * */ | |
614 | *n_args = 3; | 614 | *n_args = 3; | |
615 | break; | 615 | break; | |
616 | } | 616 | } | |
617 | /* sys_wait */ | 617 | /* sys_wait */ | |
618 | case 84: { | 618 | case 84: { | |
619 | *n_args = 0; | 619 | *n_args = 0; | |
620 | break; | 620 | break; | |
621 | } | 621 | } | |
622 | /* sys_swapon */ | 622 | /* sys_swapon */ | |
623 | case 85: { | 623 | case 85: { | |
624 | const struct compat_12_sys_swapon_args *p = params; | 624 | const struct compat_12_sys_swapon_args *p = params; | |
625 | uarg[0] = (intptr_t) SCARG(p, name); /* const char * */ | 625 | uarg[0] = (intptr_t) SCARG(p, name); /* const char * */ | |
626 | *n_args = 1; | 626 | *n_args = 1; | |
627 | break; | 627 | break; | |
628 | } | 628 | } | |
629 | /* sys_getitimer */ | 629 | /* sys_getitimer */ | |
630 | case 86: { | 630 | case 86: { | |
631 | const struct compat_50_sys_getitimer_args *p = params; | 631 | const struct compat_50_sys_getitimer_args *p = params; | |
632 | iarg[0] = SCARG(p, which); /* int */ | 632 | iarg[0] = SCARG(p, which); /* int */ | |
633 | uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval50 * */ | 633 | uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval50 * */ | |
634 | *n_args = 2; | 634 | *n_args = 2; | |
635 | break; | 635 | break; | |
636 | } | 636 | } | |
637 | /* sys_gethostname */ | 637 | /* sys_gethostname */ | |
638 | case 87: { | 638 | case 87: { | |
639 | const struct compat_43_sys_gethostname_args *p = params; | 639 | const struct compat_43_sys_gethostname_args *p = params; | |
640 | uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */ | 640 | uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */ | |
641 | uarg[1] = SCARG(p, len); /* u_int */ | 641 | uarg[1] = SCARG(p, len); /* u_int */ | |
642 | *n_args = 2; | 642 | *n_args = 2; | |
643 | break; | 643 | break; | |
644 | } | 644 | } | |
645 | /* sys_sethostname */ | 645 | /* sys_sethostname */ | |
646 | case 88: { | 646 | case 88: { | |
647 | const struct compat_43_sys_sethostname_args *p = params; | 647 | const struct compat_43_sys_sethostname_args *p = params; | |
648 | uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */ | 648 | uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */ | |
649 | uarg[1] = SCARG(p, len); /* u_int */ | 649 | uarg[1] = SCARG(p, len); /* u_int */ | |
650 | *n_args = 2; | 650 | *n_args = 2; | |
651 | break; | 651 | break; | |
652 | } | 652 | } | |
653 | /* sys_getdtablesize */ | 653 | /* sys_getdtablesize */ | |
654 | case 89: { | 654 | case 89: { | |
655 | *n_args = 0; | 655 | *n_args = 0; | |
656 | break; | 656 | break; | |
657 | } | 657 | } | |
658 | /* sys_dup2 */ | 658 | /* sys_dup2 */ | |
659 | case 90: { | 659 | case 90: { | |
660 | const struct sys_dup2_args *p = params; | 660 | const struct sys_dup2_args *p = params; | |
661 | iarg[0] = SCARG(p, from); /* int */ | 661 | iarg[0] = SCARG(p, from); /* int */ | |
662 | iarg[1] = SCARG(p, to); /* int */ | 662 | iarg[1] = SCARG(p, to); /* int */ | |
663 | *n_args = 2; | 663 | *n_args = 2; | |
664 | break; | 664 | break; | |
665 | } | 665 | } | |
666 | /* sys_fcntl */ | 666 | /* sys_fcntl */ | |
667 | case 92: { | 667 | case 92: { | |
668 | const struct sys_fcntl_args *p = params; | 668 | const struct sys_fcntl_args *p = params; | |
669 | iarg[0] = SCARG(p, fd); /* int */ | 669 | iarg[0] = SCARG(p, fd); /* int */ | |
670 | iarg[1] = SCARG(p, cmd); /* int */ | 670 | iarg[1] = SCARG(p, cmd); /* int */ | |
671 | uarg[2] = (intptr_t) SCARG(p, arg); /* void * */ | 671 | uarg[2] = (intptr_t) SCARG(p, arg); /* void * */ | |
672 | *n_args = 3; | 672 | *n_args = 3; | |
673 | break; | 673 | break; | |
674 | } | 674 | } | |
675 | /* sys_select */ | 675 | /* sys_select */ | |
676 | case 93: { | 676 | case 93: { | |
677 | const struct compat_50_sys_select_args *p = params; | 677 | const struct compat_50_sys_select_args *p = params; | |
678 | iarg[0] = SCARG(p, nd); /* int */ | 678 | iarg[0] = SCARG(p, nd); /* int */ | |
679 | uarg[1] = (intptr_t) SCARG(p, in); /* fd_set * */ | 679 | uarg[1] = (intptr_t) SCARG(p, in); /* fd_set * */ | |
680 | uarg[2] = (intptr_t) SCARG(p, ou); /* fd_set * */ | 680 | uarg[2] = (intptr_t) SCARG(p, ou); /* fd_set * */ | |
681 | uarg[3] = (intptr_t) SCARG(p, ex); /* fd_set * */ | 681 | uarg[3] = (intptr_t) SCARG(p, ex); /* fd_set * */ | |
682 | uarg[4] = (intptr_t) SCARG(p, tv); /* struct timeval50 * */ | 682 | uarg[4] = (intptr_t) SCARG(p, tv); /* struct timeval50 * */ | |
683 | *n_args = 5; | 683 | *n_args = 5; | |
684 | break; | 684 | break; | |
685 | } | 685 | } | |
686 | /* sys_fsync */ | 686 | /* sys_fsync */ | |
687 | case 95: { | 687 | case 95: { | |
688 | const struct sys_fsync_args *p = params; | 688 | const struct sys_fsync_args *p = params; | |
689 | iarg[0] = SCARG(p, fd); /* int */ | 689 | iarg[0] = SCARG(p, fd); /* int */ | |
690 | *n_args = 1; | 690 | *n_args = 1; | |
691 | break; | 691 | break; | |
692 | } | 692 | } | |
693 | /* sys_setpriority */ | 693 | /* sys_setpriority */ | |
694 | case 96: { | 694 | case 96: { | |
695 | const struct sys_setpriority_args *p = params; | 695 | const struct sys_setpriority_args *p = params; | |
696 | iarg[0] = SCARG(p, which); /* int */ | 696 | iarg[0] = SCARG(p, which); /* int */ | |
697 | iarg[1] = SCARG(p, who); /* id_t */ | 697 | iarg[1] = SCARG(p, who); /* id_t */ | |
698 | iarg[2] = SCARG(p, prio); /* int */ | 698 | iarg[2] = SCARG(p, prio); /* int */ | |
699 | *n_args = 3; | 699 | *n_args = 3; | |
700 | break; | 700 | break; | |
701 | } | 701 | } | |
702 | /* sys_socket */ | 702 | /* sys_socket */ | |
703 | case 97: { | 703 | case 97: { | |
704 | const struct compat_30_sys_socket_args *p = params; | 704 | const struct compat_30_sys_socket_args *p = params; | |
705 | iarg[0] = SCARG(p, domain); /* int */ | 705 | iarg[0] = SCARG(p, domain); /* int */ | |
706 | iarg[1] = SCARG(p, type); /* int */ | 706 | iarg[1] = SCARG(p, type); /* int */ | |
707 | iarg[2] = SCARG(p, protocol); /* int */ | 707 | iarg[2] = SCARG(p, protocol); /* int */ | |
708 | *n_args = 3; | 708 | *n_args = 3; | |
709 | break; | 709 | break; | |
710 | } | 710 | } | |
711 | /* sys_connect */ | 711 | /* sys_connect */ | |
712 | case 98: { | 712 | case 98: { | |
713 | const struct sys_connect_args *p = params; | 713 | const struct sys_connect_args *p = params; | |
714 | iarg[0] = SCARG(p, s); /* int */ | 714 | iarg[0] = SCARG(p, s); /* int */ | |
715 | uarg[1] = (intptr_t) SCARG(p, name); /* const struct sockaddr * */ | 715 | uarg[1] = (intptr_t) SCARG(p, name); /* const struct sockaddr * */ | |
716 | iarg[2] = SCARG(p, namelen); /* socklen_t */ | 716 | iarg[2] = SCARG(p, namelen); /* socklen_t */ | |
717 | *n_args = 3; | 717 | *n_args = 3; | |
718 | break; | 718 | break; | |
719 | } | 719 | } | |
720 | /* sys_accept */ | 720 | /* sys_accept */ | |
721 | case 99: { | 721 | case 99: { | |
722 | const struct compat_43_sys_accept_args *p = params; | 722 | const struct compat_43_sys_accept_args *p = params; | |
723 | iarg[0] = SCARG(p, s); /* int */ | 723 | iarg[0] = SCARG(p, s); /* int */ | |
724 | uarg[1] = (intptr_t) SCARG(p, name); /* void * */ | 724 | uarg[1] = (intptr_t) SCARG(p, name); /* void * */ | |
725 | uarg[2] = (intptr_t) SCARG(p, anamelen); /* socklen_t * */ | 725 | uarg[2] = (intptr_t) SCARG(p, anamelen); /* socklen_t * */ | |
726 | *n_args = 3; | 726 | *n_args = 3; | |
727 | break; | 727 | break; | |
728 | } | 728 | } | |
729 | /* sys_getpriority */ | 729 | /* sys_getpriority */ | |
730 | case 100: { | 730 | case 100: { | |
731 | const struct sys_getpriority_args *p = params; | 731 | const struct sys_getpriority_args *p = params; | |
732 | iarg[0] = SCARG(p, which); /* int */ | 732 | iarg[0] = SCARG(p, which); /* int */ | |
733 | iarg[1] = SCARG(p, who); /* id_t */ | 733 | iarg[1] = SCARG(p, who); /* id_t */ | |
734 | *n_args = 2; | 734 | *n_args = 2; | |
735 | break; | 735 | break; | |
736 | } | 736 | } | |
737 | /* sys_send */ | 737 | /* sys_send */ | |
738 | case 101: { | 738 | case 101: { | |
739 | const struct compat_43_sys_send_args *p = params; | 739 | const struct compat_43_sys_send_args *p = params; | |
740 | iarg[0] = SCARG(p, s); /* int */ | 740 | iarg[0] = SCARG(p, s); /* int */ | |
741 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | 741 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | |
742 | iarg[2] = SCARG(p, len); /* int */ | 742 | iarg[2] = SCARG(p, len); /* int */ | |
743 | iarg[3] = SCARG(p, flags); /* int */ | 743 | iarg[3] = SCARG(p, flags); /* int */ | |
744 | *n_args = 4; | 744 | *n_args = 4; | |
745 | break; | 745 | break; | |
746 | } | 746 | } | |
747 | /* sys_recv */ | 747 | /* sys_recv */ | |
748 | case 102: { | 748 | case 102: { | |
749 | const struct compat_43_sys_recv_args *p = params; | 749 | const struct compat_43_sys_recv_args *p = params; | |
750 | iarg[0] = SCARG(p, s); /* int */ | 750 | iarg[0] = SCARG(p, s); /* int */ | |
751 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | 751 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | |
752 | iarg[2] = SCARG(p, len); /* int */ | 752 | iarg[2] = SCARG(p, len); /* int */ | |
753 | iarg[3] = SCARG(p, flags); /* int */ | 753 | iarg[3] = SCARG(p, flags); /* int */ | |
754 | *n_args = 4; | 754 | *n_args = 4; | |
755 | break; | 755 | break; | |
756 | } | 756 | } | |
757 | /* sys_sigreturn */ | 757 | /* sys_sigreturn */ | |
758 | case 103: { | 758 | case 103: { | |
759 | const struct compat_13_sys_sigreturn_args *p = params; | 759 | const struct compat_13_sys_sigreturn_args *p = params; | |
760 | uarg[0] = (intptr_t) SCARG(p, sigcntxp); /* struct sigcontext13 * */ | 760 | uarg[0] = (intptr_t) SCARG(p, sigcntxp); /* struct sigcontext13 * */ | |
761 | *n_args = 1; | 761 | *n_args = 1; | |
762 | break; | 762 | break; | |
763 | } | 763 | } | |
764 | /* sys_bind */ | 764 | /* sys_bind */ | |
765 | case 104: { | 765 | case 104: { | |
766 | const struct sys_bind_args *p = params; | 766 | const struct sys_bind_args *p = params; | |
767 | iarg[0] = SCARG(p, s); /* int */ | 767 | iarg[0] = SCARG(p, s); /* int */ | |
768 | uarg[1] = (intptr_t) SCARG(p, name); /* const struct sockaddr * */ | 768 | uarg[1] = (intptr_t) SCARG(p, name); /* const struct sockaddr * */ | |
769 | iarg[2] = SCARG(p, namelen); /* socklen_t */ | 769 | iarg[2] = SCARG(p, namelen); /* socklen_t */ | |
770 | *n_args = 3; | 770 | *n_args = 3; | |
771 | break; | 771 | break; | |
772 | } | 772 | } | |
773 | /* sys_setsockopt */ | 773 | /* sys_setsockopt */ | |
774 | case 105: { | 774 | case 105: { | |
775 | const struct sys_setsockopt_args *p = params; | 775 | const struct sys_setsockopt_args *p = params; | |
776 | iarg[0] = SCARG(p, s); /* int */ | 776 | iarg[0] = SCARG(p, s); /* int */ | |
777 | iarg[1] = SCARG(p, level); /* int */ | 777 | iarg[1] = SCARG(p, level); /* int */ | |
778 | iarg[2] = SCARG(p, name); /* int */ | 778 | iarg[2] = SCARG(p, name); /* int */ | |
779 | uarg[3] = (intptr_t) SCARG(p, val); /* const void * */ | 779 | uarg[3] = (intptr_t) SCARG(p, val); /* const void * */ | |
780 | iarg[4] = SCARG(p, valsize); /* socklen_t */ | 780 | iarg[4] = SCARG(p, valsize); /* socklen_t */ | |
781 | *n_args = 5; | 781 | *n_args = 5; | |
782 | break; | 782 | break; | |
783 | } | 783 | } | |
784 | /* sys_listen */ | 784 | /* sys_listen */ | |
785 | case 106: { | 785 | case 106: { | |
786 | const struct sys_listen_args *p = params; | 786 | const struct sys_listen_args *p = params; | |
787 | iarg[0] = SCARG(p, s); /* int */ | 787 | iarg[0] = SCARG(p, s); /* int */ | |
788 | iarg[1] = SCARG(p, backlog); /* int */ | 788 | iarg[1] = SCARG(p, backlog); /* int */ | |
789 | *n_args = 2; | 789 | *n_args = 2; | |
790 | break; | 790 | break; | |
791 | } | 791 | } | |
792 | /* sys_sigvec */ | 792 | /* sys_sigvec */ | |
793 | case 108: { | 793 | case 108: { | |
794 | const struct compat_43_sys_sigvec_args *p = params; | 794 | const struct compat_43_sys_sigvec_args *p = params; | |
795 | iarg[0] = SCARG(p, signum); /* int */ | 795 | iarg[0] = SCARG(p, signum); /* int */ | |
796 | uarg[1] = (intptr_t) SCARG(p, nsv); /* struct sigvec * */ | 796 | uarg[1] = (intptr_t) SCARG(p, nsv); /* struct sigvec * */ | |
797 | uarg[2] = (intptr_t) SCARG(p, osv); /* struct sigvec * */ | 797 | uarg[2] = (intptr_t) SCARG(p, osv); /* struct sigvec * */ | |
798 | *n_args = 3; | 798 | *n_args = 3; | |
799 | break; | 799 | break; | |
800 | } | 800 | } | |
801 | /* sys_sigblock */ | 801 | /* sys_sigblock */ | |
802 | case 109: { | 802 | case 109: { | |
803 | const struct compat_43_sys_sigblock_args *p = params; | 803 | const struct compat_43_sys_sigblock_args *p = params; | |
804 | iarg[0] = SCARG(p, mask); /* int */ | 804 | iarg[0] = SCARG(p, mask); /* int */ | |
805 | *n_args = 1; | 805 | *n_args = 1; | |
806 | break; | 806 | break; | |
807 | } | 807 | } | |
808 | /* sys_sigsetmask */ | 808 | /* sys_sigsetmask */ | |
809 | case 110: { | 809 | case 110: { | |
810 | const struct compat_43_sys_sigsetmask_args *p = params; | 810 | const struct compat_43_sys_sigsetmask_args *p = params; | |
811 | iarg[0] = SCARG(p, mask); /* int */ | 811 | iarg[0] = SCARG(p, mask); /* int */ | |
812 | *n_args = 1; | 812 | *n_args = 1; | |
813 | break; | 813 | break; | |
814 | } | 814 | } | |
815 | /* sys_sigsuspend */ | 815 | /* sys_sigsuspend */ | |
816 | case 111: { | 816 | case 111: { | |
817 | const struct compat_13_sys_sigsuspend_args *p = params; | 817 | const struct compat_13_sys_sigsuspend_args *p = params; | |
818 | iarg[0] = SCARG(p, mask); /* int */ | 818 | iarg[0] = SCARG(p, mask); /* int */ | |
819 | *n_args = 1; | 819 | *n_args = 1; | |
820 | break; | 820 | break; | |
821 | } | 821 | } | |
822 | /* sys_sigstack */ | 822 | /* sys_sigstack */ | |
823 | case 112: { | 823 | case 112: { | |
824 | const struct compat_43_sys_sigstack_args *p = params; | 824 | const struct compat_43_sys_sigstack_args *p = params; | |
825 | uarg[0] = (intptr_t) SCARG(p, nss); /* struct sigstack * */ | 825 | uarg[0] = (intptr_t) SCARG(p, nss); /* struct sigstack * */ | |
826 | uarg[1] = (intptr_t) SCARG(p, oss); /* struct sigstack * */ | 826 | uarg[1] = (intptr_t) SCARG(p, oss); /* struct sigstack * */ | |
827 | *n_args = 2; | 827 | *n_args = 2; | |
828 | break; | 828 | break; | |
829 | } | 829 | } | |
830 | /* sys_recvmsg */ | 830 | /* sys_recvmsg */ | |
831 | case 113: { | 831 | case 113: { | |
832 | const struct compat_43_sys_recvmsg_args *p = params; | 832 | const struct compat_43_sys_recvmsg_args *p = params; | |
833 | iarg[0] = SCARG(p, s); /* int */ | 833 | iarg[0] = SCARG(p, s); /* int */ | |
834 | uarg[1] = (intptr_t) SCARG(p, msg); /* struct omsghdr * */ | 834 | uarg[1] = (intptr_t) SCARG(p, msg); /* struct omsghdr * */ | |
835 | iarg[2] = SCARG(p, flags); /* int */ | 835 | iarg[2] = SCARG(p, flags); /* int */ | |
836 | *n_args = 3; | 836 | *n_args = 3; | |
837 | break; | 837 | break; | |
838 | } | 838 | } | |
839 | /* sys_sendmsg */ | 839 | /* sys_sendmsg */ | |
840 | case 114: { | 840 | case 114: { | |
841 | const struct compat_43_sys_sendmsg_args *p = params; | 841 | const struct compat_43_sys_sendmsg_args *p = params; | |
842 | iarg[0] = SCARG(p, s); /* int */ | 842 | iarg[0] = SCARG(p, s); /* int */ | |
843 | uarg[1] = (intptr_t) SCARG(p, msg); /* void * */ | 843 | uarg[1] = (intptr_t) SCARG(p, msg); /* void * */ | |
844 | iarg[2] = SCARG(p, flags); /* int */ | 844 | iarg[2] = SCARG(p, flags); /* int */ | |
845 | *n_args = 3; | 845 | *n_args = 3; | |
846 | break; | 846 | break; | |
847 | } | 847 | } | |
848 | /* sys_gettimeofday */ | 848 | /* sys_gettimeofday */ | |
849 | case 116: { | 849 | case 116: { | |
850 | const struct compat_50_sys_gettimeofday_args *p = params; | 850 | const struct compat_50_sys_gettimeofday_args *p = params; | |
851 | uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval50 * */ | 851 | uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval50 * */ | |
852 | uarg[1] = (intptr_t) SCARG(p, tzp); /* void * */ | 852 | uarg[1] = (intptr_t) SCARG(p, tzp); /* void * */ | |
853 | *n_args = 2; | 853 | *n_args = 2; | |
854 | break; | 854 | break; | |
855 | } | 855 | } | |
856 | /* sys_getrusage */ | 856 | /* sys_getrusage */ | |
857 | case 117: { | 857 | case 117: { | |
858 | const struct compat_50_sys_getrusage_args *p = params; | 858 | const struct compat_50_sys_getrusage_args *p = params; | |
859 | iarg[0] = SCARG(p, who); /* int */ | 859 | iarg[0] = SCARG(p, who); /* int */ | |
860 | uarg[1] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ | 860 | uarg[1] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ | |
861 | *n_args = 2; | 861 | *n_args = 2; | |
862 | break; | 862 | break; | |
863 | } | 863 | } | |
864 | /* sys_getsockopt */ | 864 | /* sys_getsockopt */ | |
865 | case 118: { | 865 | case 118: { | |
866 | const struct sys_getsockopt_args *p = params; | 866 | const struct sys_getsockopt_args *p = params; | |
867 | iarg[0] = SCARG(p, s); /* int */ | 867 | iarg[0] = SCARG(p, s); /* int */ | |
868 | iarg[1] = SCARG(p, level); /* int */ | 868 | iarg[1] = SCARG(p, level); /* int */ | |
869 | iarg[2] = SCARG(p, name); /* int */ | 869 | iarg[2] = SCARG(p, name); /* int */ | |
870 | uarg[3] = (intptr_t) SCARG(p, val); /* void * */ | 870 | uarg[3] = (intptr_t) SCARG(p, val); /* void * */ | |
871 | uarg[4] = (intptr_t) SCARG(p, avalsize); /* socklen_t * */ | 871 | uarg[4] = (intptr_t) SCARG(p, avalsize); /* socklen_t * */ | |
872 | *n_args = 5; | 872 | *n_args = 5; | |
873 | break; | 873 | break; | |
874 | } | 874 | } | |
875 | /* sys_readv */ | 875 | /* sys_readv */ | |
876 | case 120: { | 876 | case 120: { | |
877 | const struct sys_readv_args *p = params; | 877 | const struct sys_readv_args *p = params; | |
878 | iarg[0] = SCARG(p, fd); /* int */ | 878 | iarg[0] = SCARG(p, fd); /* int */ | |
879 | uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */ | 879 | uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */ | |
880 | iarg[2] = SCARG(p, iovcnt); /* int */ | 880 | iarg[2] = SCARG(p, iovcnt); /* int */ | |
881 | *n_args = 3; | 881 | *n_args = 3; | |
882 | break; | 882 | break; | |
883 | } | 883 | } | |
884 | /* sys_writev */ | 884 | /* sys_writev */ | |
885 | case 121: { | 885 | case 121: { | |
886 | const struct sys_writev_args *p = params; | 886 | const struct sys_writev_args *p = params; | |
887 | iarg[0] = SCARG(p, fd); /* int */ | 887 | iarg[0] = SCARG(p, fd); /* int */ | |
888 | uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */ | 888 | uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */ | |
889 | iarg[2] = SCARG(p, iovcnt); /* int */ | 889 | iarg[2] = SCARG(p, iovcnt); /* int */ | |
890 | *n_args = 3; | 890 | *n_args = 3; | |
891 | break; | 891 | break; | |
892 | } | 892 | } | |
893 | /* sys_settimeofday */ | 893 | /* sys_settimeofday */ | |
894 | case 122: { | 894 | case 122: { | |
895 | const struct compat_50_sys_settimeofday_args *p = params; | 895 | const struct compat_50_sys_settimeofday_args *p = params; | |
896 | uarg[0] = (intptr_t) SCARG(p, tv); /* const struct timeval50 * */ | 896 | uarg[0] = (intptr_t) SCARG(p, tv); /* const struct timeval50 * */ | |
897 | uarg[1] = (intptr_t) SCARG(p, tzp); /* const void * */ | 897 | uarg[1] = (intptr_t) SCARG(p, tzp); /* const void * */ | |
898 | *n_args = 2; | 898 | *n_args = 2; | |
899 | break; | 899 | break; | |
900 | } | 900 | } | |
901 | /* sys_fchown */ | 901 | /* sys_fchown */ | |
902 | case 123: { | 902 | case 123: { | |
903 | const struct sys_fchown_args *p = params; | 903 | const struct sys_fchown_args *p = params; | |
904 | iarg[0] = SCARG(p, fd); /* int */ | 904 | iarg[0] = SCARG(p, fd); /* int */ | |
905 | uarg[1] = SCARG(p, uid); /* uid_t */ | 905 | uarg[1] = SCARG(p, uid); /* uid_t */ | |
906 | iarg[2] = SCARG(p, gid); /* gid_t */ | 906 | iarg[2] = SCARG(p, gid); /* gid_t */ | |
907 | *n_args = 3; | 907 | *n_args = 3; | |
908 | break; | 908 | break; | |
909 | } | 909 | } | |
910 | /* sys_fchmod */ | 910 | /* sys_fchmod */ | |
911 | case 124: { | 911 | case 124: { | |
912 | const struct sys_fchmod_args *p = params; | 912 | const struct sys_fchmod_args *p = params; | |
913 | iarg[0] = SCARG(p, fd); /* int */ | 913 | iarg[0] = SCARG(p, fd); /* int */ | |
914 | iarg[1] = SCARG(p, mode); /* mode_t */ | 914 | iarg[1] = SCARG(p, mode); /* mode_t */ | |
915 | *n_args = 2; | 915 | *n_args = 2; | |
916 | break; | 916 | break; | |
917 | } | 917 | } | |
918 | /* sys_recvfrom */ | 918 | /* sys_recvfrom */ | |
919 | case 125: { | 919 | case 125: { | |
920 | const struct compat_43_sys_recvfrom_args *p = params; | 920 | const struct compat_43_sys_recvfrom_args *p = params; | |
921 | iarg[0] = SCARG(p, s); /* int */ | 921 | iarg[0] = SCARG(p, s); /* int */ | |
922 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | 922 | uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ | |
923 | uarg[2] = SCARG(p, len); /* size_t */ | 923 | uarg[2] = SCARG(p, len); /* size_t */ | |
924 | iarg[3] = SCARG(p, flags); /* int */ | 924 | iarg[3] = SCARG(p, flags); /* int */ | |
925 | uarg[4] = (intptr_t) SCARG(p, from); /* void * */ | 925 | uarg[4] = (intptr_t) SCARG(p, from); /* void * */ | |
926 | uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* socklen_t * */ | 926 | uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* socklen_t * */ | |
927 | *n_args = 6; | 927 | *n_args = 6; | |
928 | break; | 928 | break; | |
929 | } | 929 | } | |
930 | /* sys_setreuid */ | 930 | /* sys_setreuid */ | |
931 | case 126: { | 931 | case 126: { | |
932 | const struct sys_setreuid_args *p = params; | 932 | const struct sys_setreuid_args *p = params; | |
933 | uarg[0] = SCARG(p, ruid); /* uid_t */ | 933 | uarg[0] = SCARG(p, ruid); /* uid_t */ | |
934 | uarg[1] = SCARG(p, euid); /* uid_t */ | 934 | uarg[1] = SCARG(p, euid); /* uid_t */ | |
935 | *n_args = 2; | 935 | *n_args = 2; | |
936 | break; | 936 | break; | |
937 | } | 937 | } | |
938 | /* sys_setregid */ | 938 | /* sys_setregid */ | |
939 | case 127: { | 939 | case 127: { | |
940 | const struct sys_setregid_args *p = params; | 940 | const struct sys_setregid_args *p = params; | |
941 | iarg[0] = SCARG(p, rgid); /* gid_t */ | 941 | iarg[0] = SCARG(p, rgid); /* gid_t */ | |
942 | iarg[1] = SCARG(p, egid); /* gid_t */ | 942 | iarg[1] = SCARG(p, egid); /* gid_t */ | |
943 | *n_args = 2; | 943 | *n_args = 2; | |
944 | break; | 944 | break; | |
945 | } | 945 | } | |
946 | /* sys_rename */ | 946 | /* sys_rename */ | |
947 | case 128: { | 947 | case 128: { | |
948 | const struct sys_rename_args *p = params; | 948 | const struct sys_rename_args *p = params; | |
949 | uarg[0] = (intptr_t) SCARG(p, from); /* const char * */ | 949 | uarg[0] = (intptr_t) SCARG(p, from); /* const char * */ | |
950 | uarg[1] = (intptr_t) SCARG(p, to); /* const char * */ | 950 | uarg[1] = (intptr_t) SCARG(p, to); /* const char * */ | |
951 | *n_args = 2; | 951 | *n_args = 2; | |
952 | break; | 952 | break; | |
953 | } | 953 | } | |
954 | /* sys_truncate */ | 954 | /* sys_truncate */ | |
955 | case 129: { | 955 | case 129: { | |
956 | const struct compat_43_sys_truncate_args *p = params; | 956 | const struct compat_43_sys_truncate_args *p = params; | |
957 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 957 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
958 | iarg[1] = SCARG(p, length); /* long */ | 958 | iarg[1] = SCARG(p, length); /* long */ | |
959 | *n_args = 2; | 959 | *n_args = 2; | |
960 | break; | 960 | break; | |
961 | } | 961 | } | |
962 | /* sys_ftruncate */ | 962 | /* sys_ftruncate */ | |
963 | case 130: { | 963 | case 130: { | |
964 | const struct compat_43_sys_ftruncate_args *p = params; | 964 | const struct compat_43_sys_ftruncate_args *p = params; | |
965 | iarg[0] = SCARG(p, fd); /* int */ | 965 | iarg[0] = SCARG(p, fd); /* int */ | |
966 | iarg[1] = SCARG(p, length); /* long */ | 966 | iarg[1] = SCARG(p, length); /* long */ | |
967 | *n_args = 2; | 967 | *n_args = 2; | |
968 | break; | 968 | break; | |
969 | } | 969 | } | |
970 | /* sys_flock */ | 970 | /* sys_flock */ | |
971 | case 131: { | 971 | case 131: { | |
972 | const struct sys_flock_args *p = params; | 972 | const struct sys_flock_args *p = params; | |
973 | iarg[0] = SCARG(p, fd); /* int */ | 973 | iarg[0] = SCARG(p, fd); /* int */ | |
974 | iarg[1] = SCARG(p, how); /* int */ | 974 | iarg[1] = SCARG(p, how); /* int */ | |
975 | *n_args = 2; | 975 | *n_args = 2; | |
976 | break; | 976 | break; | |
977 | } | 977 | } | |
978 | /* sys_mkfifo */ | 978 | /* sys_mkfifo */ | |
979 | case 132: { | 979 | case 132: { | |
980 | const struct sys_mkfifo_args *p = params; | 980 | const struct sys_mkfifo_args *p = params; | |
981 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | 981 | uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ | |
982 | iarg[1] = SCARG(p, mode); /* mode_t */ | 982 | iarg[1] = SCARG(p, mode); /* mode_t */ | |
983 | *n_args = 2; | 983 | *n_args = 2; | |
984 | break; | 984 | break; | |
985 | } | 985 | } | |
986 | /* sys_sendto */ | 986 | /* sys_sendto */ | |
987 | case 133: { | 987 | case 133: { | |
988 | const struct sys_sendto_args *p = params; | 988 | const struct sys_sendto_args *p = params; | |
989 | iarg[0] = SCARG(p, s); /* int */ | 989 | iarg[0] = SCARG(p, s); /* int */ | |
990 | uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ | 990 | uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ | |
991 | uarg[2] = SCARG(p, len); /* size_t */ | 991 | uarg[2] = SCARG(p, len); /* size_t */ | |
992 | iarg[3] = SCARG(p, flags); /* int */ | 992 | iarg[3] = SCARG(p, flags); /* int */ | |
993 | uarg[4] = (intptr_t) SCARG(p, to); /* const struct sockaddr * */ | 993 | uarg[4] = (intptr_t) SCARG(p, to); /* const struct sockaddr * */ | |
994 | iarg[5] = SCARG(p, tolen); /* socklen_t */ | 994 | iarg[5] = SCARG(p, tolen); /* socklen_t */ | |
995 | *n_args = 6; | 995 | *n_args = 6; | |
996 | break; | 996 | break; | |
997 | } | 997 | } | |
998 | /* sys_shutdown */ | 998 | /* sys_shutdown */ | |
999 | case 134: { | 999 | case 134: { | |
1000 | const struct sys_shutdown_args *p = params; | 1000 | const struct sys_shutdown_args *p = params; |
--- src/sys/rump/include/rump/rump_syscalls.h 2018/01/06 16:41:23 1.108
+++ src/sys/rump/include/rump/rump_syscalls.h 2018/03/10 05:12:18 1.108.2.1
@@ -1,1006 +1,1006 @@ | @@ -1,1006 +1,1006 @@ | |||
1 | /* $NetBSD: rump_syscalls.h,v 1.108 2018/01/06 16:41:23 kamil Exp $ */ | 1 | /* $NetBSD: rump_syscalls.h,v 1.108.2.1 2018/03/10 05:12:18 pgoyette Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call protos in rump namespace. | 4 | * System call protos in rump namespace. | |
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.287 2017/12/08 01:19:29 christos Exp | 7 | * created from NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifndef _RUMP_RUMP_SYSCALLS_H_ | 10 | #ifndef _RUMP_RUMP_SYSCALLS_H_ | |
11 | #define _RUMP_RUMP_SYSCALLS_H_ | 11 | #define _RUMP_RUMP_SYSCALLS_H_ | |
12 | 12 | |||
13 | #ifdef _KERNEL | 13 | #ifdef _KERNEL | |
14 | #error Interface not supported inside kernel | 14 | #error Interface not supported inside kernel | |
15 | #endif /* _KERNEL */ | 15 | #endif /* _KERNEL */ | |
16 | 16 | |||
17 | #include <rump/rump_syscalls_compat.h> | 17 | #include <rump/rump_syscalls_compat.h> | |
18 | 18 | |||
19 | #ifndef RUMP_SYS_RENAME_FKTRACE | 19 | #ifndef RUMP_SYS_RENAME_FKTRACE | |
20 | #define RUMP_SYS_RENAME_FKTRACE rump___sysimpl_fktrace | 20 | #define RUMP_SYS_RENAME_FKTRACE rump___sysimpl_fktrace | |
21 | #endif | 21 | #endif | |
22 | 22 | |||
23 | #ifndef RUMP_SYS_RENAME_GETSID | 23 | #ifndef RUMP_SYS_RENAME_GETSID | |
24 | #define RUMP_SYS_RENAME_GETSID rump___sysimpl_getsid | 24 | #define RUMP_SYS_RENAME_GETSID rump___sysimpl_getsid | |
25 | #endif | 25 | #endif | |
26 | 26 | |||
27 | #ifndef RUMP_SYS_RENAME_RECVMMSG | 27 | #ifndef RUMP_SYS_RENAME_RECVMMSG | |
28 | #define RUMP_SYS_RENAME_RECVMMSG rump___sysimpl_recvmmsg | 28 | #define RUMP_SYS_RENAME_RECVMMSG rump___sysimpl_recvmmsg | |
29 | #endif | 29 | #endif | |
30 | 30 | |||
31 | #ifndef RUMP_SYS_RENAME_UTIMENSAT | 31 | #ifndef RUMP_SYS_RENAME_UTIMENSAT | |
32 | #define RUMP_SYS_RENAME_UTIMENSAT rump___sysimpl_utimensat | 32 | #define RUMP_SYS_RENAME_UTIMENSAT rump___sysimpl_utimensat | |
33 | #endif | 33 | #endif | |
34 | 34 | |||
35 | #ifndef RUMP_SYS_RENAME_CHFLAGS | 35 | #ifndef RUMP_SYS_RENAME_CHFLAGS | |
36 | #define RUMP_SYS_RENAME_CHFLAGS rump___sysimpl_chflags | 36 | #define RUMP_SYS_RENAME_CHFLAGS rump___sysimpl_chflags | |
37 | #endif | 37 | #endif | |
38 | 38 | |||
39 | #ifndef RUMP_SYS_RENAME_GETGROUPS | 39 | #ifndef RUMP_SYS_RENAME_GETGROUPS | |
40 | #define RUMP_SYS_RENAME_GETGROUPS rump___sysimpl_getgroups | 40 | #define RUMP_SYS_RENAME_GETGROUPS rump___sysimpl_getgroups | |
41 | #endif | 41 | #endif | |
42 | 42 | |||
43 | #ifndef RUMP_SYS_RENAME_SENDTO | 43 | #ifndef RUMP_SYS_RENAME_SENDTO | |
44 | #define RUMP_SYS_RENAME_SENDTO rump___sysimpl_sendto | 44 | #define RUMP_SYS_RENAME_SENDTO rump___sysimpl_sendto | |
45 | #endif | 45 | #endif | |
46 | 46 | |||
47 | #ifndef RUMP_SYS_RENAME_ADJTIME | 47 | #ifndef RUMP_SYS_RENAME_ADJTIME | |
48 | #define RUMP_SYS_RENAME_ADJTIME rump___sysimpl_adjtime50 | 48 | #define RUMP_SYS_RENAME_ADJTIME rump___sysimpl_adjtime50 | |
49 | #endif | 49 | #endif | |
50 | 50 | |||
51 | #ifndef RUMP_SYS_RENAME_FHSTATVFS1 | 51 | #ifndef RUMP_SYS_RENAME_FHSTATVFS1 | |
52 | #define RUMP_SYS_RENAME_FHSTATVFS1 rump___sysimpl_fhstatvfs140 | 52 | #define RUMP_SYS_RENAME_FHSTATVFS1 rump___sysimpl_fhstatvfs140 | |
53 | #endif | 53 | #endif | |
54 | 54 | |||
55 | #ifndef RUMP_SYS_RENAME_TIMER_DELETE | 55 | #ifndef RUMP_SYS_RENAME_TIMER_DELETE | |
56 | #define RUMP_SYS_RENAME_TIMER_DELETE rump___sysimpl_timer_delete | 56 | #define RUMP_SYS_RENAME_TIMER_DELETE rump___sysimpl_timer_delete | |
57 | #endif | 57 | #endif | |
58 | 58 | |||
59 | #ifndef RUMP_SYS_RENAME_PWRITEV | 59 | #ifndef RUMP_SYS_RENAME_PWRITEV | |
60 | #define RUMP_SYS_RENAME_PWRITEV rump___sysimpl_pwritev | 60 | #define RUMP_SYS_RENAME_PWRITEV rump___sysimpl_pwritev | |
61 | #endif | 61 | #endif | |
62 | 62 | |||
63 | #ifndef RUMP_SYS_RENAME_EXTATTR_GET_LINK | 63 | #ifndef RUMP_SYS_RENAME_EXTATTR_GET_LINK | |
64 | #define RUMP_SYS_RENAME_EXTATTR_GET_LINK rump___sysimpl_extattr_get_link | 64 | #define RUMP_SYS_RENAME_EXTATTR_GET_LINK rump___sysimpl_extattr_get_link | |
65 | #endif | 65 | #endif | |
66 | 66 | |||
67 | #ifndef RUMP_SYS_RENAME_LIO_LISTIO | 67 | #ifndef RUMP_SYS_RENAME_LIO_LISTIO | |
68 | #define RUMP_SYS_RENAME_LIO_LISTIO rump___sysimpl_lio_listio | 68 | #define RUMP_SYS_RENAME_LIO_LISTIO rump___sysimpl_lio_listio | |
69 | #endif | 69 | #endif | |
70 | 70 | |||
71 | #ifndef RUMP_SYS_RENAME_MKDIRAT | 71 | #ifndef RUMP_SYS_RENAME_MKDIRAT | |
72 | #define RUMP_SYS_RENAME_MKDIRAT rump___sysimpl_mkdirat | 72 | #define RUMP_SYS_RENAME_MKDIRAT rump___sysimpl_mkdirat | |
73 | #endif | 73 | #endif | |
74 | 74 | |||
75 | #ifndef RUMP_SYS_RENAME___GETCWD | 75 | #ifndef RUMP_SYS_RENAME___GETCWD | |
76 | #define RUMP_SYS_RENAME___GETCWD rump___sysimpl___getcwd | 76 | #define RUMP_SYS_RENAME___GETCWD rump___sysimpl___getcwd | |
77 | #endif | 77 | #endif | |
78 | 78 | |||
79 | #ifndef RUMP_SYS_RENAME_SETRLIMIT | 79 | #ifndef RUMP_SYS_RENAME_SETRLIMIT | |
80 | #define RUMP_SYS_RENAME_SETRLIMIT rump___sysimpl_setrlimit | 80 | #define RUMP_SYS_RENAME_SETRLIMIT rump___sysimpl_setrlimit | |
81 | #endif | 81 | #endif | |
82 | 82 | |||
83 | #ifndef RUMP_SYS_RENAME_FDATASYNC | 83 | #ifndef RUMP_SYS_RENAME_FDATASYNC | |
84 | #define RUMP_SYS_RENAME_FDATASYNC rump___sysimpl_fdatasync | 84 | #define RUMP_SYS_RENAME_FDATASYNC rump___sysimpl_fdatasync | |
85 | #endif | 85 | #endif | |
86 | 86 | |||
87 | #ifndef RUMP_SYS_RENAME_SETSID | 87 | #ifndef RUMP_SYS_RENAME_SETSID | |
88 | #define RUMP_SYS_RENAME_SETSID rump___sysimpl_setsid | 88 | #define RUMP_SYS_RENAME_SETSID rump___sysimpl_setsid | |
89 | #endif | 89 | #endif | |
90 | 90 | |||
91 | #ifndef RUMP_SYS_RENAME_REMOVEXATTR | 91 | #ifndef RUMP_SYS_RENAME_REMOVEXATTR | |
92 | #define RUMP_SYS_RENAME_REMOVEXATTR rump___sysimpl_removexattr | 92 | #define RUMP_SYS_RENAME_REMOVEXATTR rump___sysimpl_removexattr | |
93 | #endif | 93 | #endif | |
94 | 94 | |||
95 | #ifndef RUMP_SYS_RENAME_AIO_RETURN | 95 | #ifndef RUMP_SYS_RENAME_AIO_RETURN | |
96 | #define RUMP_SYS_RENAME_AIO_RETURN rump___sysimpl_aio_return | 96 | #define RUMP_SYS_RENAME_AIO_RETURN rump___sysimpl_aio_return | |
97 | #endif | 97 | #endif | |
98 | 98 | |||
99 | #ifndef RUMP_SYS_RENAME_GETVFSSTAT | 99 | #ifndef RUMP_SYS_RENAME_GETVFSSTAT | |
100 | #define RUMP_SYS_RENAME_GETVFSSTAT rump___sysimpl_getvfsstat | 100 | #define RUMP_SYS_RENAME_GETVFSSTAT rump___sysimpl_getvfsstat | |
101 | #endif | 101 | #endif | |
102 | 102 | |||
103 | #ifndef RUMP_SYS_RENAME_FLOCK | 103 | #ifndef RUMP_SYS_RENAME_FLOCK | |
104 | #define RUMP_SYS_RENAME_FLOCK rump___sysimpl_flock | 104 | #define RUMP_SYS_RENAME_FLOCK rump___sysimpl_flock | |
105 | #endif | 105 | #endif | |
106 | 106 | |||
107 | #ifndef RUMP_SYS_RENAME_AIO_CANCEL | 107 | #ifndef RUMP_SYS_RENAME_AIO_CANCEL | |
108 | #define RUMP_SYS_RENAME_AIO_CANCEL rump___sysimpl_aio_cancel | 108 | #define RUMP_SYS_RENAME_AIO_CANCEL rump___sysimpl_aio_cancel | |
109 | #endif | 109 | #endif | |
110 | 110 | |||
111 | #ifndef RUMP_SYS_RENAME___POSIX_RENAME | 111 | #ifndef RUMP_SYS_RENAME___POSIX_RENAME | |
112 | #define RUMP_SYS_RENAME___POSIX_RENAME rump___sysimpl___posix_rename | 112 | #define RUMP_SYS_RENAME___POSIX_RENAME rump___sysimpl___posix_rename | |
113 | #endif | 113 | #endif | |
114 | 114 | |||
115 | #ifndef RUMP_SYS_RENAME_LISTXATTR | 115 | #ifndef RUMP_SYS_RENAME_LISTXATTR | |
116 | #define RUMP_SYS_RENAME_LISTXATTR rump___sysimpl_listxattr | 116 | #define RUMP_SYS_RENAME_LISTXATTR rump___sysimpl_listxattr | |
117 | #endif | 117 | #endif | |
118 | 118 | |||
119 | #ifndef RUMP_SYS_RENAME_PIPE2 | 119 | #ifndef RUMP_SYS_RENAME_PIPE2 | |
120 | #define RUMP_SYS_RENAME_PIPE2 rump___sysimpl_pipe2 | 120 | #define RUMP_SYS_RENAME_PIPE2 rump___sysimpl_pipe2 | |
121 | #endif | 121 | #endif | |
122 | 122 | |||
123 | #ifndef RUMP_SYS_RENAME_EXTATTR_GET_FD | 123 | #ifndef RUMP_SYS_RENAME_EXTATTR_GET_FD | |
124 | #define RUMP_SYS_RENAME_EXTATTR_GET_FD rump___sysimpl_extattr_get_fd | 124 | #define RUMP_SYS_RENAME_EXTATTR_GET_FD rump___sysimpl_extattr_get_fd | |
125 | #endif | 125 | #endif | |
126 | 126 | |||
127 | #ifndef RUMP_SYS_RENAME_LCHOWN | 127 | #ifndef RUMP_SYS_RENAME_LCHOWN | |
128 | #define RUMP_SYS_RENAME_LCHOWN rump___sysimpl_lchown | 128 | #define RUMP_SYS_RENAME_LCHOWN rump___sysimpl_lchown | |
129 | #endif | 129 | #endif | |
130 | 130 | |||
131 | #ifndef RUMP_SYS_RENAME_GETSOCKNAME | 131 | #ifndef RUMP_SYS_RENAME_GETSOCKNAME | |
132 | #define RUMP_SYS_RENAME_GETSOCKNAME rump___sysimpl_getsockname | 132 | #define RUMP_SYS_RENAME_GETSOCKNAME rump___sysimpl_getsockname | |
133 | #endif | 133 | #endif | |
134 | 134 | |||
135 | #ifndef RUMP_SYS_RENAME_SETTIMEOFDAY | 135 | #ifndef RUMP_SYS_RENAME_SETTIMEOFDAY | |
136 | #define RUMP_SYS_RENAME_SETTIMEOFDAY rump___sysimpl_settimeofday50 | 136 | #define RUMP_SYS_RENAME_SETTIMEOFDAY rump___sysimpl_settimeofday50 | |
137 | #endif | 137 | #endif | |
138 | 138 | |||
139 | #ifndef RUMP_SYS_RENAME_CLOCK_NANOSLEEP | 139 | #ifndef RUMP_SYS_RENAME_CLOCK_NANOSLEEP | |
140 | #define RUMP_SYS_RENAME_CLOCK_NANOSLEEP rump___sysimpl_clock_nanosleep | 140 | #define RUMP_SYS_RENAME_CLOCK_NANOSLEEP rump___sysimpl_clock_nanosleep | |
141 | #endif | 141 | #endif | |
142 | 142 | |||
143 | #ifndef RUMP_SYS_RENAME_UNLINK | 143 | #ifndef RUMP_SYS_RENAME_UNLINK | |
144 | #define RUMP_SYS_RENAME_UNLINK rump___sysimpl_unlink | 144 | #define RUMP_SYS_RENAME_UNLINK rump___sysimpl_unlink | |
145 | #endif | 145 | #endif | |
146 | 146 | |||
147 | #ifndef RUMP_SYS_RENAME_AIO_SUSPEND | 147 | #ifndef RUMP_SYS_RENAME_AIO_SUSPEND | |
148 | #define RUMP_SYS_RENAME_AIO_SUSPEND rump___sysimpl_aio_suspend50 | 148 | #define RUMP_SYS_RENAME_AIO_SUSPEND rump___sysimpl_aio_suspend50 | |
149 | #endif | 149 | #endif | |
150 | 150 | |||
151 | #ifndef RUMP_SYS_RENAME_SETPGID | 151 | #ifndef RUMP_SYS_RENAME_SETPGID | |
152 | #define RUMP_SYS_RENAME_SETPGID rump___sysimpl_setpgid | 152 | #define RUMP_SYS_RENAME_SETPGID rump___sysimpl_setpgid | |
153 | #endif | 153 | #endif | |
154 | 154 | |||
155 | #ifndef RUMP_SYS_RENAME_FACCESSAT | 155 | #ifndef RUMP_SYS_RENAME_FACCESSAT | |
156 | #define RUMP_SYS_RENAME_FACCESSAT rump___sysimpl_faccessat | 156 | #define RUMP_SYS_RENAME_FACCESSAT rump___sysimpl_faccessat | |
157 | #endif | 157 | #endif | |
158 | 158 | |||
159 | #ifndef RUMP_SYS_RENAME_FSETXATTR | 159 | #ifndef RUMP_SYS_RENAME_FSETXATTR | |
160 | #define RUMP_SYS_RENAME_FSETXATTR rump___sysimpl_fsetxattr | 160 | #define RUMP_SYS_RENAME_FSETXATTR rump___sysimpl_fsetxattr | |
161 | #endif | 161 | #endif | |
162 | 162 | |||
163 | #ifndef RUMP_SYS_RENAME_EXTATTR_SET_FILE | 163 | #ifndef RUMP_SYS_RENAME_EXTATTR_SET_FILE | |
164 | #define RUMP_SYS_RENAME_EXTATTR_SET_FILE rump___sysimpl_extattr_set_file | 164 | #define RUMP_SYS_RENAME_EXTATTR_SET_FILE rump___sysimpl_extattr_set_file | |
165 | #endif | 165 | #endif | |
166 | 166 | |||
167 | #ifndef RUMP_SYS_RENAME_LSTAT | 167 | #ifndef RUMP_SYS_RENAME_LSTAT | |
168 | #define RUMP_SYS_RENAME_LSTAT rump___sysimpl_lstat50 | 168 | #define RUMP_SYS_RENAME_LSTAT rump___sysimpl_lstat50 | |
169 | #endif | 169 | #endif | |
170 | 170 | |||
171 | #ifndef RUMP_SYS_RENAME_EXTATTR_SET_FD | 171 | #ifndef RUMP_SYS_RENAME_EXTATTR_SET_FD | |
172 | #define RUMP_SYS_RENAME_EXTATTR_SET_FD rump___sysimpl_extattr_set_fd | 172 | #define RUMP_SYS_RENAME_EXTATTR_SET_FD rump___sysimpl_extattr_set_fd | |
173 | #endif | 173 | #endif | |
174 | 174 | |||
175 | #ifndef RUMP_SYS_RENAME_PREADV | 175 | #ifndef RUMP_SYS_RENAME_PREADV | |
176 | #define RUMP_SYS_RENAME_PREADV rump___sysimpl_preadv | 176 | #define RUMP_SYS_RENAME_PREADV rump___sysimpl_preadv | |
177 | #endif | 177 | #endif | |
178 | 178 | |||
179 | #ifndef RUMP_SYS_RENAME_PATHCONF | 179 | #ifndef RUMP_SYS_RENAME_PATHCONF | |
180 | #define RUMP_SYS_RENAME_PATHCONF rump___sysimpl_pathconf | 180 | #define RUMP_SYS_RENAME_PATHCONF rump___sysimpl_pathconf | |
181 | #endif | 181 | #endif | |
182 | 182 | |||
183 | #ifndef RUMP_SYS_RENAME_MODCTL | 183 | #ifndef RUMP_SYS_RENAME_MODCTL | |
184 | #define RUMP_SYS_RENAME_MODCTL rump___sysimpl_modctl | 184 | #define RUMP_SYS_RENAME_MODCTL rump___sysimpl_modctl | |
185 | #endif | 185 | #endif | |
186 | 186 | |||
187 | #ifndef RUMP_SYS_RENAME___GETLOGIN | 187 | #ifndef RUMP_SYS_RENAME___GETLOGIN | |
188 | #define RUMP_SYS_RENAME___GETLOGIN rump___sysimpl___getlogin | 188 | #define RUMP_SYS_RENAME___GETLOGIN rump___sysimpl___getlogin | |
189 | #endif | 189 | #endif | |
190 | 190 | |||
191 | #ifndef RUMP_SYS_RENAME_GETPGRP | 191 | #ifndef RUMP_SYS_RENAME_GETPGRP | |
192 | #define RUMP_SYS_RENAME_GETPGRP rump___sysimpl_getpgrp | 192 | #define RUMP_SYS_RENAME_GETPGRP rump___sysimpl_getpgrp | |
193 | #endif | 193 | #endif | |
194 | 194 | |||
195 | #ifndef RUMP_SYS_RENAME_FCHFLAGS | 195 | #ifndef RUMP_SYS_RENAME_FCHFLAGS | |
196 | #define RUMP_SYS_RENAME_FCHFLAGS rump___sysimpl_fchflags | 196 | #define RUMP_SYS_RENAME_FCHFLAGS rump___sysimpl_fchflags | |
197 | #endif | 197 | #endif | |
198 | 198 | |||
199 | #ifndef RUMP_SYS_RENAME_OPENAT | 199 | #ifndef RUMP_SYS_RENAME_OPENAT | |
200 | #define RUMP_SYS_RENAME_OPENAT rump___sysimpl_openat | 200 | #define RUMP_SYS_RENAME_OPENAT rump___sysimpl_openat | |
201 | #endif | 201 | #endif | |
202 | 202 | |||
203 | #ifndef RUMP_SYS_RENAME_DUP | 203 | #ifndef RUMP_SYS_RENAME_DUP | |
204 | #define RUMP_SYS_RENAME_DUP rump___sysimpl_dup | 204 | #define RUMP_SYS_RENAME_DUP rump___sysimpl_dup | |
205 | #endif | 205 | #endif | |
206 | 206 | |||
207 | #ifndef RUMP_SYS_RENAME_LCHMOD | 207 | #ifndef RUMP_SYS_RENAME_LCHMOD | |
208 | #define RUMP_SYS_RENAME_LCHMOD rump___sysimpl_lchmod | 208 | #define RUMP_SYS_RENAME_LCHMOD rump___sysimpl_lchmod | |
209 | #endif | 209 | #endif | |
210 | 210 | |||
211 | #ifndef RUMP_SYS_RENAME___QUOTACTL | 211 | #ifndef RUMP_SYS_RENAME___QUOTACTL | |
212 | #define RUMP_SYS_RENAME___QUOTACTL rump___sysimpl___quotactl | 212 | #define RUMP_SYS_RENAME___QUOTACTL rump___sysimpl___quotactl | |
213 | #endif | 213 | #endif | |
214 | 214 | |||
215 | #ifndef RUMP_SYS_RENAME_GETPEERNAME | 215 | #ifndef RUMP_SYS_RENAME_GETPEERNAME | |
216 | #define RUMP_SYS_RENAME_GETPEERNAME rump___sysimpl_getpeername | 216 | #define RUMP_SYS_RENAME_GETPEERNAME rump___sysimpl_getpeername | |
217 | #endif | 217 | #endif | |
218 | 218 | |||
219 | #ifndef RUMP_SYS_RENAME_GETEGID | 219 | #ifndef RUMP_SYS_RENAME_GETEGID | |
220 | #define RUMP_SYS_RENAME_GETEGID rump___sysimpl_getegid | 220 | #define RUMP_SYS_RENAME_GETEGID rump___sysimpl_getegid | |
221 | #endif | 221 | #endif | |
222 | 222 | |||
223 | #ifndef RUMP_SYS_RENAME_EXTATTR_SET_LINK | 223 | #ifndef RUMP_SYS_RENAME_EXTATTR_SET_LINK | |
224 | #define RUMP_SYS_RENAME_EXTATTR_SET_LINK rump___sysimpl_extattr_set_link | 224 | #define RUMP_SYS_RENAME_EXTATTR_SET_LINK rump___sysimpl_extattr_set_link | |
225 | #endif | 225 | #endif | |
226 | 226 | |||
227 | #ifndef RUMP_SYS_RENAME_TIMER_CREATE | 227 | #ifndef RUMP_SYS_RENAME_TIMER_CREATE | |
228 | #define RUMP_SYS_RENAME_TIMER_CREATE rump___sysimpl_timer_create | 228 | #define RUMP_SYS_RENAME_TIMER_CREATE rump___sysimpl_timer_create | |
229 | #endif | 229 | #endif | |
230 | 230 | |||
231 | #ifndef RUMP_SYS_RENAME_FDISCARD | 231 | #ifndef RUMP_SYS_RENAME_FDISCARD | |
232 | #define RUMP_SYS_RENAME_FDISCARD rump___sysimpl_fdiscard | 232 | #define RUMP_SYS_RENAME_FDISCARD rump___sysimpl_fdiscard | |
233 | #endif | 233 | #endif | |
234 | 234 | |||
235 | #ifndef RUMP_SYS_RENAME_PACCEPT | 235 | #ifndef RUMP_SYS_RENAME_PACCEPT | |
236 | #define RUMP_SYS_RENAME_PACCEPT rump___sysimpl_paccept | 236 | #define RUMP_SYS_RENAME_PACCEPT rump___sysimpl_paccept | |
237 | #endif | 237 | #endif | |
238 | 238 | |||
239 | #ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FILE | 239 | #ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FILE | |
240 | #define RUMP_SYS_RENAME_EXTATTR_LIST_FILE rump___sysimpl_extattr_list_file | 240 | #define RUMP_SYS_RENAME_EXTATTR_LIST_FILE rump___sysimpl_extattr_list_file | |
241 | #endif | 241 | #endif | |
242 | 242 | |||
243 | #ifndef RUMP_SYS_RENAME__KSEM_TRYWAIT | 243 | #ifndef RUMP_SYS_RENAME__KSEM_TRYWAIT | |
244 | #define RUMP_SYS_RENAME__KSEM_TRYWAIT rump___sysimpl__ksem_trywait | 244 | #define RUMP_SYS_RENAME__KSEM_TRYWAIT rump___sysimpl__ksem_trywait | |
245 | #endif | 245 | #endif | |
246 | 246 | |||
247 | #ifndef RUMP_SYS_RENAME_LINK | 247 | #ifndef RUMP_SYS_RENAME_LINK | |
248 | #define RUMP_SYS_RENAME_LINK rump___sysimpl_link | 248 | #define RUMP_SYS_RENAME_LINK rump___sysimpl_link | |
249 | #endif | 249 | #endif | |
250 | 250 | |||
251 | #ifndef RUMP_SYS_RENAME_LCHFLAGS | 251 | #ifndef RUMP_SYS_RENAME_LCHFLAGS | |
252 | #define RUMP_SYS_RENAME_LCHFLAGS rump___sysimpl_lchflags | 252 | #define RUMP_SYS_RENAME_LCHFLAGS rump___sysimpl_lchflags | |
253 | #endif | 253 | #endif | |
254 | 254 | |||
255 | #ifndef RUMP_SYS_RENAME_DUP2 | 255 | #ifndef RUMP_SYS_RENAME_DUP2 | |
256 | #define RUMP_SYS_RENAME_DUP2 rump___sysimpl_dup2 | 256 | #define RUMP_SYS_RENAME_DUP2 rump___sysimpl_dup2 | |
257 | #endif | 257 | #endif | |
258 | 258 | |||
259 | #ifndef RUMP_SYS_RENAME_DUP3 | 259 | #ifndef RUMP_SYS_RENAME_DUP3 | |
260 | #define RUMP_SYS_RENAME_DUP3 rump___sysimpl_dup3 | 260 | #define RUMP_SYS_RENAME_DUP3 rump___sysimpl_dup3 | |
261 | #endif | 261 | #endif | |
262 | 262 | |||
263 | #ifndef RUMP_SYS_RENAME_FHOPEN | 263 | #ifndef RUMP_SYS_RENAME_FHOPEN | |
264 | #define RUMP_SYS_RENAME_FHOPEN rump___sysimpl_fhopen40 | 264 | #define RUMP_SYS_RENAME_FHOPEN rump___sysimpl_fhopen40 | |
265 | #endif | 265 | #endif | |
266 | 266 | |||
267 | #ifndef RUMP_SYS_RENAME_SELECT | 267 | #ifndef RUMP_SYS_RENAME_SELECT | |
268 | #define RUMP_SYS_RENAME_SELECT rump___sysimpl_select50 | 268 | #define RUMP_SYS_RENAME_SELECT rump___sysimpl_select50 | |
269 | #endif | 269 | #endif | |
270 | 270 | |||
271 | #ifndef RUMP_SYS_RENAME_EXTATTR_LIST_LINK | 271 | #ifndef RUMP_SYS_RENAME_EXTATTR_LIST_LINK | |
272 | #define RUMP_SYS_RENAME_EXTATTR_LIST_LINK rump___sysimpl_extattr_list_link | 272 | #define RUMP_SYS_RENAME_EXTATTR_LIST_LINK rump___sysimpl_extattr_list_link | |
273 | #endif | 273 | #endif | |
274 | 274 | |||
275 | #ifndef RUMP_SYS_RENAME_REVOKE | 275 | #ifndef RUMP_SYS_RENAME_REVOKE | |
276 | #define RUMP_SYS_RENAME_REVOKE rump___sysimpl_revoke | 276 | #define RUMP_SYS_RENAME_REVOKE rump___sysimpl_revoke | |
277 | #endif | 277 | #endif | |
278 | 278 | |||
279 | #ifndef RUMP_SYS_RENAME_FSTATVFS1 | 279 | #ifndef RUMP_SYS_RENAME_FSTATVFS1 | |
280 | #define RUMP_SYS_RENAME_FSTATVFS1 rump___sysimpl_fstatvfs1 | 280 | #define RUMP_SYS_RENAME_FSTATVFS1 rump___sysimpl_fstatvfs1 | |
281 | #endif | 281 | #endif | |
282 | 282 | |||
283 | #ifndef RUMP_SYS_RENAME_UTRACE | 283 | #ifndef RUMP_SYS_RENAME_UTRACE | |
284 | #define RUMP_SYS_RENAME_UTRACE rump___sysimpl_utrace | 284 | #define RUMP_SYS_RENAME_UTRACE rump___sysimpl_utrace | |
285 | #endif | 285 | #endif | |
286 | 286 | |||
287 | #ifndef RUMP_SYS_RENAME_UMASK | 287 | #ifndef RUMP_SYS_RENAME_UMASK | |
288 | #define RUMP_SYS_RENAME_UMASK rump___sysimpl_umask | 288 | #define RUMP_SYS_RENAME_UMASK rump___sysimpl_umask | |
289 | #endif | 289 | #endif | |
290 | 290 | |||
291 | #ifndef RUMP_SYS_RENAME_FCNTL | 291 | #ifndef RUMP_SYS_RENAME_FCNTL | |
292 | #define RUMP_SYS_RENAME_FCNTL rump___sysimpl_fcntl | 292 | #define RUMP_SYS_RENAME_FCNTL rump___sysimpl_fcntl | |
293 | #endif | 293 | #endif | |
294 | 294 | |||
295 | #ifndef RUMP_SYS_RENAME_MKFIFO | 295 | #ifndef RUMP_SYS_RENAME_MKFIFO | |
296 | #define RUMP_SYS_RENAME_MKFIFO rump___sysimpl_mkfifo | 296 | #define RUMP_SYS_RENAME_MKFIFO rump___sysimpl_mkfifo | |
297 | #endif | 297 | #endif | |
298 | 298 | |||
299 | #ifndef RUMP_SYS_RENAME_POLLTS | 299 | #ifndef RUMP_SYS_RENAME_POLLTS | |
300 | #define RUMP_SYS_RENAME_POLLTS rump___sysimpl_pollts50 | 300 | #define RUMP_SYS_RENAME_POLLTS rump___sysimpl_pollts50 | |
301 | #endif | 301 | #endif | |
302 | 302 | |||
303 | #ifndef RUMP_SYS_RENAME_OPEN | 303 | #ifndef RUMP_SYS_RENAME_OPEN | |
304 | #define RUMP_SYS_RENAME_OPEN rump___sysimpl_open | 304 | #define RUMP_SYS_RENAME_OPEN rump___sysimpl_open | |
305 | #endif | 305 | #endif | |
306 | 306 | |||
307 | #ifndef RUMP_SYS_RENAME_ACCESS | 307 | #ifndef RUMP_SYS_RENAME_ACCESS | |
308 | #define RUMP_SYS_RENAME_ACCESS rump___sysimpl_access | 308 | #define RUMP_SYS_RENAME_ACCESS rump___sysimpl_access | |
309 | #endif | 309 | #endif | |
310 | 310 | |||
311 | #ifndef RUMP_SYS_RENAME_MKNOD | 311 | #ifndef RUMP_SYS_RENAME_MKNOD | |
312 | #define RUMP_SYS_RENAME_MKNOD rump___sysimpl_mknod50 | 312 | #define RUMP_SYS_RENAME_MKNOD rump___sysimpl_mknod50 | |
313 | #endif | 313 | #endif | |
314 | 314 | |||
315 | #ifndef RUMP_SYS_RENAME_TRUNCATE | 315 | #ifndef RUMP_SYS_RENAME_TRUNCATE | |
316 | #define RUMP_SYS_RENAME_TRUNCATE rump___sysimpl_truncate | 316 | #define RUMP_SYS_RENAME_TRUNCATE rump___sysimpl_truncate | |
317 | #endif | 317 | #endif | |
318 | 318 | |||
319 | #ifndef RUMP_SYS_RENAME_SETGID | 319 | #ifndef RUMP_SYS_RENAME_SETGID | |
320 | #define RUMP_SYS_RENAME_SETGID rump___sysimpl_setgid | 320 | #define RUMP_SYS_RENAME_SETGID rump___sysimpl_setgid | |
321 | #endif | 321 | #endif | |
322 | 322 | |||
323 | #ifndef RUMP_SYS_RENAME_LREMOVEXATTR | 323 | #ifndef RUMP_SYS_RENAME_LREMOVEXATTR | |
324 | #define RUMP_SYS_RENAME_LREMOVEXATTR rump___sysimpl_lremovexattr | 324 | #define RUMP_SYS_RENAME_LREMOVEXATTR rump___sysimpl_lremovexattr | |
325 | #endif | 325 | #endif | |
326 | 326 | |||
327 | #ifndef RUMP_SYS_RENAME_RMDIR | 327 | #ifndef RUMP_SYS_RENAME_RMDIR | |
328 | #define RUMP_SYS_RENAME_RMDIR rump___sysimpl_rmdir | 328 | #define RUMP_SYS_RENAME_RMDIR rump___sysimpl_rmdir | |
329 | #endif | 329 | #endif | |
330 | 330 | |||
331 | #ifndef RUMP_SYS_RENAME_KQUEUE1 | 331 | #ifndef RUMP_SYS_RENAME_KQUEUE1 | |
332 | #define RUMP_SYS_RENAME_KQUEUE1 rump___sysimpl_kqueue1 | 332 | #define RUMP_SYS_RENAME_KQUEUE1 rump___sysimpl_kqueue1 | |
333 | #endif | 333 | #endif | |
334 | 334 | |||
335 | #ifndef RUMP_SYS_RENAME_CLOCK_GETRES | 335 | #ifndef RUMP_SYS_RENAME_CLOCK_GETRES | |
336 | #define RUMP_SYS_RENAME_CLOCK_GETRES rump___sysimpl_clock_getres50 | 336 | #define RUMP_SYS_RENAME_CLOCK_GETRES rump___sysimpl_clock_getres50 | |
337 | #endif | 337 | #endif | |
338 | 338 | |||
339 | #ifndef RUMP_SYS_RENAME_GETGID_WITH_EGID | 339 | #ifndef RUMP_SYS_RENAME_GETGID_WITH_EGID | |
340 | #define RUMP_SYS_RENAME_GETGID_WITH_EGID rump___sysimpl_getgid | 340 | #define RUMP_SYS_RENAME_GETGID_WITH_EGID rump___sysimpl_getgid | |
341 | #endif | 341 | #endif | |
342 | 342 | |||
343 | #ifndef RUMP_SYS_RENAME_SYMLINKAT | 343 | #ifndef RUMP_SYS_RENAME_SYMLINKAT | |
344 | #define RUMP_SYS_RENAME_SYMLINKAT rump___sysimpl_symlinkat | 344 | #define RUMP_SYS_RENAME_SYMLINKAT rump___sysimpl_symlinkat | |
345 | #endif | 345 | #endif | |
346 | 346 | |||
347 | #ifndef RUMP_SYS_RENAME_FSYNC_RANGE | 347 | #ifndef RUMP_SYS_RENAME_FSYNC_RANGE | |
348 | #define RUMP_SYS_RENAME_FSYNC_RANGE rump___sysimpl_fsync_range | 348 | #define RUMP_SYS_RENAME_FSYNC_RANGE rump___sysimpl_fsync_range | |
349 | #endif | 349 | #endif | |
350 | 350 | |||
351 | #ifndef RUMP_SYS_RENAME_PWRITE | 351 | #ifndef RUMP_SYS_RENAME_PWRITE | |
352 | #define RUMP_SYS_RENAME_PWRITE rump___sysimpl_pwrite | 352 | #define RUMP_SYS_RENAME_PWRITE rump___sysimpl_pwrite | |
353 | #endif | 353 | #endif | |
354 | 354 | |||
355 | #ifndef RUMP_SYS_RENAME_GETRLIMIT | 355 | #ifndef RUMP_SYS_RENAME_GETRLIMIT | |
356 | #define RUMP_SYS_RENAME_GETRLIMIT rump___sysimpl_getrlimit | 356 | #define RUMP_SYS_RENAME_GETRLIMIT rump___sysimpl_getrlimit | |
357 | #endif | 357 | #endif | |
358 | 358 | |||
359 | #ifndef RUMP_SYS_RENAME_RENAMEAT | 359 | #ifndef RUMP_SYS_RENAME_RENAMEAT | |
360 | #define RUMP_SYS_RENAME_RENAMEAT rump___sysimpl_renameat | 360 | #define RUMP_SYS_RENAME_RENAMEAT rump___sysimpl_renameat | |
361 | #endif | 361 | #endif | |
362 | 362 | |||
363 | #ifndef RUMP_SYS_RENAME_TIMER_GETTIME | 363 | #ifndef RUMP_SYS_RENAME_TIMER_GETTIME | |
364 | #define RUMP_SYS_RENAME_TIMER_GETTIME rump___sysimpl_timer_gettime50 | 364 | #define RUMP_SYS_RENAME_TIMER_GETTIME rump___sysimpl_timer_gettime50 | |
365 | #endif | 365 | #endif | |
366 | 366 | |||
367 | #ifndef RUMP_SYS_RENAME_FGETXATTR | 367 | #ifndef RUMP_SYS_RENAME_FGETXATTR | |
368 | #define RUMP_SYS_RENAME_FGETXATTR rump___sysimpl_fgetxattr | 368 | #define RUMP_SYS_RENAME_FGETXATTR rump___sysimpl_fgetxattr | |
369 | #endif | 369 | #endif | |
370 | 370 | |||
371 | #ifndef RUMP_SYS_RENAME_SENDMSG | 371 | #ifndef RUMP_SYS_RENAME_SENDMSG | |
372 | #define RUMP_SYS_RENAME_SENDMSG rump___sysimpl_sendmsg | 372 | #define RUMP_SYS_RENAME_SENDMSG rump___sysimpl_sendmsg | |
373 | #endif | 373 | #endif | |
374 | 374 | |||
375 | #ifndef RUMP_SYS_RENAME__KSEM_OPEN | 375 | #ifndef RUMP_SYS_RENAME__KSEM_OPEN | |
376 | #define RUMP_SYS_RENAME__KSEM_OPEN rump___sysimpl__ksem_open | 376 | #define RUMP_SYS_RENAME__KSEM_OPEN rump___sysimpl__ksem_open | |
377 | #endif | 377 | #endif | |
378 | 378 | |||
379 | #ifndef RUMP_SYS_RENAME_FLISTXATTR | 379 | #ifndef RUMP_SYS_RENAME_FLISTXATTR | |
380 | #define RUMP_SYS_RENAME_FLISTXATTR rump___sysimpl_flistxattr | 380 | #define RUMP_SYS_RENAME_FLISTXATTR rump___sysimpl_flistxattr | |
381 | #endif | 381 | #endif | |
382 | 382 | |||
383 | #ifndef RUMP_SYS_RENAME_LUTIMES | 383 | #ifndef RUMP_SYS_RENAME_LUTIMES | |
384 | #define RUMP_SYS_RENAME_LUTIMES rump___sysimpl_lutimes50 | 384 | #define RUMP_SYS_RENAME_LUTIMES rump___sysimpl_lutimes50 | |
385 | #endif | 385 | #endif | |
386 | 386 | |||
387 | #ifndef RUMP_SYS_RENAME_CLOCK_SETTIME | 387 | #ifndef RUMP_SYS_RENAME_CLOCK_SETTIME | |
388 | #define RUMP_SYS_RENAME_CLOCK_SETTIME rump___sysimpl_clock_settime50 | 388 | #define RUMP_SYS_RENAME_CLOCK_SETTIME rump___sysimpl_clock_settime50 | |
389 | #endif | 389 | #endif | |
390 | 390 | |||
391 | #ifndef RUMP_SYS_RENAME_SETITIMER | 391 | #ifndef RUMP_SYS_RENAME_SETITIMER | |
392 | #define RUMP_SYS_RENAME_SETITIMER rump___sysimpl_setitimer50 | 392 | #define RUMP_SYS_RENAME_SETITIMER rump___sysimpl_setitimer50 | |
393 | #endif | 393 | #endif | |
394 | 394 | |||
395 | #ifndef RUMP_SYS_RENAME_SHUTDOWN | 395 | #ifndef RUMP_SYS_RENAME_SHUTDOWN | |
396 | #define RUMP_SYS_RENAME_SHUTDOWN rump___sysimpl_shutdown | 396 | #define RUMP_SYS_RENAME_SHUTDOWN rump___sysimpl_shutdown | |
397 | #endif | 397 | #endif | |
398 | 398 | |||
399 | #ifndef RUMP_SYS_RENAME_PREAD | 399 | #ifndef RUMP_SYS_RENAME_PREAD | |
400 | #define RUMP_SYS_RENAME_PREAD rump___sysimpl_pread | 400 | #define RUMP_SYS_RENAME_PREAD rump___sysimpl_pread | |
401 | #endif | 401 | #endif | |
402 | 402 | |||
403 | #ifndef RUMP_SYS_RENAME_LISTEN | 403 | #ifndef RUMP_SYS_RENAME_LISTEN | |
404 | #define RUMP_SYS_RENAME_LISTEN rump___sysimpl_listen | 404 | #define RUMP_SYS_RENAME_LISTEN rump___sysimpl_listen | |
405 | #endif | 405 | #endif | |
406 | 406 | |||
407 | #ifndef RUMP_SYS_RENAME_MKDIR | 407 | #ifndef RUMP_SYS_RENAME_MKDIR | |
408 | #define RUMP_SYS_RENAME_MKDIR rump___sysimpl_mkdir | 408 | #define RUMP_SYS_RENAME_MKDIR rump___sysimpl_mkdir | |
409 | #endif | 409 | #endif | |
410 | 410 | |||
411 | #ifndef RUMP_SYS_RENAME_GETFH | 411 | #ifndef RUMP_SYS_RENAME_GETFH | |
412 | #define RUMP_SYS_RENAME_GETFH rump___sysimpl_getfh30 | 412 | #define RUMP_SYS_RENAME_GETFH rump___sysimpl_getfh30 | |
413 | #endif | 413 | #endif | |
414 | 414 | |||
415 | #ifndef RUMP_SYS_RENAME_AIO_FSYNC | 415 | #ifndef RUMP_SYS_RENAME_AIO_FSYNC | |
416 | #define RUMP_SYS_RENAME_AIO_FSYNC rump___sysimpl_aio_fsync | 416 | #define RUMP_SYS_RENAME_AIO_FSYNC rump___sysimpl_aio_fsync | |
417 | #endif | 417 | #endif | |
418 | 418 | |||
419 | #ifndef RUMP_SYS_RENAME___POSIX_LCHOWN | 419 | #ifndef RUMP_SYS_RENAME___POSIX_LCHOWN | |
420 | #define RUMP_SYS_RENAME___POSIX_LCHOWN rump___sysimpl___posix_lchown | 420 | #define RUMP_SYS_RENAME___POSIX_LCHOWN rump___sysimpl___posix_lchown | |
421 | #endif | 421 | #endif | |
422 | 422 | |||
423 | #ifndef RUMP_SYS_RENAME_GETEUID | 423 | #ifndef RUMP_SYS_RENAME_GETEUID | |
424 | #define RUMP_SYS_RENAME_GETEUID rump___sysimpl_geteuid | 424 | #define RUMP_SYS_RENAME_GETEUID rump___sysimpl_geteuid | |
425 | #endif | 425 | #endif | |
426 | 426 | |||
427 | #ifndef RUMP_SYS_RENAME_FSYNC | 427 | #ifndef RUMP_SYS_RENAME_FSYNC | |
428 | #define RUMP_SYS_RENAME_FSYNC rump___sysimpl_fsync | 428 | #define RUMP_SYS_RENAME_FSYNC rump___sysimpl_fsync | |
429 | #endif | 429 | #endif | |
430 | 430 | |||
431 | #ifndef RUMP_SYS_RENAME_EXTATTR_DELETE_FILE | 431 | #ifndef RUMP_SYS_RENAME_EXTATTR_DELETE_FILE | |
432 | #define RUMP_SYS_RENAME_EXTATTR_DELETE_FILE rump___sysimpl_extattr_delete_file | 432 | #define RUMP_SYS_RENAME_EXTATTR_DELETE_FILE rump___sysimpl_extattr_delete_file | |
433 | #endif | 433 | #endif | |
434 | 434 | |||
435 | #ifndef RUMP_SYS_RENAME_ISSETUGID | 435 | #ifndef RUMP_SYS_RENAME_ISSETUGID | |
436 | #define RUMP_SYS_RENAME_ISSETUGID rump___sysimpl_issetugid | 436 | #define RUMP_SYS_RENAME_ISSETUGID rump___sysimpl_issetugid | |
437 | #endif | 437 | #endif | |
438 | 438 | |||
439 | #ifndef RUMP_SYS_RENAME_LGETXATTR | 439 | #ifndef RUMP_SYS_RENAME_LGETXATTR | |
440 | #define RUMP_SYS_RENAME_LGETXATTR rump___sysimpl_lgetxattr | 440 | #define RUMP_SYS_RENAME_LGETXATTR rump___sysimpl_lgetxattr | |
441 | #endif | 441 | #endif | |
442 | 442 | |||
443 | #ifndef RUMP_SYS_RENAME_KEVENT | 443 | #ifndef RUMP_SYS_RENAME_KEVENT | |
444 | #define RUMP_SYS_RENAME_KEVENT rump___sysimpl_kevent50 | 444 | #define RUMP_SYS_RENAME_KEVENT rump___sysimpl_kevent50 | |
445 | #endif | 445 | #endif | |
446 | 446 | |||
447 | #ifndef RUMP_SYS_RENAME_AIO_ERROR | 447 | #ifndef RUMP_SYS_RENAME_AIO_ERROR | |
448 | #define RUMP_SYS_RENAME_AIO_ERROR rump___sysimpl_aio_error | 448 | #define RUMP_SYS_RENAME_AIO_ERROR rump___sysimpl_aio_error | |
449 | #endif | 449 | #endif | |
450 | 450 | |||
451 | #ifndef RUMP_SYS_RENAME_POSIX_FADVISE | 451 | #ifndef RUMP_SYS_RENAME_POSIX_FADVISE | |
452 | #define RUMP_SYS_RENAME_POSIX_FADVISE rump___sysimpl_posix_fadvise50 | 452 | #define RUMP_SYS_RENAME_POSIX_FADVISE rump___sysimpl_posix_fadvise50 | |
453 | #endif | 453 | #endif | |
454 | 454 | |||
455 | #ifndef RUMP_SYS_RENAME_FSTAT | 455 | #ifndef RUMP_SYS_RENAME_FSTAT | |
456 | #define RUMP_SYS_RENAME_FSTAT rump___sysimpl_fstat50 | 456 | #define RUMP_SYS_RENAME_FSTAT rump___sysimpl_fstat50 | |
457 | #endif | 457 | #endif | |
458 | 458 | |||
459 | #ifndef RUMP_SYS_RENAME__KSEM_DESTROY | 459 | #ifndef RUMP_SYS_RENAME__KSEM_DESTROY | |
460 | #define RUMP_SYS_RENAME__KSEM_DESTROY rump___sysimpl__ksem_destroy | 460 | #define RUMP_SYS_RENAME__KSEM_DESTROY rump___sysimpl__ksem_destroy | |
461 | #endif | 461 | #endif | |
462 | 462 | |||
463 | #ifndef RUMP_SYS_RENAME_MKNODAT | 463 | #ifndef RUMP_SYS_RENAME_MKNODAT | |
464 | #define RUMP_SYS_RENAME_MKNODAT rump___sysimpl_mknodat | 464 | #define RUMP_SYS_RENAME_MKNODAT rump___sysimpl_mknodat | |
465 | #endif | 465 | #endif | |
466 | 466 | |||
467 | #ifndef RUMP_SYS_RENAME_CHDIR | 467 | #ifndef RUMP_SYS_RENAME_CHDIR | |
468 | #define RUMP_SYS_RENAME_CHDIR rump___sysimpl_chdir | 468 | #define RUMP_SYS_RENAME_CHDIR rump___sysimpl_chdir | |
469 | #endif | 469 | #endif | |
470 | 470 | |||
471 | #ifndef RUMP_SYS_RENAME_EXTATTR_DELETE_LINK | 471 | #ifndef RUMP_SYS_RENAME_EXTATTR_DELETE_LINK | |
472 | #define RUMP_SYS_RENAME_EXTATTR_DELETE_LINK rump___sysimpl_extattr_delete_link | 472 | #define RUMP_SYS_RENAME_EXTATTR_DELETE_LINK rump___sysimpl_extattr_delete_link | |
473 | #endif | 473 | #endif | |
474 | 474 | |||
475 | #ifndef RUMP_SYS_RENAME_CHOWN | 475 | #ifndef RUMP_SYS_RENAME_CHOWN | |
476 | #define RUMP_SYS_RENAME_CHOWN rump___sysimpl_chown | 476 | #define RUMP_SYS_RENAME_CHOWN rump___sysimpl_chown | |
477 | #endif | 477 | #endif | |
478 | 478 | |||
479 | #ifndef RUMP_SYS_RENAME_CLOCK_GETTIME | 479 | #ifndef RUMP_SYS_RENAME_CLOCK_GETTIME | |
480 | #define RUMP_SYS_RENAME_CLOCK_GETTIME rump___sysimpl_clock_gettime50 | 480 | #define RUMP_SYS_RENAME_CLOCK_GETTIME rump___sysimpl_clock_gettime50 | |
481 | #endif | 481 | #endif | |
482 | 482 | |||
483 | #ifndef RUMP_SYS_RENAME_FCHDIR | 483 | #ifndef RUMP_SYS_RENAME_FCHDIR | |
484 | #define RUMP_SYS_RENAME_FCHDIR rump___sysimpl_fchdir | 484 | #define RUMP_SYS_RENAME_FCHDIR rump___sysimpl_fchdir | |
485 | #endif | 485 | #endif | |
486 | 486 | |||
487 | #ifndef RUMP_SYS_RENAME_RECVMSG | 487 | #ifndef RUMP_SYS_RENAME_RECVMSG | |
488 | #define RUMP_SYS_RENAME_RECVMSG rump___sysimpl_recvmsg | 488 | #define RUMP_SYS_RENAME_RECVMSG rump___sysimpl_recvmsg | |
489 | #endif | 489 | #endif | |
490 | 490 | |||
491 | #ifndef RUMP_SYS_RENAME_FCHOWN | 491 | #ifndef RUMP_SYS_RENAME_FCHOWN | |
492 | #define RUMP_SYS_RENAME_FCHOWN rump___sysimpl_fchown | 492 | #define RUMP_SYS_RENAME_FCHOWN rump___sysimpl_fchown | |
493 | #endif | 493 | #endif | |
494 | 494 | |||
495 | #ifndef RUMP_SYS_RENAME_SETREGID | 495 | #ifndef RUMP_SYS_RENAME_SETREGID | |
496 | #define RUMP_SYS_RENAME_SETREGID rump___sysimpl_setregid | 496 | #define RUMP_SYS_RENAME_SETREGID rump___sysimpl_setregid | |
497 | #endif | 497 | #endif | |
498 | 498 | |||
499 | #ifndef RUMP_SYS_RENAME_POLL | 499 | #ifndef RUMP_SYS_RENAME_POLL | |
500 | #define RUMP_SYS_RENAME_POLL rump___sysimpl_poll | 500 | #define RUMP_SYS_RENAME_POLL rump___sysimpl_poll | |
501 | #endif | 501 | #endif | |
502 | 502 | |||
503 | #ifndef RUMP_SYS_RENAME_READV | 503 | #ifndef RUMP_SYS_RENAME_READV | |
504 | #define RUMP_SYS_RENAME_READV rump___sysimpl_readv | 504 | #define RUMP_SYS_RENAME_READV rump___sysimpl_readv | |
505 | #endif | 505 | #endif | |
506 | 506 | |||
507 | #ifndef RUMP_SYS_RENAME_SYMLINK | 507 | #ifndef RUMP_SYS_RENAME_SYMLINK | |
508 | #define RUMP_SYS_RENAME_SYMLINK rump___sysimpl_symlink | 508 | #define RUMP_SYS_RENAME_SYMLINK rump___sysimpl_symlink | |
509 | #endif | 509 | #endif | |
510 | 510 | |||
511 | #ifndef RUMP_SYS_RENAME_SENDMMSG | 511 | #ifndef RUMP_SYS_RENAME_SENDMMSG | |
512 | #define RUMP_SYS_RENAME_SENDMMSG rump___sysimpl_sendmmsg | 512 | #define RUMP_SYS_RENAME_SENDMMSG rump___sysimpl_sendmmsg | |
513 | #endif | 513 | #endif | |
514 | 514 | |||
515 | #ifndef RUMP_SYS_RENAME_PSELECT | 515 | #ifndef RUMP_SYS_RENAME_PSELECT | |
516 | #define RUMP_SYS_RENAME_PSELECT rump___sysimpl_pselect50 | 516 | #define RUMP_SYS_RENAME_PSELECT rump___sysimpl_pselect50 | |
517 | #endif | 517 | #endif | |
518 | 518 | |||
519 | #ifndef RUMP_SYS_RENAME_SETGROUPS | 519 | #ifndef RUMP_SYS_RENAME_SETGROUPS | |
520 | #define RUMP_SYS_RENAME_SETGROUPS rump___sysimpl_setgroups | 520 | #define RUMP_SYS_RENAME_SETGROUPS rump___sysimpl_setgroups | |
521 | #endif | 521 | #endif | |
522 | 522 | |||
523 | #ifndef RUMP_SYS_RENAME_SETXATTR | 523 | #ifndef RUMP_SYS_RENAME_SETXATTR | |
524 | #define RUMP_SYS_RENAME_SETXATTR rump___sysimpl_setxattr | 524 | #define RUMP_SYS_RENAME_SETXATTR rump___sysimpl_setxattr | |
525 | #endif | 525 | #endif | |
526 | 526 | |||
527 | #ifndef RUMP_SYS_RENAME_SETEGID | 527 | #ifndef RUMP_SYS_RENAME_SETEGID | |
528 | #define RUMP_SYS_RENAME_SETEGID rump___sysimpl_setegid | 528 | #define RUMP_SYS_RENAME_SETEGID rump___sysimpl_setegid | |
529 | #endif | 529 | #endif | |
530 | 530 | |||
531 | #ifndef RUMP_SYS_RENAME_GETSOCKOPT | 531 | #ifndef RUMP_SYS_RENAME_GETSOCKOPT | |
532 | #define RUMP_SYS_RENAME_GETSOCKOPT rump___sysimpl_getsockopt | 532 | #define RUMP_SYS_RENAME_GETSOCKOPT rump___sysimpl_getsockopt | |
533 | #endif | 533 | #endif | |
534 | 534 | |||
535 | #ifndef RUMP_SYS_RENAME_CONNECT | 535 | #ifndef RUMP_SYS_RENAME_CONNECT | |
536 | #define RUMP_SYS_RENAME_CONNECT rump___sysimpl_connect | 536 | #define RUMP_SYS_RENAME_CONNECT rump___sysimpl_connect | |
537 | #endif | 537 | #endif | |
538 | 538 | |||
539 | #ifndef RUMP_SYS_RENAME_LSEEK | 539 | #ifndef RUMP_SYS_RENAME_LSEEK | |
540 | #define RUMP_SYS_RENAME_LSEEK rump___sysimpl_lseek | 540 | #define RUMP_SYS_RENAME_LSEEK rump___sysimpl_lseek | |
541 | #endif | 541 | #endif | |
542 | 542 | |||
543 | #ifndef RUMP_SYS_RENAME_MKFIFOAT | 543 | #ifndef RUMP_SYS_RENAME_MKFIFOAT | |
544 | #define RUMP_SYS_RENAME_MKFIFOAT rump___sysimpl_mkfifoat | 544 | #define RUMP_SYS_RENAME_MKFIFOAT rump___sysimpl_mkfifoat | |
545 | #endif | 545 | #endif | |
546 | 546 | |||
547 | #ifndef RUMP_SYS_RENAME_EXTATTR_DELETE_FD | 547 | #ifndef RUMP_SYS_RENAME_EXTATTR_DELETE_FD | |
548 | #define RUMP_SYS_RENAME_EXTATTR_DELETE_FD rump___sysimpl_extattr_delete_fd | 548 | #define RUMP_SYS_RENAME_EXTATTR_DELETE_FD rump___sysimpl_extattr_delete_fd | |
549 | #endif | 549 | #endif | |
550 | 550 | |||
551 | #ifndef RUMP_SYS_RENAME_CHMOD | 551 | #ifndef RUMP_SYS_RENAME_CHMOD | |
552 | #define RUMP_SYS_RENAME_CHMOD rump___sysimpl_chmod | 552 | #define RUMP_SYS_RENAME_CHMOD rump___sysimpl_chmod | |
553 | #endif | 553 | #endif | |
554 | 554 | |||
555 | #ifndef RUMP_SYS_RENAME_BIND | 555 | #ifndef RUMP_SYS_RENAME_BIND | |
556 | #define RUMP_SYS_RENAME_BIND rump___sysimpl_bind | 556 | #define RUMP_SYS_RENAME_BIND rump___sysimpl_bind | |
557 | #endif | 557 | #endif | |
558 | 558 | |||
559 | #ifndef RUMP_SYS_RENAME__KSEM_WAIT | 559 | #ifndef RUMP_SYS_RENAME__KSEM_WAIT | |
560 | #define RUMP_SYS_RENAME__KSEM_WAIT rump___sysimpl__ksem_wait | 560 | #define RUMP_SYS_RENAME__KSEM_WAIT rump___sysimpl__ksem_wait | |
561 | #endif | 561 | #endif | |
562 | 562 | |||
563 | #ifndef RUMP_SYS_RENAME_FCHOWNAT | 563 | #ifndef RUMP_SYS_RENAME_FCHOWNAT | |
564 | #define RUMP_SYS_RENAME_FCHOWNAT rump___sysimpl_fchownat | 564 | #define RUMP_SYS_RENAME_FCHOWNAT rump___sysimpl_fchownat | |
565 | #endif | 565 | #endif | |
566 | 566 | |||
567 | #ifndef RUMP_SYS_RENAME_SETUID | 567 | #ifndef RUMP_SYS_RENAME_SETUID | |
568 | #define RUMP_SYS_RENAME_SETUID rump___sysimpl_setuid | 568 | #define RUMP_SYS_RENAME_SETUID rump___sysimpl_setuid | |
569 | #endif | 569 | #endif | |
570 | 570 | |||
571 | #ifndef RUMP_SYS_RENAME_GETUID_WITH_EUID | 571 | #ifndef RUMP_SYS_RENAME_GETUID_WITH_EUID | |
572 | #define RUMP_SYS_RENAME_GETUID_WITH_EUID rump___sysimpl_getuid | 572 | #define RUMP_SYS_RENAME_GETUID_WITH_EUID rump___sysimpl_getuid | |
573 | #endif | 573 | #endif | |
574 | 574 | |||
575 | #ifndef RUMP_SYS_RENAME_CHROOT | 575 | #ifndef RUMP_SYS_RENAME_CHROOT | |
576 | #define RUMP_SYS_RENAME_CHROOT rump___sysimpl_chroot | 576 | #define RUMP_SYS_RENAME_CHROOT rump___sysimpl_chroot | |
577 | #endif | 577 | #endif | |
578 | 578 | |||
579 | #ifndef RUMP_SYS_RENAME_FCHMOD | 579 | #ifndef RUMP_SYS_RENAME_FCHMOD | |
580 | #define RUMP_SYS_RENAME_FCHMOD rump___sysimpl_fchmod | 580 | #define RUMP_SYS_RENAME_FCHMOD rump___sysimpl_fchmod | |
581 | #endif | 581 | #endif | |
582 | 582 | |||
583 | #ifndef RUMP_SYS_RENAME_FPATHCONF | 583 | #ifndef RUMP_SYS_RENAME_FPATHCONF | |
584 | #define RUMP_SYS_RENAME_FPATHCONF rump___sysimpl_fpathconf | 584 | #define RUMP_SYS_RENAME_FPATHCONF rump___sysimpl_fpathconf | |
585 | #endif | 585 | #endif | |
586 | 586 | |||
587 | #ifndef RUMP_SYS_RENAME_UNMOUNT | 587 | #ifndef RUMP_SYS_RENAME_UNMOUNT | |
588 | #define RUMP_SYS_RENAME_UNMOUNT rump___sysimpl_unmount | 588 | #define RUMP_SYS_RENAME_UNMOUNT rump___sysimpl_unmount | |
589 | #endif | 589 | #endif | |
590 | 590 | |||
591 | #ifndef RUMP_SYS_RENAME_READLINK | 591 | #ifndef RUMP_SYS_RENAME_READLINK | |
592 | #define RUMP_SYS_RENAME_READLINK rump___sysimpl_readlink | 592 | #define RUMP_SYS_RENAME_READLINK rump___sysimpl_readlink | |
593 | #endif | 593 | #endif | |
594 | 594 | |||
595 | #ifndef RUMP_SYS_RENAME_FUTIMENS | 595 | #ifndef RUMP_SYS_RENAME_FUTIMENS | |
596 | #define RUMP_SYS_RENAME_FUTIMENS rump___sysimpl_futimens | 596 | #define RUMP_SYS_RENAME_FUTIMENS rump___sysimpl_futimens | |
597 | #endif | 597 | #endif | |
598 | 598 | |||
599 | #ifndef RUMP_SYS_RENAME_LSETXATTR | 599 | #ifndef RUMP_SYS_RENAME_LSETXATTR | |
600 | #define RUMP_SYS_RENAME_LSETXATTR rump___sysimpl_lsetxattr | 600 | #define RUMP_SYS_RENAME_LSETXATTR rump___sysimpl_lsetxattr | |
601 | #endif | 601 | #endif | |
602 | 602 | |||
603 | #ifndef RUMP_SYS_RENAME__KSEM_GETVALUE | 603 | #ifndef RUMP_SYS_RENAME__KSEM_GETVALUE | |
604 | #define RUMP_SYS_RENAME__KSEM_GETVALUE rump___sysimpl__ksem_getvalue | 604 | #define RUMP_SYS_RENAME__KSEM_GETVALUE rump___sysimpl__ksem_getvalue | |
605 | #endif | 605 | #endif | |
606 | 606 | |||
607 | #ifndef RUMP_SYS_RENAME___POSIX_CHOWN | 607 | #ifndef RUMP_SYS_RENAME___POSIX_CHOWN | |
608 | #define RUMP_SYS_RENAME___POSIX_CHOWN rump___sysimpl___posix_chown | 608 | #define RUMP_SYS_RENAME___POSIX_CHOWN rump___sysimpl___posix_chown | |
609 | #endif | 609 | #endif | |
610 | 610 | |||
611 | #ifndef RUMP_SYS_RENAME_AIO_READ | 611 | #ifndef RUMP_SYS_RENAME_AIO_READ | |
612 | #define RUMP_SYS_RENAME_AIO_READ rump___sysimpl_aio_read | 612 | #define RUMP_SYS_RENAME_AIO_READ rump___sysimpl_aio_read | |
613 | #endif | 613 | #endif | |
614 | 614 | |||
615 | #ifndef RUMP_SYS_RENAME_READ | 615 | #ifndef RUMP_SYS_RENAME_READ | |
616 | #define RUMP_SYS_RENAME_READ rump___sysimpl_read | 616 | #define RUMP_SYS_RENAME_READ rump___sysimpl_read | |
617 | #endif | 617 | #endif | |
618 | 618 | |||
619 | #ifndef RUMP_SYS_RENAME_RENAME | 619 | #ifndef RUMP_SYS_RENAME_RENAME | |
620 | #define RUMP_SYS_RENAME_RENAME rump___sysimpl_rename | 620 | #define RUMP_SYS_RENAME_RENAME rump___sysimpl_rename | |
621 | #endif | 621 | #endif | |
622 | 622 | |||
623 | #ifndef RUMP_SYS_RENAME_WRITEV | 623 | #ifndef RUMP_SYS_RENAME_WRITEV | |
624 | #define RUMP_SYS_RENAME_WRITEV rump___sysimpl_writev | 624 | #define RUMP_SYS_RENAME_WRITEV rump___sysimpl_writev | |
625 | #endif | 625 | #endif | |
626 | 626 | |||
627 | #ifndef RUMP_SYS_RENAME_CLOSE | 627 | #ifndef RUMP_SYS_RENAME_CLOSE | |
628 | #define RUMP_SYS_RENAME_CLOSE rump___sysimpl_close | 628 | #define RUMP_SYS_RENAME_CLOSE rump___sysimpl_close | |
629 | #endif | 629 | #endif | |
630 | 630 | |||
631 | #ifndef RUMP_SYS_RENAME_GETPGID | 631 | #ifndef RUMP_SYS_RENAME_GETPGID | |
632 | #define RUMP_SYS_RENAME_GETPGID rump___sysimpl_getpgid | 632 | #define RUMP_SYS_RENAME_GETPGID rump___sysimpl_getpgid | |
633 | #endif | 633 | #endif | |
634 | 634 | |||
635 | #ifndef RUMP_SYS_RENAME_NANOSLEEP | 635 | #ifndef RUMP_SYS_RENAME_NANOSLEEP | |
636 | #define RUMP_SYS_RENAME_NANOSLEEP rump___sysimpl_nanosleep50 | 636 | #define RUMP_SYS_RENAME_NANOSLEEP rump___sysimpl_nanosleep50 | |
637 | #endif | 637 | #endif | |
638 | 638 | |||
639 | #ifndef RUMP_SYS_RENAME_IOCTL | 639 | #ifndef RUMP_SYS_RENAME_IOCTL | |
640 | #define RUMP_SYS_RENAME_IOCTL rump___sysimpl_ioctl | 640 | #define RUMP_SYS_RENAME_IOCTL rump___sysimpl_ioctl | |
641 | #endif | 641 | #endif | |
642 | 642 | |||
643 | #ifndef RUMP_SYS_RENAME_FHSTAT | 643 | #ifndef RUMP_SYS_RENAME_FHSTAT | |
644 | #define RUMP_SYS_RENAME_FHSTAT rump___sysimpl_fhstat50 | 644 | #define RUMP_SYS_RENAME_FHSTAT rump___sysimpl_fhstat50 | |
645 | #endif | 645 | #endif | |
646 | 646 | |||
647 | #ifndef RUMP_SYS_RENAME_RECVFROM | 647 | #ifndef RUMP_SYS_RENAME_RECVFROM | |
648 | #define RUMP_SYS_RENAME_RECVFROM rump___sysimpl_recvfrom | 648 | #define RUMP_SYS_RENAME_RECVFROM rump___sysimpl_recvfrom | |
649 | #endif | 649 | #endif | |
650 | 650 | |||
651 | #ifndef RUMP_SYS_RENAME__KSEM_INIT | 651 | #ifndef RUMP_SYS_RENAME__KSEM_INIT | |
652 | #define RUMP_SYS_RENAME__KSEM_INIT rump___sysimpl__ksem_init | 652 | #define RUMP_SYS_RENAME__KSEM_INIT rump___sysimpl__ksem_init | |
653 | #endif | 653 | #endif | |
654 | 654 | |||
655 | #ifndef RUMP_SYS_RENAME__KSEM_CLOSE | 655 | #ifndef RUMP_SYS_RENAME__KSEM_CLOSE | |
656 | #define RUMP_SYS_RENAME__KSEM_CLOSE rump___sysimpl__ksem_close | 656 | #define RUMP_SYS_RENAME__KSEM_CLOSE rump___sysimpl__ksem_close | |
657 | #endif | 657 | #endif | |
658 | 658 | |||
659 | #ifndef RUMP_SYS_RENAME_MOUNT | 659 | #ifndef RUMP_SYS_RENAME_MOUNT | |
660 | #define RUMP_SYS_RENAME_MOUNT rump___sysimpl_mount50 | 660 | #define RUMP_SYS_RENAME_MOUNT rump___sysimpl_mount50 | |
661 | #endif | 661 | #endif | |
662 | 662 | |||
663 | #ifndef RUMP_SYS_RENAME_UTIMES | 663 | #ifndef RUMP_SYS_RENAME_UTIMES | |
664 | #define RUMP_SYS_RENAME_UTIMES rump___sysimpl_utimes50 | 664 | #define RUMP_SYS_RENAME_UTIMES rump___sysimpl_utimes50 | |
665 | #endif | 665 | #endif | |
666 | 666 | |||
667 | #ifndef RUMP_SYS_RENAME_FCHMODAT | 667 | #ifndef RUMP_SYS_RENAME_FCHMODAT | |
668 | #define RUMP_SYS_RENAME_FCHMODAT rump___sysimpl_fchmodat | 668 | #define RUMP_SYS_RENAME_FCHMODAT rump___sysimpl_fchmodat | |
669 | #endif | 669 | #endif | |
670 | 670 | |||
671 | #ifndef RUMP_SYS_RENAME_KTRACE | 671 | #ifndef RUMP_SYS_RENAME_KTRACE | |
672 | #define RUMP_SYS_RENAME_KTRACE rump___sysimpl_ktrace | 672 | #define RUMP_SYS_RENAME_KTRACE rump___sysimpl_ktrace | |
673 | #endif | 673 | #endif | |
674 | 674 | |||
675 | #ifndef RUMP_SYS_RENAME_SYNC | 675 | #ifndef RUMP_SYS_RENAME_SYNC | |
676 | #define RUMP_SYS_RENAME_SYNC rump___sysimpl_sync | 676 | #define RUMP_SYS_RENAME_SYNC rump___sysimpl_sync | |
677 | #endif | 677 | #endif | |
678 | 678 | |||
679 | #ifndef RUMP_SYS_RENAME_UNLINKAT | 679 | #ifndef RUMP_SYS_RENAME_UNLINKAT | |
680 | #define RUMP_SYS_RENAME_UNLINKAT rump___sysimpl_unlinkat | 680 | #define RUMP_SYS_RENAME_UNLINKAT rump___sysimpl_unlinkat | |
681 | #endif | 681 | #endif | |
682 | 682 | |||
683 | #ifndef RUMP_SYS_RENAME_LLISTXATTR | 683 | #ifndef RUMP_SYS_RENAME_LLISTXATTR | |
684 | #define RUMP_SYS_RENAME_LLISTXATTR rump___sysimpl_llistxattr | 684 | #define RUMP_SYS_RENAME_LLISTXATTR rump___sysimpl_llistxattr | |
685 | #endif | 685 | #endif | |
686 | 686 | |||
687 | #ifndef RUMP_SYS_RENAME__KSEM_POST | 687 | #ifndef RUMP_SYS_RENAME__KSEM_POST | |
688 | #define RUMP_SYS_RENAME__KSEM_POST rump___sysimpl__ksem_post | 688 | #define RUMP_SYS_RENAME__KSEM_POST rump___sysimpl__ksem_post | |
689 | #endif | 689 | #endif | |
690 | 690 | |||
691 | #ifndef RUMP_SYS_RENAME_STATVFS1 | 691 | #ifndef RUMP_SYS_RENAME_STATVFS1 | |
692 | #define RUMP_SYS_RENAME_STATVFS1 rump___sysimpl_statvfs1 | 692 | #define RUMP_SYS_RENAME_STATVFS1 rump___sysimpl_statvfs1 | |
693 | #endif | 693 | #endif | |
694 | 694 | |||
695 | #ifndef RUMP_SYS_RENAME_STAT | 695 | #ifndef RUMP_SYS_RENAME_STAT | |
696 | #define RUMP_SYS_RENAME_STAT rump___sysimpl_stat50 | 696 | #define RUMP_SYS_RENAME_STAT rump___sysimpl_stat50 | |
697 | #endif | 697 | #endif | |
698 | 698 | |||
699 | #ifndef RUMP_SYS_RENAME_SETSOCKOPT | 699 | #ifndef RUMP_SYS_RENAME_SETSOCKOPT | |
700 | #define RUMP_SYS_RENAME_SETSOCKOPT rump___sysimpl_setsockopt | 700 | #define RUMP_SYS_RENAME_SETSOCKOPT rump___sysimpl_setsockopt | |
701 | #endif | 701 | #endif | |
702 | 702 | |||
703 | #ifndef RUMP_SYS_RENAME_GETDENTS | 703 | #ifndef RUMP_SYS_RENAME_GETDENTS | |
704 | #define RUMP_SYS_RENAME_GETDENTS rump___sysimpl_getdents30 | 704 | #define RUMP_SYS_RENAME_GETDENTS rump___sysimpl_getdents30 | |
705 | #endif | 705 | #endif | |
706 | 706 | |||
707 | #ifndef RUMP_SYS_RENAME_KQUEUE | 707 | #ifndef RUMP_SYS_RENAME_KQUEUE | |
708 | #define RUMP_SYS_RENAME_KQUEUE rump___sysimpl_kqueue | 708 | #define RUMP_SYS_RENAME_KQUEUE rump___sysimpl_kqueue | |
709 | #endif | 709 | #endif | |
710 | 710 | |||
711 | #ifndef RUMP_SYS_RENAME___SYSCTL | 711 | #ifndef RUMP_SYS_RENAME___SYSCTL | |
712 | #define RUMP_SYS_RENAME___SYSCTL rump___sysimpl___sysctl | 712 | #define RUMP_SYS_RENAME___SYSCTL rump___sysimpl___sysctl | |
713 | #endif | 713 | #endif | |
714 | 714 | |||
715 | #ifndef RUMP_SYS_RENAME_FREMOVEXATTR | 715 | #ifndef RUMP_SYS_RENAME_FREMOVEXATTR | |
716 | #define RUMP_SYS_RENAME_FREMOVEXATTR rump___sysimpl_fremovexattr | 716 | #define RUMP_SYS_RENAME_FREMOVEXATTR rump___sysimpl_fremovexattr | |
717 | #endif | 717 | #endif | |
718 | 718 | |||
719 | #ifndef RUMP_SYS_RENAME_EXTATTRCTL | 719 | #ifndef RUMP_SYS_RENAME_EXTATTRCTL | |
720 | #define RUMP_SYS_RENAME_EXTATTRCTL rump___sysimpl_extattrctl | 720 | #define RUMP_SYS_RENAME_EXTATTRCTL rump___sysimpl_extattrctl | |
721 | #endif | 721 | #endif | |
722 | 722 | |||
723 | #ifndef RUMP_SYS_RENAME_GETITIMER | 723 | #ifndef RUMP_SYS_RENAME_GETITIMER | |
724 | #define RUMP_SYS_RENAME_GETITIMER rump___sysimpl_getitimer50 | 724 | #define RUMP_SYS_RENAME_GETITIMER rump___sysimpl_getitimer50 | |
725 | #endif | 725 | #endif | |
726 | 726 | |||
727 | #ifndef RUMP_SYS_RENAME_GETPID_WITH_PPID | 727 | #ifndef RUMP_SYS_RENAME_GETPID_WITH_PPID | |
728 | #define RUMP_SYS_RENAME_GETPID_WITH_PPID rump___sysimpl_getpid | 728 | #define RUMP_SYS_RENAME_GETPID_WITH_PPID rump___sysimpl_getpid | |
729 | #endif | 729 | #endif | |
730 | 730 | |||
731 | #ifndef RUMP_SYS_RENAME_SETREUID | 731 | #ifndef RUMP_SYS_RENAME_SETREUID | |
732 | #define RUMP_SYS_RENAME_SETREUID rump___sysimpl_setreuid | 732 | #define RUMP_SYS_RENAME_SETREUID rump___sysimpl_setreuid | |
733 | #endif | 733 | #endif | |
734 | 734 | |||
735 | #ifndef RUMP_SYS_RENAME_FSTATAT | 735 | #ifndef RUMP_SYS_RENAME_FSTATAT | |
736 | #define RUMP_SYS_RENAME_FSTATAT rump___sysimpl_fstatat | 736 | #define RUMP_SYS_RENAME_FSTATAT rump___sysimpl_fstatat | |
737 | #endif | 737 | #endif | |
738 | 738 | |||
739 | #ifndef RUMP_SYS_RENAME_LINKAT | 739 | #ifndef RUMP_SYS_RENAME_LINKAT | |
740 | #define RUMP_SYS_RENAME_LINKAT rump___sysimpl_linkat | 740 | #define RUMP_SYS_RENAME_LINKAT rump___sysimpl_linkat | |
741 | #endif | 741 | #endif | |
742 | 742 | |||
743 | #ifndef RUMP_SYS_RENAME_TIMER_SETTIME | 743 | #ifndef RUMP_SYS_RENAME_TIMER_SETTIME | |
744 | #define RUMP_SYS_RENAME_TIMER_SETTIME rump___sysimpl_timer_settime50 | 744 | #define RUMP_SYS_RENAME_TIMER_SETTIME rump___sysimpl_timer_settime50 | |
745 | #endif | 745 | #endif | |
746 | 746 | |||
747 | #ifndef RUMP_SYS_RENAME_SOCKETPAIR | 747 | #ifndef RUMP_SYS_RENAME_SOCKETPAIR | |
748 | #define RUMP_SYS_RENAME_SOCKETPAIR rump___sysimpl_socketpair | 748 | #define RUMP_SYS_RENAME_SOCKETPAIR rump___sysimpl_socketpair | |
749 | #endif | 749 | #endif | |
750 | 750 | |||
751 | #ifndef RUMP_SYS_RENAME_AIO_WRITE | 751 | #ifndef RUMP_SYS_RENAME_AIO_WRITE | |
752 | #define RUMP_SYS_RENAME_AIO_WRITE rump___sysimpl_aio_write | 752 | #define RUMP_SYS_RENAME_AIO_WRITE rump___sysimpl_aio_write | |
753 | #endif | 753 | #endif | |
754 | 754 | |||
755 | #ifndef RUMP_SYS_RENAME_WRITE | 755 | #ifndef RUMP_SYS_RENAME_WRITE | |
756 | #define RUMP_SYS_RENAME_WRITE rump___sysimpl_write | 756 | #define RUMP_SYS_RENAME_WRITE rump___sysimpl_write | |
757 | #endif | 757 | #endif | |
758 | 758 | |||
759 | #ifndef RUMP_SYS_RENAME___SETLOGIN | 759 | #ifndef RUMP_SYS_RENAME___SETLOGIN | |
760 | #define RUMP_SYS_RENAME___SETLOGIN rump___sysimpl___setlogin | 760 | #define RUMP_SYS_RENAME___SETLOGIN rump___sysimpl___setlogin | |
761 | #endif | 761 | #endif | |
762 | 762 | |||
763 | #ifndef RUMP_SYS_RENAME_SOCKET | 763 | #ifndef RUMP_SYS_RENAME_SOCKET | |
764 | #define RUMP_SYS_RENAME_SOCKET rump___sysimpl_socket30 | 764 | #define RUMP_SYS_RENAME_SOCKET rump___sysimpl_socket30 | |
765 | #endif | 765 | #endif | |
766 | 766 | |||
767 | #ifndef RUMP_SYS_RENAME_TIMER_GETOVERRUN | 767 | #ifndef RUMP_SYS_RENAME_TIMER_GETOVERRUN | |
768 | #define RUMP_SYS_RENAME_TIMER_GETOVERRUN rump___sysimpl_timer_getoverrun | 768 | #define RUMP_SYS_RENAME_TIMER_GETOVERRUN rump___sysimpl_timer_getoverrun | |
769 | #endif | 769 | #endif | |
770 | 770 | |||
771 | #ifndef RUMP_SYS_RENAME__KSEM_TIMEDWAIT | 771 | #ifndef RUMP_SYS_RENAME__KSEM_TIMEDWAIT | |
772 | #define RUMP_SYS_RENAME__KSEM_TIMEDWAIT rump___sysimpl__ksem_timedwait | 772 | #define RUMP_SYS_RENAME__KSEM_TIMEDWAIT rump___sysimpl__ksem_timedwait | |
773 | #endif | 773 | #endif | |
774 | 774 | |||
775 | #ifndef RUMP_SYS_RENAME_FTRUNCATE | 775 | #ifndef RUMP_SYS_RENAME_FTRUNCATE | |
776 | #define RUMP_SYS_RENAME_FTRUNCATE rump___sysimpl_ftruncate | 776 | #define RUMP_SYS_RENAME_FTRUNCATE rump___sysimpl_ftruncate | |
777 | #endif | 777 | #endif | |
778 | 778 | |||
779 | #ifndef RUMP_SYS_RENAME_FCHROOT | 779 | #ifndef RUMP_SYS_RENAME_FCHROOT | |
780 | #define RUMP_SYS_RENAME_FCHROOT rump___sysimpl_fchroot | 780 | #define RUMP_SYS_RENAME_FCHROOT rump___sysimpl_fchroot | |
781 | #endif | 781 | #endif | |
782 | 782 | |||
783 | #ifndef RUMP_SYS_RENAME_SETEUID | 783 | #ifndef RUMP_SYS_RENAME_SETEUID | |
784 | #define RUMP_SYS_RENAME_SETEUID rump___sysimpl_seteuid | 784 | #define RUMP_SYS_RENAME_SETEUID rump___sysimpl_seteuid | |
785 | #endif | 785 | #endif | |
786 | 786 | |||
787 | #ifndef RUMP_SYS_RENAME_REBOOT | 787 | #ifndef RUMP_SYS_RENAME_REBOOT | |
788 | #define RUMP_SYS_RENAME_REBOOT rump___sysimpl_reboot | 788 | #define RUMP_SYS_RENAME_REBOOT rump___sysimpl_reboot | |
789 | #endif | 789 | #endif | |
790 | 790 | |||
791 | #ifndef RUMP_SYS_RENAME_ACCEPT | 791 | #ifndef RUMP_SYS_RENAME_ACCEPT | |
792 | #define RUMP_SYS_RENAME_ACCEPT rump___sysimpl_accept | 792 | #define RUMP_SYS_RENAME_ACCEPT rump___sysimpl_accept | |
793 | #endif | 793 | #endif | |
794 | 794 | |||
795 | #ifndef RUMP_SYS_RENAME_READLINKAT | 795 | #ifndef RUMP_SYS_RENAME_READLINKAT | |
796 | #define RUMP_SYS_RENAME_READLINKAT rump___sysimpl_readlinkat | 796 | #define RUMP_SYS_RENAME_READLINKAT rump___sysimpl_readlinkat | |
797 | #endif | 797 | #endif | |
798 | 798 | |||
799 | #ifndef RUMP_SYS_RENAME_GETXATTR | 799 | #ifndef RUMP_SYS_RENAME_GETXATTR | |
800 | #define RUMP_SYS_RENAME_GETXATTR rump___sysimpl_getxattr | 800 | #define RUMP_SYS_RENAME_GETXATTR rump___sysimpl_getxattr | |
801 | #endif | 801 | #endif | |
802 | 802 | |||
803 | #ifndef RUMP_SYS_RENAME__KSEM_UNLINK | 803 | #ifndef RUMP_SYS_RENAME__KSEM_UNLINK | |
804 | #define RUMP_SYS_RENAME__KSEM_UNLINK rump___sysimpl__ksem_unlink | 804 | #define RUMP_SYS_RENAME__KSEM_UNLINK rump___sysimpl__ksem_unlink | |
805 | #endif | 805 | #endif | |
806 | 806 | |||
807 | #ifndef RUMP_SYS_RENAME_NFSSVC | 807 | #ifndef RUMP_SYS_RENAME_NFSSVC | |
808 | #define RUMP_SYS_RENAME_NFSSVC rump___sysimpl_nfssvc | 808 | #define RUMP_SYS_RENAME_NFSSVC rump___sysimpl_nfssvc | |
809 | #endif | 809 | #endif | |
810 | 810 | |||
811 | #ifndef RUMP_SYS_RENAME_POSIX_FALLOCATE | 811 | #ifndef RUMP_SYS_RENAME_POSIX_FALLOCATE | |
812 | #define RUMP_SYS_RENAME_POSIX_FALLOCATE rump___sysimpl_posix_fallocate | 812 | #define RUMP_SYS_RENAME_POSIX_FALLOCATE rump___sysimpl_posix_fallocate | |
813 | #endif | 813 | #endif | |
814 | 814 | |||
815 | #ifndef RUMP_SYS_RENAME___POSIX_FCHOWN | 815 | #ifndef RUMP_SYS_RENAME___POSIX_FCHOWN | |
816 | #define RUMP_SYS_RENAME___POSIX_FCHOWN rump___sysimpl___posix_fchown | 816 | #define RUMP_SYS_RENAME___POSIX_FCHOWN rump___sysimpl___posix_fchown | |
817 | #endif | 817 | #endif | |
818 | 818 | |||
819 | #ifndef RUMP_SYS_RENAME_GETPPID | 819 | #ifndef RUMP_SYS_RENAME_GETPPID | |
820 | #define RUMP_SYS_RENAME_GETPPID rump___sysimpl_getppid | 820 | #define RUMP_SYS_RENAME_GETPPID rump___sysimpl_getppid | |
821 | #endif | 821 | #endif | |
822 | 822 | |||
823 | #ifndef RUMP_SYS_RENAME_GETTIMEOFDAY | 823 | #ifndef RUMP_SYS_RENAME_GETTIMEOFDAY | |
824 | #define RUMP_SYS_RENAME_GETTIMEOFDAY rump___sysimpl_gettimeofday50 | 824 | #define RUMP_SYS_RENAME_GETTIMEOFDAY rump___sysimpl_gettimeofday50 | |
825 | #endif | 825 | #endif | |
826 | 826 | |||
827 | #ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FD | 827 | #ifndef RUMP_SYS_RENAME_EXTATTR_LIST_FD | |
828 | #define RUMP_SYS_RENAME_EXTATTR_LIST_FD rump___sysimpl_extattr_list_fd | 828 | #define RUMP_SYS_RENAME_EXTATTR_LIST_FD rump___sysimpl_extattr_list_fd | |
829 | #endif | 829 | #endif | |
830 | 830 | |||
831 | #ifndef RUMP_SYS_RENAME_EXTATTR_GET_FILE | 831 | #ifndef RUMP_SYS_RENAME_EXTATTR_GET_FILE | |
832 | #define RUMP_SYS_RENAME_EXTATTR_GET_FILE rump___sysimpl_extattr_get_file | 832 | #define RUMP_SYS_RENAME_EXTATTR_GET_FILE rump___sysimpl_extattr_get_file | |
833 | #endif | 833 | #endif | |
834 | 834 | |||
835 | #ifndef RUMP_SYS_RENAME_FUTIMES | 835 | #ifndef RUMP_SYS_RENAME_FUTIMES | |
836 | #define RUMP_SYS_RENAME_FUTIMES rump___sysimpl_futimes50 | 836 | #define RUMP_SYS_RENAME_FUTIMES rump___sysimpl_futimes50 | |
837 | #endif | 837 | #endif | |
838 | 838 | |||
839 | struct msghdr; | 839 | struct msghdr; | |
840 | struct sockaddr; | 840 | struct sockaddr; | |
841 | struct timeval; | 841 | struct timeval; | |
842 | struct iovec; | 842 | struct iovec; | |
843 | struct rlimit; | 843 | struct rlimit; | |
844 | struct pollfd; | 844 | struct pollfd; | |
845 | struct sigevent; | 845 | struct sigevent; | |
846 | struct timespec; | 846 | struct timespec; | |
847 | struct kevent; | 847 | struct kevent; | |
848 | struct statvfs; | 848 | struct statvfs; | |
849 | struct stat; | 849 | struct stat; | |
850 | struct aiocb; | 850 | struct aiocb; | |
851 | struct itimerval; | 851 | struct itimerval; | |
852 | struct itimerspec; | 852 | struct itimerspec; | |
853 | struct quotactl_args; | 853 | struct quotactl_args; | |
854 | struct mmsghdr; | 854 | struct mmsghdr; | |
855 | 855 | |||
856 | ssize_t rump_sys_read(int, void *, size_t) __RENAME(RUMP_SYS_RENAME_READ); | 856 | ssize_t rump_sys_read(int, void *, size_t) __RENAME(RUMP_SYS_RENAME_READ); | |
857 | ssize_t rump_sys_write(int, const void *, size_t) __RENAME(RUMP_SYS_RENAME_WRITE); | 857 | ssize_t rump_sys_write(int, const void *, size_t) __RENAME(RUMP_SYS_RENAME_WRITE); | |
858 | int rump_sys_open(const char *, int, ...) __RENAME(RUMP_SYS_RENAME_OPEN); | 858 | int rump_sys_open(const char *, int, ...) __RENAME(RUMP_SYS_RENAME_OPEN); | |
859 | int rump_sys_close(int) __RENAME(RUMP_SYS_RENAME_CLOSE); | 859 | int rump_sys_close(int) __RENAME(RUMP_SYS_RENAME_CLOSE); | |
860 | int rump_sys_link(const char *, const char *) __RENAME(RUMP_SYS_RENAME_LINK); | 860 | int rump_sys_link(const char *, const char *) __RENAME(RUMP_SYS_RENAME_LINK); | |
861 | int rump_sys_unlink(const char *) __RENAME(RUMP_SYS_RENAME_UNLINK); | 861 | int rump_sys_unlink(const char *) __RENAME(RUMP_SYS_RENAME_UNLINK); | |
862 | int rump_sys_chdir(const char *) __RENAME(RUMP_SYS_RENAME_CHDIR); | 862 | int rump_sys_chdir(const char *) __RENAME(RUMP_SYS_RENAME_CHDIR); | |
863 | int rump_sys_fchdir(int) __RENAME(RUMP_SYS_RENAME_FCHDIR); | 863 | int rump_sys_fchdir(int) __RENAME(RUMP_SYS_RENAME_FCHDIR); | |
864 | int rump_sys_chmod(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_CHMOD); | 864 | int rump_sys_chmod(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_CHMOD); | |
865 | int rump_sys_chown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME_CHOWN); | 865 | int rump_sys_chown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME_CHOWN); | |
866 | pid_t rump_sys_getpid(void) __RENAME(RUMP_SYS_RENAME_GETPID_WITH_PPID); | 866 | pid_t rump_sys_getpid(void) __RENAME(RUMP_SYS_RENAME_GETPID_WITH_PPID); | |
867 | int rump_sys_unmount(const char *, int) __RENAME(RUMP_SYS_RENAME_UNMOUNT); | 867 | int rump_sys_unmount(const char *, int) __RENAME(RUMP_SYS_RENAME_UNMOUNT); | |
868 | int rump_sys_setuid(uid_t) __RENAME(RUMP_SYS_RENAME_SETUID); | 868 | int rump_sys_setuid(uid_t) __RENAME(RUMP_SYS_RENAME_SETUID); | |
869 | uid_t rump_sys_getuid(void) __RENAME(RUMP_SYS_RENAME_GETUID_WITH_EUID); | 869 | uid_t rump_sys_getuid(void) __RENAME(RUMP_SYS_RENAME_GETUID_WITH_EUID); | |
870 | uid_t rump_sys_geteuid(void) __RENAME(RUMP_SYS_RENAME_GETEUID); | 870 | uid_t rump_sys_geteuid(void) __RENAME(RUMP_SYS_RENAME_GETEUID); | |
871 | ssize_t rump_sys_recvmsg(int, struct msghdr *, int) __RENAME(RUMP_SYS_RENAME_RECVMSG); | 871 | ssize_t rump_sys_recvmsg(int, struct msghdr *, int) __RENAME(RUMP_SYS_RENAME_RECVMSG); | |
872 | ssize_t rump_sys_sendmsg(int, const struct msghdr *, int) __RENAME(RUMP_SYS_RENAME_SENDMSG); | 872 | ssize_t rump_sys_sendmsg(int, const struct msghdr *, int) __RENAME(RUMP_SYS_RENAME_SENDMSG); | |
873 | ssize_t rump_sys_recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_RECVFROM); | 873 | ssize_t rump_sys_recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_RECVFROM); | |
874 | int rump_sys_accept(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_ACCEPT); | 874 | int rump_sys_accept(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_ACCEPT); | |
875 | int rump_sys_getpeername(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETPEERNAME); | 875 | int rump_sys_getpeername(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETPEERNAME); | |
876 | int rump_sys_getsockname(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETSOCKNAME); | 876 | int rump_sys_getsockname(int, struct sockaddr *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETSOCKNAME); | |
877 | int rump_sys_access(const char *, int) __RENAME(RUMP_SYS_RENAME_ACCESS); | 877 | int rump_sys_access(const char *, int) __RENAME(RUMP_SYS_RENAME_ACCESS); | |
878 | int rump_sys_chflags(const char *, u_long) __RENAME(RUMP_SYS_RENAME_CHFLAGS); | 878 | int rump_sys_chflags(const char *, u_long) __RENAME(RUMP_SYS_RENAME_CHFLAGS); | |
879 | int rump_sys_fchflags(int, u_long) __RENAME(RUMP_SYS_RENAME_FCHFLAGS); | 879 | int rump_sys_fchflags(int, u_long) __RENAME(RUMP_SYS_RENAME_FCHFLAGS); | |
880 | void rump_sys_sync(void) __RENAME(RUMP_SYS_RENAME_SYNC); | 880 | void rump_sys_sync(void) __RENAME(RUMP_SYS_RENAME_SYNC); | |
881 | pid_t rump_sys_getppid(void) __RENAME(RUMP_SYS_RENAME_GETPPID); | 881 | pid_t rump_sys_getppid(void) __RENAME(RUMP_SYS_RENAME_GETPPID); | |
882 | int rump_sys_dup(int) __RENAME(RUMP_SYS_RENAME_DUP); | 882 | int rump_sys_dup(int) __RENAME(RUMP_SYS_RENAME_DUP); | |
883 | gid_t rump_sys_getegid(void) __RENAME(RUMP_SYS_RENAME_GETEGID); | 883 | gid_t rump_sys_getegid(void) __RENAME(RUMP_SYS_RENAME_GETEGID); | |
884 | int rump_sys_ktrace(const char *, int, int, pid_t) __RENAME(RUMP_SYS_RENAME_KTRACE); | 884 | int rump_sys_ktrace(const char *, int, int, pid_t) __RENAME(RUMP_SYS_RENAME_KTRACE); | |
885 | gid_t rump_sys_getgid(void) __RENAME(RUMP_SYS_RENAME_GETGID_WITH_EGID); | 885 | gid_t rump_sys_getgid(void) __RENAME(RUMP_SYS_RENAME_GETGID_WITH_EGID); | |
886 | int rump_sys___getlogin(char *, size_t) __RENAME(RUMP_SYS_RENAME___GETLOGIN); | 886 | int rump_sys___getlogin(char *, size_t) __RENAME(RUMP_SYS_RENAME___GETLOGIN); | |
887 | int rump_sys___setlogin(const char *) __RENAME(RUMP_SYS_RENAME___SETLOGIN); | 887 | int rump_sys___setlogin(const char *) __RENAME(RUMP_SYS_RENAME___SETLOGIN); | |
888 | int rump_sys_ioctl(int, u_long, ...) __RENAME(RUMP_SYS_RENAME_IOCTL); | 888 | int rump_sys_ioctl(int, u_long, ...) __RENAME(RUMP_SYS_RENAME_IOCTL); | |
889 | int rump_sys_revoke(const char *) __RENAME(RUMP_SYS_RENAME_REVOKE); | 889 | int rump_sys_revoke(const char *) __RENAME(RUMP_SYS_RENAME_REVOKE); | |
890 | int rump_sys_symlink(const char *, const char *) __RENAME(RUMP_SYS_RENAME_SYMLINK); | 890 | int rump_sys_symlink(const char *, const char *) __RENAME(RUMP_SYS_RENAME_SYMLINK); | |
891 | ssize_t rump_sys_readlink(const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_READLINK); | 891 | ssize_t rump_sys_readlink(const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_READLINK); | |
892 | mode_t rump_sys_umask(mode_t) __RENAME(RUMP_SYS_RENAME_UMASK); | 892 | mode_t rump_sys_umask(mode_t) __RENAME(RUMP_SYS_RENAME_UMASK); | |
893 | int rump_sys_chroot(const char *) __RENAME(RUMP_SYS_RENAME_CHROOT); | 893 | int rump_sys_chroot(const char *) __RENAME(RUMP_SYS_RENAME_CHROOT); | |
894 | int rump_sys_getgroups(int, gid_t *) __RENAME(RUMP_SYS_RENAME_GETGROUPS); | 894 | int rump_sys_getgroups(int, gid_t *) __RENAME(RUMP_SYS_RENAME_GETGROUPS); | |
895 | int rump_sys_setgroups(int, const gid_t *) __RENAME(RUMP_SYS_RENAME_SETGROUPS); | 895 | int rump_sys_setgroups(int, const gid_t *) __RENAME(RUMP_SYS_RENAME_SETGROUPS); | |
896 | int rump_sys_getpgrp(void) __RENAME(RUMP_SYS_RENAME_GETPGRP); | 896 | int rump_sys_getpgrp(void) __RENAME(RUMP_SYS_RENAME_GETPGRP); | |
897 | int rump_sys_setpgid(pid_t, pid_t) __RENAME(RUMP_SYS_RENAME_SETPGID); | 897 | int rump_sys_setpgid(pid_t, pid_t) __RENAME(RUMP_SYS_RENAME_SETPGID); | |
898 | int rump_sys_dup2(int, int) __RENAME(RUMP_SYS_RENAME_DUP2); | 898 | int rump_sys_dup2(int, int) __RENAME(RUMP_SYS_RENAME_DUP2); | |
899 | int rump_sys_fcntl(int, int, ...) __RENAME(RUMP_SYS_RENAME_FCNTL); | 899 | int rump_sys_fcntl(int, int, ...) __RENAME(RUMP_SYS_RENAME_FCNTL); | |
900 | int rump_sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *) __RENAME(RUMP_SYS_RENAME_SELECT); | 900 | int rump_sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *) __RENAME(RUMP_SYS_RENAME_SELECT); | |
901 | int rump_sys_fsync(int) __RENAME(RUMP_SYS_RENAME_FSYNC); | 901 | int rump_sys_fsync(int) __RENAME(RUMP_SYS_RENAME_FSYNC); | |
902 | int rump_sys_connect(int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_CONNECT); | 902 | int rump_sys_connect(int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_CONNECT); | |
903 | int rump_sys_bind(int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_BIND); | 903 | int rump_sys_bind(int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_BIND); | |
904 | int rump_sys_setsockopt(int, int, int, const void *, socklen_t) __RENAME(RUMP_SYS_RENAME_SETSOCKOPT); | 904 | int rump_sys_setsockopt(int, int, int, const void *, socklen_t) __RENAME(RUMP_SYS_RENAME_SETSOCKOPT); | |
905 | int rump_sys_listen(int, int) __RENAME(RUMP_SYS_RENAME_LISTEN); | 905 | int rump_sys_listen(int, int) __RENAME(RUMP_SYS_RENAME_LISTEN); | |
906 | int rump_sys_getsockopt(int, int, int, void *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETSOCKOPT); | 906 | int rump_sys_getsockopt(int, int, int, void *, socklen_t *) __RENAME(RUMP_SYS_RENAME_GETSOCKOPT); | |
907 | ssize_t rump_sys_readv(int, const struct iovec *, int) __RENAME(RUMP_SYS_RENAME_READV); | 907 | ssize_t rump_sys_readv(int, const struct iovec *, int) __RENAME(RUMP_SYS_RENAME_READV); | |
908 | ssize_t rump_sys_writev(int, const struct iovec *, int) __RENAME(RUMP_SYS_RENAME_WRITEV); | 908 | ssize_t rump_sys_writev(int, const struct iovec *, int) __RENAME(RUMP_SYS_RENAME_WRITEV); | |
909 | int rump_sys_fchown(int, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME_FCHOWN); | 909 | int rump_sys_fchown(int, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME_FCHOWN); | |
910 | int rump_sys_fchmod(int, mode_t) __RENAME(RUMP_SYS_RENAME_FCHMOD); | 910 | int rump_sys_fchmod(int, mode_t) __RENAME(RUMP_SYS_RENAME_FCHMOD); | |
911 | int rump_sys_setreuid(uid_t, uid_t) __RENAME(RUMP_SYS_RENAME_SETREUID); | 911 | int rump_sys_setreuid(uid_t, uid_t) __RENAME(RUMP_SYS_RENAME_SETREUID); | |
912 | int rump_sys_setregid(gid_t, gid_t) __RENAME(RUMP_SYS_RENAME_SETREGID); | 912 | int rump_sys_setregid(gid_t, gid_t) __RENAME(RUMP_SYS_RENAME_SETREGID); | |
913 | int rump_sys_rename(const char *, const char *) __RENAME(RUMP_SYS_RENAME_RENAME); | 913 | int rump_sys_rename(const char *, const char *) __RENAME(RUMP_SYS_RENAME_RENAME); | |
914 | int rump_sys_flock(int, int) __RENAME(RUMP_SYS_RENAME_FLOCK); | 914 | int rump_sys_flock(int, int) __RENAME(RUMP_SYS_RENAME_FLOCK); | |
915 | int rump_sys_mkfifo(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_MKFIFO); | 915 | int rump_sys_mkfifo(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_MKFIFO); | |
916 | ssize_t rump_sys_sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_SENDTO); | 916 | ssize_t rump_sys_sendto(int, const void *, size_t, int, const struct sockaddr *, socklen_t) __RENAME(RUMP_SYS_RENAME_SENDTO); | |
917 | int rump_sys_shutdown(int, int) __RENAME(RUMP_SYS_RENAME_SHUTDOWN); | 917 | int rump_sys_shutdown(int, int) __RENAME(RUMP_SYS_RENAME_SHUTDOWN); | |
918 | int rump_sys_socketpair(int, int, int, int *) __RENAME(RUMP_SYS_RENAME_SOCKETPAIR); | 918 | int rump_sys_socketpair(int, int, int, int *) __RENAME(RUMP_SYS_RENAME_SOCKETPAIR); | |
919 | int rump_sys_mkdir(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_MKDIR); | 919 | int rump_sys_mkdir(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_MKDIR); | |
920 | int rump_sys_rmdir(const char *) __RENAME(RUMP_SYS_RENAME_RMDIR); | 920 | int rump_sys_rmdir(const char *) __RENAME(RUMP_SYS_RENAME_RMDIR); | |
921 | int rump_sys_utimes(const char *, const struct timeval *) __RENAME(RUMP_SYS_RENAME_UTIMES); | 921 | int rump_sys_utimes(const char *, const struct timeval *) __RENAME(RUMP_SYS_RENAME_UTIMES); | |
922 | int rump_sys_setsid(void) __RENAME(RUMP_SYS_RENAME_SETSID); | 922 | int rump_sys_setsid(void) __RENAME(RUMP_SYS_RENAME_SETSID); | |
923 | int rump_sys_nfssvc(int, void *) __RENAME(RUMP_SYS_RENAME_NFSSVC); | 923 | int rump_sys_nfssvc(int, void *) __RENAME(RUMP_SYS_RENAME_NFSSVC); | |
924 | ssize_t rump_sys_pread(int, void *, size_t, off_t) __RENAME(RUMP_SYS_RENAME_PREAD); | 924 | ssize_t rump_sys_pread(int, void *, size_t, off_t) __RENAME(RUMP_SYS_RENAME_PREAD); | |
925 | ssize_t rump_sys_pwrite(int, const void *, size_t, off_t) __RENAME(RUMP_SYS_RENAME_PWRITE); | 925 | ssize_t rump_sys_pwrite(int, const void *, size_t, off_t) __RENAME(RUMP_SYS_RENAME_PWRITE); | |
926 | int rump_sys_setgid(gid_t) __RENAME(RUMP_SYS_RENAME_SETGID); | 926 | int rump_sys_setgid(gid_t) __RENAME(RUMP_SYS_RENAME_SETGID); | |
927 | int rump_sys_setegid(gid_t) __RENAME(RUMP_SYS_RENAME_SETEGID); | 927 | int rump_sys_setegid(gid_t) __RENAME(RUMP_SYS_RENAME_SETEGID); | |
928 | int rump_sys_seteuid(uid_t) __RENAME(RUMP_SYS_RENAME_SETEUID); | 928 | int rump_sys_seteuid(uid_t) __RENAME(RUMP_SYS_RENAME_SETEUID); | |
929 | long rump_sys_pathconf(const char *, int) __RENAME(RUMP_SYS_RENAME_PATHCONF); | 929 | long rump_sys_pathconf(const char *, int) __RENAME(RUMP_SYS_RENAME_PATHCONF); | |
930 | long rump_sys_fpathconf(int, int) __RENAME(RUMP_SYS_RENAME_FPATHCONF); | 930 | long rump_sys_fpathconf(int, int) __RENAME(RUMP_SYS_RENAME_FPATHCONF); | |
931 | int rump_sys_getrlimit(int, struct rlimit *) __RENAME(RUMP_SYS_RENAME_GETRLIMIT); | 931 | int rump_sys_getrlimit(int, struct rlimit *) __RENAME(RUMP_SYS_RENAME_GETRLIMIT); | |
932 | int rump_sys_setrlimit(int, const struct rlimit *) __RENAME(RUMP_SYS_RENAME_SETRLIMIT); | 932 | int rump_sys_setrlimit(int, const struct rlimit *) __RENAME(RUMP_SYS_RENAME_SETRLIMIT); | |
933 | off_t rump_sys_lseek(int, off_t, int) __RENAME(RUMP_SYS_RENAME_LSEEK); | 933 | off_t rump_sys_lseek(int, off_t, int) __RENAME(RUMP_SYS_RENAME_LSEEK); | |
934 | int rump_sys_truncate(const char *, off_t) __RENAME(RUMP_SYS_RENAME_TRUNCATE); | 934 | int rump_sys_truncate(const char *, off_t) __RENAME(RUMP_SYS_RENAME_TRUNCATE); | |
935 | int rump_sys_ftruncate(int, off_t) __RENAME(RUMP_SYS_RENAME_FTRUNCATE); | 935 | int rump_sys_ftruncate(int, off_t) __RENAME(RUMP_SYS_RENAME_FTRUNCATE); | |
936 | int rump_sys___sysctl(const int *, u_int, void *, size_t *, const void *, size_t) __RENAME(RUMP_SYS_RENAME___SYSCTL); | 936 | int rump_sys___sysctl(const int *, u_int, void *, size_t *, const void *, size_t) __RENAME(RUMP_SYS_RENAME___SYSCTL); | |
937 | int rump_sys_futimes(int, const struct timeval *) __RENAME(RUMP_SYS_RENAME_FUTIMES); | 937 | int rump_sys_futimes(int, const struct timeval *) __RENAME(RUMP_SYS_RENAME_FUTIMES); | |
938 | pid_t rump_sys_getpgid(pid_t) __RENAME(RUMP_SYS_RENAME_GETPGID); | 938 | pid_t rump_sys_getpgid(pid_t) __RENAME(RUMP_SYS_RENAME_GETPGID); | |
939 | int rump_sys_reboot(int, char *) __RENAME(RUMP_SYS_RENAME_REBOOT); | 939 | int rump_sys_reboot(int, char *) __RENAME(RUMP_SYS_RENAME_REBOOT); | |
940 | int rump_sys_poll(struct pollfd *, u_int, int) __RENAME(RUMP_SYS_RENAME_POLL); | 940 | int rump_sys_poll(struct pollfd *, u_int, int) __RENAME(RUMP_SYS_RENAME_POLL); | |
941 | int rump_sys_timer_create(clockid_t, struct sigevent *, timer_t *) __RENAME(RUMP_SYS_RENAME_TIMER_CREATE); | 941 | int rump_sys_timer_create(clockid_t, struct sigevent *, timer_t *) __RENAME(RUMP_SYS_RENAME_TIMER_CREATE); | |
942 | int rump_sys_timer_delete(timer_t) __RENAME(RUMP_SYS_RENAME_TIMER_DELETE); | 942 | int rump_sys_timer_delete(timer_t) __RENAME(RUMP_SYS_RENAME_TIMER_DELETE); | |
943 | int rump_sys_timer_getoverrun(timer_t) __RENAME(RUMP_SYS_RENAME_TIMER_GETOVERRUN); | 943 | int rump_sys_timer_getoverrun(timer_t) __RENAME(RUMP_SYS_RENAME_TIMER_GETOVERRUN); | |
944 | int rump_sys_fdatasync(int) __RENAME(RUMP_SYS_RENAME_FDATASYNC); | 944 | int rump_sys_fdatasync(int) __RENAME(RUMP_SYS_RENAME_FDATASYNC); | |
945 | int rump_sys_modctl(int, void *) __RENAME(RUMP_SYS_RENAME_MODCTL); | 945 | int rump_sys_modctl(int, void *) __RENAME(RUMP_SYS_RENAME_MODCTL); | |
946 | int rump_sys__ksem_init(unsigned int, intptr_t *) __RENAME(RUMP_SYS_RENAME__KSEM_INIT); | 946 | int rump_sys__ksem_init(unsigned int, intptr_t *) __RENAME(RUMP_SYS_RENAME__KSEM_INIT); | |
947 | int rump_sys__ksem_open(const char *, int, mode_t, unsigned int, intptr_t *) __RENAME(RUMP_SYS_RENAME__KSEM_OPEN); | 947 | int rump_sys__ksem_open(const char *, int, mode_t, unsigned int, intptr_t *) __RENAME(RUMP_SYS_RENAME__KSEM_OPEN); | |
948 | int rump_sys__ksem_unlink(const char *) __RENAME(RUMP_SYS_RENAME__KSEM_UNLINK); | 948 | int rump_sys__ksem_unlink(const char *) __RENAME(RUMP_SYS_RENAME__KSEM_UNLINK); | |
949 | int rump_sys__ksem_close(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_CLOSE); | 949 | int rump_sys__ksem_close(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_CLOSE); | |
950 | int rump_sys__ksem_post(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_POST); | 950 | int rump_sys__ksem_post(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_POST); | |
951 | int rump_sys__ksem_wait(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_WAIT); | 951 | int rump_sys__ksem_wait(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_WAIT); | |
952 | int rump_sys__ksem_trywait(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_TRYWAIT); | 952 | int rump_sys__ksem_trywait(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_TRYWAIT); | |
953 | int rump_sys__ksem_getvalue(intptr_t, unsigned int *) __RENAME(RUMP_SYS_RENAME__KSEM_GETVALUE); | 953 | int rump_sys__ksem_getvalue(intptr_t, unsigned int *) __RENAME(RUMP_SYS_RENAME__KSEM_GETVALUE); | |
954 | int rump_sys__ksem_destroy(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_DESTROY); | 954 | int rump_sys__ksem_destroy(intptr_t) __RENAME(RUMP_SYS_RENAME__KSEM_DESTROY); | |
955 | int rump_sys__ksem_timedwait(intptr_t, const struct timespec *) __RENAME(RUMP_SYS_RENAME__KSEM_TIMEDWAIT); | 955 | int rump_sys__ksem_timedwait(intptr_t, const struct timespec *) __RENAME(RUMP_SYS_RENAME__KSEM_TIMEDWAIT); | |
956 | int rump_sys___posix_rename(const char *, const char *) __RENAME(RUMP_SYS_RENAME___POSIX_RENAME); | 956 | int rump_sys___posix_rename(const char *, const char *) __RENAME(RUMP_SYS_RENAME___POSIX_RENAME); | |
957 | int rump_sys_lchmod(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_LCHMOD); | 957 | int rump_sys_lchmod(const char *, mode_t) __RENAME(RUMP_SYS_RENAME_LCHMOD); | |
958 | int rump_sys_lchown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME_LCHOWN); | 958 | int rump_sys_lchown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME_LCHOWN); | |
959 | int rump_sys_lutimes(const char *, const struct timeval *) __RENAME(RUMP_SYS_RENAME_LUTIMES); | 959 | int rump_sys_lutimes(const char *, const struct timeval *) __RENAME(RUMP_SYS_RENAME_LUTIMES); | |
960 | int rump_sys___posix_chown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME___POSIX_CHOWN); | 960 | int rump_sys___posix_chown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME___POSIX_CHOWN); | |
961 | int rump_sys___posix_fchown(int, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME___POSIX_FCHOWN); | 961 | int rump_sys___posix_fchown(int, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME___POSIX_FCHOWN); | |
962 | int rump_sys___posix_lchown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME___POSIX_LCHOWN); | 962 | int rump_sys___posix_lchown(const char *, uid_t, gid_t) __RENAME(RUMP_SYS_RENAME___POSIX_LCHOWN); | |
963 | pid_t rump_sys_getsid(pid_t) __RENAME(RUMP_SYS_RENAME_GETSID); | 963 | pid_t rump_sys_getsid(pid_t) __RENAME(RUMP_SYS_RENAME_GETSID); | |
964 | int rump_sys_fktrace(int, int, int, pid_t) __RENAME(RUMP_SYS_RENAME_FKTRACE); | 964 | int rump_sys_fktrace(int, int, int, pid_t) __RENAME(RUMP_SYS_RENAME_FKTRACE); | |
965 | ssize_t rump_sys_preadv(int, const struct iovec *, int, off_t) __RENAME(RUMP_SYS_RENAME_PREADV); | 965 | ssize_t rump_sys_preadv(int, const struct iovec *, int, off_t) __RENAME(RUMP_SYS_RENAME_PREADV); | |
966 | ssize_t rump_sys_pwritev(int, const struct iovec *, int, off_t) __RENAME(RUMP_SYS_RENAME_PWRITEV); | 966 | ssize_t rump_sys_pwritev(int, const struct iovec *, int, off_t) __RENAME(RUMP_SYS_RENAME_PWRITEV); | |
967 | int rump_sys___getcwd(char *, size_t) __RENAME(RUMP_SYS_RENAME___GETCWD); | 967 | int rump_sys___getcwd(char *, size_t) __RENAME(RUMP_SYS_RENAME___GETCWD); | |
968 | int rump_sys_fchroot(int) __RENAME(RUMP_SYS_RENAME_FCHROOT); | 968 | int rump_sys_fchroot(int) __RENAME(RUMP_SYS_RENAME_FCHROOT); | |
969 | int rump_sys_lchflags(const char *, u_long) __RENAME(RUMP_SYS_RENAME_LCHFLAGS); | 969 | int rump_sys_lchflags(const char *, u_long) __RENAME(RUMP_SYS_RENAME_LCHFLAGS); | |
970 | int rump_sys_issetugid(void) __RENAME(RUMP_SYS_RENAME_ISSETUGID); | 970 | int rump_sys_issetugid(void) __RENAME(RUMP_SYS_RENAME_ISSETUGID); | |
971 | int rump_sys_utrace(const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_UTRACE); | 971 | int rump_sys_utrace(const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_UTRACE); | |
972 | int rump_sys_kqueue(void) __RENAME(RUMP_SYS_RENAME_KQUEUE); | 972 | int rump_sys_kqueue(void) __RENAME(RUMP_SYS_RENAME_KQUEUE); | |
973 | int rump_sys_kevent(int, const struct kevent *, size_t, struct kevent *, size_t, const struct timespec *) __RENAME(RUMP_SYS_RENAME_KEVENT); | 973 | int rump_sys_kevent(int, const struct kevent *, size_t, struct kevent *, size_t, const struct timespec *) __RENAME(RUMP_SYS_RENAME_KEVENT); | |
974 | int rump_sys_fsync_range(int, int, off_t, off_t) __RENAME(RUMP_SYS_RENAME_FSYNC_RANGE); | 974 | int rump_sys_fsync_range(int, int, off_t, off_t) __RENAME(RUMP_SYS_RENAME_FSYNC_RANGE); | |
975 | int rump_sys_getvfsstat(struct statvfs *, size_t, int) __RENAME(RUMP_SYS_RENAME_GETVFSSTAT); | 975 | int rump_sys_getvfsstat(struct statvfs *, size_t, int) __RENAME(RUMP_SYS_RENAME_GETVFSSTAT); | |
976 | int rump_sys_statvfs1(const char *, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_STATVFS1); | 976 | int rump_sys_statvfs1(const char *, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_STATVFS1); | |
977 | int rump_sys_fstatvfs1(int, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_FSTATVFS1); | 977 | int rump_sys_fstatvfs1(int, struct statvfs *, int) __RENAME(RUMP_SYS_RENAME_FSTATVFS1); | |
978 | int rump_sys_extattrctl(const char *, int, const char *, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTRCTL); | 978 | int rump_sys_extattrctl(const char *, int, const char *, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTRCTL); | |
979 | int rump_sys_extattr_set_file(const char *, int, const char *, const void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_SET_FILE); | 979 | int rump_sys_extattr_set_file(const char *, int, const char *, const void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_SET_FILE); | |
980 | ssize_t rump_sys_extattr_get_file(const char *, int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_GET_FILE); | 980 | ssize_t rump_sys_extattr_get_file(const char *, int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_GET_FILE); | |
981 | int rump_sys_extattr_delete_file(const char *, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTR_DELETE_FILE); | 981 | int rump_sys_extattr_delete_file(const char *, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTR_DELETE_FILE); | |
982 | int rump_sys_extattr_set_fd(int, int, const char *, const void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_SET_FD); | 982 | int rump_sys_extattr_set_fd(int, int, const char *, const void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_SET_FD); | |
983 | ssize_t rump_sys_extattr_get_fd(int, int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_GET_FD); | 983 | ssize_t rump_sys_extattr_get_fd(int, int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_GET_FD); | |
984 | int rump_sys_extattr_delete_fd(int, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTR_DELETE_FD); | 984 | int rump_sys_extattr_delete_fd(int, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTR_DELETE_FD); | |
985 | int rump_sys_extattr_set_link(const char *, int, const char *, const void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_SET_LINK); | 985 | int rump_sys_extattr_set_link(const char *, int, const char *, const void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_SET_LINK); | |
986 | ssize_t rump_sys_extattr_get_link(const char *, int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_GET_LINK); | 986 | ssize_t rump_sys_extattr_get_link(const char *, int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_GET_LINK); | |
987 | int rump_sys_extattr_delete_link(const char *, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTR_DELETE_LINK); | 987 | int rump_sys_extattr_delete_link(const char *, int, const char *) __RENAME(RUMP_SYS_RENAME_EXTATTR_DELETE_LINK); | |
988 | ssize_t rump_sys_extattr_list_fd(int, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_LIST_FD); | 988 | ssize_t rump_sys_extattr_list_fd(int, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_LIST_FD); | |
989 | ssize_t rump_sys_extattr_list_file(const char *, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_LIST_FILE); | 989 | ssize_t rump_sys_extattr_list_file(const char *, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_LIST_FILE); | |
990 | ssize_t rump_sys_extattr_list_link(const char *, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_LIST_LINK); | 990 | ssize_t rump_sys_extattr_list_link(const char *, int, void *, size_t) __RENAME(RUMP_SYS_RENAME_EXTATTR_LIST_LINK); | |
991 | int rump_sys_pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *, const sigset_t *) __RENAME(RUMP_SYS_RENAME_PSELECT); | 991 | int rump_sys_pselect(int, fd_set *, fd_set *, fd_set *, const struct timespec *, const sigset_t *) __RENAME(RUMP_SYS_RENAME_PSELECT); | |
992 | int rump_sys_pollts(struct pollfd *, u_int, const struct timespec *, const sigset_t *) __RENAME(RUMP_SYS_RENAME_POLLTS); | 992 | int rump_sys_pollts(struct pollfd *, u_int, const struct timespec *, const sigset_t *) __RENAME(RUMP_SYS_RENAME_POLLTS); | |
993 | int rump_sys_setxattr(const char *, const char *, const void *, size_t, int) __RENAME(RUMP_SYS_RENAME_SETXATTR); | 993 | int rump_sys_setxattr(const char *, const char *, const void *, size_t, int) __RENAME(RUMP_SYS_RENAME_SETXATTR); | |
994 | int rump_sys_lsetxattr(const char *, const char *, const void *, size_t, int) __RENAME(RUMP_SYS_RENAME_LSETXATTR); | 994 | int rump_sys_lsetxattr(const char *, const char *, const void *, size_t, int) __RENAME(RUMP_SYS_RENAME_LSETXATTR); | |
995 | int rump_sys_fsetxattr(int, const char *, const void *, size_t, int) __RENAME(RUMP_SYS_RENAME_FSETXATTR); | 995 | int rump_sys_fsetxattr(int, const char *, const void *, size_t, int) __RENAME(RUMP_SYS_RENAME_FSETXATTR); | |
996 | int rump_sys_getxattr(const char *, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_GETXATTR); | 996 | int rump_sys_getxattr(const char *, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_GETXATTR); | |
997 | int rump_sys_lgetxattr(const char *, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_LGETXATTR); | 997 | int rump_sys_lgetxattr(const char *, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_LGETXATTR); | |
998 | int rump_sys_fgetxattr(int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_FGETXATTR); | 998 | int rump_sys_fgetxattr(int, const char *, void *, size_t) __RENAME(RUMP_SYS_RENAME_FGETXATTR); | |
999 | int rump_sys_listxattr(const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_LISTXATTR); | 999 | int rump_sys_listxattr(const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_LISTXATTR); | |
1000 | int rump_sys_llistxattr(const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_LLISTXATTR); | 1000 | int rump_sys_llistxattr(const char *, char *, size_t) __RENAME(RUMP_SYS_RENAME_LLISTXATTR); | |
1001 | int rump_sys_flistxattr(int, char *, size_t) __RENAME(RUMP_SYS_RENAME_FLISTXATTR); | 1001 | int rump_sys_flistxattr(int, char *, size_t) __RENAME(RUMP_SYS_RENAME_FLISTXATTR); | |
1002 | int rump_sys_removexattr(const char *, const char *) __RENAME(RUMP_SYS_RENAME_REMOVEXATTR); | 1002 | int rump_sys_removexattr(const char *, const char *) __RENAME(RUMP_SYS_RENAME_REMOVEXATTR); | |
1003 | int rump_sys_lremovexattr(const char *, const char *) __RENAME(RUMP_SYS_RENAME_LREMOVEXATTR); | 1003 | int rump_sys_lremovexattr(const char *, const char *) __RENAME(RUMP_SYS_RENAME_LREMOVEXATTR); | |
1004 | int rump_sys_fremovexattr(int, const char *) __RENAME(RUMP_SYS_RENAME_FREMOVEXATTR); | 1004 | int rump_sys_fremovexattr(int, const char *) __RENAME(RUMP_SYS_RENAME_FREMOVEXATTR); | |
1005 | int rump_sys_stat(const char *, struct stat *) __RENAME(RUMP_SYS_RENAME_STAT); | 1005 | int rump_sys_stat(const char *, struct stat *) __RENAME(RUMP_SYS_RENAME_STAT); | |
1006 | int rump_sys_fstat(int, struct stat *) __RENAME(RUMP_SYS_RENAME_FSTAT); | 1006 | int rump_sys_fstat(int, struct stat *) __RENAME(RUMP_SYS_RENAME_FSTAT); |
--- src/sys/rump/librump/rumpkern/rump_syscalls.c 2018/01/06 16:41:23 1.137
+++ src/sys/rump/librump/rumpkern/rump_syscalls.c 2018/03/10 05:12:17 1.137.2.1
@@ -1,1017 +1,1017 @@ | @@ -1,1017 +1,1017 @@ | |||
1 | /* $NetBSD: rump_syscalls.c,v 1.137 2018/01/06 16:41:23 kamil Exp $ */ | 1 | /* $NetBSD: rump_syscalls.c,v 1.137.2.1 2018/03/10 05:12:17 pgoyette Exp $ */ | |
2 | 2 | |||
3 | /* | 3 | /* | |
4 | * System call vector and marshalling for rump. | 4 | * System call vector and marshalling for rump. | |
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.288 2017/12/19 08:48:19 kamil Exp | 7 | * created from NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette Exp | |
8 | */ | 8 | */ | |
9 | 9 | |||
10 | #ifdef RUMP_CLIENT | 10 | #ifdef RUMP_CLIENT | |
11 | #include <rump/rumpuser_port.h> | 11 | #include <rump/rumpuser_port.h> | |
12 | #endif /* RUMP_CLIENT */ | 12 | #endif /* RUMP_CLIENT */ | |
13 | 13 | |||
14 | #include <sys/param.h> | 14 | #include <sys/param.h> | |
15 | 15 | |||
16 | #ifdef __NetBSD__ | 16 | #ifdef __NetBSD__ | |
17 | #include <sys/cdefs.h> | 17 | #include <sys/cdefs.h> | |
18 | __KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.137 2018/01/06 16:41:23 kamil Exp $"); | 18 | __KERNEL_RCSID(0, "$NetBSD: rump_syscalls.c,v 1.137.2.1 2018/03/10 05:12:17 pgoyette Exp $"); | |
19 | 19 | |||
20 | #include <sys/fstypes.h> | 20 | #include <sys/fstypes.h> | |
21 | #include <sys/proc.h> | 21 | #include <sys/proc.h> | |
22 | #endif /* __NetBSD__ */ | 22 | #endif /* __NetBSD__ */ | |
23 | 23 | |||
24 | #ifdef RUMP_CLIENT | 24 | #ifdef RUMP_CLIENT | |
25 | #include <errno.h> | 25 | #include <errno.h> | |
26 | #include <stdint.h> | 26 | #include <stdint.h> | |
27 | #include <stdlib.h> | 27 | #include <stdlib.h> | |
28 | #include <string.h> | 28 | #include <string.h> | |
29 | 29 | |||
30 | #include <srcsys/syscall.h> | 30 | #include <srcsys/syscall.h> | |
31 | #include <srcsys/syscallargs.h> | 31 | #include <srcsys/syscallargs.h> | |
32 | 32 | |||
33 | #include <rump/rumpclient.h> | 33 | #include <rump/rumpclient.h> | |
34 | 34 | |||
35 | #define rsys_syscall(num, data, dlen, retval) \ | 35 | #define rsys_syscall(num, data, dlen, retval) \ | |
36 | rumpclient_syscall(num, data, dlen, retval) | 36 | rumpclient_syscall(num, data, dlen, retval) | |
37 | #define rsys_seterrno(error) errno = error | 37 | #define rsys_seterrno(error) errno = error | |
38 | #else | 38 | #else | |
39 | #include <sys/syscall.h> | 39 | #include <sys/syscall.h> | |
40 | #include <sys/syscallargs.h> | 40 | #include <sys/syscallargs.h> | |
41 | 41 | |||
42 | #include <sys/syscallvar.h> | 42 | #include <sys/syscallvar.h> | |
43 | 43 | |||
44 | #include <rump-sys/kern.h> | 44 | #include <rump-sys/kern.h> | |
45 | 45 | |||
46 | #include <rump/rumpuser.h> | 46 | #include <rump/rumpuser.h> | |
47 | #define rsys_syscall(num, data, dlen, retval) \ | 47 | #define rsys_syscall(num, data, dlen, retval) \ | |
48 | rump_syscall(num, data, dlen, retval) | 48 | rump_syscall(num, data, dlen, retval) | |
49 | 49 | |||
50 | #define rsys_seterrno(error) rumpuser_seterrno(error) | 50 | #define rsys_seterrno(error) rumpuser_seterrno(error) | |
51 | #endif | 51 | #endif | |
52 | 52 | |||
53 | #ifndef RUMP_KERNEL_IS_LIBC | 53 | #ifndef RUMP_KERNEL_IS_LIBC | |
54 | #define RUMP_SYS_COMPAT | 54 | #define RUMP_SYS_COMPAT | |
55 | #endif | 55 | #endif | |
56 | 56 | |||
57 | #if BYTE_ORDER == BIG_ENDIAN | 57 | #if BYTE_ORDER == BIG_ENDIAN | |
58 | #define SPARG(p,k) ((p)->k.be.datum) | 58 | #define SPARG(p,k) ((p)->k.be.datum) | |
59 | #else /* LITTLE_ENDIAN, I hope dearly */ | 59 | #else /* LITTLE_ENDIAN, I hope dearly */ | |
60 | #define SPARG(p,k) ((p)->k.le.datum) | 60 | #define SPARG(p,k) ((p)->k.le.datum) | |
61 | #endif | 61 | #endif | |
62 | 62 | |||
63 | 63 | |||
64 | void rumpns_sys_nomodule(void); | 64 | void rumpns_sys_nomodule(void); | |
65 | 65 | |||
66 | ssize_t rump___sysimpl_read(int, void *, size_t); | 66 | ssize_t rump___sysimpl_read(int, void *, size_t); | |
67 | ssize_t | 67 | ssize_t | |
68 | rump___sysimpl_read(int fd, void * buf, size_t nbyte) | 68 | rump___sysimpl_read(int fd, void * buf, size_t nbyte) | |
69 | { | 69 | { | |
70 | register_t retval[2]; | 70 | register_t retval[2]; | |
71 | int error = 0; | 71 | int error = 0; | |
72 | ssize_t rv = -1; | 72 | ssize_t rv = -1; | |
73 | struct sys_read_args callarg; | 73 | struct sys_read_args callarg; | |
74 | 74 | |||
75 | memset(&callarg, 0, sizeof(callarg)); | 75 | memset(&callarg, 0, sizeof(callarg)); | |
76 | SPARG(&callarg, fd) = fd; | 76 | SPARG(&callarg, fd) = fd; | |
77 | SPARG(&callarg, buf) = buf; | 77 | SPARG(&callarg, buf) = buf; | |
78 | SPARG(&callarg, nbyte) = nbyte; | 78 | SPARG(&callarg, nbyte) = nbyte; | |
79 | 79 | |||
80 | error = rsys_syscall(SYS_read, &callarg, sizeof(callarg), retval); | 80 | error = rsys_syscall(SYS_read, &callarg, sizeof(callarg), retval); | |
81 | rsys_seterrno(error); | 81 | rsys_seterrno(error); | |
82 | if (error == 0) { | 82 | if (error == 0) { | |
83 | if (sizeof(ssize_t) > sizeof(register_t)) | 83 | if (sizeof(ssize_t) > sizeof(register_t)) | |
84 | rv = *(ssize_t *)retval; | 84 | rv = *(ssize_t *)retval; | |
85 | else | 85 | else | |
86 | rv = *retval; | 86 | rv = *retval; | |
87 | } | 87 | } | |
88 | return rv; | 88 | return rv; | |
89 | } | 89 | } | |
90 | #ifdef RUMP_KERNEL_IS_LIBC | 90 | #ifdef RUMP_KERNEL_IS_LIBC | |
91 | __weak_alias(read,rump___sysimpl_read); | 91 | __weak_alias(read,rump___sysimpl_read); | |
92 | __weak_alias(_read,rump___sysimpl_read); | 92 | __weak_alias(_read,rump___sysimpl_read); | |
93 | __strong_alias(_sys_read,rump___sysimpl_read); | 93 | __strong_alias(_sys_read,rump___sysimpl_read); | |
94 | #endif /* RUMP_KERNEL_IS_LIBC */ | 94 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
95 | 95 | |||
96 | ssize_t rump___sysimpl_write(int, const void *, size_t); | 96 | ssize_t rump___sysimpl_write(int, const void *, size_t); | |
97 | ssize_t | 97 | ssize_t | |
98 | rump___sysimpl_write(int fd, const void * buf, size_t nbyte) | 98 | rump___sysimpl_write(int fd, const void * buf, size_t nbyte) | |
99 | { | 99 | { | |
100 | register_t retval[2]; | 100 | register_t retval[2]; | |
101 | int error = 0; | 101 | int error = 0; | |
102 | ssize_t rv = -1; | 102 | ssize_t rv = -1; | |
103 | struct sys_write_args callarg; | 103 | struct sys_write_args callarg; | |
104 | 104 | |||
105 | memset(&callarg, 0, sizeof(callarg)); | 105 | memset(&callarg, 0, sizeof(callarg)); | |
106 | SPARG(&callarg, fd) = fd; | 106 | SPARG(&callarg, fd) = fd; | |
107 | SPARG(&callarg, buf) = buf; | 107 | SPARG(&callarg, buf) = buf; | |
108 | SPARG(&callarg, nbyte) = nbyte; | 108 | SPARG(&callarg, nbyte) = nbyte; | |
109 | 109 | |||
110 | error = rsys_syscall(SYS_write, &callarg, sizeof(callarg), retval); | 110 | error = rsys_syscall(SYS_write, &callarg, sizeof(callarg), retval); | |
111 | rsys_seterrno(error); | 111 | rsys_seterrno(error); | |
112 | if (error == 0) { | 112 | if (error == 0) { | |
113 | if (sizeof(ssize_t) > sizeof(register_t)) | 113 | if (sizeof(ssize_t) > sizeof(register_t)) | |
114 | rv = *(ssize_t *)retval; | 114 | rv = *(ssize_t *)retval; | |
115 | else | 115 | else | |
116 | rv = *retval; | 116 | rv = *retval; | |
117 | } | 117 | } | |
118 | return rv; | 118 | return rv; | |
119 | } | 119 | } | |
120 | #ifdef RUMP_KERNEL_IS_LIBC | 120 | #ifdef RUMP_KERNEL_IS_LIBC | |
121 | __weak_alias(write,rump___sysimpl_write); | 121 | __weak_alias(write,rump___sysimpl_write); | |
122 | __weak_alias(_write,rump___sysimpl_write); | 122 | __weak_alias(_write,rump___sysimpl_write); | |
123 | __strong_alias(_sys_write,rump___sysimpl_write); | 123 | __strong_alias(_sys_write,rump___sysimpl_write); | |
124 | #endif /* RUMP_KERNEL_IS_LIBC */ | 124 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
125 | 125 | |||
126 | int rump___sysimpl_open(const char *, int, mode_t); | 126 | int rump___sysimpl_open(const char *, int, mode_t); | |
127 | int | 127 | int | |
128 | rump___sysimpl_open(const char * path, int flags, mode_t mode) | 128 | rump___sysimpl_open(const char * path, int flags, mode_t mode) | |
129 | { | 129 | { | |
130 | register_t retval[2]; | 130 | register_t retval[2]; | |
131 | int error = 0; | 131 | int error = 0; | |
132 | int rv = -1; | 132 | int rv = -1; | |
133 | struct sys_open_args callarg; | 133 | struct sys_open_args callarg; | |
134 | 134 | |||
135 | memset(&callarg, 0, sizeof(callarg)); | 135 | memset(&callarg, 0, sizeof(callarg)); | |
136 | SPARG(&callarg, path) = path; | 136 | SPARG(&callarg, path) = path; | |
137 | SPARG(&callarg, flags) = flags; | 137 | SPARG(&callarg, flags) = flags; | |
138 | SPARG(&callarg, mode) = mode; | 138 | SPARG(&callarg, mode) = mode; | |
139 | 139 | |||
140 | error = rsys_syscall(SYS_open, &callarg, sizeof(callarg), retval); | 140 | error = rsys_syscall(SYS_open, &callarg, sizeof(callarg), retval); | |
141 | rsys_seterrno(error); | 141 | rsys_seterrno(error); | |
142 | if (error == 0) { | 142 | if (error == 0) { | |
143 | if (sizeof(int) > sizeof(register_t)) | 143 | if (sizeof(int) > sizeof(register_t)) | |
144 | rv = *(int *)retval; | 144 | rv = *(int *)retval; | |
145 | else | 145 | else | |
146 | rv = *retval; | 146 | rv = *retval; | |
147 | } | 147 | } | |
148 | return rv; | 148 | return rv; | |
149 | } | 149 | } | |
150 | #ifdef RUMP_KERNEL_IS_LIBC | 150 | #ifdef RUMP_KERNEL_IS_LIBC | |
151 | __weak_alias(open,rump___sysimpl_open); | 151 | __weak_alias(open,rump___sysimpl_open); | |
152 | __weak_alias(_open,rump___sysimpl_open); | 152 | __weak_alias(_open,rump___sysimpl_open); | |
153 | __strong_alias(_sys_open,rump___sysimpl_open); | 153 | __strong_alias(_sys_open,rump___sysimpl_open); | |
154 | #endif /* RUMP_KERNEL_IS_LIBC */ | 154 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
155 | 155 | |||
156 | int rump___sysimpl_close(int); | 156 | int rump___sysimpl_close(int); | |
157 | int | 157 | int | |
158 | rump___sysimpl_close(int fd) | 158 | rump___sysimpl_close(int fd) | |
159 | { | 159 | { | |
160 | register_t retval[2]; | 160 | register_t retval[2]; | |
161 | int error = 0; | 161 | int error = 0; | |
162 | int rv = -1; | 162 | int rv = -1; | |
163 | struct sys_close_args callarg; | 163 | struct sys_close_args callarg; | |
164 | 164 | |||
165 | memset(&callarg, 0, sizeof(callarg)); | 165 | memset(&callarg, 0, sizeof(callarg)); | |
166 | SPARG(&callarg, fd) = fd; | 166 | SPARG(&callarg, fd) = fd; | |
167 | 167 | |||
168 | error = rsys_syscall(SYS_close, &callarg, sizeof(callarg), retval); | 168 | error = rsys_syscall(SYS_close, &callarg, sizeof(callarg), retval); | |
169 | rsys_seterrno(error); | 169 | rsys_seterrno(error); | |
170 | if (error == 0) { | 170 | if (error == 0) { | |
171 | if (sizeof(int) > sizeof(register_t)) | 171 | if (sizeof(int) > sizeof(register_t)) | |
172 | rv = *(int *)retval; | 172 | rv = *(int *)retval; | |
173 | else | 173 | else | |
174 | rv = *retval; | 174 | rv = *retval; | |
175 | } | 175 | } | |
176 | return rv; | 176 | return rv; | |
177 | } | 177 | } | |
178 | #ifdef RUMP_KERNEL_IS_LIBC | 178 | #ifdef RUMP_KERNEL_IS_LIBC | |
179 | __weak_alias(close,rump___sysimpl_close); | 179 | __weak_alias(close,rump___sysimpl_close); | |
180 | __weak_alias(_close,rump___sysimpl_close); | 180 | __weak_alias(_close,rump___sysimpl_close); | |
181 | __strong_alias(_sys_close,rump___sysimpl_close); | 181 | __strong_alias(_sys_close,rump___sysimpl_close); | |
182 | #endif /* RUMP_KERNEL_IS_LIBC */ | 182 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
183 | 183 | |||
184 | int rump___sysimpl_link(const char *, const char *); | 184 | int rump___sysimpl_link(const char *, const char *); | |
185 | int | 185 | int | |
186 | rump___sysimpl_link(const char * path, const char * link) | 186 | rump___sysimpl_link(const char * path, const char * link) | |
187 | { | 187 | { | |
188 | register_t retval[2]; | 188 | register_t retval[2]; | |
189 | int error = 0; | 189 | int error = 0; | |
190 | int rv = -1; | 190 | int rv = -1; | |
191 | struct sys_link_args callarg; | 191 | struct sys_link_args callarg; | |
192 | 192 | |||
193 | memset(&callarg, 0, sizeof(callarg)); | 193 | memset(&callarg, 0, sizeof(callarg)); | |
194 | SPARG(&callarg, path) = path; | 194 | SPARG(&callarg, path) = path; | |
195 | SPARG(&callarg, link) = link; | 195 | SPARG(&callarg, link) = link; | |
196 | 196 | |||
197 | error = rsys_syscall(SYS_link, &callarg, sizeof(callarg), retval); | 197 | error = rsys_syscall(SYS_link, &callarg, sizeof(callarg), retval); | |
198 | rsys_seterrno(error); | 198 | rsys_seterrno(error); | |
199 | if (error == 0) { | 199 | if (error == 0) { | |
200 | if (sizeof(int) > sizeof(register_t)) | 200 | if (sizeof(int) > sizeof(register_t)) | |
201 | rv = *(int *)retval; | 201 | rv = *(int *)retval; | |
202 | else | 202 | else | |
203 | rv = *retval; | 203 | rv = *retval; | |
204 | } | 204 | } | |
205 | return rv; | 205 | return rv; | |
206 | } | 206 | } | |
207 | #ifdef RUMP_KERNEL_IS_LIBC | 207 | #ifdef RUMP_KERNEL_IS_LIBC | |
208 | __weak_alias(link,rump___sysimpl_link); | 208 | __weak_alias(link,rump___sysimpl_link); | |
209 | __weak_alias(_link,rump___sysimpl_link); | 209 | __weak_alias(_link,rump___sysimpl_link); | |
210 | __strong_alias(_sys_link,rump___sysimpl_link); | 210 | __strong_alias(_sys_link,rump___sysimpl_link); | |
211 | #endif /* RUMP_KERNEL_IS_LIBC */ | 211 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
212 | 212 | |||
213 | int rump___sysimpl_unlink(const char *); | 213 | int rump___sysimpl_unlink(const char *); | |
214 | int | 214 | int | |
215 | rump___sysimpl_unlink(const char * path) | 215 | rump___sysimpl_unlink(const char * path) | |
216 | { | 216 | { | |
217 | register_t retval[2]; | 217 | register_t retval[2]; | |
218 | int error = 0; | 218 | int error = 0; | |
219 | int rv = -1; | 219 | int rv = -1; | |
220 | struct sys_unlink_args callarg; | 220 | struct sys_unlink_args callarg; | |
221 | 221 | |||
222 | memset(&callarg, 0, sizeof(callarg)); | 222 | memset(&callarg, 0, sizeof(callarg)); | |
223 | SPARG(&callarg, path) = path; | 223 | SPARG(&callarg, path) = path; | |
224 | 224 | |||
225 | error = rsys_syscall(SYS_unlink, &callarg, sizeof(callarg), retval); | 225 | error = rsys_syscall(SYS_unlink, &callarg, sizeof(callarg), retval); | |
226 | rsys_seterrno(error); | 226 | rsys_seterrno(error); | |
227 | if (error == 0) { | 227 | if (error == 0) { | |
228 | if (sizeof(int) > sizeof(register_t)) | 228 | if (sizeof(int) > sizeof(register_t)) | |
229 | rv = *(int *)retval; | 229 | rv = *(int *)retval; | |
230 | else | 230 | else | |
231 | rv = *retval; | 231 | rv = *retval; | |
232 | } | 232 | } | |
233 | return rv; | 233 | return rv; | |
234 | } | 234 | } | |
235 | #ifdef RUMP_KERNEL_IS_LIBC | 235 | #ifdef RUMP_KERNEL_IS_LIBC | |
236 | __weak_alias(unlink,rump___sysimpl_unlink); | 236 | __weak_alias(unlink,rump___sysimpl_unlink); | |
237 | __weak_alias(_unlink,rump___sysimpl_unlink); | 237 | __weak_alias(_unlink,rump___sysimpl_unlink); | |
238 | __strong_alias(_sys_unlink,rump___sysimpl_unlink); | 238 | __strong_alias(_sys_unlink,rump___sysimpl_unlink); | |
239 | #endif /* RUMP_KERNEL_IS_LIBC */ | 239 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
240 | 240 | |||
241 | int rump___sysimpl_chdir(const char *); | 241 | int rump___sysimpl_chdir(const char *); | |
242 | int | 242 | int | |
243 | rump___sysimpl_chdir(const char * path) | 243 | rump___sysimpl_chdir(const char * path) | |
244 | { | 244 | { | |
245 | register_t retval[2]; | 245 | register_t retval[2]; | |
246 | int error = 0; | 246 | int error = 0; | |
247 | int rv = -1; | 247 | int rv = -1; | |
248 | struct sys_chdir_args callarg; | 248 | struct sys_chdir_args callarg; | |
249 | 249 | |||
250 | memset(&callarg, 0, sizeof(callarg)); | 250 | memset(&callarg, 0, sizeof(callarg)); | |
251 | SPARG(&callarg, path) = path; | 251 | SPARG(&callarg, path) = path; | |
252 | 252 | |||
253 | error = rsys_syscall(SYS_chdir, &callarg, sizeof(callarg), retval); | 253 | error = rsys_syscall(SYS_chdir, &callarg, sizeof(callarg), retval); | |
254 | rsys_seterrno(error); | 254 | rsys_seterrno(error); | |
255 | if (error == 0) { | 255 | if (error == 0) { | |
256 | if (sizeof(int) > sizeof(register_t)) | 256 | if (sizeof(int) > sizeof(register_t)) | |
257 | rv = *(int *)retval; | 257 | rv = *(int *)retval; | |
258 | else | 258 | else | |
259 | rv = *retval; | 259 | rv = *retval; | |
260 | } | 260 | } | |
261 | return rv; | 261 | return rv; | |
262 | } | 262 | } | |
263 | #ifdef RUMP_KERNEL_IS_LIBC | 263 | #ifdef RUMP_KERNEL_IS_LIBC | |
264 | __weak_alias(chdir,rump___sysimpl_chdir); | 264 | __weak_alias(chdir,rump___sysimpl_chdir); | |
265 | __weak_alias(_chdir,rump___sysimpl_chdir); | 265 | __weak_alias(_chdir,rump___sysimpl_chdir); | |
266 | __strong_alias(_sys_chdir,rump___sysimpl_chdir); | 266 | __strong_alias(_sys_chdir,rump___sysimpl_chdir); | |
267 | #endif /* RUMP_KERNEL_IS_LIBC */ | 267 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
268 | 268 | |||
269 | int rump___sysimpl_fchdir(int); | 269 | int rump___sysimpl_fchdir(int); | |
270 | int | 270 | int | |
271 | rump___sysimpl_fchdir(int fd) | 271 | rump___sysimpl_fchdir(int fd) | |
272 | { | 272 | { | |
273 | register_t retval[2]; | 273 | register_t retval[2]; | |
274 | int error = 0; | 274 | int error = 0; | |
275 | int rv = -1; | 275 | int rv = -1; | |
276 | struct sys_fchdir_args callarg; | 276 | struct sys_fchdir_args callarg; | |
277 | 277 | |||
278 | memset(&callarg, 0, sizeof(callarg)); | 278 | memset(&callarg, 0, sizeof(callarg)); | |
279 | SPARG(&callarg, fd) = fd; | 279 | SPARG(&callarg, fd) = fd; | |
280 | 280 | |||
281 | error = rsys_syscall(SYS_fchdir, &callarg, sizeof(callarg), retval); | 281 | error = rsys_syscall(SYS_fchdir, &callarg, sizeof(callarg), retval); | |
282 | rsys_seterrno(error); | 282 | rsys_seterrno(error); | |
283 | if (error == 0) { | 283 | if (error == 0) { | |
284 | if (sizeof(int) > sizeof(register_t)) | 284 | if (sizeof(int) > sizeof(register_t)) | |
285 | rv = *(int *)retval; | 285 | rv = *(int *)retval; | |
286 | else | 286 | else | |
287 | rv = *retval; | 287 | rv = *retval; | |
288 | } | 288 | } | |
289 | return rv; | 289 | return rv; | |
290 | } | 290 | } | |
291 | #ifdef RUMP_KERNEL_IS_LIBC | 291 | #ifdef RUMP_KERNEL_IS_LIBC | |
292 | __weak_alias(fchdir,rump___sysimpl_fchdir); | 292 | __weak_alias(fchdir,rump___sysimpl_fchdir); | |
293 | __weak_alias(_fchdir,rump___sysimpl_fchdir); | 293 | __weak_alias(_fchdir,rump___sysimpl_fchdir); | |
294 | __strong_alias(_sys_fchdir,rump___sysimpl_fchdir); | 294 | __strong_alias(_sys_fchdir,rump___sysimpl_fchdir); | |
295 | #endif /* RUMP_KERNEL_IS_LIBC */ | 295 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
296 | 296 | |||
297 | #ifdef RUMP_SYS_COMPAT | 297 | #ifdef RUMP_SYS_COMPAT | |
298 | int rump___sysimpl_mknod(const char *, mode_t, uint32_t); | 298 | int rump___sysimpl_mknod(const char *, mode_t, uint32_t); | |
299 | int | 299 | int | |
300 | rump___sysimpl_mknod(const char * path, mode_t mode, uint32_t dev) | 300 | rump___sysimpl_mknod(const char * path, mode_t mode, uint32_t dev) | |
301 | { | 301 | { | |
302 | register_t retval[2]; | 302 | register_t retval[2]; | |
303 | int error = 0; | 303 | int error = 0; | |
304 | int rv = -1; | 304 | int rv = -1; | |
305 | struct compat_50_sys_mknod_args callarg; | 305 | struct compat_50_sys_mknod_args callarg; | |
306 | 306 | |||
307 | memset(&callarg, 0, sizeof(callarg)); | 307 | memset(&callarg, 0, sizeof(callarg)); | |
308 | SPARG(&callarg, path) = path; | 308 | SPARG(&callarg, path) = path; | |
309 | SPARG(&callarg, mode) = mode; | 309 | SPARG(&callarg, mode) = mode; | |
310 | SPARG(&callarg, dev) = dev; | 310 | SPARG(&callarg, dev) = dev; | |
311 | 311 | |||
312 | error = rsys_syscall(SYS_compat_50_mknod, &callarg, sizeof(callarg), retval); | 312 | error = rsys_syscall(SYS_compat_50_mknod, &callarg, sizeof(callarg), retval); | |
313 | rsys_seterrno(error); | 313 | rsys_seterrno(error); | |
314 | if (error == 0) { | 314 | if (error == 0) { | |
315 | if (sizeof(int) > sizeof(register_t)) | 315 | if (sizeof(int) > sizeof(register_t)) | |
316 | rv = *(int *)retval; | 316 | rv = *(int *)retval; | |
317 | else | 317 | else | |
318 | rv = *retval; | 318 | rv = *retval; | |
319 | } | 319 | } | |
320 | return rv; | 320 | return rv; | |
321 | } | 321 | } | |
322 | #ifdef RUMP_KERNEL_IS_LIBC | 322 | #ifdef RUMP_KERNEL_IS_LIBC | |
323 | __weak_alias(mknod,rump___sysimpl_mknod); | 323 | __weak_alias(mknod,rump___sysimpl_mknod); | |
324 | __weak_alias(_mknod,rump___sysimpl_mknod); | 324 | __weak_alias(_mknod,rump___sysimpl_mknod); | |
325 | __strong_alias(_sys_mknod,rump___sysimpl_mknod); | 325 | __strong_alias(_sys_mknod,rump___sysimpl_mknod); | |
326 | #endif /* RUMP_KERNEL_IS_LIBC */ | 326 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
327 | #endif /* RUMP_SYS_COMPAT */ | 327 | #endif /* RUMP_SYS_COMPAT */ | |
328 | 328 | |||
329 | int rump___sysimpl_chmod(const char *, mode_t); | 329 | int rump___sysimpl_chmod(const char *, mode_t); | |
330 | int | 330 | int | |
331 | rump___sysimpl_chmod(const char * path, mode_t mode) | 331 | rump___sysimpl_chmod(const char * path, mode_t mode) | |
332 | { | 332 | { | |
333 | register_t retval[2]; | 333 | register_t retval[2]; | |
334 | int error = 0; | 334 | int error = 0; | |
335 | int rv = -1; | 335 | int rv = -1; | |
336 | struct sys_chmod_args callarg; | 336 | struct sys_chmod_args callarg; | |
337 | 337 | |||
338 | memset(&callarg, 0, sizeof(callarg)); | 338 | memset(&callarg, 0, sizeof(callarg)); | |
339 | SPARG(&callarg, path) = path; | 339 | SPARG(&callarg, path) = path; | |
340 | SPARG(&callarg, mode) = mode; | 340 | SPARG(&callarg, mode) = mode; | |
341 | 341 | |||
342 | error = rsys_syscall(SYS_chmod, &callarg, sizeof(callarg), retval); | 342 | error = rsys_syscall(SYS_chmod, &callarg, sizeof(callarg), retval); | |
343 | rsys_seterrno(error); | 343 | rsys_seterrno(error); | |
344 | if (error == 0) { | 344 | if (error == 0) { | |
345 | if (sizeof(int) > sizeof(register_t)) | 345 | if (sizeof(int) > sizeof(register_t)) | |
346 | rv = *(int *)retval; | 346 | rv = *(int *)retval; | |
347 | else | 347 | else | |
348 | rv = *retval; | 348 | rv = *retval; | |
349 | } | 349 | } | |
350 | return rv; | 350 | return rv; | |
351 | } | 351 | } | |
352 | #ifdef RUMP_KERNEL_IS_LIBC | 352 | #ifdef RUMP_KERNEL_IS_LIBC | |
353 | __weak_alias(chmod,rump___sysimpl_chmod); | 353 | __weak_alias(chmod,rump___sysimpl_chmod); | |
354 | __weak_alias(_chmod,rump___sysimpl_chmod); | 354 | __weak_alias(_chmod,rump___sysimpl_chmod); | |
355 | __strong_alias(_sys_chmod,rump___sysimpl_chmod); | 355 | __strong_alias(_sys_chmod,rump___sysimpl_chmod); | |
356 | #endif /* RUMP_KERNEL_IS_LIBC */ | 356 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
357 | 357 | |||
358 | int rump___sysimpl_chown(const char *, uid_t, gid_t); | 358 | int rump___sysimpl_chown(const char *, uid_t, gid_t); | |
359 | int | 359 | int | |
360 | rump___sysimpl_chown(const char * path, uid_t uid, gid_t gid) | 360 | rump___sysimpl_chown(const char * path, uid_t uid, gid_t gid) | |
361 | { | 361 | { | |
362 | register_t retval[2]; | 362 | register_t retval[2]; | |
363 | int error = 0; | 363 | int error = 0; | |
364 | int rv = -1; | 364 | int rv = -1; | |
365 | struct sys_chown_args callarg; | 365 | struct sys_chown_args callarg; | |
366 | 366 | |||
367 | memset(&callarg, 0, sizeof(callarg)); | 367 | memset(&callarg, 0, sizeof(callarg)); | |
368 | SPARG(&callarg, path) = path; | 368 | SPARG(&callarg, path) = path; | |
369 | SPARG(&callarg, uid) = uid; | 369 | SPARG(&callarg, uid) = uid; | |
370 | SPARG(&callarg, gid) = gid; | 370 | SPARG(&callarg, gid) = gid; | |
371 | 371 | |||
372 | error = rsys_syscall(SYS_chown, &callarg, sizeof(callarg), retval); | 372 | error = rsys_syscall(SYS_chown, &callarg, sizeof(callarg), retval); | |
373 | rsys_seterrno(error); | 373 | rsys_seterrno(error); | |
374 | if (error == 0) { | 374 | if (error == 0) { | |
375 | if (sizeof(int) > sizeof(register_t)) | 375 | if (sizeof(int) > sizeof(register_t)) | |
376 | rv = *(int *)retval; | 376 | rv = *(int *)retval; | |
377 | else | 377 | else | |
378 | rv = *retval; | 378 | rv = *retval; | |
379 | } | 379 | } | |
380 | return rv; | 380 | return rv; | |
381 | } | 381 | } | |
382 | #ifdef RUMP_KERNEL_IS_LIBC | 382 | #ifdef RUMP_KERNEL_IS_LIBC | |
383 | __weak_alias(chown,rump___sysimpl_chown); | 383 | __weak_alias(chown,rump___sysimpl_chown); | |
384 | __weak_alias(_chown,rump___sysimpl_chown); | 384 | __weak_alias(_chown,rump___sysimpl_chown); | |
385 | __strong_alias(_sys_chown,rump___sysimpl_chown); | 385 | __strong_alias(_sys_chown,rump___sysimpl_chown); | |
386 | #endif /* RUMP_KERNEL_IS_LIBC */ | 386 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
387 | 387 | |||
388 | pid_t rump___sysimpl_getpid(void); | 388 | pid_t rump___sysimpl_getpid(void); | |
389 | pid_t | 389 | pid_t | |
390 | rump___sysimpl_getpid(void ) | 390 | rump___sysimpl_getpid(void ) | |
391 | { | 391 | { | |
392 | register_t retval[2]; | 392 | register_t retval[2]; | |
393 | pid_t rv = -1; | 393 | pid_t rv = -1; | |
394 | 394 | |||
395 | (void)rsys_syscall(SYS_getpid, NULL, 0, retval); | 395 | (void)rsys_syscall(SYS_getpid, NULL, 0, retval); | |
396 | if (sizeof(pid_t) > sizeof(register_t)) | 396 | if (sizeof(pid_t) > sizeof(register_t)) | |
397 | rv = *(pid_t *)retval; | 397 | rv = *(pid_t *)retval; | |
398 | else | 398 | else | |
399 | rv = *retval; | 399 | rv = *retval; | |
400 | return rv; | 400 | return rv; | |
401 | } | 401 | } | |
402 | #ifdef RUMP_KERNEL_IS_LIBC | 402 | #ifdef RUMP_KERNEL_IS_LIBC | |
403 | __weak_alias(getpid,rump___sysimpl_getpid); | 403 | __weak_alias(getpid,rump___sysimpl_getpid); | |
404 | __weak_alias(_getpid,rump___sysimpl_getpid); | 404 | __weak_alias(_getpid,rump___sysimpl_getpid); | |
405 | __strong_alias(_sys_getpid,rump___sysimpl_getpid); | 405 | __strong_alias(_sys_getpid,rump___sysimpl_getpid); | |
406 | #endif /* RUMP_KERNEL_IS_LIBC */ | 406 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
407 | 407 | |||
408 | int rump___sysimpl_unmount(const char *, int); | 408 | int rump___sysimpl_unmount(const char *, int); | |
409 | int | 409 | int | |
410 | rump___sysimpl_unmount(const char * path, int flags) | 410 | rump___sysimpl_unmount(const char * path, int flags) | |
411 | { | 411 | { | |
412 | register_t retval[2]; | 412 | register_t retval[2]; | |
413 | int error = 0; | 413 | int error = 0; | |
414 | int rv = -1; | 414 | int rv = -1; | |
415 | struct sys_unmount_args callarg; | 415 | struct sys_unmount_args callarg; | |
416 | 416 | |||
417 | memset(&callarg, 0, sizeof(callarg)); | 417 | memset(&callarg, 0, sizeof(callarg)); | |
418 | SPARG(&callarg, path) = path; | 418 | SPARG(&callarg, path) = path; | |
419 | SPARG(&callarg, flags) = flags; | 419 | SPARG(&callarg, flags) = flags; | |
420 | 420 | |||
421 | error = rsys_syscall(SYS_unmount, &callarg, sizeof(callarg), retval); | 421 | error = rsys_syscall(SYS_unmount, &callarg, sizeof(callarg), retval); | |
422 | rsys_seterrno(error); | 422 | rsys_seterrno(error); | |
423 | if (error == 0) { | 423 | if (error == 0) { | |
424 | if (sizeof(int) > sizeof(register_t)) | 424 | if (sizeof(int) > sizeof(register_t)) | |
425 | rv = *(int *)retval; | 425 | rv = *(int *)retval; | |
426 | else | 426 | else | |
427 | rv = *retval; | 427 | rv = *retval; | |
428 | } | 428 | } | |
429 | return rv; | 429 | return rv; | |
430 | } | 430 | } | |
431 | #ifdef RUMP_KERNEL_IS_LIBC | 431 | #ifdef RUMP_KERNEL_IS_LIBC | |
432 | __weak_alias(unmount,rump___sysimpl_unmount); | 432 | __weak_alias(unmount,rump___sysimpl_unmount); | |
433 | __weak_alias(_unmount,rump___sysimpl_unmount); | 433 | __weak_alias(_unmount,rump___sysimpl_unmount); | |
434 | __strong_alias(_sys_unmount,rump___sysimpl_unmount); | 434 | __strong_alias(_sys_unmount,rump___sysimpl_unmount); | |
435 | #endif /* RUMP_KERNEL_IS_LIBC */ | 435 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
436 | 436 | |||
437 | int rump___sysimpl_setuid(uid_t); | 437 | int rump___sysimpl_setuid(uid_t); | |
438 | int | 438 | int | |
439 | rump___sysimpl_setuid(uid_t uid) | 439 | rump___sysimpl_setuid(uid_t uid) | |
440 | { | 440 | { | |
441 | register_t retval[2]; | 441 | register_t retval[2]; | |
442 | int error = 0; | 442 | int error = 0; | |
443 | int rv = -1; | 443 | int rv = -1; | |
444 | struct sys_setuid_args callarg; | 444 | struct sys_setuid_args callarg; | |
445 | 445 | |||
446 | memset(&callarg, 0, sizeof(callarg)); | 446 | memset(&callarg, 0, sizeof(callarg)); | |
447 | SPARG(&callarg, uid) = uid; | 447 | SPARG(&callarg, uid) = uid; | |
448 | 448 | |||
449 | error = rsys_syscall(SYS_setuid, &callarg, sizeof(callarg), retval); | 449 | error = rsys_syscall(SYS_setuid, &callarg, sizeof(callarg), retval); | |
450 | rsys_seterrno(error); | 450 | rsys_seterrno(error); | |
451 | if (error == 0) { | 451 | if (error == 0) { | |
452 | if (sizeof(int) > sizeof(register_t)) | 452 | if (sizeof(int) > sizeof(register_t)) | |
453 | rv = *(int *)retval; | 453 | rv = *(int *)retval; | |
454 | else | 454 | else | |
455 | rv = *retval; | 455 | rv = *retval; | |
456 | } | 456 | } | |
457 | return rv; | 457 | return rv; | |
458 | } | 458 | } | |
459 | #ifdef RUMP_KERNEL_IS_LIBC | 459 | #ifdef RUMP_KERNEL_IS_LIBC | |
460 | __weak_alias(setuid,rump___sysimpl_setuid); | 460 | __weak_alias(setuid,rump___sysimpl_setuid); | |
461 | __weak_alias(_setuid,rump___sysimpl_setuid); | 461 | __weak_alias(_setuid,rump___sysimpl_setuid); | |
462 | __strong_alias(_sys_setuid,rump___sysimpl_setuid); | 462 | __strong_alias(_sys_setuid,rump___sysimpl_setuid); | |
463 | #endif /* RUMP_KERNEL_IS_LIBC */ | 463 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
464 | 464 | |||
465 | uid_t rump___sysimpl_getuid(void); | 465 | uid_t rump___sysimpl_getuid(void); | |
466 | uid_t | 466 | uid_t | |
467 | rump___sysimpl_getuid(void ) | 467 | rump___sysimpl_getuid(void ) | |
468 | { | 468 | { | |
469 | register_t retval[2]; | 469 | register_t retval[2]; | |
470 | uid_t rv = -1; | 470 | uid_t rv = -1; | |
471 | 471 | |||
472 | (void)rsys_syscall(SYS_getuid, NULL, 0, retval); | 472 | (void)rsys_syscall(SYS_getuid, NULL, 0, retval); | |
473 | if (sizeof(uid_t) > sizeof(register_t)) | 473 | if (sizeof(uid_t) > sizeof(register_t)) | |
474 | rv = *(uid_t *)retval; | 474 | rv = *(uid_t *)retval; | |
475 | else | 475 | else | |
476 | rv = *retval; | 476 | rv = *retval; | |
477 | return rv; | 477 | return rv; | |
478 | } | 478 | } | |
479 | #ifdef RUMP_KERNEL_IS_LIBC | 479 | #ifdef RUMP_KERNEL_IS_LIBC | |
480 | __weak_alias(getuid,rump___sysimpl_getuid); | 480 | __weak_alias(getuid,rump___sysimpl_getuid); | |
481 | __weak_alias(_getuid,rump___sysimpl_getuid); | 481 | __weak_alias(_getuid,rump___sysimpl_getuid); | |
482 | __strong_alias(_sys_getuid,rump___sysimpl_getuid); | 482 | __strong_alias(_sys_getuid,rump___sysimpl_getuid); | |
483 | #endif /* RUMP_KERNEL_IS_LIBC */ | 483 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
484 | 484 | |||
485 | uid_t rump___sysimpl_geteuid(void); | 485 | uid_t rump___sysimpl_geteuid(void); | |
486 | uid_t | 486 | uid_t | |
487 | rump___sysimpl_geteuid(void ) | 487 | rump___sysimpl_geteuid(void ) | |
488 | { | 488 | { | |
489 | register_t retval[2]; | 489 | register_t retval[2]; | |
490 | uid_t rv = -1; | 490 | uid_t rv = -1; | |
491 | 491 | |||
492 | (void)rsys_syscall(SYS_geteuid, NULL, 0, retval); | 492 | (void)rsys_syscall(SYS_geteuid, NULL, 0, retval); | |
493 | if (sizeof(uid_t) > sizeof(register_t)) | 493 | if (sizeof(uid_t) > sizeof(register_t)) | |
494 | rv = *(uid_t *)retval; | 494 | rv = *(uid_t *)retval; | |
495 | else | 495 | else | |
496 | rv = *retval; | 496 | rv = *retval; | |
497 | return rv; | 497 | return rv; | |
498 | } | 498 | } | |
499 | #ifdef RUMP_KERNEL_IS_LIBC | 499 | #ifdef RUMP_KERNEL_IS_LIBC | |
500 | __weak_alias(geteuid,rump___sysimpl_geteuid); | 500 | __weak_alias(geteuid,rump___sysimpl_geteuid); | |
501 | __weak_alias(_geteuid,rump___sysimpl_geteuid); | 501 | __weak_alias(_geteuid,rump___sysimpl_geteuid); | |
502 | __strong_alias(_sys_geteuid,rump___sysimpl_geteuid); | 502 | __strong_alias(_sys_geteuid,rump___sysimpl_geteuid); | |
503 | #endif /* RUMP_KERNEL_IS_LIBC */ | 503 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
504 | 504 | |||
505 | ssize_t rump___sysimpl_recvmsg(int, struct msghdr *, int); | 505 | ssize_t rump___sysimpl_recvmsg(int, struct msghdr *, int); | |
506 | ssize_t | 506 | ssize_t | |
507 | rump___sysimpl_recvmsg(int s, struct msghdr * msg, int flags) | 507 | rump___sysimpl_recvmsg(int s, struct msghdr * msg, int flags) | |
508 | { | 508 | { | |
509 | register_t retval[2]; | 509 | register_t retval[2]; | |
510 | int error = 0; | 510 | int error = 0; | |
511 | ssize_t rv = -1; | 511 | ssize_t rv = -1; | |
512 | struct sys_recvmsg_args callarg; | 512 | struct sys_recvmsg_args callarg; | |
513 | 513 | |||
514 | memset(&callarg, 0, sizeof(callarg)); | 514 | memset(&callarg, 0, sizeof(callarg)); | |
515 | SPARG(&callarg, s) = s; | 515 | SPARG(&callarg, s) = s; | |
516 | SPARG(&callarg, msg) = msg; | 516 | SPARG(&callarg, msg) = msg; | |
517 | SPARG(&callarg, flags) = flags; | 517 | SPARG(&callarg, flags) = flags; | |
518 | 518 | |||
519 | error = rsys_syscall(SYS_recvmsg, &callarg, sizeof(callarg), retval); | 519 | error = rsys_syscall(SYS_recvmsg, &callarg, sizeof(callarg), retval); | |
520 | rsys_seterrno(error); | 520 | rsys_seterrno(error); | |
521 | if (error == 0) { | 521 | if (error == 0) { | |
522 | if (sizeof(ssize_t) > sizeof(register_t)) | 522 | if (sizeof(ssize_t) > sizeof(register_t)) | |
523 | rv = *(ssize_t *)retval; | 523 | rv = *(ssize_t *)retval; | |
524 | else | 524 | else | |
525 | rv = *retval; | 525 | rv = *retval; | |
526 | } | 526 | } | |
527 | return rv; | 527 | return rv; | |
528 | } | 528 | } | |
529 | #ifdef RUMP_KERNEL_IS_LIBC | 529 | #ifdef RUMP_KERNEL_IS_LIBC | |
530 | __weak_alias(recvmsg,rump___sysimpl_recvmsg); | 530 | __weak_alias(recvmsg,rump___sysimpl_recvmsg); | |
531 | __weak_alias(_recvmsg,rump___sysimpl_recvmsg); | 531 | __weak_alias(_recvmsg,rump___sysimpl_recvmsg); | |
532 | __strong_alias(_sys_recvmsg,rump___sysimpl_recvmsg); | 532 | __strong_alias(_sys_recvmsg,rump___sysimpl_recvmsg); | |
533 | #endif /* RUMP_KERNEL_IS_LIBC */ | 533 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
534 | 534 | |||
535 | ssize_t rump___sysimpl_sendmsg(int, const struct msghdr *, int); | 535 | ssize_t rump___sysimpl_sendmsg(int, const struct msghdr *, int); | |
536 | ssize_t | 536 | ssize_t | |
537 | rump___sysimpl_sendmsg(int s, const struct msghdr * msg, int flags) | 537 | rump___sysimpl_sendmsg(int s, const struct msghdr * msg, int flags) | |
538 | { | 538 | { | |
539 | register_t retval[2]; | 539 | register_t retval[2]; | |
540 | int error = 0; | 540 | int error = 0; | |
541 | ssize_t rv = -1; | 541 | ssize_t rv = -1; | |
542 | struct sys_sendmsg_args callarg; | 542 | struct sys_sendmsg_args callarg; | |
543 | 543 | |||
544 | memset(&callarg, 0, sizeof(callarg)); | 544 | memset(&callarg, 0, sizeof(callarg)); | |
545 | SPARG(&callarg, s) = s; | 545 | SPARG(&callarg, s) = s; | |
546 | SPARG(&callarg, msg) = msg; | 546 | SPARG(&callarg, msg) = msg; | |
547 | SPARG(&callarg, flags) = flags; | 547 | SPARG(&callarg, flags) = flags; | |
548 | 548 | |||
549 | error = rsys_syscall(SYS_sendmsg, &callarg, sizeof(callarg), retval); | 549 | error = rsys_syscall(SYS_sendmsg, &callarg, sizeof(callarg), retval); | |
550 | rsys_seterrno(error); | 550 | rsys_seterrno(error); | |
551 | if (error == 0) { | 551 | if (error == 0) { | |
552 | if (sizeof(ssize_t) > sizeof(register_t)) | 552 | if (sizeof(ssize_t) > sizeof(register_t)) | |
553 | rv = *(ssize_t *)retval; | 553 | rv = *(ssize_t *)retval; | |
554 | else | 554 | else | |
555 | rv = *retval; | 555 | rv = *retval; | |
556 | } | 556 | } | |
557 | return rv; | 557 | return rv; | |
558 | } | 558 | } | |
559 | #ifdef RUMP_KERNEL_IS_LIBC | 559 | #ifdef RUMP_KERNEL_IS_LIBC | |
560 | __weak_alias(sendmsg,rump___sysimpl_sendmsg); | 560 | __weak_alias(sendmsg,rump___sysimpl_sendmsg); | |
561 | __weak_alias(_sendmsg,rump___sysimpl_sendmsg); | 561 | __weak_alias(_sendmsg,rump___sysimpl_sendmsg); | |
562 | __strong_alias(_sys_sendmsg,rump___sysimpl_sendmsg); | 562 | __strong_alias(_sys_sendmsg,rump___sysimpl_sendmsg); | |
563 | #endif /* RUMP_KERNEL_IS_LIBC */ | 563 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
564 | 564 | |||
565 | ssize_t rump___sysimpl_recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *); | 565 | ssize_t rump___sysimpl_recvfrom(int, void *, size_t, int, struct sockaddr *, socklen_t *); | |
566 | ssize_t | 566 | ssize_t | |
567 | rump___sysimpl_recvfrom(int s, void * buf, size_t len, int flags, struct sockaddr * from, socklen_t * fromlenaddr) | 567 | rump___sysimpl_recvfrom(int s, void * buf, size_t len, int flags, struct sockaddr * from, socklen_t * fromlenaddr) | |
568 | { | 568 | { | |
569 | register_t retval[2]; | 569 | register_t retval[2]; | |
570 | int error = 0; | 570 | int error = 0; | |
571 | ssize_t rv = -1; | 571 | ssize_t rv = -1; | |
572 | struct sys_recvfrom_args callarg; | 572 | struct sys_recvfrom_args callarg; | |
573 | 573 | |||
574 | memset(&callarg, 0, sizeof(callarg)); | 574 | memset(&callarg, 0, sizeof(callarg)); | |
575 | SPARG(&callarg, s) = s; | 575 | SPARG(&callarg, s) = s; | |
576 | SPARG(&callarg, buf) = buf; | 576 | SPARG(&callarg, buf) = buf; | |
577 | SPARG(&callarg, len) = len; | 577 | SPARG(&callarg, len) = len; | |
578 | SPARG(&callarg, flags) = flags; | 578 | SPARG(&callarg, flags) = flags; | |
579 | SPARG(&callarg, from) = from; | 579 | SPARG(&callarg, from) = from; | |
580 | SPARG(&callarg, fromlenaddr) = fromlenaddr; | 580 | SPARG(&callarg, fromlenaddr) = fromlenaddr; | |
581 | 581 | |||
582 | error = rsys_syscall(SYS_recvfrom, &callarg, sizeof(callarg), retval); | 582 | error = rsys_syscall(SYS_recvfrom, &callarg, sizeof(callarg), retval); | |
583 | rsys_seterrno(error); | 583 | rsys_seterrno(error); | |
584 | if (error == 0) { | 584 | if (error == 0) { | |
585 | if (sizeof(ssize_t) > sizeof(register_t)) | 585 | if (sizeof(ssize_t) > sizeof(register_t)) | |
586 | rv = *(ssize_t *)retval; | 586 | rv = *(ssize_t *)retval; | |
587 | else | 587 | else | |
588 | rv = *retval; | 588 | rv = *retval; | |
589 | } | 589 | } | |
590 | return rv; | 590 | return rv; | |
591 | } | 591 | } | |
592 | #ifdef RUMP_KERNEL_IS_LIBC | 592 | #ifdef RUMP_KERNEL_IS_LIBC | |
593 | __weak_alias(recvfrom,rump___sysimpl_recvfrom); | 593 | __weak_alias(recvfrom,rump___sysimpl_recvfrom); | |
594 | __weak_alias(_recvfrom,rump___sysimpl_recvfrom); | 594 | __weak_alias(_recvfrom,rump___sysimpl_recvfrom); | |
595 | __strong_alias(_sys_recvfrom,rump___sysimpl_recvfrom); | 595 | __strong_alias(_sys_recvfrom,rump___sysimpl_recvfrom); | |
596 | #endif /* RUMP_KERNEL_IS_LIBC */ | 596 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
597 | 597 | |||
598 | int rump___sysimpl_accept(int, struct sockaddr *, socklen_t *); | 598 | int rump___sysimpl_accept(int, struct sockaddr *, socklen_t *); | |
599 | int | 599 | int | |
600 | rump___sysimpl_accept(int s, struct sockaddr * name, socklen_t * anamelen) | 600 | rump___sysimpl_accept(int s, struct sockaddr * name, socklen_t * anamelen) | |
601 | { | 601 | { | |
602 | register_t retval[2]; | 602 | register_t retval[2]; | |
603 | int error = 0; | 603 | int error = 0; | |
604 | int rv = -1; | 604 | int rv = -1; | |
605 | struct sys_accept_args callarg; | 605 | struct sys_accept_args callarg; | |
606 | 606 | |||
607 | memset(&callarg, 0, sizeof(callarg)); | 607 | memset(&callarg, 0, sizeof(callarg)); | |
608 | SPARG(&callarg, s) = s; | 608 | SPARG(&callarg, s) = s; | |
609 | SPARG(&callarg, name) = name; | 609 | SPARG(&callarg, name) = name; | |
610 | SPARG(&callarg, anamelen) = anamelen; | 610 | SPARG(&callarg, anamelen) = anamelen; | |
611 | 611 | |||
612 | error = rsys_syscall(SYS_accept, &callarg, sizeof(callarg), retval); | 612 | error = rsys_syscall(SYS_accept, &callarg, sizeof(callarg), retval); | |
613 | rsys_seterrno(error); | 613 | rsys_seterrno(error); | |
614 | if (error == 0) { | 614 | if (error == 0) { | |
615 | if (sizeof(int) > sizeof(register_t)) | 615 | if (sizeof(int) > sizeof(register_t)) | |
616 | rv = *(int *)retval; | 616 | rv = *(int *)retval; | |
617 | else | 617 | else | |
618 | rv = *retval; | 618 | rv = *retval; | |
619 | } | 619 | } | |
620 | return rv; | 620 | return rv; | |
621 | } | 621 | } | |
622 | #ifdef RUMP_KERNEL_IS_LIBC | 622 | #ifdef RUMP_KERNEL_IS_LIBC | |
623 | __weak_alias(accept,rump___sysimpl_accept); | 623 | __weak_alias(accept,rump___sysimpl_accept); | |
624 | __weak_alias(_accept,rump___sysimpl_accept); | 624 | __weak_alias(_accept,rump___sysimpl_accept); | |
625 | __strong_alias(_sys_accept,rump___sysimpl_accept); | 625 | __strong_alias(_sys_accept,rump___sysimpl_accept); | |
626 | #endif /* RUMP_KERNEL_IS_LIBC */ | 626 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
627 | 627 | |||
628 | int rump___sysimpl_getpeername(int, struct sockaddr *, socklen_t *); | 628 | int rump___sysimpl_getpeername(int, struct sockaddr *, socklen_t *); | |
629 | int | 629 | int | |
630 | rump___sysimpl_getpeername(int fdes, struct sockaddr * asa, socklen_t * alen) | 630 | rump___sysimpl_getpeername(int fdes, struct sockaddr * asa, socklen_t * alen) | |
631 | { | 631 | { | |
632 | register_t retval[2]; | 632 | register_t retval[2]; | |
633 | int error = 0; | 633 | int error = 0; | |
634 | int rv = -1; | 634 | int rv = -1; | |
635 | struct sys_getpeername_args callarg; | 635 | struct sys_getpeername_args callarg; | |
636 | 636 | |||
637 | memset(&callarg, 0, sizeof(callarg)); | 637 | memset(&callarg, 0, sizeof(callarg)); | |
638 | SPARG(&callarg, fdes) = fdes; | 638 | SPARG(&callarg, fdes) = fdes; | |
639 | SPARG(&callarg, asa) = asa; | 639 | SPARG(&callarg, asa) = asa; | |
640 | SPARG(&callarg, alen) = alen; | 640 | SPARG(&callarg, alen) = alen; | |
641 | 641 | |||
642 | error = rsys_syscall(SYS_getpeername, &callarg, sizeof(callarg), retval); | 642 | error = rsys_syscall(SYS_getpeername, &callarg, sizeof(callarg), retval); | |
643 | rsys_seterrno(error); | 643 | rsys_seterrno(error); | |
644 | if (error == 0) { | 644 | if (error == 0) { | |
645 | if (sizeof(int) > sizeof(register_t)) | 645 | if (sizeof(int) > sizeof(register_t)) | |
646 | rv = *(int *)retval; | 646 | rv = *(int *)retval; | |
647 | else | 647 | else | |
648 | rv = *retval; | 648 | rv = *retval; | |
649 | } | 649 | } | |
650 | return rv; | 650 | return rv; | |
651 | } | 651 | } | |
652 | #ifdef RUMP_KERNEL_IS_LIBC | 652 | #ifdef RUMP_KERNEL_IS_LIBC | |
653 | __weak_alias(getpeername,rump___sysimpl_getpeername); | 653 | __weak_alias(getpeername,rump___sysimpl_getpeername); | |
654 | __weak_alias(_getpeername,rump___sysimpl_getpeername); | 654 | __weak_alias(_getpeername,rump___sysimpl_getpeername); | |
655 | __strong_alias(_sys_getpeername,rump___sysimpl_getpeername); | 655 | __strong_alias(_sys_getpeername,rump___sysimpl_getpeername); | |
656 | #endif /* RUMP_KERNEL_IS_LIBC */ | 656 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
657 | 657 | |||
658 | int rump___sysimpl_getsockname(int, struct sockaddr *, socklen_t *); | 658 | int rump___sysimpl_getsockname(int, struct sockaddr *, socklen_t *); | |
659 | int | 659 | int | |
660 | rump___sysimpl_getsockname(int fdes, struct sockaddr * asa, socklen_t * alen) | 660 | rump___sysimpl_getsockname(int fdes, struct sockaddr * asa, socklen_t * alen) | |
661 | { | 661 | { | |
662 | register_t retval[2]; | 662 | register_t retval[2]; | |
663 | int error = 0; | 663 | int error = 0; | |
664 | int rv = -1; | 664 | int rv = -1; | |
665 | struct sys_getsockname_args callarg; | 665 | struct sys_getsockname_args callarg; | |
666 | 666 | |||
667 | memset(&callarg, 0, sizeof(callarg)); | 667 | memset(&callarg, 0, sizeof(callarg)); | |
668 | SPARG(&callarg, fdes) = fdes; | 668 | SPARG(&callarg, fdes) = fdes; | |
669 | SPARG(&callarg, asa) = asa; | 669 | SPARG(&callarg, asa) = asa; | |
670 | SPARG(&callarg, alen) = alen; | 670 | SPARG(&callarg, alen) = alen; | |
671 | 671 | |||
672 | error = rsys_syscall(SYS_getsockname, &callarg, sizeof(callarg), retval); | 672 | error = rsys_syscall(SYS_getsockname, &callarg, sizeof(callarg), retval); | |
673 | rsys_seterrno(error); | 673 | rsys_seterrno(error); | |
674 | if (error == 0) { | 674 | if (error == 0) { | |
675 | if (sizeof(int) > sizeof(register_t)) | 675 | if (sizeof(int) > sizeof(register_t)) | |
676 | rv = *(int *)retval; | 676 | rv = *(int *)retval; | |
677 | else | 677 | else | |
678 | rv = *retval; | 678 | rv = *retval; | |
679 | } | 679 | } | |
680 | return rv; | 680 | return rv; | |
681 | } | 681 | } | |
682 | #ifdef RUMP_KERNEL_IS_LIBC | 682 | #ifdef RUMP_KERNEL_IS_LIBC | |
683 | __weak_alias(getsockname,rump___sysimpl_getsockname); | 683 | __weak_alias(getsockname,rump___sysimpl_getsockname); | |
684 | __weak_alias(_getsockname,rump___sysimpl_getsockname); | 684 | __weak_alias(_getsockname,rump___sysimpl_getsockname); | |
685 | __strong_alias(_sys_getsockname,rump___sysimpl_getsockname); | 685 | __strong_alias(_sys_getsockname,rump___sysimpl_getsockname); | |
686 | #endif /* RUMP_KERNEL_IS_LIBC */ | 686 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
687 | 687 | |||
688 | int rump___sysimpl_access(const char *, int); | 688 | int rump___sysimpl_access(const char *, int); | |
689 | int | 689 | int | |
690 | rump___sysimpl_access(const char * path, int flags) | 690 | rump___sysimpl_access(const char * path, int flags) | |
691 | { | 691 | { | |
692 | register_t retval[2]; | 692 | register_t retval[2]; | |
693 | int error = 0; | 693 | int error = 0; | |
694 | int rv = -1; | 694 | int rv = -1; | |
695 | struct sys_access_args callarg; | 695 | struct sys_access_args callarg; | |
696 | 696 | |||
697 | memset(&callarg, 0, sizeof(callarg)); | 697 | memset(&callarg, 0, sizeof(callarg)); | |
698 | SPARG(&callarg, path) = path; | 698 | SPARG(&callarg, path) = path; | |
699 | SPARG(&callarg, flags) = flags; | 699 | SPARG(&callarg, flags) = flags; | |
700 | 700 | |||
701 | error = rsys_syscall(SYS_access, &callarg, sizeof(callarg), retval); | 701 | error = rsys_syscall(SYS_access, &callarg, sizeof(callarg), retval); | |
702 | rsys_seterrno(error); | 702 | rsys_seterrno(error); | |
703 | if (error == 0) { | 703 | if (error == 0) { | |
704 | if (sizeof(int) > sizeof(register_t)) | 704 | if (sizeof(int) > sizeof(register_t)) | |
705 | rv = *(int *)retval; | 705 | rv = *(int *)retval; | |
706 | else | 706 | else | |
707 | rv = *retval; | 707 | rv = *retval; | |
708 | } | 708 | } | |
709 | return rv; | 709 | return rv; | |
710 | } | 710 | } | |
711 | #ifdef RUMP_KERNEL_IS_LIBC | 711 | #ifdef RUMP_KERNEL_IS_LIBC | |
712 | __weak_alias(access,rump___sysimpl_access); | 712 | __weak_alias(access,rump___sysimpl_access); | |
713 | __weak_alias(_access,rump___sysimpl_access); | 713 | __weak_alias(_access,rump___sysimpl_access); | |
714 | __strong_alias(_sys_access,rump___sysimpl_access); | 714 | __strong_alias(_sys_access,rump___sysimpl_access); | |
715 | #endif /* RUMP_KERNEL_IS_LIBC */ | 715 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
716 | 716 | |||
717 | int rump___sysimpl_chflags(const char *, u_long); | 717 | int rump___sysimpl_chflags(const char *, u_long); | |
718 | int | 718 | int | |
719 | rump___sysimpl_chflags(const char * path, u_long flags) | 719 | rump___sysimpl_chflags(const char * path, u_long flags) | |
720 | { | 720 | { | |
721 | register_t retval[2]; | 721 | register_t retval[2]; | |
722 | int error = 0; | 722 | int error = 0; | |
723 | int rv = -1; | 723 | int rv = -1; | |
724 | struct sys_chflags_args callarg; | 724 | struct sys_chflags_args callarg; | |
725 | 725 | |||
726 | memset(&callarg, 0, sizeof(callarg)); | 726 | memset(&callarg, 0, sizeof(callarg)); | |
727 | SPARG(&callarg, path) = path; | 727 | SPARG(&callarg, path) = path; | |
728 | SPARG(&callarg, flags) = flags; | 728 | SPARG(&callarg, flags) = flags; | |
729 | 729 | |||
730 | error = rsys_syscall(SYS_chflags, &callarg, sizeof(callarg), retval); | 730 | error = rsys_syscall(SYS_chflags, &callarg, sizeof(callarg), retval); | |
731 | rsys_seterrno(error); | 731 | rsys_seterrno(error); | |
732 | if (error == 0) { | 732 | if (error == 0) { | |
733 | if (sizeof(int) > sizeof(register_t)) | 733 | if (sizeof(int) > sizeof(register_t)) | |
734 | rv = *(int *)retval; | 734 | rv = *(int *)retval; | |
735 | else | 735 | else | |
736 | rv = *retval; | 736 | rv = *retval; | |
737 | } | 737 | } | |
738 | return rv; | 738 | return rv; | |
739 | } | 739 | } | |
740 | #ifdef RUMP_KERNEL_IS_LIBC | 740 | #ifdef RUMP_KERNEL_IS_LIBC | |
741 | __weak_alias(chflags,rump___sysimpl_chflags); | 741 | __weak_alias(chflags,rump___sysimpl_chflags); | |
742 | __weak_alias(_chflags,rump___sysimpl_chflags); | 742 | __weak_alias(_chflags,rump___sysimpl_chflags); | |
743 | __strong_alias(_sys_chflags,rump___sysimpl_chflags); | 743 | __strong_alias(_sys_chflags,rump___sysimpl_chflags); | |
744 | #endif /* RUMP_KERNEL_IS_LIBC */ | 744 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
745 | 745 | |||
746 | int rump___sysimpl_fchflags(int, u_long); | 746 | int rump___sysimpl_fchflags(int, u_long); | |
747 | int | 747 | int | |
748 | rump___sysimpl_fchflags(int fd, u_long flags) | 748 | rump___sysimpl_fchflags(int fd, u_long flags) | |
749 | { | 749 | { | |
750 | register_t retval[2]; | 750 | register_t retval[2]; | |
751 | int error = 0; | 751 | int error = 0; | |
752 | int rv = -1; | 752 | int rv = -1; | |
753 | struct sys_fchflags_args callarg; | 753 | struct sys_fchflags_args callarg; | |
754 | 754 | |||
755 | memset(&callarg, 0, sizeof(callarg)); | 755 | memset(&callarg, 0, sizeof(callarg)); | |
756 | SPARG(&callarg, fd) = fd; | 756 | SPARG(&callarg, fd) = fd; | |
757 | SPARG(&callarg, flags) = flags; | 757 | SPARG(&callarg, flags) = flags; | |
758 | 758 | |||
759 | error = rsys_syscall(SYS_fchflags, &callarg, sizeof(callarg), retval); | 759 | error = rsys_syscall(SYS_fchflags, &callarg, sizeof(callarg), retval); | |
760 | rsys_seterrno(error); | 760 | rsys_seterrno(error); | |
761 | if (error == 0) { | 761 | if (error == 0) { | |
762 | if (sizeof(int) > sizeof(register_t)) | 762 | if (sizeof(int) > sizeof(register_t)) | |
763 | rv = *(int *)retval; | 763 | rv = *(int *)retval; | |
764 | else | 764 | else | |
765 | rv = *retval; | 765 | rv = *retval; | |
766 | } | 766 | } | |
767 | return rv; | 767 | return rv; | |
768 | } | 768 | } | |
769 | #ifdef RUMP_KERNEL_IS_LIBC | 769 | #ifdef RUMP_KERNEL_IS_LIBC | |
770 | __weak_alias(fchflags,rump___sysimpl_fchflags); | 770 | __weak_alias(fchflags,rump___sysimpl_fchflags); | |
771 | __weak_alias(_fchflags,rump___sysimpl_fchflags); | 771 | __weak_alias(_fchflags,rump___sysimpl_fchflags); | |
772 | __strong_alias(_sys_fchflags,rump___sysimpl_fchflags); | 772 | __strong_alias(_sys_fchflags,rump___sysimpl_fchflags); | |
773 | #endif /* RUMP_KERNEL_IS_LIBC */ | 773 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
774 | 774 | |||
775 | void rump___sysimpl_sync(void); | 775 | void rump___sysimpl_sync(void); | |
776 | void | 776 | void | |
777 | rump___sysimpl_sync(void ) | 777 | rump___sysimpl_sync(void ) | |
778 | { | 778 | { | |
779 | register_t retval[2]; | 779 | register_t retval[2]; | |
780 | 780 | |||
781 | rsys_syscall(SYS_sync, NULL, 0, retval); | 781 | rsys_syscall(SYS_sync, NULL, 0, retval); | |
782 | } | 782 | } | |
783 | #ifdef RUMP_KERNEL_IS_LIBC | 783 | #ifdef RUMP_KERNEL_IS_LIBC | |
784 | __weak_alias(sync,rump___sysimpl_sync); | 784 | __weak_alias(sync,rump___sysimpl_sync); | |
785 | __weak_alias(_sync,rump___sysimpl_sync); | 785 | __weak_alias(_sync,rump___sysimpl_sync); | |
786 | __strong_alias(_sys_sync,rump___sysimpl_sync); | 786 | __strong_alias(_sys_sync,rump___sysimpl_sync); | |
787 | #endif /* RUMP_KERNEL_IS_LIBC */ | 787 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
788 | 788 | |||
789 | pid_t rump___sysimpl_getppid(void); | 789 | pid_t rump___sysimpl_getppid(void); | |
790 | pid_t | 790 | pid_t | |
791 | rump___sysimpl_getppid(void ) | 791 | rump___sysimpl_getppid(void ) | |
792 | { | 792 | { | |
793 | register_t retval[2]; | 793 | register_t retval[2]; | |
794 | pid_t rv = -1; | 794 | pid_t rv = -1; | |
795 | 795 | |||
796 | (void)rsys_syscall(SYS_getppid, NULL, 0, retval); | 796 | (void)rsys_syscall(SYS_getppid, NULL, 0, retval); | |
797 | if (sizeof(pid_t) > sizeof(register_t)) | 797 | if (sizeof(pid_t) > sizeof(register_t)) | |
798 | rv = *(pid_t *)retval; | 798 | rv = *(pid_t *)retval; | |
799 | else | 799 | else | |
800 | rv = *retval; | 800 | rv = *retval; | |
801 | return rv; | 801 | return rv; | |
802 | } | 802 | } | |
803 | #ifdef RUMP_KERNEL_IS_LIBC | 803 | #ifdef RUMP_KERNEL_IS_LIBC | |
804 | __weak_alias(getppid,rump___sysimpl_getppid); | 804 | __weak_alias(getppid,rump___sysimpl_getppid); | |
805 | __weak_alias(_getppid,rump___sysimpl_getppid); | 805 | __weak_alias(_getppid,rump___sysimpl_getppid); | |
806 | __strong_alias(_sys_getppid,rump___sysimpl_getppid); | 806 | __strong_alias(_sys_getppid,rump___sysimpl_getppid); | |
807 | #endif /* RUMP_KERNEL_IS_LIBC */ | 807 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
808 | 808 | |||
809 | int rump___sysimpl_dup(int); | 809 | int rump___sysimpl_dup(int); | |
810 | int | 810 | int | |
811 | rump___sysimpl_dup(int fd) | 811 | rump___sysimpl_dup(int fd) | |
812 | { | 812 | { | |
813 | register_t retval[2]; | 813 | register_t retval[2]; | |
814 | int error = 0; | 814 | int error = 0; | |
815 | int rv = -1; | 815 | int rv = -1; | |
816 | struct sys_dup_args callarg; | 816 | struct sys_dup_args callarg; | |
817 | 817 | |||
818 | memset(&callarg, 0, sizeof(callarg)); | 818 | memset(&callarg, 0, sizeof(callarg)); | |
819 | SPARG(&callarg, fd) = fd; | 819 | SPARG(&callarg, fd) = fd; | |
820 | 820 | |||
821 | error = rsys_syscall(SYS_dup, &callarg, sizeof(callarg), retval); | 821 | error = rsys_syscall(SYS_dup, &callarg, sizeof(callarg), retval); | |
822 | rsys_seterrno(error); | 822 | rsys_seterrno(error); | |
823 | if (error == 0) { | 823 | if (error == 0) { | |
824 | if (sizeof(int) > sizeof(register_t)) | 824 | if (sizeof(int) > sizeof(register_t)) | |
825 | rv = *(int *)retval; | 825 | rv = *(int *)retval; | |
826 | else | 826 | else | |
827 | rv = *retval; | 827 | rv = *retval; | |
828 | } | 828 | } | |
829 | return rv; | 829 | return rv; | |
830 | } | 830 | } | |
831 | #ifdef RUMP_KERNEL_IS_LIBC | 831 | #ifdef RUMP_KERNEL_IS_LIBC | |
832 | __weak_alias(dup,rump___sysimpl_dup); | 832 | __weak_alias(dup,rump___sysimpl_dup); | |
833 | __weak_alias(_dup,rump___sysimpl_dup); | 833 | __weak_alias(_dup,rump___sysimpl_dup); | |
834 | __strong_alias(_sys_dup,rump___sysimpl_dup); | 834 | __strong_alias(_sys_dup,rump___sysimpl_dup); | |
835 | #endif /* RUMP_KERNEL_IS_LIBC */ | 835 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
836 | 836 | |||
837 | gid_t rump___sysimpl_getegid(void); | 837 | gid_t rump___sysimpl_getegid(void); | |
838 | gid_t | 838 | gid_t | |
839 | rump___sysimpl_getegid(void ) | 839 | rump___sysimpl_getegid(void ) | |
840 | { | 840 | { | |
841 | register_t retval[2]; | 841 | register_t retval[2]; | |
842 | gid_t rv = -1; | 842 | gid_t rv = -1; | |
843 | 843 | |||
844 | (void)rsys_syscall(SYS_getegid, NULL, 0, retval); | 844 | (void)rsys_syscall(SYS_getegid, NULL, 0, retval); | |
845 | if (sizeof(gid_t) > sizeof(register_t)) | 845 | if (sizeof(gid_t) > sizeof(register_t)) | |
846 | rv = *(gid_t *)retval; | 846 | rv = *(gid_t *)retval; | |
847 | else | 847 | else | |
848 | rv = *retval; | 848 | rv = *retval; | |
849 | return rv; | 849 | return rv; | |
850 | } | 850 | } | |
851 | #ifdef RUMP_KERNEL_IS_LIBC | 851 | #ifdef RUMP_KERNEL_IS_LIBC | |
852 | __weak_alias(getegid,rump___sysimpl_getegid); | 852 | __weak_alias(getegid,rump___sysimpl_getegid); | |
853 | __weak_alias(_getegid,rump___sysimpl_getegid); | 853 | __weak_alias(_getegid,rump___sysimpl_getegid); | |
854 | __strong_alias(_sys_getegid,rump___sysimpl_getegid); | 854 | __strong_alias(_sys_getegid,rump___sysimpl_getegid); | |
855 | #endif /* RUMP_KERNEL_IS_LIBC */ | 855 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
856 | 856 | |||
857 | int rump___sysimpl_ktrace(const char *, int, int, pid_t); | 857 | int rump___sysimpl_ktrace(const char *, int, int, pid_t); | |
858 | int | 858 | int | |
859 | rump___sysimpl_ktrace(const char * fname, int ops, int facs, pid_t pid) | 859 | rump___sysimpl_ktrace(const char * fname, int ops, int facs, pid_t pid) | |
860 | { | 860 | { | |
861 | register_t retval[2]; | 861 | register_t retval[2]; | |
862 | int error = 0; | 862 | int error = 0; | |
863 | int rv = -1; | 863 | int rv = -1; | |
864 | struct sys_ktrace_args callarg; | 864 | struct sys_ktrace_args callarg; | |
865 | 865 | |||
866 | memset(&callarg, 0, sizeof(callarg)); | 866 | memset(&callarg, 0, sizeof(callarg)); | |
867 | SPARG(&callarg, fname) = fname; | 867 | SPARG(&callarg, fname) = fname; | |
868 | SPARG(&callarg, ops) = ops; | 868 | SPARG(&callarg, ops) = ops; | |
869 | SPARG(&callarg, facs) = facs; | 869 | SPARG(&callarg, facs) = facs; | |
870 | SPARG(&callarg, pid) = pid; | 870 | SPARG(&callarg, pid) = pid; | |
871 | 871 | |||
872 | error = rsys_syscall(SYS_ktrace, &callarg, sizeof(callarg), retval); | 872 | error = rsys_syscall(SYS_ktrace, &callarg, sizeof(callarg), retval); | |
873 | rsys_seterrno(error); | 873 | rsys_seterrno(error); | |
874 | if (error == 0) { | 874 | if (error == 0) { | |
875 | if (sizeof(int) > sizeof(register_t)) | 875 | if (sizeof(int) > sizeof(register_t)) | |
876 | rv = *(int *)retval; | 876 | rv = *(int *)retval; | |
877 | else | 877 | else | |
878 | rv = *retval; | 878 | rv = *retval; | |
879 | } | 879 | } | |
880 | return rv; | 880 | return rv; | |
881 | } | 881 | } | |
882 | #ifdef RUMP_KERNEL_IS_LIBC | 882 | #ifdef RUMP_KERNEL_IS_LIBC | |
883 | __weak_alias(ktrace,rump___sysimpl_ktrace); | 883 | __weak_alias(ktrace,rump___sysimpl_ktrace); | |
884 | __weak_alias(_ktrace,rump___sysimpl_ktrace); | 884 | __weak_alias(_ktrace,rump___sysimpl_ktrace); | |
885 | __strong_alias(_sys_ktrace,rump___sysimpl_ktrace); | 885 | __strong_alias(_sys_ktrace,rump___sysimpl_ktrace); | |
886 | #endif /* RUMP_KERNEL_IS_LIBC */ | 886 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
887 | 887 | |||
888 | gid_t rump___sysimpl_getgid(void); | 888 | gid_t rump___sysimpl_getgid(void); | |
889 | gid_t | 889 | gid_t | |
890 | rump___sysimpl_getgid(void ) | 890 | rump___sysimpl_getgid(void ) | |
891 | { | 891 | { | |
892 | register_t retval[2]; | 892 | register_t retval[2]; | |
893 | gid_t rv = -1; | 893 | gid_t rv = -1; | |
894 | 894 | |||
895 | (void)rsys_syscall(SYS_getgid, NULL, 0, retval); | 895 | (void)rsys_syscall(SYS_getgid, NULL, 0, retval); | |
896 | if (sizeof(gid_t) > sizeof(register_t)) | 896 | if (sizeof(gid_t) > sizeof(register_t)) | |
897 | rv = *(gid_t *)retval; | 897 | rv = *(gid_t *)retval; | |
898 | else | 898 | else | |
899 | rv = *retval; | 899 | rv = *retval; | |
900 | return rv; | 900 | return rv; | |
901 | } | 901 | } | |
902 | #ifdef RUMP_KERNEL_IS_LIBC | 902 | #ifdef RUMP_KERNEL_IS_LIBC | |
903 | __weak_alias(getgid,rump___sysimpl_getgid); | 903 | __weak_alias(getgid,rump___sysimpl_getgid); | |
904 | __weak_alias(_getgid,rump___sysimpl_getgid); | 904 | __weak_alias(_getgid,rump___sysimpl_getgid); | |
905 | __strong_alias(_sys_getgid,rump___sysimpl_getgid); | 905 | __strong_alias(_sys_getgid,rump___sysimpl_getgid); | |
906 | #endif /* RUMP_KERNEL_IS_LIBC */ | 906 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
907 | 907 | |||
908 | int rump___sysimpl___getlogin(char *, size_t); | 908 | int rump___sysimpl___getlogin(char *, size_t); | |
909 | int | 909 | int | |
910 | rump___sysimpl___getlogin(char * namebuf, size_t namelen) | 910 | rump___sysimpl___getlogin(char * namebuf, size_t namelen) | |
911 | { | 911 | { | |
912 | register_t retval[2]; | 912 | register_t retval[2]; | |
913 | int error = 0; | 913 | int error = 0; | |
914 | int rv = -1; | 914 | int rv = -1; | |
915 | struct sys___getlogin_args callarg; | 915 | struct sys___getlogin_args callarg; | |
916 | 916 | |||
917 | memset(&callarg, 0, sizeof(callarg)); | 917 | memset(&callarg, 0, sizeof(callarg)); | |
918 | SPARG(&callarg, namebuf) = namebuf; | 918 | SPARG(&callarg, namebuf) = namebuf; | |
919 | SPARG(&callarg, namelen) = namelen; | 919 | SPARG(&callarg, namelen) = namelen; | |
920 | 920 | |||
921 | error = rsys_syscall(SYS___getlogin, &callarg, sizeof(callarg), retval); | 921 | error = rsys_syscall(SYS___getlogin, &callarg, sizeof(callarg), retval); | |
922 | rsys_seterrno(error); | 922 | rsys_seterrno(error); | |
923 | if (error == 0) { | 923 | if (error == 0) { | |
924 | if (sizeof(int) > sizeof(register_t)) | 924 | if (sizeof(int) > sizeof(register_t)) | |
925 | rv = *(int *)retval; | 925 | rv = *(int *)retval; | |
926 | else | 926 | else | |
927 | rv = *retval; | 927 | rv = *retval; | |
928 | } | 928 | } | |
929 | return rv; | 929 | return rv; | |
930 | } | 930 | } | |
931 | #ifdef RUMP_KERNEL_IS_LIBC | 931 | #ifdef RUMP_KERNEL_IS_LIBC | |
932 | __weak_alias(__getlogin,rump___sysimpl___getlogin); | 932 | __weak_alias(__getlogin,rump___sysimpl___getlogin); | |
933 | __weak_alias(___getlogin,rump___sysimpl___getlogin); | 933 | __weak_alias(___getlogin,rump___sysimpl___getlogin); | |
934 | __strong_alias(_sys___getlogin,rump___sysimpl___getlogin); | 934 | __strong_alias(_sys___getlogin,rump___sysimpl___getlogin); | |
935 | #endif /* RUMP_KERNEL_IS_LIBC */ | 935 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
936 | 936 | |||
937 | int rump___sysimpl___setlogin(const char *); | 937 | int rump___sysimpl___setlogin(const char *); | |
938 | int | 938 | int | |
939 | rump___sysimpl___setlogin(const char * namebuf) | 939 | rump___sysimpl___setlogin(const char * namebuf) | |
940 | { | 940 | { | |
941 | register_t retval[2]; | 941 | register_t retval[2]; | |
942 | int error = 0; | 942 | int error = 0; | |
943 | int rv = -1; | 943 | int rv = -1; | |
944 | struct sys___setlogin_args callarg; | 944 | struct sys___setlogin_args callarg; | |
945 | 945 | |||
946 | memset(&callarg, 0, sizeof(callarg)); | 946 | memset(&callarg, 0, sizeof(callarg)); | |
947 | SPARG(&callarg, namebuf) = namebuf; | 947 | SPARG(&callarg, namebuf) = namebuf; | |
948 | 948 | |||
949 | error = rsys_syscall(SYS___setlogin, &callarg, sizeof(callarg), retval); | 949 | error = rsys_syscall(SYS___setlogin, &callarg, sizeof(callarg), retval); | |
950 | rsys_seterrno(error); | 950 | rsys_seterrno(error); | |
951 | if (error == 0) { | 951 | if (error == 0) { | |
952 | if (sizeof(int) > sizeof(register_t)) | 952 | if (sizeof(int) > sizeof(register_t)) | |
953 | rv = *(int *)retval; | 953 | rv = *(int *)retval; | |
954 | else | 954 | else | |
955 | rv = *retval; | 955 | rv = *retval; | |
956 | } | 956 | } | |
957 | return rv; | 957 | return rv; | |
958 | } | 958 | } | |
959 | #ifdef RUMP_KERNEL_IS_LIBC | 959 | #ifdef RUMP_KERNEL_IS_LIBC | |
960 | __weak_alias(__setlogin,rump___sysimpl___setlogin); | 960 | __weak_alias(__setlogin,rump___sysimpl___setlogin); | |
961 | __weak_alias(___setlogin,rump___sysimpl___setlogin); | 961 | __weak_alias(___setlogin,rump___sysimpl___setlogin); | |
962 | __strong_alias(_sys___setlogin,rump___sysimpl___setlogin); | 962 | __strong_alias(_sys___setlogin,rump___sysimpl___setlogin); | |
963 | #endif /* RUMP_KERNEL_IS_LIBC */ | 963 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
964 | 964 | |||
965 | int rump___sysimpl_ioctl(int, u_long, void *); | 965 | int rump___sysimpl_ioctl(int, u_long, void *); | |
966 | int | 966 | int | |
967 | rump___sysimpl_ioctl(int fd, u_long com, void * data) | 967 | rump___sysimpl_ioctl(int fd, u_long com, void * data) | |
968 | { | 968 | { | |
969 | register_t retval[2]; | 969 | register_t retval[2]; | |
970 | int error = 0; | 970 | int error = 0; | |
971 | int rv = -1; | 971 | int rv = -1; | |
972 | struct sys_ioctl_args callarg; | 972 | struct sys_ioctl_args callarg; | |
973 | 973 | |||
974 | memset(&callarg, 0, sizeof(callarg)); | 974 | memset(&callarg, 0, sizeof(callarg)); | |
975 | SPARG(&callarg, fd) = fd; | 975 | SPARG(&callarg, fd) = fd; | |
976 | SPARG(&callarg, com) = com; | 976 | SPARG(&callarg, com) = com; | |
977 | SPARG(&callarg, data) = data; | 977 | SPARG(&callarg, data) = data; | |
978 | 978 | |||
979 | error = rsys_syscall(SYS_ioctl, &callarg, sizeof(callarg), retval); | 979 | error = rsys_syscall(SYS_ioctl, &callarg, sizeof(callarg), retval); | |
980 | rsys_seterrno(error); | 980 | rsys_seterrno(error); | |
981 | if (error == 0) { | 981 | if (error == 0) { | |
982 | if (sizeof(int) > sizeof(register_t)) | 982 | if (sizeof(int) > sizeof(register_t)) | |
983 | rv = *(int *)retval; | 983 | rv = *(int *)retval; | |
984 | else | 984 | else | |
985 | rv = *retval; | 985 | rv = *retval; | |
986 | } | 986 | } | |
987 | return rv; | 987 | return rv; | |
988 | } | 988 | } | |
989 | #ifdef RUMP_KERNEL_IS_LIBC | 989 | #ifdef RUMP_KERNEL_IS_LIBC | |
990 | __weak_alias(ioctl,rump___sysimpl_ioctl); | 990 | __weak_alias(ioctl,rump___sysimpl_ioctl); | |
991 | __weak_alias(_ioctl,rump___sysimpl_ioctl); | 991 | __weak_alias(_ioctl,rump___sysimpl_ioctl); | |
992 | __strong_alias(_sys_ioctl,rump___sysimpl_ioctl); | 992 | __strong_alias(_sys_ioctl,rump___sysimpl_ioctl); | |
993 | #endif /* RUMP_KERNEL_IS_LIBC */ | 993 | #endif /* RUMP_KERNEL_IS_LIBC */ | |
994 | 994 | |||
995 | int rump___sysimpl_revoke(const char *); | 995 | int rump___sysimpl_revoke(const char *); | |
996 | int | 996 | int | |
997 | rump___sysimpl_revoke(const char * path) | 997 | rump___sysimpl_revoke(const char * path) | |
998 | { | 998 | { | |
999 | register_t retval[2]; | 999 | register_t retval[2]; | |
1000 | int error = 0; | 1000 | int error = 0; | |
1001 | int rv = -1; | 1001 | int rv = -1; | |
1002 | struct sys_revoke_args callarg; | 1002 | struct sys_revoke_args callarg; | |
1003 | 1003 | |||
1004 | memset(&callarg, 0, sizeof(callarg)); | 1004 | memset(&callarg, 0, sizeof(callarg)); | |
1005 | SPARG(&callarg, path) = path; | 1005 | SPARG(&callarg, path) = path; | |
1006 | 1006 | |||
1007 | error = rsys_syscall(SYS_revoke, &callarg, sizeof(callarg), retval); | 1007 | error = rsys_syscall(SYS_revoke, &callarg, sizeof(callarg), retval); | |
1008 | rsys_seterrno(error); | 1008 | rsys_seterrno(error); | |
1009 | if (error == 0) { | 1009 | if (error == 0) { | |
1010 | if (sizeof(int) > sizeof(register_t)) | 1010 | if (sizeof(int) > sizeof(register_t)) | |
1011 | rv = *(int *)retval; | 1011 | rv = *(int *)retval; | |
1012 | else | 1012 | else | |
1013 | rv = *retval; | 1013 | rv = *retval; | |
1014 | } | 1014 | } | |
1015 | return rv; | 1015 | return rv; | |
1016 | } | 1016 | } | |
1017 | #ifdef RUMP_KERNEL_IS_LIBC | 1017 | #ifdef RUMP_KERNEL_IS_LIBC |
--- src/sys/sys/syscall.h 2018/01/06 16:41:24 1.304
+++ src/sys/sys/syscall.h 2018/03/10 05:12:17 1.304.2.1
@@ -1,1006 +1,1006 @@ | @@ -1,1006 +1,1006 @@ | |||
1 | /* $NetBSD: syscall.h,v 1.304 2018/01/06 16:41:24 kamil Exp $ */ | 1 | /* $NetBSD: syscall.h,v 1.304.2.1 2018/03/10 05:12:17 pgoyette 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.288 2017/12/19 08:48:19 kamil Exp | 7 | * created from NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette 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: "pid_t" "int *" "int" "struct rusage50 *" */ | 36 | /* syscall: "compat_50_wait4" ret: "int" args: "pid_t" "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 *" "socklen_t *" */ | 100 | /* syscall: "recvfrom" ret: "ssize_t" args: "int" "void *" "size_t" "int" "struct sockaddr *" "socklen_t *" */ | |
101 | #define SYS_recvfrom 29 | 101 | #define SYS_recvfrom 29 | |
102 | 102 | |||
103 | /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ | 103 | /* syscall: "accept" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ | |
104 | #define SYS_accept 30 | 104 | #define SYS_accept 30 | |
105 | 105 | |||
106 | /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ | 106 | /* syscall: "getpeername" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ | |
107 | #define SYS_getpeername 31 | 107 | #define SYS_getpeername 31 | |
108 | 108 | |||
109 | /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ | 109 | /* syscall: "getsockname" ret: "int" args: "int" "struct sockaddr *" "socklen_t *" */ | |
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: "pid_t" "int" */ | 124 | /* syscall: "kill" ret: "int" args: "pid_t" "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" "pid_t" */ | 148 | /* syscall: "ktrace" ret: "int" args: "const char *" "int" "int" "pid_t" */ | |
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 | /* 69 is obsolete sbrk */ | 216 | /* 69 is obsolete sbrk */ | |
217 | /* 70 is obsolete sstk */ | 217 | /* 70 is obsolete sstk */ | |
218 | /* syscall: "compat_43_ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */ | 218 | /* syscall: "compat_43_ommap" ret: "int" args: "void *" "size_t" "int" "int" "int" "long" */ | |
219 | #define SYS_compat_43_ommap 71 | 219 | #define SYS_compat_43_ommap 71 | |
220 | 220 | |||
221 | /* syscall: "vadvise" ret: "int" args: "int" */ | 221 | /* syscall: "vadvise" ret: "int" args: "int" */ | |
222 | #define SYS_vadvise 72 | 222 | #define SYS_vadvise 72 | |
223 | 223 | |||
224 | /* syscall: "munmap" ret: "int" args: "void *" "size_t" */ | 224 | /* syscall: "munmap" ret: "int" args: "void *" "size_t" */ | |
225 | #define SYS_munmap 73 | 225 | #define SYS_munmap 73 | |
226 | 226 | |||
227 | /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */ | 227 | /* syscall: "mprotect" ret: "int" args: "void *" "size_t" "int" */ | |
228 | #define SYS_mprotect 74 | 228 | #define SYS_mprotect 74 | |
229 | 229 | |||
230 | /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ | 230 | /* syscall: "madvise" ret: "int" args: "void *" "size_t" "int" */ | |
231 | #define SYS_madvise 75 | 231 | #define SYS_madvise 75 | |
232 | 232 | |||
233 | /* 76 is obsolete vhangup */ | 233 | /* 76 is obsolete vhangup */ | |
234 | /* 77 is obsolete vlimit */ | 234 | /* 77 is obsolete vlimit */ | |
235 | /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */ | 235 | /* syscall: "mincore" ret: "int" args: "void *" "size_t" "char *" */ | |
236 | #define SYS_mincore 78 | 236 | #define SYS_mincore 78 | |
237 | 237 | |||
238 | /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */ | 238 | /* syscall: "getgroups" ret: "int" args: "int" "gid_t *" */ | |
239 | #define SYS_getgroups 79 | 239 | #define SYS_getgroups 79 | |
240 | 240 | |||
241 | /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */ | 241 | /* syscall: "setgroups" ret: "int" args: "int" "const gid_t *" */ | |
242 | #define SYS_setgroups 80 | 242 | #define SYS_setgroups 80 | |
243 | 243 | |||
244 | /* syscall: "getpgrp" ret: "int" args: */ | 244 | /* syscall: "getpgrp" ret: "int" args: */ | |
245 | #define SYS_getpgrp 81 | 245 | #define SYS_getpgrp 81 | |
246 | 246 | |||
247 | /* syscall: "setpgid" ret: "int" args: "pid_t" "pid_t" */ | 247 | /* syscall: "setpgid" ret: "int" args: "pid_t" "pid_t" */ | |
248 | #define SYS_setpgid 82 | 248 | #define SYS_setpgid 82 | |
249 | 249 | |||
250 | /* syscall: "compat_50_setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */ | 250 | /* syscall: "compat_50_setitimer" ret: "int" args: "int" "const struct itimerval50 *" "struct itimerval50 *" */ | |
251 | #define SYS_compat_50_setitimer 83 | 251 | #define SYS_compat_50_setitimer 83 | |
252 | 252 | |||
253 | /* syscall: "compat_43_owait" ret: "int" args: */ | 253 | /* syscall: "compat_43_owait" ret: "int" args: */ | |
254 | #define SYS_compat_43_owait 84 | 254 | #define SYS_compat_43_owait 84 | |
255 | 255 | |||
256 | /* syscall: "compat_12_oswapon" ret: "int" args: "const char *" */ | 256 | /* syscall: "compat_12_oswapon" ret: "int" args: "const char *" */ | |
257 | #define SYS_compat_12_oswapon 85 | 257 | #define SYS_compat_12_oswapon 85 | |
258 | 258 | |||
259 | /* syscall: "compat_50_getitimer" ret: "int" args: "int" "struct itimerval50 *" */ | 259 | /* syscall: "compat_50_getitimer" ret: "int" args: "int" "struct itimerval50 *" */ | |
260 | #define SYS_compat_50_getitimer 86 | 260 | #define SYS_compat_50_getitimer 86 | |
261 | 261 | |||
262 | /* syscall: "compat_43_ogethostname" ret: "int" args: "char *" "u_int" */ | 262 | /* syscall: "compat_43_ogethostname" ret: "int" args: "char *" "u_int" */ | |
263 | #define SYS_compat_43_ogethostname 87 | 263 | #define SYS_compat_43_ogethostname 87 | |
264 | 264 | |||
265 | /* syscall: "compat_43_osethostname" ret: "int" args: "char *" "u_int" */ | 265 | /* syscall: "compat_43_osethostname" ret: "int" args: "char *" "u_int" */ | |
266 | #define SYS_compat_43_osethostname 88 | 266 | #define SYS_compat_43_osethostname 88 | |
267 | 267 | |||
268 | /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */ | 268 | /* syscall: "compat_43_ogetdtablesize" ret: "int" args: */ | |
269 | #define SYS_compat_43_ogetdtablesize 89 | 269 | #define SYS_compat_43_ogetdtablesize 89 | |
270 | 270 | |||
271 | /* syscall: "dup2" ret: "int" args: "int" "int" */ | 271 | /* syscall: "dup2" ret: "int" args: "int" "int" */ | |
272 | #define SYS_dup2 90 | 272 | #define SYS_dup2 90 | |
273 | 273 | |||
274 | /* syscall: "fcntl" ret: "int" args: "int" "int" "..." */ | 274 | /* syscall: "fcntl" ret: "int" args: "int" "int" "..." */ | |
275 | #define SYS_fcntl 92 | 275 | #define SYS_fcntl 92 | |
276 | 276 | |||
277 | /* syscall: "compat_50_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ | 277 | /* syscall: "compat_50_select" ret: "int" args: "int" "fd_set *" "fd_set *" "fd_set *" "struct timeval50 *" */ | |
278 | #define SYS_compat_50_select 93 | 278 | #define SYS_compat_50_select 93 | |
279 | 279 | |||
280 | /* syscall: "fsync" ret: "int" args: "int" */ | 280 | /* syscall: "fsync" ret: "int" args: "int" */ | |
281 | #define SYS_fsync 95 | 281 | #define SYS_fsync 95 | |
282 | 282 | |||
283 | /* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */ | 283 | /* syscall: "setpriority" ret: "int" args: "int" "id_t" "int" */ | |
284 | #define SYS_setpriority 96 | 284 | #define SYS_setpriority 96 | |
285 | 285 | |||
286 | /* syscall: "compat_30_socket" ret: "int" args: "int" "int" "int" */ | 286 | /* syscall: "compat_30_socket" ret: "int" args: "int" "int" "int" */ | |
287 | #define SYS_compat_30_socket 97 | 287 | #define SYS_compat_30_socket 97 | |
288 | 288 | |||
289 | /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */ | 289 | /* syscall: "connect" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */ | |
290 | #define SYS_connect 98 | 290 | #define SYS_connect 98 | |
291 | 291 | |||
292 | /* syscall: "compat_43_oaccept" ret: "int" args: "int" "void *" "socklen_t *" */ | 292 | /* syscall: "compat_43_oaccept" ret: "int" args: "int" "void *" "socklen_t *" */ | |
293 | #define SYS_compat_43_oaccept 99 | 293 | #define SYS_compat_43_oaccept 99 | |
294 | 294 | |||
295 | /* syscall: "getpriority" ret: "int" args: "int" "id_t" */ | 295 | /* syscall: "getpriority" ret: "int" args: "int" "id_t" */ | |
296 | #define SYS_getpriority 100 | 296 | #define SYS_getpriority 100 | |
297 | 297 | |||
298 | /* syscall: "compat_43_osend" ret: "int" args: "int" "void *" "int" "int" */ | 298 | /* syscall: "compat_43_osend" ret: "int" args: "int" "void *" "int" "int" */ | |
299 | #define SYS_compat_43_osend 101 | 299 | #define SYS_compat_43_osend 101 | |
300 | 300 | |||
301 | /* syscall: "compat_43_orecv" ret: "int" args: "int" "void *" "int" "int" */ | 301 | /* syscall: "compat_43_orecv" ret: "int" args: "int" "void *" "int" "int" */ | |
302 | #define SYS_compat_43_orecv 102 | 302 | #define SYS_compat_43_orecv 102 | |
303 | 303 | |||
304 | /* syscall: "compat_13_sigreturn13" ret: "int" args: "struct sigcontext13 *" */ | 304 | /* syscall: "compat_13_sigreturn13" ret: "int" args: "struct sigcontext13 *" */ | |
305 | #define SYS_compat_13_sigreturn13 103 | 305 | #define SYS_compat_13_sigreturn13 103 | |
306 | 306 | |||
307 | /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */ | 307 | /* syscall: "bind" ret: "int" args: "int" "const struct sockaddr *" "socklen_t" */ | |
308 | #define SYS_bind 104 | 308 | #define SYS_bind 104 | |
309 | 309 | |||
310 | /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */ | 310 | /* syscall: "setsockopt" ret: "int" args: "int" "int" "int" "const void *" "socklen_t" */ | |
311 | #define SYS_setsockopt 105 | 311 | #define SYS_setsockopt 105 | |
312 | 312 | |||
313 | /* syscall: "listen" ret: "int" args: "int" "int" */ | 313 | /* syscall: "listen" ret: "int" args: "int" "int" */ | |
314 | #define SYS_listen 106 | 314 | #define SYS_listen 106 | |
315 | 315 | |||
316 | /* 107 is obsolete vtimes */ | 316 | /* 107 is obsolete vtimes */ | |
317 | /* syscall: "compat_43_osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */ | 317 | /* syscall: "compat_43_osigvec" ret: "int" args: "int" "struct sigvec *" "struct sigvec *" */ | |
318 | #define SYS_compat_43_osigvec 108 | 318 | #define SYS_compat_43_osigvec 108 | |
319 | 319 | |||
320 | /* syscall: "compat_43_osigblock" ret: "int" args: "int" */ | 320 | /* syscall: "compat_43_osigblock" ret: "int" args: "int" */ | |
321 | #define SYS_compat_43_osigblock 109 | 321 | #define SYS_compat_43_osigblock 109 | |
322 | 322 | |||
323 | /* syscall: "compat_43_osigsetmask" ret: "int" args: "int" */ | 323 | /* syscall: "compat_43_osigsetmask" ret: "int" args: "int" */ | |
324 | #define SYS_compat_43_osigsetmask 110 | 324 | #define SYS_compat_43_osigsetmask 110 | |
325 | 325 | |||
326 | /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */ | 326 | /* syscall: "compat_13_sigsuspend13" ret: "int" args: "int" */ | |
327 | #define SYS_compat_13_sigsuspend13 111 | 327 | #define SYS_compat_13_sigsuspend13 111 | |
328 | 328 | |||
329 | /* syscall: "compat_43_osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */ | 329 | /* syscall: "compat_43_osigstack" ret: "int" args: "struct sigstack *" "struct sigstack *" */ | |
330 | #define SYS_compat_43_osigstack 112 | 330 | #define SYS_compat_43_osigstack 112 | |
331 | 331 | |||
332 | /* syscall: "compat_43_orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */ | 332 | /* syscall: "compat_43_orecvmsg" ret: "int" args: "int" "struct omsghdr *" "int" */ | |
333 | #define SYS_compat_43_orecvmsg 113 | 333 | #define SYS_compat_43_orecvmsg 113 | |
334 | 334 | |||
335 | /* syscall: "compat_43_osendmsg" ret: "int" args: "int" "void *" "int" */ | 335 | /* syscall: "compat_43_osendmsg" ret: "int" args: "int" "void *" "int" */ | |
336 | #define SYS_compat_43_osendmsg 114 | 336 | #define SYS_compat_43_osendmsg 114 | |
337 | 337 | |||
338 | /* 115 is obsolete vtrace */ | 338 | /* 115 is obsolete vtrace */ | |
339 | /* syscall: "compat_50_gettimeofday" ret: "int" args: "struct timeval50 *" "void *" */ | 339 | /* syscall: "compat_50_gettimeofday" ret: "int" args: "struct timeval50 *" "void *" */ | |
340 | #define SYS_compat_50_gettimeofday 116 | 340 | #define SYS_compat_50_gettimeofday 116 | |
341 | 341 | |||
342 | /* syscall: "compat_50_getrusage" ret: "int" args: "int" "struct rusage50 *" */ | 342 | /* syscall: "compat_50_getrusage" ret: "int" args: "int" "struct rusage50 *" */ | |
343 | #define SYS_compat_50_getrusage 117 | 343 | #define SYS_compat_50_getrusage 117 | |
344 | 344 | |||
345 | /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */ | 345 | /* syscall: "getsockopt" ret: "int" args: "int" "int" "int" "void *" "socklen_t *" */ | |
346 | #define SYS_getsockopt 118 | 346 | #define SYS_getsockopt 118 | |
347 | 347 | |||
348 | /* 119 is obsolete resuba */ | 348 | /* 119 is obsolete resuba */ | |
349 | /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ | 349 | /* syscall: "readv" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ | |
350 | #define SYS_readv 120 | 350 | #define SYS_readv 120 | |
351 | 351 | |||
352 | /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ | 352 | /* syscall: "writev" ret: "ssize_t" args: "int" "const struct iovec *" "int" */ | |
353 | #define SYS_writev 121 | 353 | #define SYS_writev 121 | |
354 | 354 | |||
355 | /* syscall: "compat_50_settimeofday" ret: "int" args: "const struct timeval50 *" "const void *" */ | 355 | /* syscall: "compat_50_settimeofday" ret: "int" args: "const struct timeval50 *" "const void *" */ | |
356 | #define SYS_compat_50_settimeofday 122 | 356 | #define SYS_compat_50_settimeofday 122 | |
357 | 357 | |||
358 | /* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */ | 358 | /* syscall: "fchown" ret: "int" args: "int" "uid_t" "gid_t" */ | |
359 | #define SYS_fchown 123 | 359 | #define SYS_fchown 123 | |
360 | 360 | |||
361 | /* syscall: "fchmod" ret: "int" args: "int" "mode_t" */ | 361 | /* syscall: "fchmod" ret: "int" args: "int" "mode_t" */ | |
362 | #define SYS_fchmod 124 | 362 | #define SYS_fchmod 124 | |
363 | 363 | |||
364 | /* syscall: "compat_43_orecvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "socklen_t *" */ | 364 | /* syscall: "compat_43_orecvfrom" ret: "int" args: "int" "void *" "size_t" "int" "void *" "socklen_t *" */ | |
365 | #define SYS_compat_43_orecvfrom 125 | 365 | #define SYS_compat_43_orecvfrom 125 | |
366 | 366 | |||
367 | /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */ | 367 | /* syscall: "setreuid" ret: "int" args: "uid_t" "uid_t" */ | |
368 | #define SYS_setreuid 126 | 368 | #define SYS_setreuid 126 | |
369 | 369 | |||
370 | /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */ | 370 | /* syscall: "setregid" ret: "int" args: "gid_t" "gid_t" */ | |
371 | #define SYS_setregid 127 | 371 | #define SYS_setregid 127 | |
372 | 372 | |||
373 | /* syscall: "rename" ret: "int" args: "const char *" "const char *" */ | 373 | /* syscall: "rename" ret: "int" args: "const char *" "const char *" */ | |
374 | #define SYS_rename 128 | 374 | #define SYS_rename 128 | |
375 | 375 | |||
376 | /* syscall: "compat_43_otruncate" ret: "int" args: "const char *" "long" */ | 376 | /* syscall: "compat_43_otruncate" ret: "int" args: "const char *" "long" */ | |
377 | #define SYS_compat_43_otruncate 129 | 377 | #define SYS_compat_43_otruncate 129 | |
378 | 378 | |||
379 | /* syscall: "compat_43_oftruncate" ret: "int" args: "int" "long" */ | 379 | /* syscall: "compat_43_oftruncate" ret: "int" args: "int" "long" */ | |
380 | #define SYS_compat_43_oftruncate 130 | 380 | #define SYS_compat_43_oftruncate 130 | |
381 | 381 | |||
382 | /* syscall: "flock" ret: "int" args: "int" "int" */ | 382 | /* syscall: "flock" ret: "int" args: "int" "int" */ | |
383 | #define SYS_flock 131 | 383 | #define SYS_flock 131 | |
384 | 384 | |||
385 | /* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */ | 385 | /* syscall: "mkfifo" ret: "int" args: "const char *" "mode_t" */ | |
386 | #define SYS_mkfifo 132 | 386 | #define SYS_mkfifo 132 | |
387 | 387 | |||
388 | /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */ | 388 | /* syscall: "sendto" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "const struct sockaddr *" "socklen_t" */ | |
389 | #define SYS_sendto 133 | 389 | #define SYS_sendto 133 | |
390 | 390 | |||
391 | /* syscall: "shutdown" ret: "int" args: "int" "int" */ | 391 | /* syscall: "shutdown" ret: "int" args: "int" "int" */ | |
392 | #define SYS_shutdown 134 | 392 | #define SYS_shutdown 134 | |
393 | 393 | |||
394 | /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */ | 394 | /* syscall: "socketpair" ret: "int" args: "int" "int" "int" "int *" */ | |
395 | #define SYS_socketpair 135 | 395 | #define SYS_socketpair 135 | |
396 | 396 | |||
397 | /* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */ | 397 | /* syscall: "mkdir" ret: "int" args: "const char *" "mode_t" */ | |
398 | #define SYS_mkdir 136 | 398 | #define SYS_mkdir 136 | |
399 | 399 | |||
400 | /* syscall: "rmdir" ret: "int" args: "const char *" */ | 400 | /* syscall: "rmdir" ret: "int" args: "const char *" */ | |
401 | #define SYS_rmdir 137 | 401 | #define SYS_rmdir 137 | |
402 | 402 | |||
403 | /* syscall: "compat_50_utimes" ret: "int" args: "const char *" "const struct timeval50 *" */ | 403 | /* syscall: "compat_50_utimes" ret: "int" args: "const char *" "const struct timeval50 *" */ | |
404 | #define SYS_compat_50_utimes 138 | 404 | #define SYS_compat_50_utimes 138 | |
405 | 405 | |||
406 | /* 139 is obsolete 4.2 sigreturn */ | 406 | /* 139 is obsolete 4.2 sigreturn */ | |
407 | /* syscall: "compat_50_adjtime" ret: "int" args: "const struct timeval50 *" "struct timeval50 *" */ | 407 | /* syscall: "compat_50_adjtime" ret: "int" args: "const struct timeval50 *" "struct timeval50 *" */ | |
408 | #define SYS_compat_50_adjtime 140 | 408 | #define SYS_compat_50_adjtime 140 | |
409 | 409 | |||
410 | /* syscall: "compat_43_ogetpeername" ret: "int" args: "int" "void *" "socklen_t *" */ | 410 | /* syscall: "compat_43_ogetpeername" ret: "int" args: "int" "void *" "socklen_t *" */ | |
411 | #define SYS_compat_43_ogetpeername 141 | 411 | #define SYS_compat_43_ogetpeername 141 | |
412 | 412 | |||
413 | /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */ | 413 | /* syscall: "compat_43_ogethostid" ret: "int32_t" args: */ | |
414 | #define SYS_compat_43_ogethostid 142 | 414 | #define SYS_compat_43_ogethostid 142 | |
415 | 415 | |||
416 | /* syscall: "compat_43_osethostid" ret: "int" args: "int32_t" */ | 416 | /* syscall: "compat_43_osethostid" ret: "int" args: "int32_t" */ | |
417 | #define SYS_compat_43_osethostid 143 | 417 | #define SYS_compat_43_osethostid 143 | |
418 | 418 | |||
419 | /* syscall: "compat_43_ogetrlimit" ret: "int" args: "int" "struct orlimit *" */ | 419 | /* syscall: "compat_43_ogetrlimit" ret: "int" args: "int" "struct orlimit *" */ | |
420 | #define SYS_compat_43_ogetrlimit 144 | 420 | #define SYS_compat_43_ogetrlimit 144 | |
421 | 421 | |||
422 | /* syscall: "compat_43_osetrlimit" ret: "int" args: "int" "const struct orlimit *" */ | 422 | /* syscall: "compat_43_osetrlimit" ret: "int" args: "int" "const struct orlimit *" */ | |
423 | #define SYS_compat_43_osetrlimit 145 | 423 | #define SYS_compat_43_osetrlimit 145 | |
424 | 424 | |||
425 | /* syscall: "compat_43_okillpg" ret: "int" args: "int" "int" */ | 425 | /* syscall: "compat_43_okillpg" ret: "int" args: "int" "int" */ | |
426 | #define SYS_compat_43_okillpg 146 | 426 | #define SYS_compat_43_okillpg 146 | |
427 | 427 | |||
428 | /* syscall: "setsid" ret: "int" args: */ | 428 | /* syscall: "setsid" ret: "int" args: */ | |
429 | #define SYS_setsid 147 | 429 | #define SYS_setsid 147 | |
430 | 430 | |||
431 | /* syscall: "compat_50_quotactl" ret: "int" args: "const char *" "int" "int" "void *" */ | 431 | /* syscall: "compat_50_quotactl" ret: "int" args: "const char *" "int" "int" "void *" */ | |
432 | #define SYS_compat_50_quotactl 148 | 432 | #define SYS_compat_50_quotactl 148 | |
433 | 433 | |||
434 | /* syscall: "compat_43_oquota" ret: "int" args: */ | 434 | /* syscall: "compat_43_oquota" ret: "int" args: */ | |
435 | #define SYS_compat_43_oquota 149 | 435 | #define SYS_compat_43_oquota 149 | |
436 | 436 | |||
437 | /* syscall: "compat_43_ogetsockname" ret: "int" args: "int" "void *" "socklen_t *" */ | 437 | /* syscall: "compat_43_ogetsockname" ret: "int" args: "int" "void *" "socklen_t *" */ | |
438 | #define SYS_compat_43_ogetsockname 150 | 438 | #define SYS_compat_43_ogetsockname 150 | |
439 | 439 | |||
440 | /* syscall: "nfssvc" ret: "int" args: "int" "void *" */ | 440 | /* syscall: "nfssvc" ret: "int" args: "int" "void *" */ | |
441 | #define SYS_nfssvc 155 | 441 | #define SYS_nfssvc 155 | |
442 | 442 | |||
443 | /* syscall: "compat_43_ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ | 443 | /* syscall: "compat_43_ogetdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ | |
444 | #define SYS_compat_43_ogetdirentries 156 | 444 | #define SYS_compat_43_ogetdirentries 156 | |
445 | 445 | |||
446 | /* syscall: "compat_20_statfs" ret: "int" args: "const char *" "struct statfs12 *" */ | 446 | /* syscall: "compat_20_statfs" ret: "int" args: "const char *" "struct statfs12 *" */ | |
447 | #define SYS_compat_20_statfs 157 | 447 | #define SYS_compat_20_statfs 157 | |
448 | 448 | |||
449 | /* syscall: "compat_20_fstatfs" ret: "int" args: "int" "struct statfs12 *" */ | 449 | /* syscall: "compat_20_fstatfs" ret: "int" args: "int" "struct statfs12 *" */ | |
450 | #define SYS_compat_20_fstatfs 158 | 450 | #define SYS_compat_20_fstatfs 158 | |
451 | 451 | |||
452 | /* syscall: "compat_30_getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */ | 452 | /* syscall: "compat_30_getfh" ret: "int" args: "const char *" "struct compat_30_fhandle *" */ | |
453 | #define SYS_compat_30_getfh 161 | 453 | #define SYS_compat_30_getfh 161 | |
454 | 454 | |||
455 | /* syscall: "compat_09_ogetdomainname" ret: "int" args: "char *" "int" */ | 455 | /* syscall: "compat_09_ogetdomainname" ret: "int" args: "char *" "int" */ | |
456 | #define SYS_compat_09_ogetdomainname 162 | 456 | #define SYS_compat_09_ogetdomainname 162 | |
457 | 457 | |||
458 | /* syscall: "compat_09_osetdomainname" ret: "int" args: "char *" "int" */ | 458 | /* syscall: "compat_09_osetdomainname" ret: "int" args: "char *" "int" */ | |
459 | #define SYS_compat_09_osetdomainname 163 | 459 | #define SYS_compat_09_osetdomainname 163 | |
460 | 460 | |||
461 | /* syscall: "compat_09_ouname" ret: "int" args: "struct outsname *" */ | 461 | /* syscall: "compat_09_ouname" ret: "int" args: "struct outsname *" */ | |
462 | #define SYS_compat_09_ouname 164 | 462 | #define SYS_compat_09_ouname 164 | |
463 | 463 | |||
464 | /* syscall: "sysarch" ret: "int" args: "int" "void *" */ | 464 | /* syscall: "sysarch" ret: "int" args: "int" "void *" */ | |
465 | #define SYS_sysarch 165 | 465 | #define SYS_sysarch 165 | |
466 | 466 | |||
467 | #if !defined(_LP64) | 467 | #if !defined(_LP64) | |
468 | /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */ | 468 | /* syscall: "compat_10_osemsys" ret: "int" args: "int" "int" "int" "int" "int" */ | |
469 | #define SYS_compat_10_osemsys 169 | 469 | #define SYS_compat_10_osemsys 169 | |
470 | 470 | |||
471 | #else | 471 | #else | |
472 | /* 169 is excluded 1.0 semsys */ | 472 | /* 169 is excluded 1.0 semsys */ | |
473 | #endif | 473 | #endif | |
474 | #if !defined(_LP64) | 474 | #if !defined(_LP64) | |
475 | /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */ | 475 | /* syscall: "compat_10_omsgsys" ret: "int" args: "int" "int" "int" "int" "int" "int" */ | |
476 | #define SYS_compat_10_omsgsys 170 | 476 | #define SYS_compat_10_omsgsys 170 | |
477 | 477 | |||
478 | #else | 478 | #else | |
479 | /* 170 is excluded 1.0 msgsys */ | 479 | /* 170 is excluded 1.0 msgsys */ | |
480 | #endif | 480 | #endif | |
481 | #if !defined(_LP64) | 481 | #if !defined(_LP64) | |
482 | /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */ | 482 | /* syscall: "compat_10_oshmsys" ret: "int" args: "int" "int" "int" "int" */ | |
483 | #define SYS_compat_10_oshmsys 171 | 483 | #define SYS_compat_10_oshmsys 171 | |
484 | 484 | |||
485 | #else | 485 | #else | |
486 | /* 171 is excluded 1.0 shmsys */ | 486 | /* 171 is excluded 1.0 shmsys */ | |
487 | #endif | 487 | #endif | |
488 | /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */ | 488 | /* syscall: "pread" ret: "ssize_t" args: "int" "void *" "size_t" "int" "off_t" */ | |
489 | #define SYS_pread 173 | 489 | #define SYS_pread 173 | |
490 | 490 | |||
491 | /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */ | 491 | /* syscall: "pwrite" ret: "ssize_t" args: "int" "const void *" "size_t" "int" "off_t" */ | |
492 | #define SYS_pwrite 174 | 492 | #define SYS_pwrite 174 | |
493 | 493 | |||
494 | /* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */ | 494 | /* syscall: "compat_30_ntp_gettime" ret: "int" args: "struct ntptimeval30 *" */ | |
495 | #define SYS_compat_30_ntp_gettime 175 | 495 | #define SYS_compat_30_ntp_gettime 175 | |
496 | 496 | |||
497 | #if defined(NTP) || !defined(_KERNEL_OPT) | 497 | #if defined(NTP) || !defined(_KERNEL_OPT) | |
498 | /* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */ | 498 | /* syscall: "ntp_adjtime" ret: "int" args: "struct timex *" */ | |
499 | #define SYS_ntp_adjtime 176 | 499 | #define SYS_ntp_adjtime 176 | |
500 | 500 | |||
501 | #else | 501 | #else | |
502 | /* 176 is excluded ntp_adjtime */ | 502 | /* 176 is excluded ntp_adjtime */ | |
503 | #endif | 503 | #endif | |
504 | /* syscall: "setgid" ret: "int" args: "gid_t" */ | 504 | /* syscall: "setgid" ret: "int" args: "gid_t" */ | |
505 | #define SYS_setgid 181 | 505 | #define SYS_setgid 181 | |
506 | 506 | |||
507 | /* syscall: "setegid" ret: "int" args: "gid_t" */ | 507 | /* syscall: "setegid" ret: "int" args: "gid_t" */ | |
508 | #define SYS_setegid 182 | 508 | #define SYS_setegid 182 | |
509 | 509 | |||
510 | /* syscall: "seteuid" ret: "int" args: "uid_t" */ | 510 | /* syscall: "seteuid" ret: "int" args: "uid_t" */ | |
511 | #define SYS_seteuid 183 | 511 | #define SYS_seteuid 183 | |
512 | 512 | |||
513 | /* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ | 513 | /* syscall: "lfs_bmapv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ | |
514 | #define SYS_lfs_bmapv 184 | 514 | #define SYS_lfs_bmapv 184 | |
515 | 515 | |||
516 | /* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ | 516 | /* syscall: "lfs_markv" ret: "int" args: "fsid_t *" "struct block_info *" "int" */ | |
517 | #define SYS_lfs_markv 185 | 517 | #define SYS_lfs_markv 185 | |
518 | 518 | |||
519 | /* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */ | 519 | /* syscall: "lfs_segclean" ret: "int" args: "fsid_t *" "u_long" */ | |
520 | #define SYS_lfs_segclean 186 | 520 | #define SYS_lfs_segclean 186 | |
521 | 521 | |||
522 | /* syscall: "compat_50_lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval50 *" */ | 522 | /* syscall: "compat_50_lfs_segwait" ret: "int" args: "fsid_t *" "struct timeval50 *" */ | |
523 | #define SYS_compat_50_lfs_segwait 187 | 523 | #define SYS_compat_50_lfs_segwait 187 | |
524 | 524 | |||
525 | /* syscall: "compat_12_stat12" ret: "int" args: "const char *" "struct stat12 *" */ | 525 | /* syscall: "compat_12_stat12" ret: "int" args: "const char *" "struct stat12 *" */ | |
526 | #define SYS_compat_12_stat12 188 | 526 | #define SYS_compat_12_stat12 188 | |
527 | 527 | |||
528 | /* syscall: "compat_12_fstat12" ret: "int" args: "int" "struct stat12 *" */ | 528 | /* syscall: "compat_12_fstat12" ret: "int" args: "int" "struct stat12 *" */ | |
529 | #define SYS_compat_12_fstat12 189 | 529 | #define SYS_compat_12_fstat12 189 | |
530 | 530 | |||
531 | /* syscall: "compat_12_lstat12" ret: "int" args: "const char *" "struct stat12 *" */ | 531 | /* syscall: "compat_12_lstat12" ret: "int" args: "const char *" "struct stat12 *" */ | |
532 | #define SYS_compat_12_lstat12 190 | 532 | #define SYS_compat_12_lstat12 190 | |
533 | 533 | |||
534 | /* syscall: "pathconf" ret: "long" args: "const char *" "int" */ | 534 | /* syscall: "pathconf" ret: "long" args: "const char *" "int" */ | |
535 | #define SYS_pathconf 191 | 535 | #define SYS_pathconf 191 | |
536 | 536 | |||
537 | /* syscall: "fpathconf" ret: "long" args: "int" "int" */ | 537 | /* syscall: "fpathconf" ret: "long" args: "int" "int" */ | |
538 | #define SYS_fpathconf 192 | 538 | #define SYS_fpathconf 192 | |
539 | 539 | |||
540 | /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */ | 540 | /* syscall: "getrlimit" ret: "int" args: "int" "struct rlimit *" */ | |
541 | #define SYS_getrlimit 194 | 541 | #define SYS_getrlimit 194 | |
542 | 542 | |||
543 | /* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */ | 543 | /* syscall: "setrlimit" ret: "int" args: "int" "const struct rlimit *" */ | |
544 | #define SYS_setrlimit 195 | 544 | #define SYS_setrlimit 195 | |
545 | 545 | |||
546 | /* syscall: "compat_12_getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ | 546 | /* syscall: "compat_12_getdirentries" ret: "int" args: "int" "char *" "u_int" "long *" */ | |
547 | #define SYS_compat_12_getdirentries 196 | 547 | #define SYS_compat_12_getdirentries 196 | |
548 | 548 | |||
549 | /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */ | 549 | /* syscall: "mmap" ret: "void *" args: "void *" "size_t" "int" "int" "int" "long" "off_t" */ | |
550 | #define SYS_mmap 197 | 550 | #define SYS_mmap 197 | |
551 | 551 | |||
552 | /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */ | 552 | /* syscall: "__syscall" ret: "quad_t" args: "quad_t" "..." */ | |
553 | #define SYS___syscall 198 | 553 | #define SYS___syscall 198 | |
554 | 554 | |||
555 | /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */ | 555 | /* syscall: "lseek" ret: "off_t" args: "int" "int" "off_t" "int" */ | |
556 | #define SYS_lseek 199 | 556 | #define SYS_lseek 199 | |
557 | 557 | |||
558 | /* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */ | 558 | /* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */ | |
559 | #define SYS_truncate 200 | 559 | #define SYS_truncate 200 | |
560 | 560 | |||
561 | /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */ | 561 | /* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */ | |
562 | #define SYS_ftruncate 201 | 562 | #define SYS_ftruncate 201 | |
563 | 563 | |||
564 | /* syscall: "__sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "const void *" "size_t" */ | 564 | /* syscall: "__sysctl" ret: "int" args: "const int *" "u_int" "void *" "size_t *" "const void *" "size_t" */ | |
565 | #define SYS___sysctl 202 | 565 | #define SYS___sysctl 202 | |
566 | 566 | |||
567 | /* syscall: "mlock" ret: "int" args: "const void *" "size_t" */ | 567 | /* syscall: "mlock" ret: "int" args: "const void *" "size_t" */ | |
568 | #define SYS_mlock 203 | 568 | #define SYS_mlock 203 | |
569 | 569 | |||
570 | /* syscall: "munlock" ret: "int" args: "const void *" "size_t" */ | 570 | /* syscall: "munlock" ret: "int" args: "const void *" "size_t" */ | |
571 | #define SYS_munlock 204 | 571 | #define SYS_munlock 204 | |
572 | 572 | |||
573 | /* syscall: "undelete" ret: "int" args: "const char *" */ | 573 | /* syscall: "undelete" ret: "int" args: "const char *" */ | |
574 | #define SYS_undelete 205 | 574 | #define SYS_undelete 205 | |
575 | 575 | |||
576 | /* syscall: "compat_50_futimes" ret: "int" args: "int" "const struct timeval50 *" */ | 576 | /* syscall: "compat_50_futimes" ret: "int" args: "int" "const struct timeval50 *" */ | |
577 | #define SYS_compat_50_futimes 206 | 577 | #define SYS_compat_50_futimes 206 | |
578 | 578 | |||
579 | /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ | 579 | /* syscall: "getpgid" ret: "pid_t" args: "pid_t" */ | |
580 | #define SYS_getpgid 207 | 580 | #define SYS_getpgid 207 | |
581 | 581 | |||
582 | /* syscall: "reboot" ret: "int" args: "int" "char *" */ | 582 | /* syscall: "reboot" ret: "int" args: "int" "char *" */ | |
583 | #define SYS_reboot 208 | 583 | #define SYS_reboot 208 | |
584 | 584 | |||
585 | /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ | 585 | /* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */ | |
586 | #define SYS_poll 209 | 586 | #define SYS_poll 209 | |
587 | 587 | |||
588 | /* syscall: "afssys" ret: "int" args: "long" "long" "long" "long" "long" "long" "long" */ | 588 | /* syscall: "afssys" ret: "int" args: "long" "long" "long" "long" "long" "long" "long" */ | |
589 | #define SYS_afssys 210 | 589 | #define SYS_afssys 210 | |
590 | 590 | |||
591 | /* syscall: "compat_14___semctl" ret: "int" args: "int" "int" "int" "union __semun *" */ | 591 | /* syscall: "compat_14___semctl" ret: "int" args: "int" "int" "int" "union __semun *" */ | |
592 | #define SYS_compat_14___semctl 220 | 592 | #define SYS_compat_14___semctl 220 | |
593 | 593 | |||
594 | /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */ | 594 | /* syscall: "semget" ret: "int" args: "key_t" "int" "int" */ | |
595 | #define SYS_semget 221 | 595 | #define SYS_semget 221 | |
596 | 596 | |||
597 | /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */ | 597 | /* syscall: "semop" ret: "int" args: "int" "struct sembuf *" "size_t" */ | |
598 | #define SYS_semop 222 | 598 | #define SYS_semop 222 | |
599 | 599 | |||
600 | /* syscall: "semconfig" ret: "int" args: "int" */ | 600 | /* syscall: "semconfig" ret: "int" args: "int" */ | |
601 | #define SYS_semconfig 223 | 601 | #define SYS_semconfig 223 | |
602 | 602 | |||
603 | /* syscall: "compat_14_msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */ | 603 | /* syscall: "compat_14_msgctl" ret: "int" args: "int" "int" "struct msqid_ds14 *" */ | |
604 | #define SYS_compat_14_msgctl 224 | 604 | #define SYS_compat_14_msgctl 224 | |
605 | 605 | |||
606 | /* syscall: "msgget" ret: "int" args: "key_t" "int" */ | 606 | /* syscall: "msgget" ret: "int" args: "key_t" "int" */ | |
607 | #define SYS_msgget 225 | 607 | #define SYS_msgget 225 | |
608 | 608 | |||
609 | /* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */ | 609 | /* syscall: "msgsnd" ret: "int" args: "int" "const void *" "size_t" "int" */ | |
610 | #define SYS_msgsnd 226 | 610 | #define SYS_msgsnd 226 | |
611 | 611 | |||
612 | /* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */ | 612 | /* syscall: "msgrcv" ret: "ssize_t" args: "int" "void *" "size_t" "long" "int" */ | |
613 | #define SYS_msgrcv 227 | 613 | #define SYS_msgrcv 227 | |
614 | 614 | |||
615 | /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */ | 615 | /* syscall: "shmat" ret: "void *" args: "int" "const void *" "int" */ | |
616 | #define SYS_shmat 228 | 616 | #define SYS_shmat 228 | |
617 | 617 | |||
618 | /* syscall: "compat_14_shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */ | 618 | /* syscall: "compat_14_shmctl" ret: "int" args: "int" "int" "struct shmid_ds14 *" */ | |
619 | #define SYS_compat_14_shmctl 229 | 619 | #define SYS_compat_14_shmctl 229 | |
620 | 620 | |||
621 | /* syscall: "shmdt" ret: "int" args: "const void *" */ | 621 | /* syscall: "shmdt" ret: "int" args: "const void *" */ | |
622 | #define SYS_shmdt 230 | 622 | #define SYS_shmdt 230 | |
623 | 623 | |||
624 | /* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */ | 624 | /* syscall: "shmget" ret: "int" args: "key_t" "size_t" "int" */ | |
625 | #define SYS_shmget 231 | 625 | #define SYS_shmget 231 | |
626 | 626 | |||
627 | /* syscall: "compat_50_clock_gettime" ret: "int" args: "clockid_t" "struct timespec50 *" */ | 627 | /* syscall: "compat_50_clock_gettime" ret: "int" args: "clockid_t" "struct timespec50 *" */ | |
628 | #define SYS_compat_50_clock_gettime 232 | 628 | #define SYS_compat_50_clock_gettime 232 | |
629 | 629 | |||
630 | /* syscall: "compat_50_clock_settime" ret: "int" args: "clockid_t" "const struct timespec50 *" */ | 630 | /* syscall: "compat_50_clock_settime" ret: "int" args: "clockid_t" "const struct timespec50 *" */ | |
631 | #define SYS_compat_50_clock_settime 233 | 631 | #define SYS_compat_50_clock_settime 233 | |
632 | 632 | |||
633 | /* syscall: "compat_50_clock_getres" ret: "int" args: "clockid_t" "struct timespec50 *" */ | 633 | /* syscall: "compat_50_clock_getres" ret: "int" args: "clockid_t" "struct timespec50 *" */ | |
634 | #define SYS_compat_50_clock_getres 234 | 634 | #define SYS_compat_50_clock_getres 234 | |
635 | 635 | |||
636 | /* syscall: "timer_create" ret: "int" args: "clockid_t" "struct sigevent *" "timer_t *" */ | 636 | /* syscall: "timer_create" ret: "int" args: "clockid_t" "struct sigevent *" "timer_t *" */ | |
637 | #define SYS_timer_create 235 | 637 | #define SYS_timer_create 235 | |
638 | 638 | |||
639 | /* syscall: "timer_delete" ret: "int" args: "timer_t" */ | 639 | /* syscall: "timer_delete" ret: "int" args: "timer_t" */ | |
640 | #define SYS_timer_delete 236 | 640 | #define SYS_timer_delete 236 | |
641 | 641 | |||
642 | /* syscall: "compat_50_timer_settime" ret: "int" args: "timer_t" "int" "const struct itimerspec50 *" "struct itimerspec50 *" */ | 642 | /* syscall: "compat_50_timer_settime" ret: "int" args: "timer_t" "int" "const struct itimerspec50 *" "struct itimerspec50 *" */ | |
643 | #define SYS_compat_50_timer_settime 237 | 643 | #define SYS_compat_50_timer_settime 237 | |
644 | 644 | |||
645 | /* syscall: "compat_50_timer_gettime" ret: "int" args: "timer_t" "struct itimerspec50 *" */ | 645 | /* syscall: "compat_50_timer_gettime" ret: "int" args: "timer_t" "struct itimerspec50 *" */ | |
646 | #define SYS_compat_50_timer_gettime 238 | 646 | #define SYS_compat_50_timer_gettime 238 | |
647 | 647 | |||
648 | /* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */ | 648 | /* syscall: "timer_getoverrun" ret: "int" args: "timer_t" */ | |
649 | #define SYS_timer_getoverrun 239 | 649 | #define SYS_timer_getoverrun 239 | |
650 | 650 | |||
651 | /* syscall: "compat_50_nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */ | 651 | /* syscall: "compat_50_nanosleep" ret: "int" args: "const struct timespec50 *" "struct timespec50 *" */ | |
652 | #define SYS_compat_50_nanosleep 240 | 652 | #define SYS_compat_50_nanosleep 240 | |
653 | 653 | |||
654 | /* syscall: "fdatasync" ret: "int" args: "int" */ | 654 | /* syscall: "fdatasync" ret: "int" args: "int" */ | |
655 | #define SYS_fdatasync 241 | 655 | #define SYS_fdatasync 241 | |
656 | 656 | |||
657 | /* syscall: "mlockall" ret: "int" args: "int" */ | 657 | /* syscall: "mlockall" ret: "int" args: "int" */ | |
658 | #define SYS_mlockall 242 | 658 | #define SYS_mlockall 242 | |
659 | 659 | |||
660 | /* syscall: "munlockall" ret: "int" args: */ | 660 | /* syscall: "munlockall" ret: "int" args: */ | |
661 | #define SYS_munlockall 243 | 661 | #define SYS_munlockall 243 | |
662 | 662 | |||
663 | /* syscall: "compat_50___sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec50 *" */ | 663 | /* syscall: "compat_50___sigtimedwait" ret: "int" args: "const sigset_t *" "siginfo_t *" "struct timespec50 *" */ | |
664 | #define SYS_compat_50___sigtimedwait 244 | 664 | #define SYS_compat_50___sigtimedwait 244 | |
665 | 665 | |||
666 | /* syscall: "sigqueueinfo" ret: "int" args: "pid_t" "const siginfo_t *" */ | 666 | /* syscall: "sigqueueinfo" ret: "int" args: "pid_t" "const siginfo_t *" */ | |
667 | #define SYS_sigqueueinfo 245 | 667 | #define SYS_sigqueueinfo 245 | |
668 | 668 | |||
669 | /* syscall: "modctl" ret: "int" args: "int" "void *" */ | 669 | /* syscall: "modctl" ret: "int" args: "int" "void *" */ | |
670 | #define SYS_modctl 246 | 670 | #define SYS_modctl 246 | |
671 | 671 | |||
672 | /* syscall: "_ksem_init" ret: "int" args: "unsigned int" "intptr_t *" */ | 672 | /* syscall: "_ksem_init" ret: "int" args: "unsigned int" "intptr_t *" */ | |
673 | #define SYS__ksem_init 247 | 673 | #define SYS__ksem_init 247 | |
674 | 674 | |||
675 | /* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "intptr_t *" */ | 675 | /* syscall: "_ksem_open" ret: "int" args: "const char *" "int" "mode_t" "unsigned int" "intptr_t *" */ | |
676 | #define SYS__ksem_open 248 | 676 | #define SYS__ksem_open 248 | |
677 | 677 | |||
678 | /* syscall: "_ksem_unlink" ret: "int" args: "const char *" */ | 678 | /* syscall: "_ksem_unlink" ret: "int" args: "const char *" */ | |
679 | #define SYS__ksem_unlink 249 | 679 | #define SYS__ksem_unlink 249 | |
680 | 680 | |||
681 | /* syscall: "_ksem_close" ret: "int" args: "intptr_t" */ | 681 | /* syscall: "_ksem_close" ret: "int" args: "intptr_t" */ | |
682 | #define SYS__ksem_close 250 | 682 | #define SYS__ksem_close 250 | |
683 | 683 | |||
684 | /* syscall: "_ksem_post" ret: "int" args: "intptr_t" */ | 684 | /* syscall: "_ksem_post" ret: "int" args: "intptr_t" */ | |
685 | #define SYS__ksem_post 251 | 685 | #define SYS__ksem_post 251 | |
686 | 686 | |||
687 | /* syscall: "_ksem_wait" ret: "int" args: "intptr_t" */ | 687 | /* syscall: "_ksem_wait" ret: "int" args: "intptr_t" */ | |
688 | #define SYS__ksem_wait 252 | 688 | #define SYS__ksem_wait 252 | |
689 | 689 | |||
690 | /* syscall: "_ksem_trywait" ret: "int" args: "intptr_t" */ | 690 | /* syscall: "_ksem_trywait" ret: "int" args: "intptr_t" */ | |
691 | #define SYS__ksem_trywait 253 | 691 | #define SYS__ksem_trywait 253 | |
692 | 692 | |||
693 | /* syscall: "_ksem_getvalue" ret: "int" args: "intptr_t" "unsigned int *" */ | 693 | /* syscall: "_ksem_getvalue" ret: "int" args: "intptr_t" "unsigned int *" */ | |
694 | #define SYS__ksem_getvalue 254 | 694 | #define SYS__ksem_getvalue 254 | |
695 | 695 | |||
696 | /* syscall: "_ksem_destroy" ret: "int" args: "intptr_t" */ | 696 | /* syscall: "_ksem_destroy" ret: "int" args: "intptr_t" */ | |
697 | #define SYS__ksem_destroy 255 | 697 | #define SYS__ksem_destroy 255 | |
698 | 698 | |||
699 | /* syscall: "_ksem_timedwait" ret: "int" args: "intptr_t" "const struct timespec *" */ | 699 | /* syscall: "_ksem_timedwait" ret: "int" args: "intptr_t" "const struct timespec *" */ | |
700 | #define SYS__ksem_timedwait 256 | 700 | #define SYS__ksem_timedwait 256 | |
701 | 701 | |||
702 | /* syscall: "mq_open" ret: "mqd_t" args: "const char *" "int" "mode_t" "struct mq_attr *" */ | 702 | /* syscall: "mq_open" ret: "mqd_t" args: "const char *" "int" "mode_t" "struct mq_attr *" */ | |
703 | #define SYS_mq_open 257 | 703 | #define SYS_mq_open 257 | |
704 | 704 | |||
705 | /* syscall: "mq_close" ret: "int" args: "mqd_t" */ | 705 | /* syscall: "mq_close" ret: "int" args: "mqd_t" */ | |
706 | #define SYS_mq_close 258 | 706 | #define SYS_mq_close 258 | |
707 | 707 | |||
708 | /* syscall: "mq_unlink" ret: "int" args: "const char *" */ | 708 | /* syscall: "mq_unlink" ret: "int" args: "const char *" */ | |
709 | #define SYS_mq_unlink 259 | 709 | #define SYS_mq_unlink 259 | |
710 | 710 | |||
711 | /* syscall: "mq_getattr" ret: "int" args: "mqd_t" "struct mq_attr *" */ | 711 | /* syscall: "mq_getattr" ret: "int" args: "mqd_t" "struct mq_attr *" */ | |
712 | #define SYS_mq_getattr 260 | 712 | #define SYS_mq_getattr 260 | |
713 | 713 | |||
714 | /* syscall: "mq_setattr" ret: "int" args: "mqd_t" "const struct mq_attr *" "struct mq_attr *" */ | 714 | /* syscall: "mq_setattr" ret: "int" args: "mqd_t" "const struct mq_attr *" "struct mq_attr *" */ | |
715 | #define SYS_mq_setattr 261 | 715 | #define SYS_mq_setattr 261 | |
716 | 716 | |||
717 | /* syscall: "mq_notify" ret: "int" args: "mqd_t" "const struct sigevent *" */ | 717 | /* syscall: "mq_notify" ret: "int" args: "mqd_t" "const struct sigevent *" */ | |
718 | #define SYS_mq_notify 262 | 718 | #define SYS_mq_notify 262 | |
719 | 719 | |||
720 | /* syscall: "mq_send" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" */ | 720 | /* syscall: "mq_send" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" */ | |
721 | #define SYS_mq_send 263 | 721 | #define SYS_mq_send 263 | |
722 | 722 | |||
723 | /* syscall: "mq_receive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" */ | 723 | /* syscall: "mq_receive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" */ | |
724 | #define SYS_mq_receive 264 | 724 | #define SYS_mq_receive 264 | |
725 | 725 | |||
726 | /* syscall: "compat_50_mq_timedsend" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec50 *" */ | 726 | /* syscall: "compat_50_mq_timedsend" ret: "int" args: "mqd_t" "const char *" "size_t" "unsigned" "const struct timespec50 *" */ | |
727 | #define SYS_compat_50_mq_timedsend 265 | 727 | #define SYS_compat_50_mq_timedsend 265 | |
728 | 728 | |||
729 | /* syscall: "compat_50_mq_timedreceive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec50 *" */ | 729 | /* syscall: "compat_50_mq_timedreceive" ret: "ssize_t" args: "mqd_t" "char *" "size_t" "unsigned *" "const struct timespec50 *" */ | |
730 | #define SYS_compat_50_mq_timedreceive 266 | 730 | #define SYS_compat_50_mq_timedreceive 266 | |
731 | 731 | |||
732 | /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */ | 732 | /* syscall: "__posix_rename" ret: "int" args: "const char *" "const char *" */ | |
733 | #define SYS___posix_rename 270 | 733 | #define SYS___posix_rename 270 | |
734 | 734 | |||
735 | /* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */ | 735 | /* syscall: "swapctl" ret: "int" args: "int" "void *" "int" */ | |
736 | #define SYS_swapctl 271 | 736 | #define SYS_swapctl 271 | |
737 | 737 | |||
738 | /* syscall: "compat_30_getdents" ret: "int" args: "int" "char *" "size_t" */ | 738 | /* syscall: "compat_30_getdents" ret: "int" args: "int" "char *" "size_t" */ | |
739 | #define SYS_compat_30_getdents 272 | 739 | #define SYS_compat_30_getdents 272 | |
740 | 740 | |||
741 | /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */ | 741 | /* syscall: "minherit" ret: "int" args: "void *" "size_t" "int" */ | |
742 | #define SYS_minherit 273 | 742 | #define SYS_minherit 273 | |
743 | 743 | |||
744 | /* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */ | 744 | /* syscall: "lchmod" ret: "int" args: "const char *" "mode_t" */ | |
745 | #define SYS_lchmod 274 | 745 | #define SYS_lchmod 274 | |
746 | 746 | |||
747 | /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ | 747 | /* syscall: "lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ | |
748 | #define SYS_lchown 275 | 748 | #define SYS_lchown 275 | |
749 | 749 | |||
750 | /* syscall: "compat_50_lutimes" ret: "int" args: "const char *" "const struct timeval50 *" */ | 750 | /* syscall: "compat_50_lutimes" ret: "int" args: "const char *" "const struct timeval50 *" */ | |
751 | #define SYS_compat_50_lutimes 276 | 751 | #define SYS_compat_50_lutimes 276 | |
752 | 752 | |||
753 | /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */ | 753 | /* syscall: "__msync13" ret: "int" args: "void *" "size_t" "int" */ | |
754 | #define SYS___msync13 277 | 754 | #define SYS___msync13 277 | |
755 | 755 | |||
756 | /* syscall: "compat_30___stat13" ret: "int" args: "const char *" "struct stat13 *" */ | 756 | /* syscall: "compat_30___stat13" ret: "int" args: "const char *" "struct stat13 *" */ | |
757 | #define SYS_compat_30___stat13 278 | 757 | #define SYS_compat_30___stat13 278 | |
758 | 758 | |||
759 | /* syscall: "compat_30___fstat13" ret: "int" args: "int" "struct stat13 *" */ | 759 | /* syscall: "compat_30___fstat13" ret: "int" args: "int" "struct stat13 *" */ | |
760 | #define SYS_compat_30___fstat13 279 | 760 | #define SYS_compat_30___fstat13 279 | |
761 | 761 | |||
762 | /* syscall: "compat_30___lstat13" ret: "int" args: "const char *" "struct stat13 *" */ | 762 | /* syscall: "compat_30___lstat13" ret: "int" args: "const char *" "struct stat13 *" */ | |
763 | #define SYS_compat_30___lstat13 280 | 763 | #define SYS_compat_30___lstat13 280 | |
764 | 764 | |||
765 | /* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */ | 765 | /* syscall: "__sigaltstack14" ret: "int" args: "const struct sigaltstack *" "struct sigaltstack *" */ | |
766 | #define SYS___sigaltstack14 281 | 766 | #define SYS___sigaltstack14 281 | |
767 | 767 | |||
768 | /* syscall: "__vfork14" ret: "int" args: */ | 768 | /* syscall: "__vfork14" ret: "int" args: */ | |
769 | #define SYS___vfork14 282 | 769 | #define SYS___vfork14 282 | |
770 | 770 | |||
771 | /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */ | 771 | /* syscall: "__posix_chown" ret: "int" args: "const char *" "uid_t" "gid_t" */ | |
772 | #define SYS___posix_chown 283 | 772 | #define SYS___posix_chown 283 | |
773 | 773 | |||
774 | /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ | 774 | /* syscall: "__posix_fchown" ret: "int" args: "int" "uid_t" "gid_t" */ | |
775 | #define SYS___posix_fchown 284 | 775 | #define SYS___posix_fchown 284 | |
776 | 776 | |||
777 | /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ | 777 | /* syscall: "__posix_lchown" ret: "int" args: "const char *" "uid_t" "gid_t" */ | |
778 | #define SYS___posix_lchown 285 | 778 | #define SYS___posix_lchown 285 | |
779 | 779 | |||
780 | /* syscall: "getsid" ret: "pid_t" args: "pid_t" */ | 780 | /* syscall: "getsid" ret: "pid_t" args: "pid_t" */ | |
781 | #define SYS_getsid 286 | 781 | #define SYS_getsid 286 | |
782 | 782 | |||
783 | /* syscall: "__clone" ret: "pid_t" args: "int" "void *" */ | 783 | /* syscall: "__clone" ret: "pid_t" args: "int" "void *" */ | |
784 | #define SYS___clone 287 | 784 | #define SYS___clone 287 | |
785 | 785 | |||
786 | /* syscall: "fktrace" ret: "int" args: "int" "int" "int" "pid_t" */ | 786 | /* syscall: "fktrace" ret: "int" args: "int" "int" "int" "pid_t" */ | |
787 | #define SYS_fktrace 288 | 787 | #define SYS_fktrace 288 | |
788 | 788 | |||
789 | /* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */ | 789 | /* syscall: "preadv" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */ | |
790 | #define SYS_preadv 289 | 790 | #define SYS_preadv 289 | |
791 | 791 | |||
792 | /* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */ | 792 | /* syscall: "pwritev" ret: "ssize_t" args: "int" "const struct iovec *" "int" "int" "off_t" */ | |
793 | #define SYS_pwritev 290 | 793 | #define SYS_pwritev 290 | |
794 | 794 | |||
795 | /* syscall: "compat_16___sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */ | 795 | /* syscall: "compat_16___sigaction14" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" */ | |
796 | #define SYS_compat_16___sigaction14 291 | 796 | #define SYS_compat_16___sigaction14 291 | |
797 | 797 | |||
798 | /* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */ | 798 | /* syscall: "__sigpending14" ret: "int" args: "sigset_t *" */ | |
799 | #define SYS___sigpending14 292 | 799 | #define SYS___sigpending14 292 | |
800 | 800 | |||
801 | /* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */ | 801 | /* syscall: "__sigprocmask14" ret: "int" args: "int" "const sigset_t *" "sigset_t *" */ | |
802 | #define SYS___sigprocmask14 293 | 802 | #define SYS___sigprocmask14 293 | |
803 | 803 | |||
804 | /* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */ | 804 | /* syscall: "__sigsuspend14" ret: "int" args: "const sigset_t *" */ | |
805 | #define SYS___sigsuspend14 294 | 805 | #define SYS___sigsuspend14 294 | |
806 | 806 | |||
807 | /* syscall: "compat_16___sigreturn14" ret: "int" args: "struct sigcontext *" */ | 807 | /* syscall: "compat_16___sigreturn14" ret: "int" args: "struct sigcontext *" */ | |
808 | #define SYS_compat_16___sigreturn14 295 | 808 | #define SYS_compat_16___sigreturn14 295 | |
809 | 809 | |||
810 | /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ | 810 | /* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */ | |
811 | #define SYS___getcwd 296 | 811 | #define SYS___getcwd 296 | |
812 | 812 | |||
813 | /* syscall: "fchroot" ret: "int" args: "int" */ | 813 | /* syscall: "fchroot" ret: "int" args: "int" */ | |
814 | #define SYS_fchroot 297 | 814 | #define SYS_fchroot 297 | |
815 | 815 | |||
816 | /* syscall: "compat_30_fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */ | 816 | /* syscall: "compat_30_fhopen" ret: "int" args: "const struct compat_30_fhandle *" "int" */ | |
817 | #define SYS_compat_30_fhopen 298 | 817 | #define SYS_compat_30_fhopen 298 | |
818 | 818 | |||
819 | /* syscall: "compat_30_fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct stat13 *" */ | 819 | /* syscall: "compat_30_fhstat" ret: "int" args: "const struct compat_30_fhandle *" "struct stat13 *" */ | |
820 | #define SYS_compat_30_fhstat 299 | 820 | #define SYS_compat_30_fhstat 299 | |
821 | 821 | |||
822 | /* syscall: "compat_20_fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */ | 822 | /* syscall: "compat_20_fhstatfs" ret: "int" args: "const struct compat_30_fhandle *" "struct statfs12 *" */ | |
823 | #define SYS_compat_20_fhstatfs 300 | 823 | #define SYS_compat_20_fhstatfs 300 | |
824 | 824 | |||
825 | /* syscall: "compat_50_____semctl13" ret: "int" args: "int" "int" "int" "..." */ | 825 | /* syscall: "compat_50_____semctl13" ret: "int" args: "int" "int" "int" "..." */ | |
826 | #define SYS_compat_50_____semctl13 301 | 826 | #define SYS_compat_50_____semctl13 301 | |
827 | 827 | |||
828 | /* syscall: "compat_50___msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */ | 828 | /* syscall: "compat_50___msgctl13" ret: "int" args: "int" "int" "struct msqid_ds *" */ | |
829 | #define SYS_compat_50___msgctl13 302 | 829 | #define SYS_compat_50___msgctl13 302 | |
830 | 830 | |||
831 | /* syscall: "compat_50___shmctl13" ret: "int" args: "int" "int" "struct shmid_ds13 *" */ | 831 | /* syscall: "compat_50___shmctl13" ret: "int" args: "int" "int" "struct shmid_ds13 *" */ | |
832 | #define SYS_compat_50___shmctl13 303 | 832 | #define SYS_compat_50___shmctl13 303 | |
833 | 833 | |||
834 | /* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */ | 834 | /* syscall: "lchflags" ret: "int" args: "const char *" "u_long" */ | |
835 | #define SYS_lchflags 304 | 835 | #define SYS_lchflags 304 | |
836 | 836 | |||
837 | /* syscall: "issetugid" ret: "int" args: */ | 837 | /* syscall: "issetugid" ret: "int" args: */ | |
838 | #define SYS_issetugid 305 | 838 | #define SYS_issetugid 305 | |
839 | 839 | |||
840 | /* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */ | 840 | /* syscall: "utrace" ret: "int" args: "const char *" "void *" "size_t" */ | |
841 | #define SYS_utrace 306 | 841 | #define SYS_utrace 306 | |
842 | 842 | |||
843 | /* syscall: "getcontext" ret: "int" args: "struct __ucontext *" */ | 843 | /* syscall: "getcontext" ret: "int" args: "struct __ucontext *" */ | |
844 | #define SYS_getcontext 307 | 844 | #define SYS_getcontext 307 | |
845 | 845 | |||
846 | /* syscall: "setcontext" ret: "int" args: "const struct __ucontext *" */ | 846 | /* syscall: "setcontext" ret: "int" args: "const struct __ucontext *" */ | |
847 | #define SYS_setcontext 308 | 847 | #define SYS_setcontext 308 | |
848 | 848 | |||
849 | /* syscall: "_lwp_create" ret: "int" args: "const struct __ucontext *" "u_long" "lwpid_t *" */ | 849 | /* syscall: "_lwp_create" ret: "int" args: "const struct __ucontext *" "u_long" "lwpid_t *" */ | |
850 | #define SYS__lwp_create 309 | 850 | #define SYS__lwp_create 309 | |
851 | 851 | |||
852 | /* syscall: "_lwp_exit" ret: "int" args: */ | 852 | /* syscall: "_lwp_exit" ret: "int" args: */ | |
853 | #define SYS__lwp_exit 310 | 853 | #define SYS__lwp_exit 310 | |
854 | 854 | |||
855 | /* syscall: "_lwp_self" ret: "lwpid_t" args: */ | 855 | /* syscall: "_lwp_self" ret: "lwpid_t" args: */ | |
856 | #define SYS__lwp_self 311 | 856 | #define SYS__lwp_self 311 | |
857 | 857 | |||
858 | /* syscall: "_lwp_wait" ret: "int" args: "lwpid_t" "lwpid_t *" */ | 858 | /* syscall: "_lwp_wait" ret: "int" args: "lwpid_t" "lwpid_t *" */ | |
859 | #define SYS__lwp_wait 312 | 859 | #define SYS__lwp_wait 312 | |
860 | 860 | |||
861 | /* syscall: "_lwp_suspend" ret: "int" args: "lwpid_t" */ | 861 | /* syscall: "_lwp_suspend" ret: "int" args: "lwpid_t" */ | |
862 | #define SYS__lwp_suspend 313 | 862 | #define SYS__lwp_suspend 313 | |
863 | 863 | |||
864 | /* syscall: "_lwp_continue" ret: "int" args: "lwpid_t" */ | 864 | /* syscall: "_lwp_continue" ret: "int" args: "lwpid_t" */ | |
865 | #define SYS__lwp_continue 314 | 865 | #define SYS__lwp_continue 314 | |
866 | 866 | |||
867 | /* syscall: "_lwp_wakeup" ret: "int" args: "lwpid_t" */ | 867 | /* syscall: "_lwp_wakeup" ret: "int" args: "lwpid_t" */ | |
868 | #define SYS__lwp_wakeup 315 | 868 | #define SYS__lwp_wakeup 315 | |
869 | 869 | |||
870 | /* syscall: "_lwp_getprivate" ret: "void *" args: */ | 870 | /* syscall: "_lwp_getprivate" ret: "void *" args: */ | |
871 | #define SYS__lwp_getprivate 316 | 871 | #define SYS__lwp_getprivate 316 | |
872 | 872 | |||
873 | /* syscall: "_lwp_setprivate" ret: "void" args: "void *" */ | 873 | /* syscall: "_lwp_setprivate" ret: "void" args: "void *" */ | |
874 | #define SYS__lwp_setprivate 317 | 874 | #define SYS__lwp_setprivate 317 | |
875 | 875 | |||
876 | /* syscall: "_lwp_kill" ret: "int" args: "lwpid_t" "int" */ | 876 | /* syscall: "_lwp_kill" ret: "int" args: "lwpid_t" "int" */ | |
877 | #define SYS__lwp_kill 318 | 877 | #define SYS__lwp_kill 318 | |
878 | 878 | |||
879 | /* syscall: "_lwp_detach" ret: "int" args: "lwpid_t" */ | 879 | /* syscall: "_lwp_detach" ret: "int" args: "lwpid_t" */ | |
880 | #define SYS__lwp_detach 319 | 880 | #define SYS__lwp_detach 319 | |
881 | 881 | |||
882 | /* syscall: "compat_50__lwp_park" ret: "int" args: "const struct timespec50 *" "lwpid_t" "const void *" "const void *" */ | 882 | /* syscall: "compat_50__lwp_park" ret: "int" args: "const struct timespec50 *" "lwpid_t" "const void *" "const void *" */ | |
883 | #define SYS_compat_50__lwp_park 320 | 883 | #define SYS_compat_50__lwp_park 320 | |
884 | 884 | |||
885 | /* syscall: "_lwp_unpark" ret: "int" args: "lwpid_t" "const void *" */ | 885 | /* syscall: "_lwp_unpark" ret: "int" args: "lwpid_t" "const void *" */ | |
886 | #define SYS__lwp_unpark 321 | 886 | #define SYS__lwp_unpark 321 | |
887 | 887 | |||
888 | /* syscall: "_lwp_unpark_all" ret: "ssize_t" args: "const lwpid_t *" "size_t" "const void *" */ | 888 | /* syscall: "_lwp_unpark_all" ret: "ssize_t" args: "const lwpid_t *" "size_t" "const void *" */ | |
889 | #define SYS__lwp_unpark_all 322 | 889 | #define SYS__lwp_unpark_all 322 | |
890 | 890 | |||
891 | /* syscall: "_lwp_setname" ret: "int" args: "lwpid_t" "const char *" */ | 891 | /* syscall: "_lwp_setname" ret: "int" args: "lwpid_t" "const char *" */ | |
892 | #define SYS__lwp_setname 323 | 892 | #define SYS__lwp_setname 323 | |
893 | 893 | |||
894 | /* syscall: "_lwp_getname" ret: "int" args: "lwpid_t" "char *" "size_t" */ | 894 | /* syscall: "_lwp_getname" ret: "int" args: "lwpid_t" "char *" "size_t" */ | |
895 | #define SYS__lwp_getname 324 | 895 | #define SYS__lwp_getname 324 | |
896 | 896 | |||
897 | /* syscall: "_lwp_ctl" ret: "int" args: "int" "struct lwpctl **" */ | 897 | /* syscall: "_lwp_ctl" ret: "int" args: "int" "struct lwpctl **" */ | |
898 | #define SYS__lwp_ctl 325 | 898 | #define SYS__lwp_ctl 325 | |
899 | 899 | |||
900 | /* syscall: "compat_60_sa_register" ret: "int" args: "void *" "void **" "int" "ssize_t" */ | 900 | /* syscall: "compat_60_sa_register" ret: "int" args: "void *" "void **" "int" "ssize_t" */ | |
901 | #define SYS_compat_60_sa_register 330 | 901 | #define SYS_compat_60_sa_register 330 | |
902 | 902 | |||
903 | /* syscall: "compat_60_sa_stacks" ret: "int" args: "int" "stack_t *" */ | 903 | /* syscall: "compat_60_sa_stacks" ret: "int" args: "int" "stack_t *" */ | |
904 | #define SYS_compat_60_sa_stacks 331 | 904 | #define SYS_compat_60_sa_stacks 331 | |
905 | 905 | |||
906 | /* syscall: "compat_60_sa_enable" ret: "int" args: */ | 906 | /* syscall: "compat_60_sa_enable" ret: "int" args: */ | |
907 | #define SYS_compat_60_sa_enable 332 | 907 | #define SYS_compat_60_sa_enable 332 | |
908 | 908 | |||
909 | /* syscall: "compat_60_sa_setconcurrency" ret: "int" args: "int" */ | 909 | /* syscall: "compat_60_sa_setconcurrency" ret: "int" args: "int" */ | |
910 | #define SYS_compat_60_sa_setconcurrency 333 | 910 | #define SYS_compat_60_sa_setconcurrency 333 | |
911 | 911 | |||
912 | /* syscall: "compat_60_sa_yield" ret: "int" args: */ | 912 | /* syscall: "compat_60_sa_yield" ret: "int" args: */ | |
913 | #define SYS_compat_60_sa_yield 334 | 913 | #define SYS_compat_60_sa_yield 334 | |
914 | 914 | |||
915 | /* syscall: "compat_60_sa_preempt" ret: "int" args: "int" */ | 915 | /* syscall: "compat_60_sa_preempt" ret: "int" args: "int" */ | |
916 | #define SYS_compat_60_sa_preempt 335 | 916 | #define SYS_compat_60_sa_preempt 335 | |
917 | 917 | |||
918 | /* 336 is obsolete sys_sa_unblockyield */ | 918 | /* 336 is obsolete sys_sa_unblockyield */ | |
919 | /* syscall: "__sigaction_sigtramp" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" "const void *" "int" */ | 919 | /* syscall: "__sigaction_sigtramp" ret: "int" args: "int" "const struct sigaction *" "struct sigaction *" "const void *" "int" */ | |
920 | #define SYS___sigaction_sigtramp 340 | 920 | #define SYS___sigaction_sigtramp 340 | |
921 | 921 | |||
922 | /* syscall: "pmc_get_info" ret: "int" args: "int" "int" "void *" */ | 922 | /* syscall: "pmc_get_info" ret: "int" args: "int" "int" "void *" */ | |
923 | #define SYS_pmc_get_info 341 | 923 | #define SYS_pmc_get_info 341 | |
924 | 924 | |||
925 | /* syscall: "pmc_control" ret: "int" args: "int" "int" "void *" */ | 925 | /* syscall: "pmc_control" ret: "int" args: "int" "int" "void *" */ | |
926 | #define SYS_pmc_control 342 | 926 | #define SYS_pmc_control 342 | |
927 | 927 | |||
928 | /* syscall: "rasctl" ret: "int" args: "void *" "size_t" "int" */ | 928 | /* syscall: "rasctl" ret: "int" args: "void *" "size_t" "int" */ | |
929 | #define SYS_rasctl 343 | 929 | #define SYS_rasctl 343 | |
930 | 930 | |||
931 | /* syscall: "kqueue" ret: "int" args: */ | 931 | /* syscall: "kqueue" ret: "int" args: */ | |
932 | #define SYS_kqueue 344 | 932 | #define SYS_kqueue 344 | |
933 | 933 | |||
934 | /* syscall: "compat_50_kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec50 *" */ | 934 | /* syscall: "compat_50_kevent" ret: "int" args: "int" "const struct kevent *" "size_t" "struct kevent *" "size_t" "const struct timespec50 *" */ | |
935 | #define SYS_compat_50_kevent 345 | 935 | #define SYS_compat_50_kevent 345 | |
936 | 936 | |||
937 | /* syscall: "_sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const struct sched_param *" */ | 937 | /* syscall: "_sched_setparam" ret: "int" args: "pid_t" "lwpid_t" "int" "const struct sched_param *" */ | |
938 | #define SYS__sched_setparam 346 | 938 | #define SYS__sched_setparam 346 | |
939 | 939 | |||
940 | /* syscall: "_sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "int *" "struct sched_param *" */ | 940 | /* syscall: "_sched_getparam" ret: "int" args: "pid_t" "lwpid_t" "int *" "struct sched_param *" */ | |
941 | #define SYS__sched_getparam 347 | 941 | #define SYS__sched_getparam 347 | |
942 | 942 | |||
943 | /* syscall: "_sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "const cpuset_t *" */ | 943 | /* syscall: "_sched_setaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "const cpuset_t *" */ | |
944 | #define SYS__sched_setaffinity 348 | 944 | #define SYS__sched_setaffinity 348 | |
945 | 945 | |||
946 | /* syscall: "_sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "cpuset_t *" */ | 946 | /* syscall: "_sched_getaffinity" ret: "int" args: "pid_t" "lwpid_t" "size_t" "cpuset_t *" */ | |
947 | #define SYS__sched_getaffinity 349 | 947 | #define SYS__sched_getaffinity 349 | |
948 | 948 | |||
949 | /* syscall: "sched_yield" ret: "int" args: */ | 949 | /* syscall: "sched_yield" ret: "int" args: */ | |
950 | #define SYS_sched_yield 350 | 950 | #define SYS_sched_yield 350 | |
951 | 951 | |||
952 | /* syscall: "_sched_protect" ret: "int" args: "int" */ | 952 | /* syscall: "_sched_protect" ret: "int" args: "int" */ | |
953 | #define SYS__sched_protect 351 | 953 | #define SYS__sched_protect 351 | |
954 | 954 | |||
955 | /* syscall: "fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */ | 955 | /* syscall: "fsync_range" ret: "int" args: "int" "int" "off_t" "off_t" */ | |
956 | #define SYS_fsync_range 354 | 956 | #define SYS_fsync_range 354 | |
957 | 957 | |||
958 | /* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */ | 958 | /* syscall: "uuidgen" ret: "int" args: "struct uuid *" "int" */ | |
959 | #define SYS_uuidgen 355 | 959 | #define SYS_uuidgen 355 | |
960 | 960 | |||
961 | /* syscall: "getvfsstat" ret: "int" args: "struct statvfs *" "size_t" "int" */ | 961 | /* syscall: "getvfsstat" ret: "int" args: "struct statvfs *" "size_t" "int" */ | |
962 | #define SYS_getvfsstat 356 | 962 | #define SYS_getvfsstat 356 | |
963 | 963 | |||
964 | /* syscall: "statvfs1" ret: "int" args: "const char *" "struct statvfs *" "int" */ | 964 | /* syscall: "statvfs1" ret: "int" args: "const char *" "struct statvfs *" "int" */ | |
965 | #define SYS_statvfs1 357 | 965 | #define SYS_statvfs1 357 | |
966 | 966 | |||
967 | /* syscall: "fstatvfs1" ret: "int" args: "int" "struct statvfs *" "int" */ | 967 | /* syscall: "fstatvfs1" ret: "int" args: "int" "struct statvfs *" "int" */ | |
968 | #define SYS_fstatvfs1 358 | 968 | #define SYS_fstatvfs1 358 | |
969 | 969 | |||
970 | /* syscall: "compat_30_fhstatvfs1" ret: "int" args: "const struct compat_30_fhandle *" "struct statvfs *" "int" */ | 970 | /* syscall: "compat_30_fhstatvfs1" ret: "int" args: "const struct compat_30_fhandle *" "struct statvfs *" "int" */ | |
971 | #define SYS_compat_30_fhstatvfs1 359 | 971 | #define SYS_compat_30_fhstatvfs1 359 | |
972 | 972 | |||
973 | /* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */ | 973 | /* syscall: "extattrctl" ret: "int" args: "const char *" "int" "const char *" "int" "const char *" */ | |
974 | #define SYS_extattrctl 360 | 974 | #define SYS_extattrctl 360 | |
975 | 975 | |||
976 | /* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */ | 976 | /* syscall: "extattr_set_file" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */ | |
977 | #define SYS_extattr_set_file 361 | 977 | #define SYS_extattr_set_file 361 | |
978 | 978 | |||
979 | /* syscall: "extattr_get_file" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */ | 979 | /* syscall: "extattr_get_file" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */ | |
980 | #define SYS_extattr_get_file 362 | 980 | #define SYS_extattr_get_file 362 | |
981 | 981 | |||
982 | /* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */ | 982 | /* syscall: "extattr_delete_file" ret: "int" args: "const char *" "int" "const char *" */ | |
983 | #define SYS_extattr_delete_file 363 | 983 | #define SYS_extattr_delete_file 363 | |
984 | 984 | |||
985 | /* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "const void *" "size_t" */ | 985 | /* syscall: "extattr_set_fd" ret: "int" args: "int" "int" "const char *" "const void *" "size_t" */ | |
986 | #define SYS_extattr_set_fd 364 | 986 | #define SYS_extattr_set_fd 364 | |
987 | 987 | |||
988 | /* syscall: "extattr_get_fd" ret: "ssize_t" args: "int" "int" "const char *" "void *" "size_t" */ | 988 | /* syscall: "extattr_get_fd" ret: "ssize_t" args: "int" "int" "const char *" "void *" "size_t" */ | |
989 | #define SYS_extattr_get_fd 365 | 989 | #define SYS_extattr_get_fd 365 | |
990 | 990 | |||
991 | /* syscall: "extattr_delete_fd" ret: "int" args: "int" "int" "const char *" */ | 991 | /* syscall: "extattr_delete_fd" ret: "int" args: "int" "int" "const char *" */ | |
992 | #define SYS_extattr_delete_fd 366 | 992 | #define SYS_extattr_delete_fd 366 | |
993 | 993 | |||
994 | /* syscall: "extattr_set_link" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */ | 994 | /* syscall: "extattr_set_link" ret: "int" args: "const char *" "int" "const char *" "const void *" "size_t" */ | |
995 | #define SYS_extattr_set_link 367 | 995 | #define SYS_extattr_set_link 367 | |
996 | 996 | |||
997 | /* syscall: "extattr_get_link" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */ | 997 | /* syscall: "extattr_get_link" ret: "ssize_t" args: "const char *" "int" "const char *" "void *" "size_t" */ | |
998 | #define SYS_extattr_get_link 368 | 998 | #define SYS_extattr_get_link 368 | |
999 | 999 | |||
1000 | /* syscall: "extattr_delete_link" ret: "int" args: "const char *" "int" "const char *" */ | 1000 | /* syscall: "extattr_delete_link" ret: "int" args: "const char *" "int" "const char *" */ | |
1001 | #define SYS_extattr_delete_link 369 | 1001 | #define SYS_extattr_delete_link 369 | |
1002 | 1002 | |||
1003 | /* syscall: "extattr_list_fd" ret: "ssize_t" args: "int" "int" "void *" "size_t" */ | 1003 | /* syscall: "extattr_list_fd" ret: "ssize_t" args: "int" "int" "void *" "size_t" */ | |
1004 | #define SYS_extattr_list_fd 370 | 1004 | #define SYS_extattr_list_fd 370 | |
1005 | 1005 | |||
1006 | /* syscall: "extattr_list_file" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */ | 1006 | /* syscall: "extattr_list_file" ret: "ssize_t" args: "const char *" "int" "void *" "size_t" */ |
--- src/sys/sys/syscallargs.h 2018/01/06 16:41:24 1.288
+++ src/sys/sys/syscallargs.h 2018/03/10 05:12:17 1.288.2.1
@@ -1,1006 +1,1006 @@ | @@ -1,1006 +1,1006 @@ | |||
1 | /* $NetBSD: syscallargs.h,v 1.288 2018/01/06 16:41:24 kamil Exp $ */ | 1 | /* $NetBSD: syscallargs.h,v 1.288.2.1 2018/03/10 05:12:17 pgoyette 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.288 2017/12/19 08:48:19 kamil Exp | 7 | * created from NetBSD: syscalls.master,v 1.291.2.1 2018/03/10 05:09:24 pgoyette 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 | #ifndef RUMP_CLIENT | 13 | #ifndef RUMP_CLIENT | |
14 | #include <sys/idtype.h> | 14 | #include <sys/idtype.h> | |
15 | #include <sys/mount.h> | 15 | #include <sys/mount.h> | |
16 | #include <sys/sched.h> | 16 | #include <sys/sched.h> | |
17 | #endif | 17 | #endif | |
18 | 18 | |||
19 | #include <sys/socket.h> | 19 | #include <sys/socket.h> | |
20 | 20 | |||
21 | /* Forward declaration */ | 21 | /* Forward declaration */ | |
22 | struct lwp; | 22 | struct lwp; | |
23 | 23 | |||
24 | #define SYS_MAXSYSARGS 8 | 24 | #define SYS_MAXSYSARGS 8 | |
25 | 25 | |||
26 | #undef syscallarg | 26 | #undef syscallarg | |
27 | #define syscallarg(x) \ | 27 | #define syscallarg(x) \ | |
28 | union { \ | 28 | union { \ | |
29 | register_t pad; \ | 29 | register_t pad; \ | |
30 | struct { x datum; } le; \ | 30 | struct { x datum; } le; \ | |
31 | struct { /* LINTED zero array dimension */ \ | 31 | struct { /* LINTED zero array dimension */ \ | |
32 | int8_t pad[ /* CONSTCOND */ \ | 32 | int8_t pad[ /* CONSTCOND */ \ | |
33 | (sizeof (register_t) < sizeof (x)) \ | 33 | (sizeof (register_t) < sizeof (x)) \ | |
34 | ? 0 \ | 34 | ? 0 \ | |
35 | : sizeof (register_t) - sizeof (x)]; \ | 35 | : sizeof (register_t) - sizeof (x)]; \ | |
36 | x datum; \ | 36 | x datum; \ | |
37 | } be; \ | 37 | } be; \ | |
38 | } | 38 | } | |
39 | 39 | |||
40 | #undef check_syscall_args | 40 | #undef check_syscall_args | |
41 | #define check_syscall_args(call) /*LINTED*/ \ | 41 | #define check_syscall_args(call) /*LINTED*/ \ | |
42 | typedef char call##_check_args[sizeof (struct call##_args) \ | 42 | typedef char call##_check_args[sizeof (struct call##_args) \ | |
43 | <= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; | 43 | <= SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; | |
44 | 44 | |||
45 | #ifndef RUMP_CLIENT | 45 | #ifndef RUMP_CLIENT | |
46 | struct sys_syscall_args { | 46 | struct sys_syscall_args { | |
47 | syscallarg(int) code; | 47 | syscallarg(int) code; | |
48 | syscallarg(register_t) args[SYS_MAXSYSARGS]; | 48 | syscallarg(register_t) args[SYS_MAXSYSARGS]; | |
49 | }; | 49 | }; | |
50 | #endif /* !RUMP_CLIENT */ | 50 | #endif /* !RUMP_CLIENT */ | |
51 | 51 | |||
52 | #ifndef RUMP_CLIENT | 52 | #ifndef RUMP_CLIENT | |
53 | struct sys_exit_args { | 53 | struct sys_exit_args { | |
54 | syscallarg(int) rval; | 54 | syscallarg(int) rval; | |
55 | }; | 55 | }; | |
56 | check_syscall_args(sys_exit) | 56 | check_syscall_args(sys_exit) | |
57 | #endif /* !RUMP_CLIENT */ | 57 | #endif /* !RUMP_CLIENT */ | |
58 | 58 | |||
59 | struct sys_read_args { | 59 | struct sys_read_args { | |
60 | syscallarg(int) fd; | 60 | syscallarg(int) fd; | |
61 | syscallarg(void *) buf; | 61 | syscallarg(void *) buf; | |
62 | syscallarg(size_t) nbyte; | 62 | syscallarg(size_t) nbyte; | |
63 | }; | 63 | }; | |
64 | check_syscall_args(sys_read) | 64 | check_syscall_args(sys_read) | |
65 | 65 | |||
66 | struct sys_write_args { | 66 | struct sys_write_args { | |
67 | syscallarg(int) fd; | 67 | syscallarg(int) fd; | |
68 | syscallarg(const void *) buf; | 68 | syscallarg(const void *) buf; | |
69 | syscallarg(size_t) nbyte; | 69 | syscallarg(size_t) nbyte; | |
70 | }; | 70 | }; | |
71 | check_syscall_args(sys_write) | 71 | check_syscall_args(sys_write) | |
72 | 72 | |||
73 | struct sys_open_args { | 73 | struct sys_open_args { | |
74 | syscallarg(const char *) path; | 74 | syscallarg(const char *) path; | |
75 | syscallarg(int) flags; | 75 | syscallarg(int) flags; | |
76 | syscallarg(mode_t) mode; | 76 | syscallarg(mode_t) mode; | |
77 | }; | 77 | }; | |
78 | check_syscall_args(sys_open) | 78 | check_syscall_args(sys_open) | |
79 | 79 | |||
80 | struct sys_close_args { | 80 | struct sys_close_args { | |
81 | syscallarg(int) fd; | 81 | syscallarg(int) fd; | |
82 | }; | 82 | }; | |
83 | check_syscall_args(sys_close) | 83 | check_syscall_args(sys_close) | |
84 | 84 | |||
85 | #ifndef RUMP_CLIENT | 85 | #ifndef RUMP_CLIENT | |
86 | struct compat_50_sys_wait4_args { | 86 | struct compat_50_sys_wait4_args { | |
87 | syscallarg(pid_t) pid; | 87 | syscallarg(pid_t) pid; | |
88 | syscallarg(int *) status; | 88 | syscallarg(int *) status; | |
89 | syscallarg(int) options; | 89 | syscallarg(int) options; | |
90 | syscallarg(struct rusage50 *) rusage; | 90 | syscallarg(struct rusage50 *) rusage; | |
91 | }; | 91 | }; | |
92 | check_syscall_args(compat_50_sys_wait4) | 92 | check_syscall_args(compat_50_sys_wait4) | |
93 | #endif /* !RUMP_CLIENT */ | 93 | #endif /* !RUMP_CLIENT */ | |
94 | 94 | |||
95 | #ifndef RUMP_CLIENT | 95 | #ifndef RUMP_CLIENT | |
96 | struct compat_43_sys_creat_args { | 96 | struct compat_43_sys_creat_args { | |
97 | syscallarg(const char *) path; | 97 | syscallarg(const char *) path; | |
98 | syscallarg(mode_t) mode; | 98 | syscallarg(mode_t) mode; | |
99 | }; | 99 | }; | |
100 | check_syscall_args(compat_43_sys_creat) | 100 | check_syscall_args(compat_43_sys_creat) | |
101 | #endif /* !RUMP_CLIENT */ | 101 | #endif /* !RUMP_CLIENT */ | |
102 | 102 | |||
103 | struct sys_link_args { | 103 | struct sys_link_args { | |
104 | syscallarg(const char *) path; | 104 | syscallarg(const char *) path; | |
105 | syscallarg(const char *) link; | 105 | syscallarg(const char *) link; | |
106 | }; | 106 | }; | |
107 | check_syscall_args(sys_link) | 107 | check_syscall_args(sys_link) | |
108 | 108 | |||
109 | struct sys_unlink_args { | 109 | struct sys_unlink_args { | |
110 | syscallarg(const char *) path; | 110 | syscallarg(const char *) path; | |
111 | }; | 111 | }; | |
112 | check_syscall_args(sys_unlink) | 112 | check_syscall_args(sys_unlink) | |
113 | 113 | |||
114 | struct sys_chdir_args { | 114 | struct sys_chdir_args { | |
115 | syscallarg(const char *) path; | 115 | syscallarg(const char *) path; | |
116 | }; | 116 | }; | |
117 | check_syscall_args(sys_chdir) | 117 | check_syscall_args(sys_chdir) | |
118 | 118 | |||
119 | struct sys_fchdir_args { | 119 | struct sys_fchdir_args { | |
120 | syscallarg(int) fd; | 120 | syscallarg(int) fd; | |
121 | }; | 121 | }; | |
122 | check_syscall_args(sys_fchdir) | 122 | check_syscall_args(sys_fchdir) | |
123 | 123 | |||
124 | struct compat_50_sys_mknod_args { | 124 | struct compat_50_sys_mknod_args { | |
125 | syscallarg(const char *) path; | 125 | syscallarg(const char *) path; | |
126 | syscallarg(mode_t) mode; | 126 | syscallarg(mode_t) mode; | |
127 | syscallarg(uint32_t) dev; | 127 | syscallarg(uint32_t) dev; | |
128 | }; | 128 | }; | |
129 | check_syscall_args(compat_50_sys_mknod) | 129 | check_syscall_args(compat_50_sys_mknod) | |
130 | 130 | |||
131 | struct sys_chmod_args { | 131 | struct sys_chmod_args { | |
132 | syscallarg(const char *) path; | 132 | syscallarg(const char *) path; | |
133 | syscallarg(mode_t) mode; | 133 | syscallarg(mode_t) mode; | |
134 | }; | 134 | }; | |
135 | check_syscall_args(sys_chmod) | 135 | check_syscall_args(sys_chmod) | |
136 | 136 | |||
137 | struct sys_chown_args { | 137 | struct sys_chown_args { | |
138 | syscallarg(const char *) path; | 138 | syscallarg(const char *) path; | |
139 | syscallarg(uid_t) uid; | 139 | syscallarg(uid_t) uid; | |
140 | syscallarg(gid_t) gid; | 140 | syscallarg(gid_t) gid; | |
141 | }; | 141 | }; | |
142 | check_syscall_args(sys_chown) | 142 | check_syscall_args(sys_chown) | |
143 | 143 | |||
144 | #ifndef RUMP_CLIENT | 144 | #ifndef RUMP_CLIENT | |
145 | struct sys_obreak_args { | 145 | struct sys_obreak_args { | |
146 | syscallarg(char *) nsize; | 146 | syscallarg(char *) nsize; | |
147 | }; | 147 | }; | |
148 | check_syscall_args(sys_obreak) | 148 | check_syscall_args(sys_obreak) | |
149 | #endif /* !RUMP_CLIENT */ | 149 | #endif /* !RUMP_CLIENT */ | |
150 | 150 | |||
151 | #ifndef RUMP_CLIENT | 151 | #ifndef RUMP_CLIENT | |
152 | struct compat_20_sys_getfsstat_args { | 152 | struct compat_20_sys_getfsstat_args { | |
153 | syscallarg(struct statfs12 *) buf; | 153 | syscallarg(struct statfs12 *) buf; | |
154 | syscallarg(long) bufsize; | 154 | syscallarg(long) bufsize; | |
155 | syscallarg(int) flags; | 155 | syscallarg(int) flags; | |
156 | }; | 156 | }; | |
157 | check_syscall_args(compat_20_sys_getfsstat) | 157 | check_syscall_args(compat_20_sys_getfsstat) | |
158 | #endif /* !RUMP_CLIENT */ | 158 | #endif /* !RUMP_CLIENT */ | |
159 | 159 | |||
160 | #ifndef RUMP_CLIENT | 160 | #ifndef RUMP_CLIENT | |
161 | struct compat_43_sys_lseek_args { | 161 | struct compat_43_sys_lseek_args { | |
162 | syscallarg(int) fd; | 162 | syscallarg(int) fd; | |
163 | syscallarg(long) offset; | 163 | syscallarg(long) offset; | |
164 | syscallarg(int) whence; | 164 | syscallarg(int) whence; | |
165 | }; | 165 | }; | |
166 | check_syscall_args(compat_43_sys_lseek) | 166 | check_syscall_args(compat_43_sys_lseek) | |
167 | #endif /* !RUMP_CLIENT */ | 167 | #endif /* !RUMP_CLIENT */ | |
168 | 168 | |||
169 | #ifndef RUMP_CLIENT | 169 | #ifndef RUMP_CLIENT | |
170 | struct compat_40_sys_mount_args { | 170 | struct compat_40_sys_mount_args { | |
171 | syscallarg(const char *) type; | 171 | syscallarg(const char *) type; | |
172 | syscallarg(const char *) path; | 172 | syscallarg(const char *) path; | |
173 | syscallarg(int) flags; | 173 | syscallarg(int) flags; | |
174 | syscallarg(void *) data; | 174 | syscallarg(void *) data; | |
175 | }; | 175 | }; | |
176 | check_syscall_args(compat_40_sys_mount) | 176 | check_syscall_args(compat_40_sys_mount) | |
177 | #endif /* !RUMP_CLIENT */ | 177 | #endif /* !RUMP_CLIENT */ | |
178 | 178 | |||
179 | struct sys_unmount_args { | 179 | struct sys_unmount_args { | |
180 | syscallarg(const char *) path; | 180 | syscallarg(const char *) path; | |
181 | syscallarg(int) flags; | 181 | syscallarg(int) flags; | |
182 | }; | 182 | }; | |
183 | check_syscall_args(sys_unmount) | 183 | check_syscall_args(sys_unmount) | |
184 | 184 | |||
185 | struct sys_setuid_args { | 185 | struct sys_setuid_args { | |
186 | syscallarg(uid_t) uid; | 186 | syscallarg(uid_t) uid; | |
187 | }; | 187 | }; | |
188 | check_syscall_args(sys_setuid) | 188 | check_syscall_args(sys_setuid) | |
189 | 189 | |||
190 | #ifndef RUMP_CLIENT | 190 | #ifndef RUMP_CLIENT | |
191 | struct sys_ptrace_args { | 191 | struct sys_ptrace_args { | |
192 | syscallarg(int) req; | 192 | syscallarg(int) req; | |
193 | syscallarg(pid_t) pid; | 193 | syscallarg(pid_t) pid; | |
194 | syscallarg(void *) addr; | 194 | syscallarg(void *) addr; | |
195 | syscallarg(int) data; | 195 | syscallarg(int) data; | |
196 | }; | 196 | }; | |
197 | check_syscall_args(sys_ptrace) | 197 | check_syscall_args(sys_ptrace) | |
198 | #endif /* !RUMP_CLIENT */ | 198 | #endif /* !RUMP_CLIENT */ | |
199 | 199 | |||
200 | struct sys_recvmsg_args { | 200 | struct sys_recvmsg_args { | |
201 | syscallarg(int) s; | 201 | syscallarg(int) s; | |
202 | syscallarg(struct msghdr *) msg; | 202 | syscallarg(struct msghdr *) msg; | |
203 | syscallarg(int) flags; | 203 | syscallarg(int) flags; | |
204 | }; | 204 | }; | |
205 | check_syscall_args(sys_recvmsg) | 205 | check_syscall_args(sys_recvmsg) | |
206 | 206 | |||
207 | struct sys_sendmsg_args { | 207 | struct sys_sendmsg_args { | |
208 | syscallarg(int) s; | 208 | syscallarg(int) s; | |
209 | syscallarg(const struct msghdr *) msg; | 209 | syscallarg(const struct msghdr *) msg; | |
210 | syscallarg(int) flags; | 210 | syscallarg(int) flags; | |
211 | }; | 211 | }; | |
212 | check_syscall_args(sys_sendmsg) | 212 | check_syscall_args(sys_sendmsg) | |
213 | 213 | |||
214 | struct sys_recvfrom_args { | 214 | struct sys_recvfrom_args { | |
215 | syscallarg(int) s; | 215 | syscallarg(int) s; | |
216 | syscallarg(void *) buf; | 216 | syscallarg(void *) buf; | |
217 | syscallarg(size_t) len; | 217 | syscallarg(size_t) len; | |
218 | syscallarg(int) flags; | 218 | syscallarg(int) flags; | |
219 | syscallarg(struct sockaddr *) from; | 219 | syscallarg(struct sockaddr *) from; | |
220 | syscallarg(socklen_t *) fromlenaddr; | 220 | syscallarg(socklen_t *) fromlenaddr; | |
221 | }; | 221 | }; | |
222 | check_syscall_args(sys_recvfrom) | 222 | check_syscall_args(sys_recvfrom) | |
223 | 223 | |||
224 | struct sys_accept_args { | 224 | struct sys_accept_args { | |
225 | syscallarg(int) s; | 225 | syscallarg(int) s; | |
226 | syscallarg(struct sockaddr *) name; | 226 | syscallarg(struct sockaddr *) name; | |
227 | syscallarg(socklen_t *) anamelen; | 227 | syscallarg(socklen_t *) anamelen; | |
228 | }; | 228 | }; | |
229 | check_syscall_args(sys_accept) | 229 | check_syscall_args(sys_accept) | |
230 | 230 | |||
231 | struct sys_getpeername_args { | 231 | struct sys_getpeername_args { | |
232 | syscallarg(int) fdes; | 232 | syscallarg(int) fdes; | |
233 | syscallarg(struct sockaddr *) asa; | 233 | syscallarg(struct sockaddr *) asa; | |
234 | syscallarg(socklen_t *) alen; | 234 | syscallarg(socklen_t *) alen; | |
235 | }; | 235 | }; | |
236 | check_syscall_args(sys_getpeername) | 236 | check_syscall_args(sys_getpeername) | |
237 | 237 | |||
238 | struct sys_getsockname_args { | 238 | struct sys_getsockname_args { | |
239 | syscallarg(int) fdes; | 239 | syscallarg(int) fdes; | |
240 | syscallarg(struct sockaddr *) asa; | 240 | syscallarg(struct sockaddr *) asa; | |
241 | syscallarg(socklen_t *) alen; | 241 | syscallarg(socklen_t *) alen; | |
242 | }; | 242 | }; | |
243 | check_syscall_args(sys_getsockname) | 243 | check_syscall_args(sys_getsockname) | |
244 | 244 | |||
245 | struct sys_access_args { | 245 | struct sys_access_args { | |
246 | syscallarg(const char *) path; | 246 | syscallarg(const char *) path; | |
247 | syscallarg(int) flags; | 247 | syscallarg(int) flags; | |
248 | }; | 248 | }; | |
249 | check_syscall_args(sys_access) | 249 | check_syscall_args(sys_access) | |
250 | 250 | |||
251 | struct sys_chflags_args { | 251 | struct sys_chflags_args { | |
252 | syscallarg(const char *) path; | 252 | syscallarg(const char *) path; | |
253 | syscallarg(u_long) flags; | 253 | syscallarg(u_long) flags; | |
254 | }; | 254 | }; | |
255 | check_syscall_args(sys_chflags) | 255 | check_syscall_args(sys_chflags) | |
256 | 256 | |||
257 | struct sys_fchflags_args { | 257 | struct sys_fchflags_args { | |
258 | syscallarg(int) fd; | 258 | syscallarg(int) fd; | |
259 | syscallarg(u_long) flags; | 259 | syscallarg(u_long) flags; | |
260 | }; | 260 | }; | |
261 | check_syscall_args(sys_fchflags) | 261 | check_syscall_args(sys_fchflags) | |
262 | 262 | |||
263 | #ifndef RUMP_CLIENT | 263 | #ifndef RUMP_CLIENT | |
264 | struct sys_kill_args { | 264 | struct sys_kill_args { | |
265 | syscallarg(pid_t) pid; | 265 | syscallarg(pid_t) pid; | |
266 | syscallarg(int) signum; | 266 | syscallarg(int) signum; | |
267 | }; | 267 | }; | |
268 | check_syscall_args(sys_kill) | 268 | check_syscall_args(sys_kill) | |
269 | #endif /* !RUMP_CLIENT */ | 269 | #endif /* !RUMP_CLIENT */ | |
270 | 270 | |||
271 | #ifndef RUMP_CLIENT | 271 | #ifndef RUMP_CLIENT | |
272 | struct compat_43_sys_stat_args { | 272 | struct compat_43_sys_stat_args { | |
273 | syscallarg(const char *) path; | 273 | syscallarg(const char *) path; | |
274 | syscallarg(struct stat43 *) ub; | 274 | syscallarg(struct stat43 *) ub; | |
275 | }; | 275 | }; | |
276 | check_syscall_args(compat_43_sys_stat) | 276 | check_syscall_args(compat_43_sys_stat) | |
277 | #endif /* !RUMP_CLIENT */ | 277 | #endif /* !RUMP_CLIENT */ | |
278 | 278 | |||
279 | #ifndef RUMP_CLIENT | 279 | #ifndef RUMP_CLIENT | |
280 | struct compat_43_sys_lstat_args { | 280 | struct compat_43_sys_lstat_args { | |
281 | syscallarg(const char *) path; | 281 | syscallarg(const char *) path; | |
282 | syscallarg(struct stat43 *) ub; | 282 | syscallarg(struct stat43 *) ub; | |
283 | }; | 283 | }; | |
284 | check_syscall_args(compat_43_sys_lstat) | 284 | check_syscall_args(compat_43_sys_lstat) | |
285 | #endif /* !RUMP_CLIENT */ | 285 | #endif /* !RUMP_CLIENT */ | |
286 | 286 | |||
287 | struct sys_dup_args { | 287 | struct sys_dup_args { | |
288 | syscallarg(int) fd; | 288 | syscallarg(int) fd; | |
289 | }; | 289 | }; | |
290 | check_syscall_args(sys_dup) | 290 | check_syscall_args(sys_dup) | |
291 | 291 | |||
292 | #ifndef RUMP_CLIENT | 292 | #ifndef RUMP_CLIENT | |
293 | struct sys_profil_args { | 293 | struct sys_profil_args { | |
294 | syscallarg(char *) samples; | 294 | syscallarg(char *) samples; | |
295 | syscallarg(size_t) size; | 295 | syscallarg(size_t) size; | |
296 | syscallarg(u_long) offset; | 296 | syscallarg(u_long) offset; | |
297 | syscallarg(u_int) scale; | 297 | syscallarg(u_int) scale; | |
298 | }; | 298 | }; | |
299 | check_syscall_args(sys_profil) | 299 | check_syscall_args(sys_profil) | |
300 | #endif /* !RUMP_CLIENT */ | 300 | #endif /* !RUMP_CLIENT */ | |
301 | 301 | |||
302 | struct sys_ktrace_args { | 302 | struct sys_ktrace_args { | |
303 | syscallarg(const char *) fname; | 303 | syscallarg(const char *) fname; | |
304 | syscallarg(int) ops; | 304 | syscallarg(int) ops; | |
305 | syscallarg(int) facs; | 305 | syscallarg(int) facs; | |
306 | syscallarg(pid_t) pid; | 306 | syscallarg(pid_t) pid; | |
307 | }; | 307 | }; | |
308 | check_syscall_args(sys_ktrace) | 308 | check_syscall_args(sys_ktrace) | |
309 | 309 | |||
310 | #ifndef RUMP_CLIENT | 310 | #ifndef RUMP_CLIENT | |
311 | struct compat_13_sys_sigaction_args { | 311 | struct compat_13_sys_sigaction_args { | |
312 | syscallarg(int) signum; | 312 | syscallarg(int) signum; | |
313 | syscallarg(const struct sigaction13 *) nsa; | 313 | syscallarg(const struct sigaction13 *) nsa; | |
314 | syscallarg(struct sigaction13 *) osa; | 314 | syscallarg(struct sigaction13 *) osa; | |
315 | }; | 315 | }; | |
316 | check_syscall_args(compat_13_sys_sigaction) | 316 | check_syscall_args(compat_13_sys_sigaction) | |
317 | #endif /* !RUMP_CLIENT */ | 317 | #endif /* !RUMP_CLIENT */ | |
318 | 318 | |||
319 | #ifndef RUMP_CLIENT | 319 | #ifndef RUMP_CLIENT | |
320 | struct compat_13_sys_sigprocmask_args { | 320 | struct compat_13_sys_sigprocmask_args { | |
321 | syscallarg(int) how; | 321 | syscallarg(int) how; | |
322 | syscallarg(int) mask; | 322 | syscallarg(int) mask; | |
323 | }; | 323 | }; | |
324 | check_syscall_args(compat_13_sys_sigprocmask) | 324 | check_syscall_args(compat_13_sys_sigprocmask) | |
325 | #endif /* !RUMP_CLIENT */ | 325 | #endif /* !RUMP_CLIENT */ | |
326 | 326 | |||
327 | struct sys___getlogin_args { | 327 | struct sys___getlogin_args { | |
328 | syscallarg(char *) namebuf; | 328 | syscallarg(char *) namebuf; | |
329 | syscallarg(size_t) namelen; | 329 | syscallarg(size_t) namelen; | |
330 | }; | 330 | }; | |
331 | check_syscall_args(sys___getlogin) | 331 | check_syscall_args(sys___getlogin) | |
332 | 332 | |||
333 | struct sys___setlogin_args { | 333 | struct sys___setlogin_args { | |
334 | syscallarg(const char *) namebuf; | 334 | syscallarg(const char *) namebuf; | |
335 | }; | 335 | }; | |
336 | check_syscall_args(sys___setlogin) | 336 | check_syscall_args(sys___setlogin) | |
337 | 337 | |||
338 | #ifndef RUMP_CLIENT | 338 | #ifndef RUMP_CLIENT | |
339 | struct sys_acct_args { | 339 | struct sys_acct_args { | |
340 | syscallarg(const char *) path; | 340 | syscallarg(const char *) path; | |
341 | }; | 341 | }; | |
342 | check_syscall_args(sys_acct) | 342 | check_syscall_args(sys_acct) | |
343 | #endif /* !RUMP_CLIENT */ | 343 | #endif /* !RUMP_CLIENT */ | |
344 | 344 | |||
345 | #ifndef RUMP_CLIENT | 345 | #ifndef RUMP_CLIENT | |
346 | struct compat_13_sys_sigaltstack_args { | 346 | struct compat_13_sys_sigaltstack_args { | |
347 | syscallarg(const struct sigaltstack13 *) nss; | 347 | syscallarg(const struct sigaltstack13 *) nss; | |
348 | syscallarg(struct sigaltstack13 *) oss; | 348 | syscallarg(struct sigaltstack13 *) oss; | |
349 | }; | 349 | }; | |
350 | check_syscall_args(compat_13_sys_sigaltstack) | 350 | check_syscall_args(compat_13_sys_sigaltstack) | |
351 | #endif /* !RUMP_CLIENT */ | 351 | #endif /* !RUMP_CLIENT */ | |
352 | 352 | |||
353 | struct sys_ioctl_args { | 353 | struct sys_ioctl_args { | |
354 | syscallarg(int) fd; | 354 | syscallarg(int) fd; | |
355 | syscallarg(u_long) com; | 355 | syscallarg(u_long) com; | |
356 | syscallarg(void *) data; | 356 | syscallarg(void *) data; | |
357 | }; | 357 | }; | |
358 | check_syscall_args(sys_ioctl) | 358 | check_syscall_args(sys_ioctl) | |
359 | 359 | |||
360 | #ifndef RUMP_CLIENT | 360 | #ifndef RUMP_CLIENT | |
361 | struct compat_12_sys_reboot_args { | 361 | struct compat_12_sys_reboot_args { | |
362 | syscallarg(int) opt; | 362 | syscallarg(int) opt; | |
363 | }; | 363 | }; | |
364 | check_syscall_args(compat_12_sys_reboot) | 364 | check_syscall_args(compat_12_sys_reboot) | |
365 | #endif /* !RUMP_CLIENT */ | 365 | #endif /* !RUMP_CLIENT */ | |
366 | 366 | |||
367 | struct sys_revoke_args { | 367 | struct sys_revoke_args { | |
368 | syscallarg(const char *) path; | 368 | syscallarg(const char *) path; | |
369 | }; | 369 | }; | |
370 | check_syscall_args(sys_revoke) | 370 | check_syscall_args(sys_revoke) | |
371 | 371 | |||
372 | struct sys_symlink_args { | 372 | struct sys_symlink_args { | |
373 | syscallarg(const char *) path; | 373 | syscallarg(const char *) path; | |
374 | syscallarg(const char *) link; | 374 | syscallarg(const char *) link; | |
375 | }; | 375 | }; | |
376 | check_syscall_args(sys_symlink) | 376 | check_syscall_args(sys_symlink) | |
377 | 377 | |||
378 | struct sys_readlink_args { | 378 | struct sys_readlink_args { | |
379 | syscallarg(const char *) path; | 379 | syscallarg(const char *) path; | |
380 | syscallarg(char *) buf; | 380 | syscallarg(char *) buf; | |
381 | syscallarg(size_t) count; | 381 | syscallarg(size_t) count; | |
382 | }; | 382 | }; | |
383 | check_syscall_args(sys_readlink) | 383 | check_syscall_args(sys_readlink) | |
384 | 384 | |||
385 | #ifndef RUMP_CLIENT | 385 | #ifndef RUMP_CLIENT | |
386 | struct sys_execve_args { | 386 | struct sys_execve_args { | |
387 | syscallarg(const char *) path; | 387 | syscallarg(const char *) path; | |
388 | syscallarg(char *const *) argp; | 388 | syscallarg(char *const *) argp; | |
389 | syscallarg(char *const *) envp; | 389 | syscallarg(char *const *) envp; | |
390 | }; | 390 | }; | |
391 | check_syscall_args(sys_execve) | 391 | check_syscall_args(sys_execve) | |
392 | #endif /* !RUMP_CLIENT */ | 392 | #endif /* !RUMP_CLIENT */ | |
393 | 393 | |||
394 | struct sys_umask_args { | 394 | struct sys_umask_args { | |
395 | syscallarg(mode_t) newmask; | 395 | syscallarg(mode_t) newmask; | |
396 | }; | 396 | }; | |
397 | check_syscall_args(sys_umask) | 397 | check_syscall_args(sys_umask) | |
398 | 398 | |||
399 | struct sys_chroot_args { | 399 | struct sys_chroot_args { | |
400 | syscallarg(const char *) path; | 400 | syscallarg(const char *) path; | |
401 | }; | 401 | }; | |
402 | check_syscall_args(sys_chroot) | 402 | check_syscall_args(sys_chroot) | |
403 | 403 | |||
404 | #ifndef RUMP_CLIENT | 404 | #ifndef RUMP_CLIENT | |
405 | struct compat_43_sys_fstat_args { | 405 | struct compat_43_sys_fstat_args { | |
406 | syscallarg(int) fd; | 406 | syscallarg(int) fd; | |
407 | syscallarg(struct stat43 *) sb; | 407 | syscallarg(struct stat43 *) sb; | |
408 | }; | 408 | }; | |
409 | check_syscall_args(compat_43_sys_fstat) | 409 | check_syscall_args(compat_43_sys_fstat) | |
410 | #endif /* !RUMP_CLIENT */ | 410 | #endif /* !RUMP_CLIENT */ | |
411 | 411 | |||
412 | #ifndef RUMP_CLIENT | 412 | #ifndef RUMP_CLIENT | |
413 | struct compat_43_sys_getkerninfo_args { | 413 | struct compat_43_sys_getkerninfo_args { | |
414 | syscallarg(int) op; | 414 | syscallarg(int) op; | |
415 | syscallarg(char *) where; | 415 | syscallarg(char *) where; | |
416 | syscallarg(int *) size; | 416 | syscallarg(int *) size; | |
417 | syscallarg(int) arg; | 417 | syscallarg(int) arg; | |
418 | }; | 418 | }; | |
419 | check_syscall_args(compat_43_sys_getkerninfo) | 419 | check_syscall_args(compat_43_sys_getkerninfo) | |
420 | #endif /* !RUMP_CLIENT */ | 420 | #endif /* !RUMP_CLIENT */ | |
421 | 421 | |||
422 | #ifndef RUMP_CLIENT | 422 | #ifndef RUMP_CLIENT | |
423 | struct compat_12_sys_msync_args { | 423 | struct compat_12_sys_msync_args { | |
424 | syscallarg(void *) addr; | 424 | syscallarg(void *) addr; | |
425 | syscallarg(size_t) len; | 425 | syscallarg(size_t) len; | |
426 | }; | 426 | }; | |
427 | check_syscall_args(compat_12_sys_msync) | 427 | check_syscall_args(compat_12_sys_msync) | |
428 | #endif /* !RUMP_CLIENT */ | 428 | #endif /* !RUMP_CLIENT */ | |
429 | 429 | |||
430 | #ifndef RUMP_CLIENT | 430 | #ifndef RUMP_CLIENT | |
431 | struct compat_43_sys_mmap_args { | 431 | struct compat_43_sys_mmap_args { | |
432 | syscallarg(void *) addr; | 432 | syscallarg(void *) addr; | |
433 | syscallarg(size_t) len; | 433 | syscallarg(size_t) len; | |
434 | syscallarg(int) prot; | 434 | syscallarg(int) prot; | |
435 | syscallarg(int) flags; | 435 | syscallarg(int) flags; | |
436 | syscallarg(int) fd; | 436 | syscallarg(int) fd; | |
437 | syscallarg(long) pos; | 437 | syscallarg(long) pos; | |
438 | }; | 438 | }; | |
439 | check_syscall_args(compat_43_sys_mmap) | 439 | check_syscall_args(compat_43_sys_mmap) | |
440 | #endif /* !RUMP_CLIENT */ | 440 | #endif /* !RUMP_CLIENT */ | |
441 | 441 | |||
442 | #ifndef RUMP_CLIENT | 442 | #ifndef RUMP_CLIENT | |
443 | struct sys_ovadvise_args { | 443 | struct sys_ovadvise_args { | |
444 | syscallarg(int) anom; | 444 | syscallarg(int) anom; | |
445 | }; | 445 | }; | |
446 | check_syscall_args(sys_ovadvise) | 446 | check_syscall_args(sys_ovadvise) | |
447 | #endif /* !RUMP_CLIENT */ | 447 | #endif /* !RUMP_CLIENT */ | |
448 | 448 | |||
449 | #ifndef RUMP_CLIENT | 449 | #ifndef RUMP_CLIENT | |
450 | struct sys_munmap_args { | 450 | struct sys_munmap_args { | |
451 | syscallarg(void *) addr; | 451 | syscallarg(void *) addr; | |
452 | syscallarg(size_t) len; | 452 | syscallarg(size_t) len; | |
453 | }; | 453 | }; | |
454 | check_syscall_args(sys_munmap) | 454 | check_syscall_args(sys_munmap) | |
455 | #endif /* !RUMP_CLIENT */ | 455 | #endif /* !RUMP_CLIENT */ | |
456 | 456 | |||
457 | #ifndef RUMP_CLIENT | 457 | #ifndef RUMP_CLIENT | |
458 | struct sys_mprotect_args { | 458 | struct sys_mprotect_args { | |
459 | syscallarg(void *) addr; | 459 | syscallarg(void *) addr; | |
460 | syscallarg(size_t) len; | 460 | syscallarg(size_t) len; | |
461 | syscallarg(int) prot; | 461 | syscallarg(int) prot; | |
462 | }; | 462 | }; | |
463 | check_syscall_args(sys_mprotect) | 463 | check_syscall_args(sys_mprotect) | |
464 | #endif /* !RUMP_CLIENT */ | 464 | #endif /* !RUMP_CLIENT */ | |
465 | 465 | |||
466 | #ifndef RUMP_CLIENT | 466 | #ifndef RUMP_CLIENT | |
467 | struct sys_madvise_args { | 467 | struct sys_madvise_args { | |
468 | syscallarg(void *) addr; | 468 | syscallarg(void *) addr; | |
469 | syscallarg(size_t) len; | 469 | syscallarg(size_t) len; | |
470 | syscallarg(int) behav; | 470 | syscallarg(int) behav; | |
471 | }; | 471 | }; | |
472 | check_syscall_args(sys_madvise) | 472 | check_syscall_args(sys_madvise) | |
473 | #endif /* !RUMP_CLIENT */ | 473 | #endif /* !RUMP_CLIENT */ | |
474 | 474 | |||
475 | #ifndef RUMP_CLIENT | 475 | #ifndef RUMP_CLIENT | |
476 | struct sys_mincore_args { | 476 | struct sys_mincore_args { | |
477 | syscallarg(void *) addr; | 477 | syscallarg(void *) addr; | |
478 | syscallarg(size_t) len; | 478 | syscallarg(size_t) len; | |
479 | syscallarg(char *) vec; | 479 | syscallarg(char *) vec; | |
480 | }; | 480 | }; | |
481 | check_syscall_args(sys_mincore) | 481 | check_syscall_args(sys_mincore) | |
482 | #endif /* !RUMP_CLIENT */ | 482 | #endif /* !RUMP_CLIENT */ | |
483 | 483 | |||
484 | struct sys_getgroups_args { | 484 | struct sys_getgroups_args { | |
485 | syscallarg(int) gidsetsize; | 485 | syscallarg(int) gidsetsize; | |
486 | syscallarg(gid_t *) gidset; | 486 | syscallarg(gid_t *) gidset; | |
487 | }; | 487 | }; | |
488 | check_syscall_args(sys_getgroups) | 488 | check_syscall_args(sys_getgroups) | |
489 | 489 | |||
490 | struct sys_setgroups_args { | 490 | struct sys_setgroups_args { | |
491 | syscallarg(int) gidsetsize; | 491 | syscallarg(int) gidsetsize; | |
492 | syscallarg(const gid_t *) gidset; | 492 | syscallarg(const gid_t *) gidset; | |
493 | }; | 493 | }; | |
494 | check_syscall_args(sys_setgroups) | 494 | check_syscall_args(sys_setgroups) | |
495 | 495 | |||
496 | struct sys_setpgid_args { | 496 | struct sys_setpgid_args { | |
497 | syscallarg(pid_t) pid; | 497 | syscallarg(pid_t) pid; | |
498 | syscallarg(pid_t) pgid; | 498 | syscallarg(pid_t) pgid; | |
499 | }; | 499 | }; | |
500 | check_syscall_args(sys_setpgid) | 500 | check_syscall_args(sys_setpgid) | |
501 | 501 | |||
502 | #ifndef RUMP_CLIENT | 502 | #ifndef RUMP_CLIENT | |
503 | struct compat_50_sys_setitimer_args { | 503 | struct compat_50_sys_setitimer_args { | |
504 | syscallarg(int) which; | 504 | syscallarg(int) which; | |
505 | syscallarg(const struct itimerval50 *) itv; | 505 | syscallarg(const struct itimerval50 *) itv; | |
506 | syscallarg(struct itimerval50 *) oitv; | 506 | syscallarg(struct itimerval50 *) oitv; | |
507 | }; | 507 | }; | |
508 | check_syscall_args(compat_50_sys_setitimer) | 508 | check_syscall_args(compat_50_sys_setitimer) | |
509 | #endif /* !RUMP_CLIENT */ | 509 | #endif /* !RUMP_CLIENT */ | |
510 | 510 | |||
511 | #ifndef RUMP_CLIENT | 511 | #ifndef RUMP_CLIENT | |
512 | struct compat_12_sys_swapon_args { | 512 | struct compat_12_sys_swapon_args { | |
513 | syscallarg(const char *) name; | 513 | syscallarg(const char *) name; | |
514 | }; | 514 | }; | |
515 | check_syscall_args(compat_12_sys_swapon) | 515 | check_syscall_args(compat_12_sys_swapon) | |
516 | #endif /* !RUMP_CLIENT */ | 516 | #endif /* !RUMP_CLIENT */ | |
517 | 517 | |||
518 | #ifndef RUMP_CLIENT | 518 | #ifndef RUMP_CLIENT | |
519 | struct compat_50_sys_getitimer_args { | 519 | struct compat_50_sys_getitimer_args { | |
520 | syscallarg(int) which; | 520 | syscallarg(int) which; | |
521 | syscallarg(struct itimerval50 *) itv; | 521 | syscallarg(struct itimerval50 *) itv; | |
522 | }; | 522 | }; | |
523 | check_syscall_args(compat_50_sys_getitimer) | 523 | check_syscall_args(compat_50_sys_getitimer) | |
524 | #endif /* !RUMP_CLIENT */ | 524 | #endif /* !RUMP_CLIENT */ | |
525 | 525 | |||
526 | #ifndef RUMP_CLIENT | 526 | #ifndef RUMP_CLIENT | |
527 | struct compat_43_sys_gethostname_args { | 527 | struct compat_43_sys_gethostname_args { | |
528 | syscallarg(char *) hostname; | 528 | syscallarg(char *) hostname; | |
529 | syscallarg(u_int) len; | 529 | syscallarg(u_int) len; | |
530 | }; | 530 | }; | |
531 | check_syscall_args(compat_43_sys_gethostname) | 531 | check_syscall_args(compat_43_sys_gethostname) | |
532 | #endif /* !RUMP_CLIENT */ | 532 | #endif /* !RUMP_CLIENT */ | |
533 | 533 | |||
534 | #ifndef RUMP_CLIENT | 534 | #ifndef RUMP_CLIENT | |
535 | struct compat_43_sys_sethostname_args { | 535 | struct compat_43_sys_sethostname_args { | |
536 | syscallarg(char *) hostname; | 536 | syscallarg(char *) hostname; | |
537 | syscallarg(u_int) len; | 537 | syscallarg(u_int) len; | |
538 | }; | 538 | }; | |
539 | check_syscall_args(compat_43_sys_sethostname) | 539 | check_syscall_args(compat_43_sys_sethostname) | |
540 | #endif /* !RUMP_CLIENT */ | 540 | #endif /* !RUMP_CLIENT */ | |
541 | 541 | |||
542 | struct sys_dup2_args { | 542 | struct sys_dup2_args { | |
543 | syscallarg(int) from; | 543 | syscallarg(int) from; | |
544 | syscallarg(int) to; | 544 | syscallarg(int) to; | |
545 | }; | 545 | }; | |
546 | check_syscall_args(sys_dup2) | 546 | check_syscall_args(sys_dup2) | |
547 | 547 | |||
548 | struct sys_fcntl_args { | 548 | struct sys_fcntl_args { | |
549 | syscallarg(int) fd; | 549 | syscallarg(int) fd; | |
550 | syscallarg(int) cmd; | 550 | syscallarg(int) cmd; | |
551 | syscallarg(void *) arg; | 551 | syscallarg(void *) arg; | |
552 | }; | 552 | }; | |
553 | check_syscall_args(sys_fcntl) | 553 | check_syscall_args(sys_fcntl) | |
554 | 554 | |||
555 | struct compat_50_sys_select_args { | 555 | struct compat_50_sys_select_args { | |
556 | syscallarg(int) nd; | 556 | syscallarg(int) nd; | |
557 | syscallarg(fd_set *) in; | 557 | syscallarg(fd_set *) in; | |
558 | syscallarg(fd_set *) ou; | 558 | syscallarg(fd_set *) ou; | |
559 | syscallarg(fd_set *) ex; | 559 | syscallarg(fd_set *) ex; | |
560 | syscallarg(struct timeval50 *) tv; | 560 | syscallarg(struct timeval50 *) tv; | |
561 | }; | 561 | }; | |
562 | check_syscall_args(compat_50_sys_select) | 562 | check_syscall_args(compat_50_sys_select) | |
563 | 563 | |||
564 | struct sys_fsync_args { | 564 | struct sys_fsync_args { | |
565 | syscallarg(int) fd; | 565 | syscallarg(int) fd; | |
566 | }; | 566 | }; | |
567 | check_syscall_args(sys_fsync) | 567 | check_syscall_args(sys_fsync) | |
568 | 568 | |||
569 | #ifndef RUMP_CLIENT | 569 | #ifndef RUMP_CLIENT | |
570 | struct sys_setpriority_args { | 570 | struct sys_setpriority_args { | |
571 | syscallarg(int) which; | 571 | syscallarg(int) which; | |
572 | syscallarg(id_t) who; | 572 | syscallarg(id_t) who; | |
573 | syscallarg(int) prio; | 573 | syscallarg(int) prio; | |
574 | }; | 574 | }; | |
575 | check_syscall_args(sys_setpriority) | 575 | check_syscall_args(sys_setpriority) | |
576 | #endif /* !RUMP_CLIENT */ | 576 | #endif /* !RUMP_CLIENT */ | |
577 | 577 | |||
578 | #ifndef RUMP_CLIENT | 578 | #ifndef RUMP_CLIENT | |
579 | struct compat_30_sys_socket_args { | 579 | struct compat_30_sys_socket_args { | |
580 | syscallarg(int) domain; | 580 | syscallarg(int) domain; | |
581 | syscallarg(int) type; | 581 | syscallarg(int) type; | |
582 | syscallarg(int) protocol; | 582 | syscallarg(int) protocol; | |
583 | }; | 583 | }; | |
584 | check_syscall_args(compat_30_sys_socket) | 584 | check_syscall_args(compat_30_sys_socket) | |
585 | #endif /* !RUMP_CLIENT */ | 585 | #endif /* !RUMP_CLIENT */ | |
586 | 586 | |||
587 | struct sys_connect_args { | 587 | struct sys_connect_args { | |
588 | syscallarg(int) s; | 588 | syscallarg(int) s; | |
589 | syscallarg(const struct sockaddr *) name; | 589 | syscallarg(const struct sockaddr *) name; | |
590 | syscallarg(socklen_t) namelen; | 590 | syscallarg(socklen_t) namelen; | |
591 | }; | 591 | }; | |
592 | check_syscall_args(sys_connect) | 592 | check_syscall_args(sys_connect) | |
593 | 593 | |||
594 | #ifndef RUMP_CLIENT | 594 | #ifndef RUMP_CLIENT | |
595 | struct compat_43_sys_accept_args { | 595 | struct compat_43_sys_accept_args { | |
596 | syscallarg(int) s; | 596 | syscallarg(int) s; | |
597 | syscallarg(void *) name; | 597 | syscallarg(void *) name; | |
598 | syscallarg(socklen_t *) anamelen; | 598 | syscallarg(socklen_t *) anamelen; | |
599 | }; | 599 | }; | |
600 | check_syscall_args(compat_43_sys_accept) | 600 | check_syscall_args(compat_43_sys_accept) | |
601 | #endif /* !RUMP_CLIENT */ | 601 | #endif /* !RUMP_CLIENT */ | |
602 | 602 | |||
603 | #ifndef RUMP_CLIENT | 603 | #ifndef RUMP_CLIENT | |
604 | struct sys_getpriority_args { | 604 | struct sys_getpriority_args { | |
605 | syscallarg(int) which; | 605 | syscallarg(int) which; | |
606 | syscallarg(id_t) who; | 606 | syscallarg(id_t) who; | |
607 | }; | 607 | }; | |
608 | check_syscall_args(sys_getpriority) | 608 | check_syscall_args(sys_getpriority) | |
609 | #endif /* !RUMP_CLIENT */ | 609 | #endif /* !RUMP_CLIENT */ | |
610 | 610 | |||
611 | #ifndef RUMP_CLIENT | 611 | #ifndef RUMP_CLIENT | |
612 | struct compat_43_sys_send_args { | 612 | struct compat_43_sys_send_args { | |
613 | syscallarg(int) s; | 613 | syscallarg(int) s; | |
614 | syscallarg(void *) buf; | 614 | syscallarg(void *) buf; | |
615 | syscallarg(int) len; | 615 | syscallarg(int) len; | |
616 | syscallarg(int) flags; | 616 | syscallarg(int) flags; | |
617 | }; | 617 | }; | |
618 | check_syscall_args(compat_43_sys_send) | 618 | check_syscall_args(compat_43_sys_send) | |
619 | #endif /* !RUMP_CLIENT */ | 619 | #endif /* !RUMP_CLIENT */ | |
620 | 620 | |||
621 | #ifndef RUMP_CLIENT | 621 | #ifndef RUMP_CLIENT | |
622 | struct compat_43_sys_recv_args { | 622 | struct compat_43_sys_recv_args { | |
623 | syscallarg(int) s; | 623 | syscallarg(int) s; | |
624 | syscallarg(void *) buf; | 624 | syscallarg(void *) buf; | |
625 | syscallarg(int) len; | 625 | syscallarg(int) len; | |
626 | syscallarg(int) flags; | 626 | syscallarg(int) flags; | |
627 | }; | 627 | }; | |
628 | check_syscall_args(compat_43_sys_recv) | 628 | check_syscall_args(compat_43_sys_recv) | |
629 | #endif /* !RUMP_CLIENT */ | 629 | #endif /* !RUMP_CLIENT */ | |
630 | 630 | |||
631 | #ifndef RUMP_CLIENT | 631 | #ifndef RUMP_CLIENT | |
632 | struct compat_13_sys_sigreturn_args { | 632 | struct compat_13_sys_sigreturn_args { | |
633 | syscallarg(struct sigcontext13 *) sigcntxp; | 633 | syscallarg(struct sigcontext13 *) sigcntxp; | |
634 | }; | 634 | }; | |
635 | check_syscall_args(compat_13_sys_sigreturn) | 635 | check_syscall_args(compat_13_sys_sigreturn) | |
636 | #endif /* !RUMP_CLIENT */ | 636 | #endif /* !RUMP_CLIENT */ | |
637 | 637 | |||
638 | struct sys_bind_args { | 638 | struct sys_bind_args { | |
639 | syscallarg(int) s; | 639 | syscallarg(int) s; | |
640 | syscallarg(const struct sockaddr *) name; | 640 | syscallarg(const struct sockaddr *) name; | |
641 | syscallarg(socklen_t) namelen; | 641 | syscallarg(socklen_t) namelen; | |
642 | }; | 642 | }; | |
643 | check_syscall_args(sys_bind) | 643 | check_syscall_args(sys_bind) | |
644 | 644 | |||
645 | struct sys_setsockopt_args { | 645 | struct sys_setsockopt_args { | |
646 | syscallarg(int) s; | 646 | syscallarg(int) s; | |
647 | syscallarg(int) level; | 647 | syscallarg(int) level; | |
648 | syscallarg(int) name; | 648 | syscallarg(int) name; | |
649 | syscallarg(const void *) val; | 649 | syscallarg(const void *) val; | |
650 | syscallarg(socklen_t) valsize; | 650 | syscallarg(socklen_t) valsize; | |
651 | }; | 651 | }; | |
652 | check_syscall_args(sys_setsockopt) | 652 | check_syscall_args(sys_setsockopt) | |
653 | 653 | |||
654 | struct sys_listen_args { | 654 | struct sys_listen_args { | |
655 | syscallarg(int) s; | 655 | syscallarg(int) s; | |
656 | syscallarg(int) backlog; | 656 | syscallarg(int) backlog; | |
657 | }; | 657 | }; | |
658 | check_syscall_args(sys_listen) | 658 | check_syscall_args(sys_listen) | |
659 | 659 | |||
660 | #ifndef RUMP_CLIENT | 660 | #ifndef RUMP_CLIENT | |
661 | struct compat_43_sys_sigvec_args { | 661 | struct compat_43_sys_sigvec_args { | |
662 | syscallarg(int) signum; | 662 | syscallarg(int) signum; | |
663 | syscallarg(struct sigvec *) nsv; | 663 | syscallarg(struct sigvec *) nsv; | |
664 | syscallarg(struct sigvec *) osv; | 664 | syscallarg(struct sigvec *) osv; | |
665 | }; | 665 | }; | |
666 | check_syscall_args(compat_43_sys_sigvec) | 666 | check_syscall_args(compat_43_sys_sigvec) | |
667 | #endif /* !RUMP_CLIENT */ | 667 | #endif /* !RUMP_CLIENT */ | |
668 | 668 | |||
669 | #ifndef RUMP_CLIENT | 669 | #ifndef RUMP_CLIENT | |
670 | struct compat_43_sys_sigblock_args { | 670 | struct compat_43_sys_sigblock_args { | |
671 | syscallarg(int) mask; | 671 | syscallarg(int) mask; | |
672 | }; | 672 | }; | |
673 | check_syscall_args(compat_43_sys_sigblock) | 673 | check_syscall_args(compat_43_sys_sigblock) | |
674 | #endif /* !RUMP_CLIENT */ | 674 | #endif /* !RUMP_CLIENT */ | |
675 | 675 | |||
676 | #ifndef RUMP_CLIENT | 676 | #ifndef RUMP_CLIENT | |
677 | struct compat_43_sys_sigsetmask_args { | 677 | struct compat_43_sys_sigsetmask_args { | |
678 | syscallarg(int) mask; | 678 | syscallarg(int) mask; | |
679 | }; | 679 | }; | |
680 | check_syscall_args(compat_43_sys_sigsetmask) | 680 | check_syscall_args(compat_43_sys_sigsetmask) | |
681 | #endif /* !RUMP_CLIENT */ | 681 | #endif /* !RUMP_CLIENT */ | |
682 | 682 | |||
683 | #ifndef RUMP_CLIENT | 683 | #ifndef RUMP_CLIENT | |
684 | struct compat_13_sys_sigsuspend_args { | 684 | struct compat_13_sys_sigsuspend_args { | |
685 | syscallarg(int) mask; | 685 | syscallarg(int) mask; | |
686 | }; | 686 | }; | |
687 | check_syscall_args(compat_13_sys_sigsuspend) | 687 | check_syscall_args(compat_13_sys_sigsuspend) | |
688 | #endif /* !RUMP_CLIENT */ | 688 | #endif /* !RUMP_CLIENT */ | |
689 | 689 | |||
690 | #ifndef RUMP_CLIENT | 690 | #ifndef RUMP_CLIENT | |
691 | struct compat_43_sys_sigstack_args { | 691 | struct compat_43_sys_sigstack_args { | |
692 | syscallarg(struct sigstack *) nss; | 692 | syscallarg(struct sigstack *) nss; | |
693 | syscallarg(struct sigstack *) oss; | 693 | syscallarg(struct sigstack *) oss; | |
694 | }; | 694 | }; | |
695 | check_syscall_args(compat_43_sys_sigstack) | 695 | check_syscall_args(compat_43_sys_sigstack) | |
696 | #endif /* !RUMP_CLIENT */ | 696 | #endif /* !RUMP_CLIENT */ | |
697 | 697 | |||
698 | #ifndef RUMP_CLIENT | 698 | #ifndef RUMP_CLIENT | |
699 | struct compat_43_sys_recvmsg_args { | 699 | struct compat_43_sys_recvmsg_args { | |
700 | syscallarg(int) s; | 700 | syscallarg(int) s; | |
701 | syscallarg(struct omsghdr *) msg; | 701 | syscallarg(struct omsghdr *) msg; | |
702 | syscallarg(int) flags; | 702 | syscallarg(int) flags; | |
703 | }; | 703 | }; | |
704 | check_syscall_args(compat_43_sys_recvmsg) | 704 | check_syscall_args(compat_43_sys_recvmsg) | |
705 | #endif /* !RUMP_CLIENT */ | 705 | #endif /* !RUMP_CLIENT */ | |
706 | 706 | |||
707 | #ifndef RUMP_CLIENT | 707 | #ifndef RUMP_CLIENT | |
708 | struct compat_43_sys_sendmsg_args { | 708 | struct compat_43_sys_sendmsg_args { | |
709 | syscallarg(int) s; | 709 | syscallarg(int) s; | |
710 | syscallarg(void *) msg; | 710 | syscallarg(void *) msg; | |
711 | syscallarg(int) flags; | 711 | syscallarg(int) flags; | |
712 | }; | 712 | }; | |
713 | check_syscall_args(compat_43_sys_sendmsg) | 713 | check_syscall_args(compat_43_sys_sendmsg) | |
714 | #endif /* !RUMP_CLIENT */ | 714 | #endif /* !RUMP_CLIENT */ | |
715 | 715 | |||
716 | #ifndef RUMP_CLIENT | 716 | #ifndef RUMP_CLIENT | |
717 | struct compat_50_sys_gettimeofday_args { | 717 | struct compat_50_sys_gettimeofday_args { | |
718 | syscallarg(struct timeval50 *) tp; | 718 | syscallarg(struct timeval50 *) tp; | |
719 | syscallarg(void *) tzp; | 719 | syscallarg(void *) tzp; | |
720 | }; | 720 | }; | |
721 | check_syscall_args(compat_50_sys_gettimeofday) | 721 | check_syscall_args(compat_50_sys_gettimeofday) | |
722 | #endif /* !RUMP_CLIENT */ | 722 | #endif /* !RUMP_CLIENT */ | |
723 | 723 | |||
724 | #ifndef RUMP_CLIENT | 724 | #ifndef RUMP_CLIENT | |
725 | struct compat_50_sys_getrusage_args { | 725 | struct compat_50_sys_getrusage_args { | |
726 | syscallarg(int) who; | 726 | syscallarg(int) who; | |
727 | syscallarg(struct rusage50 *) rusage; | 727 | syscallarg(struct rusage50 *) rusage; | |
728 | }; | 728 | }; | |
729 | check_syscall_args(compat_50_sys_getrusage) | 729 | check_syscall_args(compat_50_sys_getrusage) | |
730 | #endif /* !RUMP_CLIENT */ | 730 | #endif /* !RUMP_CLIENT */ | |
731 | 731 | |||
732 | struct sys_getsockopt_args { | 732 | struct sys_getsockopt_args { | |
733 | syscallarg(int) s; | 733 | syscallarg(int) s; | |
734 | syscallarg(int) level; | 734 | syscallarg(int) level; | |
735 | syscallarg(int) name; | 735 | syscallarg(int) name; | |
736 | syscallarg(void *) val; | 736 | syscallarg(void *) val; | |
737 | syscallarg(socklen_t *) avalsize; | 737 | syscallarg(socklen_t *) avalsize; | |
738 | }; | 738 | }; | |
739 | check_syscall_args(sys_getsockopt) | 739 | check_syscall_args(sys_getsockopt) | |
740 | 740 | |||
741 | struct sys_readv_args { | 741 | struct sys_readv_args { | |
742 | syscallarg(int) fd; | 742 | syscallarg(int) fd; | |
743 | syscallarg(const struct iovec *) iovp; | 743 | syscallarg(const struct iovec *) iovp; | |
744 | syscallarg(int) iovcnt; | 744 | syscallarg(int) iovcnt; | |
745 | }; | 745 | }; | |
746 | check_syscall_args(sys_readv) | 746 | check_syscall_args(sys_readv) | |
747 | 747 | |||
748 | struct sys_writev_args { | 748 | struct sys_writev_args { | |
749 | syscallarg(int) fd; | 749 | syscallarg(int) fd; | |
750 | syscallarg(const struct iovec *) iovp; | 750 | syscallarg(const struct iovec *) iovp; | |
751 | syscallarg(int) iovcnt; | 751 | syscallarg(int) iovcnt; | |
752 | }; | 752 | }; | |
753 | check_syscall_args(sys_writev) | 753 | check_syscall_args(sys_writev) | |
754 | 754 | |||
755 | #ifndef RUMP_CLIENT | 755 | #ifndef RUMP_CLIENT | |
756 | struct compat_50_sys_settimeofday_args { | 756 | struct compat_50_sys_settimeofday_args { | |
757 | syscallarg(const struct timeval50 *) tv; | 757 | syscallarg(const struct timeval50 *) tv; | |
758 | syscallarg(const void *) tzp; | 758 | syscallarg(const void *) tzp; | |
759 | }; | 759 | }; | |
760 | check_syscall_args(compat_50_sys_settimeofday) | 760 | check_syscall_args(compat_50_sys_settimeofday) | |
761 | #endif /* !RUMP_CLIENT */ | 761 | #endif /* !RUMP_CLIENT */ | |
762 | 762 | |||
763 | struct sys_fchown_args { | 763 | struct sys_fchown_args { | |
764 | syscallarg(int) fd; | 764 | syscallarg(int) fd; | |
765 | syscallarg(uid_t) uid; | 765 | syscallarg(uid_t) uid; | |
766 | syscallarg(gid_t) gid; | 766 | syscallarg(gid_t) gid; | |
767 | }; | 767 | }; | |
768 | check_syscall_args(sys_fchown) | 768 | check_syscall_args(sys_fchown) | |
769 | 769 | |||
770 | struct sys_fchmod_args { | 770 | struct sys_fchmod_args { | |
771 | syscallarg(int) fd; | 771 | syscallarg(int) fd; | |
772 | syscallarg(mode_t) mode; | 772 | syscallarg(mode_t) mode; | |
773 | }; | 773 | }; | |
774 | check_syscall_args(sys_fchmod) | 774 | check_syscall_args(sys_fchmod) | |
775 | 775 | |||
776 | #ifndef RUMP_CLIENT | 776 | #ifndef RUMP_CLIENT | |
777 | struct compat_43_sys_recvfrom_args { | 777 | struct compat_43_sys_recvfrom_args { | |
778 | syscallarg(int) s; | 778 | syscallarg(int) s; | |
779 | syscallarg(void *) buf; | 779 | syscallarg(void *) buf; | |
780 | syscallarg(size_t) len; | 780 | syscallarg(size_t) len; | |
781 | syscallarg(int) flags; | 781 | syscallarg(int) flags; | |
782 | syscallarg(void *) from; | 782 | syscallarg(void *) from; | |
783 | syscallarg(socklen_t *) fromlenaddr; | 783 | syscallarg(socklen_t *) fromlenaddr; | |
784 | }; | 784 | }; | |
785 | check_syscall_args(compat_43_sys_recvfrom) | 785 | check_syscall_args(compat_43_sys_recvfrom) | |
786 | #endif /* !RUMP_CLIENT */ | 786 | #endif /* !RUMP_CLIENT */ | |
787 | 787 | |||
788 | struct sys_setreuid_args { | 788 | struct sys_setreuid_args { | |
789 | syscallarg(uid_t) ruid; | 789 | syscallarg(uid_t) ruid; | |
790 | syscallarg(uid_t) euid; | 790 | syscallarg(uid_t) euid; | |
791 | }; | 791 | }; | |
792 | check_syscall_args(sys_setreuid) | 792 | check_syscall_args(sys_setreuid) | |
793 | 793 | |||
794 | struct sys_setregid_args { | 794 | struct sys_setregid_args { | |
795 | syscallarg(gid_t) rgid; | 795 | syscallarg(gid_t) rgid; | |
796 | syscallarg(gid_t) egid; | 796 | syscallarg(gid_t) egid; | |
797 | }; | 797 | }; | |
798 | check_syscall_args(sys_setregid) | 798 | check_syscall_args(sys_setregid) | |
799 | 799 | |||
800 | struct sys_rename_args { | 800 | struct sys_rename_args { | |
801 | syscallarg(const char *) from; | 801 | syscallarg(const char *) from; | |
802 | syscallarg(const char *) to; | 802 | syscallarg(const char *) to; | |
803 | }; | 803 | }; | |
804 | check_syscall_args(sys_rename) | 804 | check_syscall_args(sys_rename) | |
805 | 805 | |||
806 | #ifndef RUMP_CLIENT | 806 | #ifndef RUMP_CLIENT | |
807 | struct compat_43_sys_truncate_args { | 807 | struct compat_43_sys_truncate_args { | |
808 | syscallarg(const char *) path; | 808 | syscallarg(const char *) path; | |
809 | syscallarg(long) length; | 809 | syscallarg(long) length; | |
810 | }; | 810 | }; | |
811 | check_syscall_args(compat_43_sys_truncate) | 811 | check_syscall_args(compat_43_sys_truncate) | |
812 | #endif /* !RUMP_CLIENT */ | 812 | #endif /* !RUMP_CLIENT */ | |
813 | 813 | |||
814 | #ifndef RUMP_CLIENT | 814 | #ifndef RUMP_CLIENT | |
815 | struct compat_43_sys_ftruncate_args { | 815 | struct compat_43_sys_ftruncate_args { | |
816 | syscallarg(int) fd; | 816 | syscallarg(int) fd; | |
817 | syscallarg(long) length; | 817 | syscallarg(long) length; | |
818 | }; | 818 | }; | |
819 | check_syscall_args(compat_43_sys_ftruncate) | 819 | check_syscall_args(compat_43_sys_ftruncate) | |
820 | #endif /* !RUMP_CLIENT */ | 820 | #endif /* !RUMP_CLIENT */ | |
821 | 821 | |||
822 | struct sys_flock_args { | 822 | struct sys_flock_args { | |
823 | syscallarg(int) fd; | 823 | syscallarg(int) fd; | |
824 | syscallarg(int) how; | 824 | syscallarg(int) how; | |
825 | }; | 825 | }; | |
826 | check_syscall_args(sys_flock) | 826 | check_syscall_args(sys_flock) | |
827 | 827 | |||
828 | struct sys_mkfifo_args { | 828 | struct sys_mkfifo_args { | |
829 | syscallarg(const char *) path; | 829 | syscallarg(const char *) path; | |
830 | syscallarg(mode_t) mode; | 830 | syscallarg(mode_t) mode; | |
831 | }; | 831 | }; | |
832 | check_syscall_args(sys_mkfifo) | 832 | check_syscall_args(sys_mkfifo) | |
833 | 833 | |||
834 | struct sys_sendto_args { | 834 | struct sys_sendto_args { | |
835 | syscallarg(int) s; | 835 | syscallarg(int) s; | |
836 | syscallarg(const void *) buf; | 836 | syscallarg(const void *) buf; | |
837 | syscallarg(size_t) len; | 837 | syscallarg(size_t) len; | |
838 | syscallarg(int) flags; | 838 | syscallarg(int) flags; | |
839 | syscallarg(const struct sockaddr *) to; | 839 | syscallarg(const struct sockaddr *) to; | |
840 | syscallarg(socklen_t) tolen; | 840 | syscallarg(socklen_t) tolen; | |
841 | }; | 841 | }; | |
842 | check_syscall_args(sys_sendto) | 842 | check_syscall_args(sys_sendto) | |
843 | 843 | |||
844 | struct sys_shutdown_args { | 844 | struct sys_shutdown_args { | |
845 | syscallarg(int) s; | 845 | syscallarg(int) s; | |
846 | syscallarg(int) how; | 846 | syscallarg(int) how; | |
847 | }; | 847 | }; | |
848 | check_syscall_args(sys_shutdown) | 848 | check_syscall_args(sys_shutdown) | |
849 | 849 | |||
850 | struct sys_socketpair_args { | 850 | struct sys_socketpair_args { | |
851 | syscallarg(int) domain; | 851 | syscallarg(int) domain; | |
852 | syscallarg(int) type; | 852 | syscallarg(int) type; | |
853 | syscallarg(int) protocol; | 853 | syscallarg(int) protocol; | |
854 | syscallarg(int *) rsv; | 854 | syscallarg(int *) rsv; | |
855 | }; | 855 | }; | |
856 | check_syscall_args(sys_socketpair) | 856 | check_syscall_args(sys_socketpair) | |
857 | 857 | |||
858 | struct sys_mkdir_args { | 858 | struct sys_mkdir_args { | |
859 | syscallarg(const char *) path; | 859 | syscallarg(const char *) path; | |
860 | syscallarg(mode_t) mode; | 860 | syscallarg(mode_t) mode; | |
861 | }; | 861 | }; | |
862 | check_syscall_args(sys_mkdir) | 862 | check_syscall_args(sys_mkdir) | |
863 | 863 | |||
864 | struct sys_rmdir_args { | 864 | struct sys_rmdir_args { | |
865 | syscallarg(const char *) path; | 865 | syscallarg(const char *) path; | |
866 | }; | 866 | }; | |
867 | check_syscall_args(sys_rmdir) | 867 | check_syscall_args(sys_rmdir) | |
868 | 868 | |||
869 | struct compat_50_sys_utimes_args { | 869 | struct compat_50_sys_utimes_args { | |
870 | syscallarg(const char *) path; | 870 | syscallarg(const char *) path; | |
871 | syscallarg(const struct timeval50 *) tptr; | 871 | syscallarg(const struct timeval50 *) tptr; | |
872 | }; | 872 | }; | |
873 | check_syscall_args(compat_50_sys_utimes) | 873 | check_syscall_args(compat_50_sys_utimes) | |
874 | 874 | |||
875 | #ifndef RUMP_CLIENT | 875 | #ifndef RUMP_CLIENT | |
876 | struct compat_50_sys_adjtime_args { | 876 | struct compat_50_sys_adjtime_args { | |
877 | syscallarg(const struct timeval50 *) delta; | 877 | syscallarg(const struct timeval50 *) delta; | |
878 | syscallarg(struct timeval50 *) olddelta; | 878 | syscallarg(struct timeval50 *) olddelta; | |
879 | }; | 879 | }; | |
880 | check_syscall_args(compat_50_sys_adjtime) | 880 | check_syscall_args(compat_50_sys_adjtime) | |
881 | #endif /* !RUMP_CLIENT */ | 881 | #endif /* !RUMP_CLIENT */ | |
882 | 882 | |||
883 | #ifndef RUMP_CLIENT | 883 | #ifndef RUMP_CLIENT | |
884 | struct compat_43_sys_getpeername_args { | 884 | struct compat_43_sys_getpeername_args { | |
885 | syscallarg(int) fdes; | 885 | syscallarg(int) fdes; | |
886 | syscallarg(void *) asa; | 886 | syscallarg(void *) asa; | |
887 | syscallarg(socklen_t *) alen; | 887 | syscallarg(socklen_t *) alen; | |
888 | }; | 888 | }; | |
889 | check_syscall_args(compat_43_sys_getpeername) | 889 | check_syscall_args(compat_43_sys_getpeername) | |
890 | #endif /* !RUMP_CLIENT */ | 890 | #endif /* !RUMP_CLIENT */ | |
891 | 891 | |||
892 | #ifndef RUMP_CLIENT | 892 | #ifndef RUMP_CLIENT | |
893 | struct compat_43_sys_sethostid_args { | 893 | struct compat_43_sys_sethostid_args { | |
894 | syscallarg(int32_t) hostid; | 894 | syscallarg(int32_t) hostid; | |
895 | }; | 895 | }; | |
896 | check_syscall_args(compat_43_sys_sethostid) | 896 | check_syscall_args(compat_43_sys_sethostid) | |
897 | #endif /* !RUMP_CLIENT */ | 897 | #endif /* !RUMP_CLIENT */ | |
898 | 898 | |||
899 | #ifndef RUMP_CLIENT | 899 | #ifndef RUMP_CLIENT | |
900 | struct compat_43_sys_getrlimit_args { | 900 | struct compat_43_sys_getrlimit_args { | |
901 | syscallarg(int) which; | 901 | syscallarg(int) which; | |
902 | syscallarg(struct orlimit *) rlp; | 902 | syscallarg(struct orlimit *) rlp; | |
903 | }; | 903 | }; | |
904 | check_syscall_args(compat_43_sys_getrlimit) | 904 | check_syscall_args(compat_43_sys_getrlimit) | |
905 | #endif /* !RUMP_CLIENT */ | 905 | #endif /* !RUMP_CLIENT */ | |
906 | 906 | |||
907 | #ifndef RUMP_CLIENT | 907 | #ifndef RUMP_CLIENT | |
908 | struct compat_43_sys_setrlimit_args { | 908 | struct compat_43_sys_setrlimit_args { | |
909 | syscallarg(int) which; | 909 | syscallarg(int) which; | |
910 | syscallarg(const struct orlimit *) rlp; | 910 | syscallarg(const struct orlimit *) rlp; | |
911 | }; | 911 | }; | |
912 | check_syscall_args(compat_43_sys_setrlimit) | 912 | check_syscall_args(compat_43_sys_setrlimit) | |
913 | #endif /* !RUMP_CLIENT */ | 913 | #endif /* !RUMP_CLIENT */ | |
914 | 914 | |||
915 | #ifndef RUMP_CLIENT | 915 | #ifndef RUMP_CLIENT | |
916 | struct compat_43_sys_killpg_args { | 916 | struct compat_43_sys_killpg_args { | |
917 | syscallarg(int) pgid; | 917 | syscallarg(int) pgid; | |
918 | syscallarg(int) signum; | 918 | syscallarg(int) signum; | |
919 | }; | 919 | }; | |
920 | check_syscall_args(compat_43_sys_killpg) | 920 | check_syscall_args(compat_43_sys_killpg) | |
921 | #endif /* !RUMP_CLIENT */ | 921 | #endif /* !RUMP_CLIENT */ | |
922 | 922 | |||
923 | #ifndef RUMP_CLIENT | 923 | #ifndef RUMP_CLIENT | |
924 | struct compat_50_sys_quotactl_args { | 924 | struct compat_50_sys_quotactl_args { | |
925 | syscallarg(const char *) path; | 925 | syscallarg(const char *) path; | |
926 | syscallarg(int) cmd; | 926 | syscallarg(int) cmd; | |
927 | syscallarg(int) uid; | 927 | syscallarg(int) uid; | |
928 | syscallarg(void *) arg; | 928 | syscallarg(void *) arg; | |
929 | }; | 929 | }; | |
930 | check_syscall_args(compat_50_sys_quotactl) | 930 | check_syscall_args(compat_50_sys_quotactl) | |
931 | #endif /* !RUMP_CLIENT */ | 931 | #endif /* !RUMP_CLIENT */ | |
932 | 932 | |||
933 | #ifndef RUMP_CLIENT | 933 | #ifndef RUMP_CLIENT | |
934 | struct compat_43_sys_getsockname_args { | 934 | struct compat_43_sys_getsockname_args { | |
935 | syscallarg(int) fdec; | 935 | syscallarg(int) fdec; | |
936 | syscallarg(void *) asa; | 936 | syscallarg(void *) asa; | |
937 | syscallarg(socklen_t *) alen; | 937 | syscallarg(socklen_t *) alen; | |
938 | }; | 938 | }; | |
939 | check_syscall_args(compat_43_sys_getsockname) | 939 | check_syscall_args(compat_43_sys_getsockname) | |
940 | #endif /* !RUMP_CLIENT */ | 940 | #endif /* !RUMP_CLIENT */ | |
941 | 941 | |||
942 | struct sys_nfssvc_args { | 942 | struct sys_nfssvc_args { | |
943 | syscallarg(int) flag; | 943 | syscallarg(int) flag; | |
944 | syscallarg(void *) argp; | 944 | syscallarg(void *) argp; | |
945 | }; | 945 | }; | |
946 | check_syscall_args(sys_nfssvc) | 946 | check_syscall_args(sys_nfssvc) | |
947 | 947 | |||
948 | #ifndef RUMP_CLIENT | 948 | #ifndef RUMP_CLIENT | |
949 | struct compat_43_sys_getdirentries_args { | 949 | struct compat_43_sys_getdirentries_args { | |
950 | syscallarg(int) fd; | 950 | syscallarg(int) fd; | |
951 | syscallarg(char *) buf; | 951 | syscallarg(char *) buf; | |
952 | syscallarg(u_int) count; | 952 | syscallarg(u_int) count; | |
953 | syscallarg(long *) basep; | 953 | syscallarg(long *) basep; | |
954 | }; | 954 | }; | |
955 | check_syscall_args(compat_43_sys_getdirentries) | 955 | check_syscall_args(compat_43_sys_getdirentries) | |
956 | #endif /* !RUMP_CLIENT */ | 956 | #endif /* !RUMP_CLIENT */ | |
957 | 957 | |||
958 | #ifndef RUMP_CLIENT | 958 | #ifndef RUMP_CLIENT | |
959 | struct compat_20_sys_statfs_args { | 959 | struct compat_20_sys_statfs_args { | |
960 | syscallarg(const char *) path; | 960 | syscallarg(const char *) path; | |
961 | syscallarg(struct statfs12 *) buf; | 961 | syscallarg(struct statfs12 *) buf; | |
962 | }; | 962 | }; | |
963 | check_syscall_args(compat_20_sys_statfs) | 963 | check_syscall_args(compat_20_sys_statfs) | |
964 | #endif /* !RUMP_CLIENT */ | 964 | #endif /* !RUMP_CLIENT */ | |
965 | 965 | |||
966 | #ifndef RUMP_CLIENT | 966 | #ifndef RUMP_CLIENT | |
967 | struct compat_20_sys_fstatfs_args { | 967 | struct compat_20_sys_fstatfs_args { | |
968 | syscallarg(int) fd; | 968 | syscallarg(int) fd; | |
969 | syscallarg(struct statfs12 *) buf; | 969 | syscallarg(struct statfs12 *) buf; | |
970 | }; | 970 | }; | |
971 | check_syscall_args(compat_20_sys_fstatfs) | 971 | check_syscall_args(compat_20_sys_fstatfs) | |
972 | #endif /* !RUMP_CLIENT */ | 972 | #endif /* !RUMP_CLIENT */ | |
973 | 973 | |||
974 | #ifndef RUMP_CLIENT | 974 | #ifndef RUMP_CLIENT | |
975 | struct compat_30_sys_getfh_args { | 975 | struct compat_30_sys_getfh_args { | |
976 | syscallarg(const char *) fname; | 976 | syscallarg(const char *) fname; | |
977 | syscallarg(struct compat_30_fhandle *) fhp; | 977 | syscallarg(struct compat_30_fhandle *) fhp; | |
978 | }; | 978 | }; | |
979 | check_syscall_args(compat_30_sys_getfh) | 979 | check_syscall_args(compat_30_sys_getfh) | |
980 | #endif /* !RUMP_CLIENT */ | 980 | #endif /* !RUMP_CLIENT */ | |
981 | 981 | |||
982 | #ifndef RUMP_CLIENT | 982 | #ifndef RUMP_CLIENT | |
983 | struct compat_09_sys_getdomainname_args { | 983 | struct compat_09_sys_getdomainname_args { | |
984 | syscallarg(char *) domainname; | 984 | syscallarg(char *) domainname; | |
985 | syscallarg(int) len; | 985 | syscallarg(int) len; | |
986 | }; | 986 | }; | |
987 | check_syscall_args(compat_09_sys_getdomainname) | 987 | check_syscall_args(compat_09_sys_getdomainname) | |
988 | #endif /* !RUMP_CLIENT */ | 988 | #endif /* !RUMP_CLIENT */ | |
989 | 989 | |||
990 | #ifndef RUMP_CLIENT | 990 | #ifndef RUMP_CLIENT | |
991 | struct compat_09_sys_setdomainname_args { | 991 | struct compat_09_sys_setdomainname_args { | |
992 | syscallarg(char *) domainname; | 992 | syscallarg(char *) domainname; | |
993 | syscallarg(int) len; | 993 | syscallarg(int) len; | |
994 | }; | 994 | }; | |
995 | check_syscall_args(compat_09_sys_setdomainname) | 995 | check_syscall_args(compat_09_sys_setdomainname) | |
996 | #endif /* !RUMP_CLIENT */ | 996 | #endif /* !RUMP_CLIENT */ | |
997 | 997 | |||
998 | #ifndef RUMP_CLIENT | 998 | #ifndef RUMP_CLIENT | |
999 | struct compat_09_sys_uname_args { | 999 | struct compat_09_sys_uname_args { | |
1000 | syscallarg(struct outsname *) name; | 1000 | syscallarg(struct outsname *) name; | |
1001 | }; | 1001 | }; | |
1002 | check_syscall_args(compat_09_sys_uname) | 1002 | check_syscall_args(compat_09_sys_uname) | |
1003 | #endif /* !RUMP_CLIENT */ | 1003 | #endif /* !RUMP_CLIENT */ | |
1004 | 1004 | |||
1005 | #ifndef RUMP_CLIENT | 1005 | #ifndef RUMP_CLIENT | |
1006 | struct sys_sysarch_args { | 1006 | struct sys_sysarch_args { |