1 1.1 ryo /* $NetBSD: linux_systrace_args.c,v 1.13 2024/09/28 19:36:19 christos Exp $ */ 2 1.1 ryo 3 1.1 ryo /* 4 1.1 ryo * System call argument to DTrace register array conversion. 5 1.1 ryo * 6 1.1 ryo * DO NOT EDIT-- this file is automatically generated. 7 1.1 ryo * This file is part of the DTrace syscall provider. 8 1.1 ryo */ 9 1.1 ryo 10 1.1 ryo static void 11 1.1 ryo systrace_args(register_t sysnum, const void *params, uintptr_t *uarg, size_t *n_args) 12 1.1 ryo { 13 1.1 ryo intptr_t *iarg = (intptr_t *)uarg; 14 1.1 ryo switch (sysnum) { 15 1.1 ryo /* linux_sys_setxattr */ 16 1.1 ryo case 5: { 17 1.1 ryo const struct linux_sys_setxattr_args *p = params; 18 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 19 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 20 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 21 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */ 22 1.1 ryo iarg[4] = SCARG(p, flags); /* int */ 23 1.1 ryo *n_args = 5; 24 1.1 ryo break; 25 1.1 ryo } 26 1.1 ryo /* linux_sys_lsetxattr */ 27 1.1 ryo case 6: { 28 1.1 ryo const struct linux_sys_lsetxattr_args *p = params; 29 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 30 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 31 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 32 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */ 33 1.1 ryo iarg[4] = SCARG(p, flags); /* int */ 34 1.1 ryo *n_args = 5; 35 1.1 ryo break; 36 1.1 ryo } 37 1.1 ryo /* linux_sys_fsetxattr */ 38 1.1 ryo case 7: { 39 1.1 ryo const struct linux_sys_fsetxattr_args *p = params; 40 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 41 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 42 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 43 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */ 44 1.1 ryo iarg[4] = SCARG(p, flags); /* int */ 45 1.1 ryo *n_args = 5; 46 1.1 ryo break; 47 1.1 ryo } 48 1.1 ryo /* linux_sys_getxattr */ 49 1.1 ryo case 8: { 50 1.1 ryo const struct linux_sys_getxattr_args *p = params; 51 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 52 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 53 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 54 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */ 55 1.1 ryo *n_args = 4; 56 1.1 ryo break; 57 1.1 ryo } 58 1.1 ryo /* linux_sys_lgetxattr */ 59 1.1 ryo case 9: { 60 1.1 ryo const struct linux_sys_lgetxattr_args *p = params; 61 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 62 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 63 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 64 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */ 65 1.1 ryo *n_args = 4; 66 1.1 ryo break; 67 1.1 ryo } 68 1.1 ryo /* linux_sys_fgetxattr */ 69 1.1 ryo case 10: { 70 1.1 ryo const struct linux_sys_fgetxattr_args *p = params; 71 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 72 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 73 1.1 ryo uarg[2] = (intptr_t) SCARG(p, value); /* void * */ 74 1.1 ryo uarg[3] = SCARG(p, size); /* size_t */ 75 1.1 ryo *n_args = 4; 76 1.1 ryo break; 77 1.1 ryo } 78 1.1 ryo /* linux_sys_listxattr */ 79 1.1 ryo case 11: { 80 1.1 ryo const struct linux_sys_listxattr_args *p = params; 81 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 82 1.1 ryo uarg[1] = (intptr_t) SCARG(p, list); /* char * */ 83 1.1 ryo uarg[2] = SCARG(p, size); /* size_t */ 84 1.1 ryo *n_args = 3; 85 1.1 ryo break; 86 1.1 ryo } 87 1.1 ryo /* linux_sys_llistxattr */ 88 1.1 ryo case 12: { 89 1.1 ryo const struct linux_sys_llistxattr_args *p = params; 90 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 91 1.1 ryo uarg[1] = (intptr_t) SCARG(p, list); /* char * */ 92 1.1 ryo uarg[2] = SCARG(p, size); /* size_t */ 93 1.1 ryo *n_args = 3; 94 1.1 ryo break; 95 1.1 ryo } 96 1.1 ryo /* linux_sys_flistxattr */ 97 1.1 ryo case 13: { 98 1.1 ryo const struct linux_sys_flistxattr_args *p = params; 99 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 100 1.1 ryo uarg[1] = (intptr_t) SCARG(p, list); /* char * */ 101 1.1 ryo uarg[2] = SCARG(p, size); /* size_t */ 102 1.1 ryo *n_args = 3; 103 1.1 ryo break; 104 1.1 ryo } 105 1.1 ryo /* linux_sys_removexattr */ 106 1.1 ryo case 14: { 107 1.1 ryo const struct linux_sys_removexattr_args *p = params; 108 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 109 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 110 1.1 ryo *n_args = 2; 111 1.1 ryo break; 112 1.1 ryo } 113 1.1 ryo /* linux_sys_lremovexattr */ 114 1.1 ryo case 15: { 115 1.1 ryo const struct linux_sys_lremovexattr_args *p = params; 116 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 117 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 118 1.1 ryo *n_args = 2; 119 1.1 ryo break; 120 1.1 ryo } 121 1.1 ryo /* linux_sys_fremovexattr */ 122 1.1 ryo case 16: { 123 1.1 ryo const struct linux_sys_fremovexattr_args *p = params; 124 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 125 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* char * */ 126 1.1 ryo *n_args = 2; 127 1.1 ryo break; 128 1.1 ryo } 129 1.1 ryo /* sys___getcwd */ 130 1.1 ryo case 17: { 131 1.1 ryo const struct sys___getcwd_args *p = params; 132 1.1 ryo uarg[0] = (intptr_t) SCARG(p, bufp); /* char * */ 133 1.1 ryo uarg[1] = SCARG(p, length); /* size_t */ 134 1.1 ryo *n_args = 2; 135 1.1 ryo break; 136 1.1 ryo } 137 1.1 ryo /* linux_sys_eventfd2 */ 138 1.1 ryo case 19: { 139 1.1 ryo const struct linux_sys_eventfd2_args *p = params; 140 1.1 ryo uarg[0] = SCARG(p, initval); /* unsigned int */ 141 1.1 ryo iarg[1] = SCARG(p, flags); /* int */ 142 1.1 ryo *n_args = 2; 143 1.1 ryo break; 144 1.1 ryo } 145 1.6 christos /* linux_sys_epoll_create1 */ 146 1.6 christos case 20: { 147 1.6 christos const struct linux_sys_epoll_create1_args *p = params; 148 1.6 christos iarg[0] = SCARG(p, flags); /* int */ 149 1.6 christos *n_args = 1; 150 1.6 christos break; 151 1.6 christos } 152 1.6 christos /* linux_sys_epoll_ctl */ 153 1.6 christos case 21: { 154 1.6 christos const struct linux_sys_epoll_ctl_args *p = params; 155 1.6 christos iarg[0] = SCARG(p, epfd); /* int */ 156 1.6 christos iarg[1] = SCARG(p, op); /* int */ 157 1.6 christos iarg[2] = SCARG(p, fd); /* int */ 158 1.6 christos uarg[3] = (intptr_t) SCARG(p, event); /* struct linux_epoll_event * */ 159 1.6 christos *n_args = 4; 160 1.6 christos break; 161 1.6 christos } 162 1.6 christos /* linux_sys_epoll_pwait */ 163 1.6 christos case 22: { 164 1.6 christos const struct linux_sys_epoll_pwait_args *p = params; 165 1.6 christos iarg[0] = SCARG(p, epfd); /* int */ 166 1.6 christos uarg[1] = (intptr_t) SCARG(p, events); /* struct linux_epoll_event * */ 167 1.6 christos iarg[2] = SCARG(p, maxevents); /* int */ 168 1.6 christos iarg[3] = SCARG(p, timeout); /* int */ 169 1.6 christos uarg[4] = (intptr_t) SCARG(p, sigmask); /* const linux_sigset_t * */ 170 1.6 christos *n_args = 5; 171 1.6 christos break; 172 1.6 christos } 173 1.1 ryo /* sys_dup */ 174 1.1 ryo case 23: { 175 1.1 ryo const struct sys_dup_args *p = params; 176 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 177 1.1 ryo *n_args = 1; 178 1.1 ryo break; 179 1.1 ryo } 180 1.1 ryo /* linux_sys_dup3 */ 181 1.1 ryo case 24: { 182 1.1 ryo const struct linux_sys_dup3_args *p = params; 183 1.1 ryo iarg[0] = SCARG(p, from); /* int */ 184 1.1 ryo iarg[1] = SCARG(p, to); /* int */ 185 1.1 ryo iarg[2] = SCARG(p, flags); /* int */ 186 1.1 ryo *n_args = 3; 187 1.1 ryo break; 188 1.1 ryo } 189 1.1 ryo /* linux_sys_fcntl */ 190 1.1 ryo case 25: { 191 1.1 ryo const struct linux_sys_fcntl_args *p = params; 192 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 193 1.1 ryo iarg[1] = SCARG(p, cmd); /* int */ 194 1.1 ryo uarg[2] = (intptr_t) SCARG(p, arg); /* void * */ 195 1.1 ryo *n_args = 3; 196 1.1 ryo break; 197 1.1 ryo } 198 1.10 christos /* linux_sys_inotify_init1 */ 199 1.10 christos case 26: { 200 1.10 christos const struct linux_sys_inotify_init1_args *p = params; 201 1.10 christos iarg[0] = SCARG(p, flags); /* int */ 202 1.10 christos *n_args = 1; 203 1.10 christos break; 204 1.10 christos } 205 1.10 christos /* linux_sys_inotify_add_watch */ 206 1.10 christos case 27: { 207 1.10 christos const struct linux_sys_inotify_add_watch_args *p = params; 208 1.10 christos iarg[0] = SCARG(p, fd); /* int */ 209 1.10 christos uarg[1] = (intptr_t) SCARG(p, pathname); /* const char * */ 210 1.10 christos uarg[2] = SCARG(p, mask); /* uint32_t */ 211 1.10 christos *n_args = 3; 212 1.10 christos break; 213 1.10 christos } 214 1.10 christos /* linux_sys_inotify_rm_watch */ 215 1.10 christos case 28: { 216 1.10 christos const struct linux_sys_inotify_rm_watch_args *p = params; 217 1.10 christos iarg[0] = SCARG(p, fd); /* int */ 218 1.10 christos iarg[1] = SCARG(p, wd); /* int */ 219 1.10 christos *n_args = 2; 220 1.10 christos break; 221 1.10 christos } 222 1.1 ryo /* linux_sys_ioctl */ 223 1.1 ryo case 29: { 224 1.1 ryo const struct linux_sys_ioctl_args *p = params; 225 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 226 1.1 ryo uarg[1] = SCARG(p, com); /* u_long */ 227 1.1 ryo uarg[2] = (intptr_t) SCARG(p, data); /* void * */ 228 1.1 ryo *n_args = 3; 229 1.1 ryo break; 230 1.1 ryo } 231 1.1 ryo /* sys_flock */ 232 1.1 ryo case 32: { 233 1.1 ryo const struct sys_flock_args *p = params; 234 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 235 1.1 ryo iarg[1] = SCARG(p, how); /* int */ 236 1.1 ryo *n_args = 2; 237 1.1 ryo break; 238 1.1 ryo } 239 1.1 ryo /* linux_sys_mknodat */ 240 1.1 ryo case 33: { 241 1.1 ryo const struct linux_sys_mknodat_args *p = params; 242 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 243 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 244 1.1 ryo iarg[2] = SCARG(p, mode); /* linux_umode_t */ 245 1.1 ryo uarg[3] = SCARG(p, dev); /* unsigned */ 246 1.1 ryo *n_args = 4; 247 1.1 ryo break; 248 1.1 ryo } 249 1.1 ryo /* sys_mkdirat */ 250 1.1 ryo case 34: { 251 1.1 ryo const struct sys_mkdirat_args *p = params; 252 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 253 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 254 1.1 ryo iarg[2] = SCARG(p, mode); /* linux_umode_t */ 255 1.1 ryo *n_args = 3; 256 1.1 ryo break; 257 1.1 ryo } 258 1.1 ryo /* linux_sys_unlinkat */ 259 1.1 ryo case 35: { 260 1.1 ryo const struct linux_sys_unlinkat_args *p = params; 261 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 262 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 263 1.1 ryo iarg[2] = SCARG(p, flag); /* int */ 264 1.1 ryo *n_args = 3; 265 1.1 ryo break; 266 1.1 ryo } 267 1.1 ryo /* sys_symlinkat */ 268 1.1 ryo case 36: { 269 1.1 ryo const struct sys_symlinkat_args *p = params; 270 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path1); /* const char * */ 271 1.1 ryo iarg[1] = SCARG(p, fd); /* int */ 272 1.1 ryo uarg[2] = (intptr_t) SCARG(p, path2); /* const char * */ 273 1.1 ryo *n_args = 3; 274 1.1 ryo break; 275 1.1 ryo } 276 1.1 ryo /* linux_sys_linkat */ 277 1.1 ryo case 37: { 278 1.1 ryo const struct linux_sys_linkat_args *p = params; 279 1.1 ryo iarg[0] = SCARG(p, fd1); /* int */ 280 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name1); /* const char * */ 281 1.1 ryo iarg[2] = SCARG(p, fd2); /* int */ 282 1.1 ryo uarg[3] = (intptr_t) SCARG(p, name2); /* const char * */ 283 1.1 ryo iarg[4] = SCARG(p, flags); /* int */ 284 1.1 ryo *n_args = 5; 285 1.1 ryo break; 286 1.1 ryo } 287 1.1 ryo /* sys_renameat */ 288 1.1 ryo case 38: { 289 1.1 ryo const struct sys_renameat_args *p = params; 290 1.1 ryo iarg[0] = SCARG(p, fromfd); /* int */ 291 1.1 ryo uarg[1] = (intptr_t) SCARG(p, from); /* const char * */ 292 1.1 ryo iarg[2] = SCARG(p, tofd); /* int */ 293 1.1 ryo uarg[3] = (intptr_t) SCARG(p, to); /* const char * */ 294 1.1 ryo *n_args = 4; 295 1.1 ryo break; 296 1.1 ryo } 297 1.1 ryo /* linux_sys_statfs */ 298 1.1 ryo case 43: { 299 1.1 ryo const struct linux_sys_statfs_args *p = params; 300 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 301 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_statfs * */ 302 1.1 ryo *n_args = 2; 303 1.1 ryo break; 304 1.1 ryo } 305 1.1 ryo /* linux_sys_fstatfs */ 306 1.1 ryo case 44: { 307 1.1 ryo const struct linux_sys_fstatfs_args *p = params; 308 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 309 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_statfs * */ 310 1.1 ryo *n_args = 2; 311 1.1 ryo break; 312 1.1 ryo } 313 1.1 ryo /* linux_sys_truncate64 */ 314 1.1 ryo case 45: { 315 1.1 ryo const struct linux_sys_truncate64_args *p = params; 316 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 317 1.1 ryo iarg[1] = SCARG(p, length); /* off_t */ 318 1.1 ryo *n_args = 2; 319 1.1 ryo break; 320 1.1 ryo } 321 1.1 ryo /* linux_sys_ftruncate64 */ 322 1.1 ryo case 46: { 323 1.1 ryo const struct linux_sys_ftruncate64_args *p = params; 324 1.1 ryo uarg[0] = SCARG(p, fd); /* unsigned int */ 325 1.1 ryo iarg[1] = SCARG(p, length); /* off_t */ 326 1.1 ryo *n_args = 2; 327 1.1 ryo break; 328 1.1 ryo } 329 1.1 ryo /* linux_sys_fallocate */ 330 1.1 ryo case 47: { 331 1.1 ryo const struct linux_sys_fallocate_args *p = params; 332 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 333 1.1 ryo iarg[1] = SCARG(p, mode); /* int */ 334 1.1 ryo iarg[2] = SCARG(p, offset); /* off_t */ 335 1.1 ryo iarg[3] = SCARG(p, len); /* off_t */ 336 1.1 ryo *n_args = 4; 337 1.1 ryo break; 338 1.1 ryo } 339 1.1 ryo /* linux_sys_faccessat */ 340 1.1 ryo case 48: { 341 1.1 ryo const struct linux_sys_faccessat_args *p = params; 342 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 343 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 344 1.1 ryo iarg[2] = SCARG(p, amode); /* int */ 345 1.1 ryo *n_args = 3; 346 1.1 ryo break; 347 1.1 ryo } 348 1.1 ryo /* sys_chdir */ 349 1.1 ryo case 49: { 350 1.1 ryo const struct sys_chdir_args *p = params; 351 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 352 1.1 ryo *n_args = 1; 353 1.1 ryo break; 354 1.1 ryo } 355 1.1 ryo /* sys_fchdir */ 356 1.1 ryo case 50: { 357 1.1 ryo const struct sys_fchdir_args *p = params; 358 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 359 1.1 ryo *n_args = 1; 360 1.1 ryo break; 361 1.1 ryo } 362 1.1 ryo /* sys_chroot */ 363 1.1 ryo case 51: { 364 1.1 ryo const struct sys_chroot_args *p = params; 365 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 366 1.1 ryo *n_args = 1; 367 1.1 ryo break; 368 1.1 ryo } 369 1.1 ryo /* sys_fchmod */ 370 1.1 ryo case 52: { 371 1.1 ryo const struct sys_fchmod_args *p = params; 372 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 373 1.1 ryo iarg[1] = SCARG(p, mode); /* linux_umode_t */ 374 1.1 ryo *n_args = 2; 375 1.1 ryo break; 376 1.1 ryo } 377 1.1 ryo /* linux_sys_fchmodat */ 378 1.1 ryo case 53: { 379 1.1 ryo const struct linux_sys_fchmodat_args *p = params; 380 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 381 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 382 1.1 ryo iarg[2] = SCARG(p, mode); /* linux_umode_t */ 383 1.1 ryo *n_args = 3; 384 1.1 ryo break; 385 1.1 ryo } 386 1.1 ryo /* linux_sys_fchownat */ 387 1.1 ryo case 54: { 388 1.1 ryo const struct linux_sys_fchownat_args *p = params; 389 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 390 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 391 1.1 ryo uarg[2] = SCARG(p, owner); /* uid_t */ 392 1.1 ryo iarg[3] = SCARG(p, group); /* gid_t */ 393 1.1 ryo iarg[4] = SCARG(p, flag); /* int */ 394 1.1 ryo *n_args = 5; 395 1.1 ryo break; 396 1.1 ryo } 397 1.1 ryo /* sys___posix_fchown */ 398 1.1 ryo case 55: { 399 1.1 ryo const struct sys___posix_fchown_args *p = params; 400 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 401 1.1 ryo uarg[1] = SCARG(p, uid); /* uid_t */ 402 1.1 ryo iarg[2] = SCARG(p, gid); /* gid_t */ 403 1.1 ryo *n_args = 3; 404 1.1 ryo break; 405 1.1 ryo } 406 1.1 ryo /* linux_sys_openat */ 407 1.1 ryo case 56: { 408 1.1 ryo const struct linux_sys_openat_args *p = params; 409 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 410 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 411 1.1 ryo iarg[2] = SCARG(p, flags); /* int */ 412 1.1 ryo iarg[3] = SCARG(p, mode); /* linux_umode_t */ 413 1.1 ryo *n_args = 4; 414 1.1 ryo break; 415 1.1 ryo } 416 1.1 ryo /* sys_close */ 417 1.1 ryo case 57: { 418 1.1 ryo const struct sys_close_args *p = params; 419 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 420 1.1 ryo *n_args = 1; 421 1.1 ryo break; 422 1.1 ryo } 423 1.1 ryo /* linux_sys_pipe2 */ 424 1.1 ryo case 59: { 425 1.1 ryo const struct linux_sys_pipe2_args *p = params; 426 1.1 ryo uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */ 427 1.1 ryo iarg[1] = SCARG(p, flags); /* int */ 428 1.1 ryo *n_args = 2; 429 1.1 ryo break; 430 1.1 ryo } 431 1.1 ryo /* linux_sys_getdents64 */ 432 1.1 ryo case 61: { 433 1.1 ryo const struct linux_sys_getdents64_args *p = params; 434 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 435 1.1 ryo uarg[1] = (intptr_t) SCARG(p, dent); /* struct linux_dirent64 * */ 436 1.1 ryo uarg[2] = SCARG(p, count); /* unsigned int */ 437 1.1 ryo *n_args = 3; 438 1.1 ryo break; 439 1.1 ryo } 440 1.1 ryo /* compat_43_sys_lseek */ 441 1.1 ryo case 62: { 442 1.1 ryo const struct compat_43_sys_lseek_args *p = params; 443 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 444 1.1 ryo iarg[1] = SCARG(p, offset); /* long */ 445 1.1 ryo iarg[2] = SCARG(p, whence); /* int */ 446 1.1 ryo *n_args = 3; 447 1.1 ryo break; 448 1.1 ryo } 449 1.1 ryo /* sys_read */ 450 1.1 ryo case 63: { 451 1.1 ryo const struct sys_read_args *p = params; 452 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 453 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ 454 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */ 455 1.1 ryo *n_args = 3; 456 1.1 ryo break; 457 1.1 ryo } 458 1.1 ryo /* sys_write */ 459 1.1 ryo case 64: { 460 1.1 ryo const struct sys_write_args *p = params; 461 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 462 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* const void * */ 463 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */ 464 1.1 ryo *n_args = 3; 465 1.1 ryo break; 466 1.1 ryo } 467 1.1 ryo /* sys_readv */ 468 1.1 ryo case 65: { 469 1.1 ryo const struct sys_readv_args *p = params; 470 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 471 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */ 472 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */ 473 1.1 ryo *n_args = 3; 474 1.1 ryo break; 475 1.1 ryo } 476 1.1 ryo /* sys_writev */ 477 1.1 ryo case 66: { 478 1.1 ryo const struct sys_writev_args *p = params; 479 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 480 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */ 481 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */ 482 1.1 ryo *n_args = 3; 483 1.1 ryo break; 484 1.1 ryo } 485 1.1 ryo /* linux_sys_pread */ 486 1.1 ryo case 67: { 487 1.1 ryo const struct linux_sys_pread_args *p = params; 488 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 489 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* char * */ 490 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */ 491 1.1 ryo iarg[3] = SCARG(p, offset); /* off_t */ 492 1.1 ryo *n_args = 4; 493 1.1 ryo break; 494 1.1 ryo } 495 1.1 ryo /* linux_sys_pwrite */ 496 1.1 ryo case 68: { 497 1.1 ryo const struct linux_sys_pwrite_args *p = params; 498 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 499 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* char * */ 500 1.1 ryo uarg[2] = SCARG(p, nbyte); /* size_t */ 501 1.1 ryo iarg[3] = SCARG(p, offset); /* off_t */ 502 1.1 ryo *n_args = 4; 503 1.1 ryo break; 504 1.1 ryo } 505 1.1 ryo /* linux_sys_preadv */ 506 1.1 ryo case 69: { 507 1.1 ryo const struct linux_sys_preadv_args *p = params; 508 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 509 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovec * */ 510 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */ 511 1.1 ryo uarg[3] = SCARG(p, off_lo); /* unsigned long */ 512 1.1 ryo uarg[4] = SCARG(p, off_hi); /* unsigned long */ 513 1.1 ryo *n_args = 5; 514 1.1 ryo break; 515 1.1 ryo } 516 1.1 ryo /* linux_sys_pwritev */ 517 1.1 ryo case 70: { 518 1.1 ryo const struct linux_sys_pwritev_args *p = params; 519 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 520 1.1 ryo uarg[1] = (intptr_t) SCARG(p, iovp); /* const struct iovcnt * */ 521 1.1 ryo iarg[2] = SCARG(p, iovcnt); /* int */ 522 1.1 ryo uarg[3] = SCARG(p, off_lo); /* unsigned long */ 523 1.1 ryo uarg[4] = SCARG(p, off_hi); /* unsigned long */ 524 1.1 ryo *n_args = 5; 525 1.1 ryo break; 526 1.1 ryo } 527 1.1 ryo /* linux_sys_pselect6 */ 528 1.1 ryo case 72: { 529 1.1 ryo const struct linux_sys_pselect6_args *p = params; 530 1.1 ryo iarg[0] = SCARG(p, nfds); /* int */ 531 1.1 ryo uarg[1] = (intptr_t) SCARG(p, readfds); /* fd_set * */ 532 1.1 ryo uarg[2] = (intptr_t) SCARG(p, writefds); /* fd_set * */ 533 1.1 ryo uarg[3] = (intptr_t) SCARG(p, exceptfds); /* fd_set * */ 534 1.1 ryo uarg[4] = (intptr_t) SCARG(p, timeout); /* struct linux_timespec * */ 535 1.1 ryo uarg[5] = (intptr_t) SCARG(p, ss); /* linux_sized_sigset_t * */ 536 1.1 ryo *n_args = 6; 537 1.1 ryo break; 538 1.1 ryo } 539 1.1 ryo /* linux_sys_ppoll */ 540 1.1 ryo case 73: { 541 1.1 ryo const struct linux_sys_ppoll_args *p = params; 542 1.1 ryo uarg[0] = (intptr_t) SCARG(p, fds); /* struct pollfd * */ 543 1.1 ryo uarg[1] = SCARG(p, nfds); /* u_int */ 544 1.1 ryo uarg[2] = (intptr_t) SCARG(p, timeout); /* struct linux_timespec * */ 545 1.1 ryo uarg[3] = (intptr_t) SCARG(p, sigset); /* linux_sigset_t * */ 546 1.1 ryo *n_args = 4; 547 1.1 ryo break; 548 1.1 ryo } 549 1.1 ryo /* sys_readlinkat */ 550 1.1 ryo case 78: { 551 1.1 ryo const struct sys_readlinkat_args *p = params; 552 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 553 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 554 1.1 ryo uarg[2] = (intptr_t) SCARG(p, buf); /* char * */ 555 1.1 ryo uarg[3] = SCARG(p, bufsize); /* size_t */ 556 1.1 ryo *n_args = 4; 557 1.1 ryo break; 558 1.1 ryo } 559 1.1 ryo /* linux_sys_fstatat64 */ 560 1.1 ryo case 79: { 561 1.1 ryo const struct linux_sys_fstatat64_args *p = params; 562 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 563 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 564 1.1 ryo uarg[2] = (intptr_t) SCARG(p, sp); /* struct linux_stat * */ 565 1.1 ryo iarg[3] = SCARG(p, flag); /* int */ 566 1.1 ryo *n_args = 4; 567 1.1 ryo break; 568 1.1 ryo } 569 1.1 ryo /* linux_sys_fstat64 */ 570 1.1 ryo case 80: { 571 1.1 ryo const struct linux_sys_fstat64_args *p = params; 572 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 573 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_stat * */ 574 1.1 ryo *n_args = 2; 575 1.1 ryo break; 576 1.1 ryo } 577 1.1 ryo /* sys_sync */ 578 1.1 ryo case 81: { 579 1.1 ryo *n_args = 0; 580 1.1 ryo break; 581 1.1 ryo } 582 1.1 ryo /* sys_fsync */ 583 1.1 ryo case 82: { 584 1.1 ryo const struct sys_fsync_args *p = params; 585 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 586 1.1 ryo *n_args = 1; 587 1.1 ryo break; 588 1.1 ryo } 589 1.1 ryo /* linux_sys_fdatasync */ 590 1.1 ryo case 83: { 591 1.1 ryo const struct linux_sys_fdatasync_args *p = params; 592 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 593 1.1 ryo *n_args = 1; 594 1.1 ryo break; 595 1.1 ryo } 596 1.13 christos /* linux_sys_sync_file_range */ 597 1.13 christos case 84: { 598 1.13 christos const struct linux_sys_sync_file_range_args *p = params; 599 1.13 christos iarg[0] = SCARG(p, fd); /* int */ 600 1.13 christos iarg[1] = SCARG(p, offset); /* off_t */ 601 1.13 christos iarg[2] = SCARG(p, nbytes); /* off_t */ 602 1.13 christos uarg[3] = SCARG(p, flags); /* unsigned int */ 603 1.13 christos *n_args = 4; 604 1.13 christos break; 605 1.13 christos } 606 1.1 ryo /* linux_sys_timerfd_create */ 607 1.1 ryo case 85: { 608 1.1 ryo const struct linux_sys_timerfd_create_args *p = params; 609 1.1 ryo iarg[0] = SCARG(p, clock_id); /* clockid_t */ 610 1.1 ryo iarg[1] = SCARG(p, flags); /* int */ 611 1.1 ryo *n_args = 2; 612 1.1 ryo break; 613 1.1 ryo } 614 1.1 ryo /* linux_sys_timerfd_settime */ 615 1.1 ryo case 86: { 616 1.1 ryo const struct linux_sys_timerfd_settime_args *p = params; 617 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 618 1.1 ryo iarg[1] = SCARG(p, flags); /* int */ 619 1.1 ryo uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux_itimerspec * */ 620 1.1 ryo uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux_itimerspec * */ 621 1.1 ryo *n_args = 4; 622 1.1 ryo break; 623 1.1 ryo } 624 1.1 ryo /* linux_sys_timerfd_gettime */ 625 1.1 ryo case 87: { 626 1.1 ryo const struct linux_sys_timerfd_gettime_args *p = params; 627 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 628 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux_itimerspec * */ 629 1.1 ryo *n_args = 2; 630 1.1 ryo break; 631 1.1 ryo } 632 1.1 ryo /* linux_sys_utimensat */ 633 1.1 ryo case 88: { 634 1.1 ryo const struct linux_sys_utimensat_args *p = params; 635 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 636 1.1 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 637 1.1 ryo uarg[2] = (intptr_t) SCARG(p, times); /* struct linux_timespec * */ 638 1.1 ryo iarg[3] = SCARG(p, flag); /* int */ 639 1.1 ryo *n_args = 4; 640 1.1 ryo break; 641 1.1 ryo } 642 1.1 ryo /* sys_acct */ 643 1.1 ryo case 89: { 644 1.1 ryo const struct sys_acct_args *p = params; 645 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* char * */ 646 1.1 ryo *n_args = 1; 647 1.1 ryo break; 648 1.1 ryo } 649 1.1 ryo /* linux_sys_personality */ 650 1.1 ryo case 92: { 651 1.1 ryo const struct linux_sys_personality_args *p = params; 652 1.1 ryo uarg[0] = SCARG(p, per); /* unsigned long */ 653 1.1 ryo *n_args = 1; 654 1.1 ryo break; 655 1.1 ryo } 656 1.1 ryo /* linux_sys_exit */ 657 1.1 ryo case 93: { 658 1.1 ryo const struct linux_sys_exit_args *p = params; 659 1.1 ryo iarg[0] = SCARG(p, rval); /* int */ 660 1.1 ryo *n_args = 1; 661 1.1 ryo break; 662 1.1 ryo } 663 1.1 ryo /* linux_sys_exit_group */ 664 1.1 ryo case 94: { 665 1.1 ryo const struct linux_sys_exit_group_args *p = params; 666 1.1 ryo iarg[0] = SCARG(p, error_code); /* int */ 667 1.1 ryo *n_args = 1; 668 1.1 ryo break; 669 1.1 ryo } 670 1.9 christos /* linux_sys_waitid */ 671 1.9 christos case 95: { 672 1.9 christos const struct linux_sys_waitid_args *p = params; 673 1.9 christos iarg[0] = SCARG(p, idtype); /* int */ 674 1.9 christos iarg[1] = SCARG(p, id); /* id_t */ 675 1.9 christos uarg[2] = (intptr_t) SCARG(p, infop); /* linux_siginfo_t * */ 676 1.9 christos iarg[3] = SCARG(p, options); /* int */ 677 1.9 christos uarg[4] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ 678 1.9 christos *n_args = 5; 679 1.9 christos break; 680 1.9 christos } 681 1.1 ryo /* linux_sys_set_tid_address */ 682 1.1 ryo case 96: { 683 1.1 ryo const struct linux_sys_set_tid_address_args *p = params; 684 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tid); /* int * */ 685 1.1 ryo *n_args = 1; 686 1.1 ryo break; 687 1.1 ryo } 688 1.1 ryo /* linux_sys_futex */ 689 1.1 ryo case 98: { 690 1.1 ryo const struct linux_sys_futex_args *p = params; 691 1.1 ryo uarg[0] = (intptr_t) SCARG(p, uaddr); /* int * */ 692 1.1 ryo iarg[1] = SCARG(p, op); /* int */ 693 1.1 ryo iarg[2] = SCARG(p, val); /* int */ 694 1.1 ryo uarg[3] = (intptr_t) SCARG(p, timeout); /* const struct linux_timespec * */ 695 1.1 ryo uarg[4] = (intptr_t) SCARG(p, uaddr2); /* int * */ 696 1.1 ryo iarg[5] = SCARG(p, val3); /* int */ 697 1.1 ryo *n_args = 6; 698 1.1 ryo break; 699 1.1 ryo } 700 1.1 ryo /* sys___futex_set_robust_list */ 701 1.1 ryo case 99: { 702 1.1 ryo const struct sys___futex_set_robust_list_args *p = params; 703 1.1 ryo uarg[0] = (intptr_t) SCARG(p, head); /* void * */ 704 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 705 1.1 ryo *n_args = 2; 706 1.1 ryo break; 707 1.1 ryo } 708 1.1 ryo /* sys___futex_get_robust_list */ 709 1.1 ryo case 100: { 710 1.1 ryo const struct sys___futex_get_robust_list_args *p = params; 711 1.1 ryo iarg[0] = SCARG(p, lwpid); /* lwpid_t */ 712 1.1 ryo uarg[1] = (intptr_t) SCARG(p, headp); /* void ** */ 713 1.1 ryo uarg[2] = (intptr_t) SCARG(p, lenp); /* size_t * */ 714 1.1 ryo *n_args = 3; 715 1.1 ryo break; 716 1.1 ryo } 717 1.1 ryo /* linux_sys_nanosleep */ 718 1.1 ryo case 101: { 719 1.1 ryo const struct linux_sys_nanosleep_args *p = params; 720 1.1 ryo uarg[0] = (intptr_t) SCARG(p, rqtp); /* const struct linux_timespec * */ 721 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rmtp); /* struct linux_timespec * */ 722 1.1 ryo *n_args = 2; 723 1.1 ryo break; 724 1.1 ryo } 725 1.1 ryo /* compat_50_sys_getitimer */ 726 1.1 ryo case 102: { 727 1.1 ryo const struct compat_50_sys_getitimer_args *p = params; 728 1.1 ryo iarg[0] = SCARG(p, which); /* int */ 729 1.1 ryo uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval50 * */ 730 1.1 ryo *n_args = 2; 731 1.1 ryo break; 732 1.1 ryo } 733 1.1 ryo /* compat_50_sys_setitimer */ 734 1.1 ryo case 103: { 735 1.1 ryo const struct compat_50_sys_setitimer_args *p = params; 736 1.1 ryo iarg[0] = SCARG(p, which); /* int */ 737 1.1 ryo uarg[1] = (intptr_t) SCARG(p, itv); /* struct itimerval50 * */ 738 1.1 ryo uarg[2] = (intptr_t) SCARG(p, oitv); /* struct itimerval50 * */ 739 1.1 ryo *n_args = 3; 740 1.1 ryo break; 741 1.1 ryo } 742 1.1 ryo /* linux_sys_timer_create */ 743 1.1 ryo case 107: { 744 1.1 ryo const struct linux_sys_timer_create_args *p = params; 745 1.1 ryo iarg[0] = SCARG(p, clockid); /* clockid_t */ 746 1.1 ryo uarg[1] = (intptr_t) SCARG(p, evp); /* struct linux_sigevent * */ 747 1.1 ryo uarg[2] = (intptr_t) SCARG(p, timerid); /* timer_t * */ 748 1.1 ryo *n_args = 3; 749 1.1 ryo break; 750 1.1 ryo } 751 1.1 ryo /* linux_sys_timer_gettime */ 752 1.1 ryo case 108: { 753 1.1 ryo const struct linux_sys_timer_gettime_args *p = params; 754 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */ 755 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tim); /* struct linux_itimerspec * */ 756 1.1 ryo *n_args = 2; 757 1.1 ryo break; 758 1.1 ryo } 759 1.1 ryo /* sys_timer_getoverrun */ 760 1.1 ryo case 109: { 761 1.1 ryo const struct sys_timer_getoverrun_args *p = params; 762 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */ 763 1.1 ryo *n_args = 1; 764 1.1 ryo break; 765 1.1 ryo } 766 1.1 ryo /* linux_sys_timer_settime */ 767 1.1 ryo case 110: { 768 1.1 ryo const struct linux_sys_timer_settime_args *p = params; 769 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */ 770 1.1 ryo iarg[1] = SCARG(p, flags); /* int */ 771 1.1 ryo uarg[2] = (intptr_t) SCARG(p, tim); /* const struct linux_itimerspec * */ 772 1.1 ryo uarg[3] = (intptr_t) SCARG(p, otim); /* struct linux_itimerspec * */ 773 1.1 ryo *n_args = 4; 774 1.1 ryo break; 775 1.1 ryo } 776 1.1 ryo /* sys_timer_delete */ 777 1.1 ryo case 111: { 778 1.1 ryo const struct sys_timer_delete_args *p = params; 779 1.1 ryo iarg[0] = SCARG(p, timerid); /* timer_t */ 780 1.1 ryo *n_args = 1; 781 1.1 ryo break; 782 1.1 ryo } 783 1.1 ryo /* linux_sys_clock_settime */ 784 1.1 ryo case 112: { 785 1.1 ryo const struct linux_sys_clock_settime_args *p = params; 786 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */ 787 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tp); /* struct linux_timespec * */ 788 1.1 ryo *n_args = 2; 789 1.1 ryo break; 790 1.1 ryo } 791 1.1 ryo /* linux_sys_clock_gettime */ 792 1.1 ryo case 113: { 793 1.1 ryo const struct linux_sys_clock_gettime_args *p = params; 794 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */ 795 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tp); /* struct linux_timespec * */ 796 1.1 ryo *n_args = 2; 797 1.1 ryo break; 798 1.1 ryo } 799 1.1 ryo /* linux_sys_clock_getres */ 800 1.1 ryo case 114: { 801 1.1 ryo const struct linux_sys_clock_getres_args *p = params; 802 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */ 803 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tp); /* struct linux_timespec * */ 804 1.1 ryo *n_args = 2; 805 1.1 ryo break; 806 1.1 ryo } 807 1.1 ryo /* linux_sys_clock_nanosleep */ 808 1.1 ryo case 115: { 809 1.1 ryo const struct linux_sys_clock_nanosleep_args *p = params; 810 1.1 ryo iarg[0] = SCARG(p, which); /* clockid_t */ 811 1.1 ryo iarg[1] = SCARG(p, flags); /* int */ 812 1.1 ryo uarg[2] = (intptr_t) SCARG(p, rqtp); /* struct linux_timespec * */ 813 1.1 ryo uarg[3] = (intptr_t) SCARG(p, rmtp); /* struct linux_timespec * */ 814 1.1 ryo *n_args = 4; 815 1.1 ryo break; 816 1.1 ryo } 817 1.1 ryo /* linux_sys_ptrace */ 818 1.1 ryo case 117: { 819 1.1 ryo const struct linux_sys_ptrace_args *p = params; 820 1.1 ryo iarg[0] = SCARG(p, request); /* long */ 821 1.1 ryo iarg[1] = SCARG(p, pid); /* long */ 822 1.1 ryo iarg[2] = SCARG(p, addr); /* long */ 823 1.1 ryo iarg[3] = SCARG(p, data); /* long */ 824 1.1 ryo *n_args = 4; 825 1.1 ryo break; 826 1.1 ryo } 827 1.1 ryo /* linux_sys_sched_setparam */ 828 1.1 ryo case 118: { 829 1.1 ryo const struct linux_sys_sched_setparam_args *p = params; 830 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 831 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* const struct linux_sched_param * */ 832 1.1 ryo *n_args = 2; 833 1.1 ryo break; 834 1.1 ryo } 835 1.1 ryo /* linux_sys_sched_setscheduler */ 836 1.1 ryo case 119: { 837 1.1 ryo const struct linux_sys_sched_setscheduler_args *p = params; 838 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 839 1.1 ryo iarg[1] = SCARG(p, policy); /* int */ 840 1.1 ryo uarg[2] = (intptr_t) SCARG(p, sp); /* const struct linux_sched_param * */ 841 1.1 ryo *n_args = 3; 842 1.1 ryo break; 843 1.1 ryo } 844 1.1 ryo /* linux_sys_sched_getscheduler */ 845 1.1 ryo case 120: { 846 1.1 ryo const struct linux_sys_sched_getscheduler_args *p = params; 847 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 848 1.1 ryo *n_args = 1; 849 1.1 ryo break; 850 1.1 ryo } 851 1.1 ryo /* linux_sys_sched_getparam */ 852 1.1 ryo case 121: { 853 1.1 ryo const struct linux_sys_sched_getparam_args *p = params; 854 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 855 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sp); /* struct linux_sched_param * */ 856 1.1 ryo *n_args = 2; 857 1.1 ryo break; 858 1.1 ryo } 859 1.1 ryo /* linux_sys_sched_setaffinity */ 860 1.1 ryo case 122: { 861 1.1 ryo const struct linux_sys_sched_setaffinity_args *p = params; 862 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 863 1.1 ryo uarg[1] = SCARG(p, len); /* unsigned int */ 864 1.1 ryo uarg[2] = (intptr_t) SCARG(p, mask); /* unsigned long * */ 865 1.1 ryo *n_args = 3; 866 1.1 ryo break; 867 1.1 ryo } 868 1.1 ryo /* linux_sys_sched_getaffinity */ 869 1.1 ryo case 123: { 870 1.1 ryo const struct linux_sys_sched_getaffinity_args *p = params; 871 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 872 1.1 ryo uarg[1] = SCARG(p, len); /* unsigned int */ 873 1.1 ryo uarg[2] = (intptr_t) SCARG(p, mask); /* unsigned long * */ 874 1.1 ryo *n_args = 3; 875 1.1 ryo break; 876 1.1 ryo } 877 1.1 ryo /* linux_sys_sched_yield */ 878 1.1 ryo case 124: { 879 1.1 ryo *n_args = 0; 880 1.1 ryo break; 881 1.1 ryo } 882 1.1 ryo /* linux_sys_sched_get_priority_max */ 883 1.1 ryo case 125: { 884 1.1 ryo const struct linux_sys_sched_get_priority_max_args *p = params; 885 1.1 ryo iarg[0] = SCARG(p, policy); /* int */ 886 1.1 ryo *n_args = 1; 887 1.1 ryo break; 888 1.1 ryo } 889 1.1 ryo /* linux_sys_sched_get_priority_min */ 890 1.1 ryo case 126: { 891 1.1 ryo const struct linux_sys_sched_get_priority_min_args *p = params; 892 1.1 ryo iarg[0] = SCARG(p, policy); /* int */ 893 1.1 ryo *n_args = 1; 894 1.1 ryo break; 895 1.1 ryo } 896 1.1 ryo /* linux_sys_kill */ 897 1.1 ryo case 129: { 898 1.1 ryo const struct linux_sys_kill_args *p = params; 899 1.1 ryo iarg[0] = SCARG(p, pid); /* int */ 900 1.1 ryo iarg[1] = SCARG(p, signum); /* int */ 901 1.1 ryo *n_args = 2; 902 1.1 ryo break; 903 1.1 ryo } 904 1.1 ryo /* linux_sys_tkill */ 905 1.1 ryo case 130: { 906 1.1 ryo const struct linux_sys_tkill_args *p = params; 907 1.1 ryo iarg[0] = SCARG(p, tid); /* int */ 908 1.1 ryo iarg[1] = SCARG(p, sig); /* int */ 909 1.1 ryo *n_args = 2; 910 1.1 ryo break; 911 1.1 ryo } 912 1.1 ryo /* linux_sys_tgkill */ 913 1.1 ryo case 131: { 914 1.1 ryo const struct linux_sys_tgkill_args *p = params; 915 1.1 ryo iarg[0] = SCARG(p, tgid); /* int */ 916 1.1 ryo iarg[1] = SCARG(p, tid); /* int */ 917 1.1 ryo iarg[2] = SCARG(p, sig); /* int */ 918 1.1 ryo *n_args = 3; 919 1.1 ryo break; 920 1.1 ryo } 921 1.1 ryo /* linux_sys_sigaltstack */ 922 1.1 ryo case 132: { 923 1.1 ryo const struct linux_sys_sigaltstack_args *p = params; 924 1.1 ryo uarg[0] = (intptr_t) SCARG(p, ss); /* const struct linux_sigaltstack * */ 925 1.1 ryo uarg[1] = (intptr_t) SCARG(p, oss); /* struct linux_sigaltstack * */ 926 1.1 ryo *n_args = 2; 927 1.1 ryo break; 928 1.1 ryo } 929 1.1 ryo /* linux_sys_rt_sigsuspend */ 930 1.1 ryo case 133: { 931 1.1 ryo const struct linux_sys_rt_sigsuspend_args *p = params; 932 1.1 ryo uarg[0] = (intptr_t) SCARG(p, unewset); /* linux_sigset_t * */ 933 1.1 ryo uarg[1] = SCARG(p, sigsetsize); /* size_t */ 934 1.1 ryo *n_args = 2; 935 1.1 ryo break; 936 1.1 ryo } 937 1.1 ryo /* linux_sys_rt_sigaction */ 938 1.1 ryo case 134: { 939 1.1 ryo const struct linux_sys_rt_sigaction_args *p = params; 940 1.1 ryo iarg[0] = SCARG(p, signum); /* int */ 941 1.1 ryo uarg[1] = (intptr_t) SCARG(p, nsa); /* const struct linux_sigaction * */ 942 1.1 ryo uarg[2] = (intptr_t) SCARG(p, osa); /* struct linux_sigaction * */ 943 1.1 ryo uarg[3] = SCARG(p, sigsetsize); /* size_t */ 944 1.1 ryo *n_args = 4; 945 1.1 ryo break; 946 1.1 ryo } 947 1.1 ryo /* linux_sys_rt_sigprocmask */ 948 1.1 ryo case 135: { 949 1.1 ryo const struct linux_sys_rt_sigprocmask_args *p = params; 950 1.1 ryo iarg[0] = SCARG(p, how); /* int */ 951 1.1 ryo uarg[1] = (intptr_t) SCARG(p, set); /* const linux_sigset_t * */ 952 1.1 ryo uarg[2] = (intptr_t) SCARG(p, oset); /* linux_sigset_t * */ 953 1.1 ryo uarg[3] = SCARG(p, sigsetsize); /* size_t */ 954 1.1 ryo *n_args = 4; 955 1.1 ryo break; 956 1.1 ryo } 957 1.1 ryo /* linux_sys_rt_sigpending */ 958 1.1 ryo case 136: { 959 1.1 ryo const struct linux_sys_rt_sigpending_args *p = params; 960 1.1 ryo uarg[0] = (intptr_t) SCARG(p, set); /* linux_sigset_t * */ 961 1.1 ryo uarg[1] = SCARG(p, sigsetsize); /* size_t */ 962 1.1 ryo *n_args = 2; 963 1.1 ryo break; 964 1.1 ryo } 965 1.1 ryo /* linux_sys_rt_sigtimedwait */ 966 1.1 ryo case 137: { 967 1.1 ryo const struct linux_sys_rt_sigtimedwait_args *p = params; 968 1.1 ryo uarg[0] = (intptr_t) SCARG(p, set); /* const linux_sigset_t * */ 969 1.1 ryo uarg[1] = (intptr_t) SCARG(p, info); /* linux_siginfo_t * */ 970 1.1 ryo uarg[2] = (intptr_t) SCARG(p, timeout); /* const struct linux_timespec * */ 971 1.1 ryo *n_args = 3; 972 1.1 ryo break; 973 1.1 ryo } 974 1.1 ryo /* linux_sys_rt_sigreturn */ 975 1.1 ryo case 139: { 976 1.1 ryo *n_args = 0; 977 1.1 ryo break; 978 1.1 ryo } 979 1.1 ryo /* sys_setpriority */ 980 1.1 ryo case 140: { 981 1.1 ryo const struct sys_setpriority_args *p = params; 982 1.1 ryo iarg[0] = SCARG(p, which); /* int */ 983 1.1 ryo iarg[1] = SCARG(p, who); /* int */ 984 1.1 ryo iarg[2] = SCARG(p, prio); /* int */ 985 1.1 ryo *n_args = 3; 986 1.1 ryo break; 987 1.1 ryo } 988 1.1 ryo /* linux_sys_getpriority */ 989 1.1 ryo case 141: { 990 1.1 ryo const struct linux_sys_getpriority_args *p = params; 991 1.1 ryo iarg[0] = SCARG(p, which); /* int */ 992 1.1 ryo iarg[1] = SCARG(p, who); /* int */ 993 1.1 ryo *n_args = 2; 994 1.1 ryo break; 995 1.1 ryo } 996 1.1 ryo /* linux_sys_reboot */ 997 1.1 ryo case 142: { 998 1.1 ryo const struct linux_sys_reboot_args *p = params; 999 1.1 ryo iarg[0] = SCARG(p, magic1); /* int */ 1000 1.1 ryo iarg[1] = SCARG(p, magic2); /* int */ 1001 1.1 ryo iarg[2] = SCARG(p, cmd); /* int */ 1002 1.1 ryo uarg[3] = (intptr_t) SCARG(p, arg); /* void * */ 1003 1.1 ryo *n_args = 4; 1004 1.1 ryo break; 1005 1.1 ryo } 1006 1.1 ryo /* sys_setregid */ 1007 1.1 ryo case 143: { 1008 1.1 ryo const struct sys_setregid_args *p = params; 1009 1.1 ryo iarg[0] = SCARG(p, rgid); /* gid_t */ 1010 1.1 ryo iarg[1] = SCARG(p, egid); /* gid_t */ 1011 1.1 ryo *n_args = 2; 1012 1.1 ryo break; 1013 1.1 ryo } 1014 1.1 ryo /* sys_setgid */ 1015 1.1 ryo case 144: { 1016 1.1 ryo const struct sys_setgid_args *p = params; 1017 1.1 ryo iarg[0] = SCARG(p, gid); /* gid_t */ 1018 1.1 ryo *n_args = 1; 1019 1.1 ryo break; 1020 1.1 ryo } 1021 1.1 ryo /* sys_setreuid */ 1022 1.1 ryo case 145: { 1023 1.1 ryo const struct sys_setreuid_args *p = params; 1024 1.1 ryo uarg[0] = SCARG(p, ruid); /* uid_t */ 1025 1.1 ryo uarg[1] = SCARG(p, euid); /* uid_t */ 1026 1.1 ryo *n_args = 2; 1027 1.1 ryo break; 1028 1.1 ryo } 1029 1.1 ryo /* sys_setuid */ 1030 1.1 ryo case 146: { 1031 1.1 ryo const struct sys_setuid_args *p = params; 1032 1.1 ryo uarg[0] = SCARG(p, uid); /* uid_t */ 1033 1.1 ryo *n_args = 1; 1034 1.1 ryo break; 1035 1.1 ryo } 1036 1.1 ryo /* linux_sys_setresuid */ 1037 1.1 ryo case 147: { 1038 1.1 ryo const struct linux_sys_setresuid_args *p = params; 1039 1.1 ryo uarg[0] = SCARG(p, ruid); /* uid_t */ 1040 1.1 ryo uarg[1] = SCARG(p, euid); /* uid_t */ 1041 1.1 ryo uarg[2] = SCARG(p, suid); /* uid_t */ 1042 1.1 ryo *n_args = 3; 1043 1.1 ryo break; 1044 1.1 ryo } 1045 1.1 ryo /* linux_sys_getresuid */ 1046 1.1 ryo case 148: { 1047 1.1 ryo const struct linux_sys_getresuid_args *p = params; 1048 1.1 ryo uarg[0] = (intptr_t) SCARG(p, ruid); /* uid_t * */ 1049 1.1 ryo uarg[1] = (intptr_t) SCARG(p, euid); /* uid_t * */ 1050 1.1 ryo uarg[2] = (intptr_t) SCARG(p, suid); /* uid_t * */ 1051 1.1 ryo *n_args = 3; 1052 1.1 ryo break; 1053 1.1 ryo } 1054 1.1 ryo /* linux_sys_setresgid */ 1055 1.1 ryo case 149: { 1056 1.1 ryo const struct linux_sys_setresgid_args *p = params; 1057 1.1 ryo iarg[0] = SCARG(p, rgid); /* gid_t */ 1058 1.1 ryo iarg[1] = SCARG(p, egid); /* gid_t */ 1059 1.1 ryo iarg[2] = SCARG(p, sgid); /* gid_t */ 1060 1.1 ryo *n_args = 3; 1061 1.1 ryo break; 1062 1.1 ryo } 1063 1.1 ryo /* linux_sys_getresgid */ 1064 1.1 ryo case 150: { 1065 1.1 ryo const struct linux_sys_getresgid_args *p = params; 1066 1.1 ryo uarg[0] = (intptr_t) SCARG(p, rgid); /* gid_t * */ 1067 1.1 ryo uarg[1] = (intptr_t) SCARG(p, egid); /* gid_t * */ 1068 1.1 ryo uarg[2] = (intptr_t) SCARG(p, sgid); /* gid_t * */ 1069 1.1 ryo *n_args = 3; 1070 1.1 ryo break; 1071 1.1 ryo } 1072 1.1 ryo /* linux_sys_setfsuid */ 1073 1.1 ryo case 151: { 1074 1.1 ryo const struct linux_sys_setfsuid_args *p = params; 1075 1.1 ryo uarg[0] = SCARG(p, uid); /* uid_t */ 1076 1.1 ryo *n_args = 1; 1077 1.1 ryo break; 1078 1.1 ryo } 1079 1.1 ryo /* linux_sys_setfsgid */ 1080 1.1 ryo case 152: { 1081 1.1 ryo const struct linux_sys_setfsgid_args *p = params; 1082 1.1 ryo iarg[0] = SCARG(p, gid); /* gid_t */ 1083 1.1 ryo *n_args = 1; 1084 1.1 ryo break; 1085 1.1 ryo } 1086 1.1 ryo /* linux_sys_times */ 1087 1.1 ryo case 153: { 1088 1.1 ryo const struct linux_sys_times_args *p = params; 1089 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tms); /* struct times * */ 1090 1.1 ryo *n_args = 1; 1091 1.1 ryo break; 1092 1.1 ryo } 1093 1.1 ryo /* sys_setpgid */ 1094 1.1 ryo case 154: { 1095 1.1 ryo const struct sys_setpgid_args *p = params; 1096 1.1 ryo iarg[0] = SCARG(p, pid); /* int */ 1097 1.1 ryo iarg[1] = SCARG(p, pgid); /* int */ 1098 1.1 ryo *n_args = 2; 1099 1.1 ryo break; 1100 1.1 ryo } 1101 1.1 ryo /* sys_getpgid */ 1102 1.1 ryo case 155: { 1103 1.1 ryo const struct sys_getpgid_args *p = params; 1104 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 1105 1.1 ryo *n_args = 1; 1106 1.1 ryo break; 1107 1.1 ryo } 1108 1.1 ryo /* sys_getsid */ 1109 1.1 ryo case 156: { 1110 1.1 ryo const struct sys_getsid_args *p = params; 1111 1.1 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 1112 1.1 ryo *n_args = 1; 1113 1.1 ryo break; 1114 1.1 ryo } 1115 1.1 ryo /* sys_setsid */ 1116 1.1 ryo case 157: { 1117 1.1 ryo *n_args = 0; 1118 1.1 ryo break; 1119 1.1 ryo } 1120 1.1 ryo /* sys_getgroups */ 1121 1.1 ryo case 158: { 1122 1.1 ryo const struct sys_getgroups_args *p = params; 1123 1.1 ryo iarg[0] = SCARG(p, gidsetsize); /* int */ 1124 1.1 ryo uarg[1] = (intptr_t) SCARG(p, gidset); /* gid_t * */ 1125 1.1 ryo *n_args = 2; 1126 1.1 ryo break; 1127 1.1 ryo } 1128 1.1 ryo /* sys_setgroups */ 1129 1.1 ryo case 159: { 1130 1.1 ryo const struct sys_setgroups_args *p = params; 1131 1.1 ryo iarg[0] = SCARG(p, gidsetsize); /* int */ 1132 1.1 ryo uarg[1] = (intptr_t) SCARG(p, gidset); /* gid_t * */ 1133 1.1 ryo *n_args = 2; 1134 1.1 ryo break; 1135 1.1 ryo } 1136 1.1 ryo /* linux_sys_uname */ 1137 1.1 ryo case 160: { 1138 1.1 ryo const struct linux_sys_uname_args *p = params; 1139 1.1 ryo uarg[0] = (intptr_t) SCARG(p, up); /* struct linux_utsname * */ 1140 1.1 ryo *n_args = 1; 1141 1.1 ryo break; 1142 1.1 ryo } 1143 1.1 ryo /* compat_43_sys_sethostname */ 1144 1.1 ryo case 161: { 1145 1.1 ryo const struct compat_43_sys_sethostname_args *p = params; 1146 1.1 ryo uarg[0] = (intptr_t) SCARG(p, hostname); /* char * */ 1147 1.1 ryo uarg[1] = SCARG(p, len); /* u_int */ 1148 1.1 ryo *n_args = 2; 1149 1.1 ryo break; 1150 1.1 ryo } 1151 1.1 ryo /* linux_sys_setdomainname */ 1152 1.1 ryo case 162: { 1153 1.1 ryo const struct linux_sys_setdomainname_args *p = params; 1154 1.1 ryo uarg[0] = (intptr_t) SCARG(p, domainname); /* char * */ 1155 1.1 ryo iarg[1] = SCARG(p, len); /* int */ 1156 1.1 ryo *n_args = 2; 1157 1.1 ryo break; 1158 1.1 ryo } 1159 1.1 ryo /* linux_sys_getrlimit */ 1160 1.1 ryo case 163: { 1161 1.1 ryo const struct linux_sys_getrlimit_args *p = params; 1162 1.1 ryo iarg[0] = SCARG(p, which); /* int */ 1163 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rlp); /* struct rlimit * */ 1164 1.1 ryo *n_args = 2; 1165 1.1 ryo break; 1166 1.1 ryo } 1167 1.1 ryo /* linux_sys_setrlimit */ 1168 1.1 ryo case 164: { 1169 1.1 ryo const struct linux_sys_setrlimit_args *p = params; 1170 1.1 ryo uarg[0] = SCARG(p, which); /* u_int */ 1171 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rlp); /* struct rlimit * */ 1172 1.1 ryo *n_args = 2; 1173 1.1 ryo break; 1174 1.1 ryo } 1175 1.1 ryo /* compat_50_sys_getrusage */ 1176 1.1 ryo case 165: { 1177 1.1 ryo const struct compat_50_sys_getrusage_args *p = params; 1178 1.1 ryo iarg[0] = SCARG(p, who); /* int */ 1179 1.1 ryo uarg[1] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ 1180 1.1 ryo *n_args = 2; 1181 1.1 ryo break; 1182 1.1 ryo } 1183 1.1 ryo /* sys_umask */ 1184 1.1 ryo case 166: { 1185 1.1 ryo const struct sys_umask_args *p = params; 1186 1.1 ryo iarg[0] = SCARG(p, newmask); /* int */ 1187 1.1 ryo *n_args = 1; 1188 1.1 ryo break; 1189 1.1 ryo } 1190 1.11 christos /* linux_sys_getcpu */ 1191 1.11 christos case 168: { 1192 1.11 christos const struct linux_sys_getcpu_args *p = params; 1193 1.11 christos uarg[0] = (intptr_t) SCARG(p, cpu); /* unsigned int * */ 1194 1.11 christos uarg[1] = (intptr_t) SCARG(p, node); /* unsigned int * */ 1195 1.11 christos uarg[2] = (intptr_t) SCARG(p, tcache); /* struct linux_getcpu_cache * */ 1196 1.11 christos *n_args = 3; 1197 1.11 christos break; 1198 1.11 christos } 1199 1.1 ryo /* linux_sys_gettimeofday */ 1200 1.1 ryo case 169: { 1201 1.1 ryo const struct linux_sys_gettimeofday_args *p = params; 1202 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval50 * */ 1203 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tzp); /* struct timezone * */ 1204 1.1 ryo *n_args = 2; 1205 1.1 ryo break; 1206 1.1 ryo } 1207 1.1 ryo /* linux_sys_settimeofday */ 1208 1.1 ryo case 170: { 1209 1.1 ryo const struct linux_sys_settimeofday_args *p = params; 1210 1.1 ryo uarg[0] = (intptr_t) SCARG(p, tp); /* struct timeval50 * */ 1211 1.1 ryo uarg[1] = (intptr_t) SCARG(p, tzp); /* struct timezone * */ 1212 1.1 ryo *n_args = 2; 1213 1.1 ryo break; 1214 1.1 ryo } 1215 1.1 ryo /* sys_getpid */ 1216 1.1 ryo case 172: { 1217 1.1 ryo *n_args = 0; 1218 1.1 ryo break; 1219 1.1 ryo } 1220 1.1 ryo /* sys_getppid */ 1221 1.1 ryo case 173: { 1222 1.1 ryo *n_args = 0; 1223 1.1 ryo break; 1224 1.1 ryo } 1225 1.1 ryo /* sys_getuid */ 1226 1.1 ryo case 174: { 1227 1.1 ryo *n_args = 0; 1228 1.1 ryo break; 1229 1.1 ryo } 1230 1.1 ryo /* sys_geteuid */ 1231 1.1 ryo case 175: { 1232 1.1 ryo *n_args = 0; 1233 1.1 ryo break; 1234 1.1 ryo } 1235 1.1 ryo /* sys_getgid */ 1236 1.1 ryo case 176: { 1237 1.1 ryo *n_args = 0; 1238 1.1 ryo break; 1239 1.1 ryo } 1240 1.1 ryo /* sys_getegid */ 1241 1.1 ryo case 177: { 1242 1.1 ryo *n_args = 0; 1243 1.1 ryo break; 1244 1.1 ryo } 1245 1.1 ryo /* linux_sys_gettid */ 1246 1.1 ryo case 178: { 1247 1.1 ryo *n_args = 0; 1248 1.1 ryo break; 1249 1.1 ryo } 1250 1.1 ryo /* linux_sys_sysinfo */ 1251 1.1 ryo case 179: { 1252 1.1 ryo const struct linux_sys_sysinfo_args *p = params; 1253 1.1 ryo uarg[0] = (intptr_t) SCARG(p, arg); /* struct linux_sysinfo * */ 1254 1.1 ryo *n_args = 1; 1255 1.1 ryo break; 1256 1.1 ryo } 1257 1.12 christos /* linux_sys_mq_open */ 1258 1.12 christos case 180: { 1259 1.12 christos const struct linux_sys_mq_open_args *p = params; 1260 1.12 christos uarg[0] = (intptr_t) SCARG(p, name); /* const char * */ 1261 1.12 christos iarg[1] = SCARG(p, oflag); /* int */ 1262 1.12 christos iarg[2] = SCARG(p, mode); /* linux_umode_t */ 1263 1.12 christos uarg[3] = (intptr_t) SCARG(p, attr); /* struct linux_mq_attr * */ 1264 1.12 christos *n_args = 4; 1265 1.12 christos break; 1266 1.12 christos } 1267 1.12 christos /* linux_sys_mq_unlink */ 1268 1.12 christos case 181: { 1269 1.12 christos const struct linux_sys_mq_unlink_args *p = params; 1270 1.12 christos uarg[0] = (intptr_t) SCARG(p, name); /* const char * */ 1271 1.12 christos *n_args = 1; 1272 1.12 christos break; 1273 1.12 christos } 1274 1.12 christos /* linux_sys_mq_timedsend */ 1275 1.12 christos case 182: { 1276 1.12 christos const struct linux_sys_mq_timedsend_args *p = params; 1277 1.12 christos iarg[0] = SCARG(p, mqdes); /* linux_mqd_t */ 1278 1.12 christos uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* const char * */ 1279 1.12 christos uarg[2] = SCARG(p, msg_len); /* size_t */ 1280 1.12 christos uarg[3] = SCARG(p, msg_prio); /* unsigned int */ 1281 1.12 christos uarg[4] = (intptr_t) SCARG(p, abs_timeout); /* const struct linux_timespec * */ 1282 1.12 christos *n_args = 5; 1283 1.12 christos break; 1284 1.12 christos } 1285 1.12 christos /* linux_sys_mq_timedreceive */ 1286 1.12 christos case 183: { 1287 1.12 christos const struct linux_sys_mq_timedreceive_args *p = params; 1288 1.12 christos iarg[0] = SCARG(p, mqdes); /* linux_mqd_t */ 1289 1.12 christos uarg[1] = (intptr_t) SCARG(p, msg_ptr); /* char * */ 1290 1.12 christos uarg[2] = SCARG(p, msg_len); /* size_t */ 1291 1.12 christos uarg[3] = (intptr_t) SCARG(p, msg_prio); /* unsigned int * */ 1292 1.12 christos uarg[4] = (intptr_t) SCARG(p, abs_timeout); /* const struct linux_timespec * */ 1293 1.12 christos *n_args = 5; 1294 1.12 christos break; 1295 1.12 christos } 1296 1.12 christos /* linux_sys_mq_notify */ 1297 1.12 christos case 184: { 1298 1.12 christos const struct linux_sys_mq_notify_args *p = params; 1299 1.12 christos iarg[0] = SCARG(p, mqdes); /* linux_mqd_t */ 1300 1.12 christos uarg[1] = (intptr_t) SCARG(p, sevp); /* const struct linux_sigevent * */ 1301 1.12 christos *n_args = 2; 1302 1.12 christos break; 1303 1.12 christos } 1304 1.12 christos /* linux_sys_mq_getsetattr */ 1305 1.12 christos case 185: { 1306 1.12 christos const struct linux_sys_mq_getsetattr_args *p = params; 1307 1.12 christos iarg[0] = SCARG(p, mqdes); /* linux_mqd_t */ 1308 1.12 christos uarg[1] = (intptr_t) SCARG(p, newattr); /* const struct linux_mq_attr * */ 1309 1.12 christos uarg[2] = (intptr_t) SCARG(p, oldattr); /* struct linux_mq_attr * */ 1310 1.12 christos *n_args = 3; 1311 1.12 christos break; 1312 1.12 christos } 1313 1.1 ryo #ifdef SYSVMSG 1314 1.1 ryo /* sys_msgget */ 1315 1.1 ryo case 186: { 1316 1.1 ryo const struct sys_msgget_args *p = params; 1317 1.1 ryo iarg[0] = SCARG(p, key); /* key_t */ 1318 1.1 ryo iarg[1] = SCARG(p, msgflg); /* int */ 1319 1.1 ryo *n_args = 2; 1320 1.1 ryo break; 1321 1.1 ryo } 1322 1.1 ryo /* linux_sys_msgctl */ 1323 1.1 ryo case 187: { 1324 1.1 ryo const struct linux_sys_msgctl_args *p = params; 1325 1.1 ryo iarg[0] = SCARG(p, msqid); /* int */ 1326 1.1 ryo iarg[1] = SCARG(p, cmd); /* int */ 1327 1.1 ryo uarg[2] = (intptr_t) SCARG(p, buf); /* struct linux_msqid_ds * */ 1328 1.1 ryo *n_args = 3; 1329 1.1 ryo break; 1330 1.1 ryo } 1331 1.1 ryo /* sys_msgrcv */ 1332 1.1 ryo case 188: { 1333 1.1 ryo const struct sys_msgrcv_args *p = params; 1334 1.1 ryo iarg[0] = SCARG(p, msqid); /* int */ 1335 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgp); /* void * */ 1336 1.1 ryo uarg[2] = SCARG(p, msgsz); /* size_t */ 1337 1.1 ryo iarg[3] = SCARG(p, msgtyp); /* long */ 1338 1.1 ryo iarg[4] = SCARG(p, msgflg); /* int */ 1339 1.1 ryo *n_args = 5; 1340 1.1 ryo break; 1341 1.1 ryo } 1342 1.1 ryo /* sys_msgsnd */ 1343 1.1 ryo case 189: { 1344 1.1 ryo const struct sys_msgsnd_args *p = params; 1345 1.1 ryo iarg[0] = SCARG(p, msqid); /* int */ 1346 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgp); /* void * */ 1347 1.1 ryo uarg[2] = SCARG(p, msgsz); /* size_t */ 1348 1.1 ryo iarg[3] = SCARG(p, msgflg); /* int */ 1349 1.1 ryo *n_args = 4; 1350 1.1 ryo break; 1351 1.1 ryo } 1352 1.1 ryo #else 1353 1.1 ryo #endif 1354 1.1 ryo #ifdef SYSVSEM 1355 1.1 ryo /* sys_semget */ 1356 1.1 ryo case 190: { 1357 1.1 ryo const struct sys_semget_args *p = params; 1358 1.1 ryo iarg[0] = SCARG(p, key); /* key_t */ 1359 1.1 ryo iarg[1] = SCARG(p, nsems); /* int */ 1360 1.1 ryo iarg[2] = SCARG(p, semflg); /* int */ 1361 1.1 ryo *n_args = 3; 1362 1.1 ryo break; 1363 1.1 ryo } 1364 1.1 ryo /* linux_sys_semctl */ 1365 1.1 ryo case 191: { 1366 1.1 ryo const struct linux_sys_semctl_args *p = params; 1367 1.1 ryo iarg[0] = SCARG(p, semid); /* int */ 1368 1.1 ryo iarg[1] = SCARG(p, semnum); /* int */ 1369 1.1 ryo iarg[2] = SCARG(p, cmd); /* int */ 1370 1.1 ryo uarg[3] = SCARG(p, arg); /* union linux_semun */ 1371 1.1 ryo *n_args = 4; 1372 1.1 ryo break; 1373 1.1 ryo } 1374 1.1 ryo /* sys_semop */ 1375 1.1 ryo case 193: { 1376 1.1 ryo const struct sys_semop_args *p = params; 1377 1.1 ryo iarg[0] = SCARG(p, semid); /* int */ 1378 1.1 ryo uarg[1] = (intptr_t) SCARG(p, sops); /* struct sembuf * */ 1379 1.1 ryo uarg[2] = SCARG(p, nsops); /* size_t */ 1380 1.1 ryo *n_args = 3; 1381 1.1 ryo break; 1382 1.1 ryo } 1383 1.1 ryo #else 1384 1.1 ryo #endif 1385 1.1 ryo #ifdef SYSVSEM 1386 1.1 ryo /* linux_sys_shmget */ 1387 1.1 ryo case 194: { 1388 1.1 ryo const struct linux_sys_shmget_args *p = params; 1389 1.1 ryo iarg[0] = SCARG(p, key); /* key_t */ 1390 1.1 ryo uarg[1] = SCARG(p, size); /* size_t */ 1391 1.1 ryo iarg[2] = SCARG(p, shmflg); /* int */ 1392 1.1 ryo *n_args = 3; 1393 1.1 ryo break; 1394 1.1 ryo } 1395 1.1 ryo /* linux_sys_shmctl */ 1396 1.1 ryo case 195: { 1397 1.1 ryo const struct linux_sys_shmctl_args *p = params; 1398 1.1 ryo iarg[0] = SCARG(p, shmid); /* int */ 1399 1.1 ryo iarg[1] = SCARG(p, cmd); /* int */ 1400 1.1 ryo uarg[2] = (intptr_t) SCARG(p, buf); /* struct linux_shmid_ds * */ 1401 1.1 ryo *n_args = 3; 1402 1.1 ryo break; 1403 1.1 ryo } 1404 1.1 ryo /* sys_shmat */ 1405 1.1 ryo case 196: { 1406 1.1 ryo const struct sys_shmat_args *p = params; 1407 1.1 ryo iarg[0] = SCARG(p, shmid); /* int */ 1408 1.1 ryo uarg[1] = (intptr_t) SCARG(p, shmaddr); /* void * */ 1409 1.1 ryo iarg[2] = SCARG(p, shmflg); /* int */ 1410 1.1 ryo *n_args = 3; 1411 1.1 ryo break; 1412 1.1 ryo } 1413 1.1 ryo /* sys_shmdt */ 1414 1.1 ryo case 197: { 1415 1.1 ryo const struct sys_shmdt_args *p = params; 1416 1.1 ryo uarg[0] = (intptr_t) SCARG(p, shmaddr); /* const void * */ 1417 1.1 ryo *n_args = 1; 1418 1.1 ryo break; 1419 1.1 ryo } 1420 1.1 ryo #else 1421 1.1 ryo #endif 1422 1.1 ryo /* linux_sys_socket */ 1423 1.1 ryo case 198: { 1424 1.1 ryo const struct linux_sys_socket_args *p = params; 1425 1.1 ryo iarg[0] = SCARG(p, domain); /* int */ 1426 1.1 ryo iarg[1] = SCARG(p, type); /* int */ 1427 1.1 ryo iarg[2] = SCARG(p, protocol); /* int */ 1428 1.1 ryo *n_args = 3; 1429 1.1 ryo break; 1430 1.1 ryo } 1431 1.1 ryo /* linux_sys_socketpair */ 1432 1.1 ryo case 199: { 1433 1.1 ryo const struct linux_sys_socketpair_args *p = params; 1434 1.1 ryo iarg[0] = SCARG(p, domain); /* int */ 1435 1.1 ryo iarg[1] = SCARG(p, type); /* int */ 1436 1.1 ryo iarg[2] = SCARG(p, protocol); /* int */ 1437 1.1 ryo uarg[3] = (intptr_t) SCARG(p, rsv); /* int * */ 1438 1.1 ryo *n_args = 4; 1439 1.1 ryo break; 1440 1.1 ryo } 1441 1.1 ryo /* linux_sys_bind */ 1442 1.1 ryo case 200: { 1443 1.1 ryo const struct linux_sys_bind_args *p = params; 1444 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1445 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* const struct osockaddr * */ 1446 1.1 ryo uarg[2] = SCARG(p, namelen); /* unsigned int */ 1447 1.1 ryo *n_args = 3; 1448 1.1 ryo break; 1449 1.1 ryo } 1450 1.1 ryo /* sys_listen */ 1451 1.1 ryo case 201: { 1452 1.1 ryo const struct sys_listen_args *p = params; 1453 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1454 1.1 ryo iarg[1] = SCARG(p, backlog); /* int */ 1455 1.1 ryo *n_args = 2; 1456 1.1 ryo break; 1457 1.1 ryo } 1458 1.1 ryo /* linux_sys_accept */ 1459 1.1 ryo case 202: { 1460 1.1 ryo const struct linux_sys_accept_args *p = params; 1461 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1462 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* struct osockaddr * */ 1463 1.1 ryo uarg[2] = (intptr_t) SCARG(p, anamelen); /* int * */ 1464 1.1 ryo *n_args = 3; 1465 1.1 ryo break; 1466 1.1 ryo } 1467 1.1 ryo /* linux_sys_connect */ 1468 1.1 ryo case 203: { 1469 1.1 ryo const struct linux_sys_connect_args *p = params; 1470 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1471 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* const struct osockaddr * */ 1472 1.1 ryo uarg[2] = SCARG(p, namelen); /* unsigned int */ 1473 1.1 ryo *n_args = 3; 1474 1.1 ryo break; 1475 1.1 ryo } 1476 1.1 ryo /* linux_sys_getsockname */ 1477 1.1 ryo case 204: { 1478 1.1 ryo const struct linux_sys_getsockname_args *p = params; 1479 1.1 ryo iarg[0] = SCARG(p, fdec); /* int */ 1480 1.1 ryo uarg[1] = (intptr_t) SCARG(p, asa); /* void * */ 1481 1.1 ryo uarg[2] = (intptr_t) SCARG(p, alen); /* int * */ 1482 1.1 ryo *n_args = 3; 1483 1.1 ryo break; 1484 1.1 ryo } 1485 1.1 ryo /* linux_sys_getpeername */ 1486 1.1 ryo case 205: { 1487 1.1 ryo const struct linux_sys_getpeername_args *p = params; 1488 1.1 ryo iarg[0] = SCARG(p, fdes); /* int */ 1489 1.1 ryo uarg[1] = (intptr_t) SCARG(p, asa); /* struct sockaddr * */ 1490 1.1 ryo uarg[2] = (intptr_t) SCARG(p, alen); /* unsigned int * */ 1491 1.1 ryo *n_args = 3; 1492 1.1 ryo break; 1493 1.1 ryo } 1494 1.1 ryo /* linux_sys_sendto */ 1495 1.1 ryo case 206: { 1496 1.1 ryo const struct linux_sys_sendto_args *p = params; 1497 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1498 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msg); /* void * */ 1499 1.1 ryo iarg[2] = SCARG(p, len); /* int */ 1500 1.1 ryo iarg[3] = SCARG(p, flags); /* int */ 1501 1.1 ryo uarg[4] = (intptr_t) SCARG(p, to); /* struct osockaddr * */ 1502 1.1 ryo iarg[5] = SCARG(p, tolen); /* int */ 1503 1.1 ryo *n_args = 6; 1504 1.1 ryo break; 1505 1.1 ryo } 1506 1.1 ryo /* linux_sys_recvfrom */ 1507 1.1 ryo case 207: { 1508 1.1 ryo const struct linux_sys_recvfrom_args *p = params; 1509 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1510 1.1 ryo uarg[1] = (intptr_t) SCARG(p, buf); /* void * */ 1511 1.1 ryo uarg[2] = SCARG(p, len); /* size_t */ 1512 1.1 ryo iarg[3] = SCARG(p, flags); /* int */ 1513 1.1 ryo uarg[4] = (intptr_t) SCARG(p, from); /* struct osockaddr * */ 1514 1.1 ryo uarg[5] = (intptr_t) SCARG(p, fromlenaddr); /* unsigned int * */ 1515 1.1 ryo *n_args = 6; 1516 1.1 ryo break; 1517 1.1 ryo } 1518 1.1 ryo /* linux_sys_setsockopt */ 1519 1.1 ryo case 208: { 1520 1.1 ryo const struct linux_sys_setsockopt_args *p = params; 1521 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1522 1.1 ryo iarg[1] = SCARG(p, level); /* int */ 1523 1.1 ryo iarg[2] = SCARG(p, optname); /* int */ 1524 1.1 ryo uarg[3] = (intptr_t) SCARG(p, optval); /* void * */ 1525 1.1 ryo iarg[4] = SCARG(p, optlen); /* int */ 1526 1.1 ryo *n_args = 5; 1527 1.1 ryo break; 1528 1.1 ryo } 1529 1.1 ryo /* linux_sys_getsockopt */ 1530 1.1 ryo case 209: { 1531 1.1 ryo const struct linux_sys_getsockopt_args *p = params; 1532 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1533 1.1 ryo iarg[1] = SCARG(p, level); /* int */ 1534 1.1 ryo iarg[2] = SCARG(p, optname); /* int */ 1535 1.1 ryo uarg[3] = (intptr_t) SCARG(p, optval); /* void * */ 1536 1.1 ryo uarg[4] = (intptr_t) SCARG(p, optlen); /* int * */ 1537 1.1 ryo *n_args = 5; 1538 1.1 ryo break; 1539 1.1 ryo } 1540 1.1 ryo /* sys_shutdown */ 1541 1.1 ryo case 210: { 1542 1.1 ryo const struct sys_shutdown_args *p = params; 1543 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1544 1.1 ryo iarg[1] = SCARG(p, how); /* int */ 1545 1.1 ryo *n_args = 2; 1546 1.1 ryo break; 1547 1.1 ryo } 1548 1.1 ryo /* linux_sys_sendmsg */ 1549 1.1 ryo case 211: { 1550 1.1 ryo const struct linux_sys_sendmsg_args *p = params; 1551 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1552 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msg); /* const struct linux_msghdr * */ 1553 1.1 ryo iarg[2] = SCARG(p, flags); /* int */ 1554 1.1 ryo *n_args = 3; 1555 1.1 ryo break; 1556 1.1 ryo } 1557 1.1 ryo /* linux_sys_recvmsg */ 1558 1.1 ryo case 212: { 1559 1.1 ryo const struct linux_sys_recvmsg_args *p = params; 1560 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1561 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msg); /* struct linux_msghdr * */ 1562 1.1 ryo iarg[2] = SCARG(p, flags); /* int */ 1563 1.1 ryo *n_args = 3; 1564 1.1 ryo break; 1565 1.1 ryo } 1566 1.8 christos /* linux_sys_readahead */ 1567 1.8 christos case 213: { 1568 1.8 christos const struct linux_sys_readahead_args *p = params; 1569 1.8 christos iarg[0] = SCARG(p, fd); /* int */ 1570 1.8 christos iarg[1] = SCARG(p, offset); /* off_t */ 1571 1.8 christos uarg[2] = SCARG(p, count); /* size_t */ 1572 1.8 christos *n_args = 3; 1573 1.8 christos break; 1574 1.8 christos } 1575 1.1 ryo /* linux_sys_brk */ 1576 1.1 ryo case 214: { 1577 1.1 ryo const struct linux_sys_brk_args *p = params; 1578 1.1 ryo uarg[0] = (intptr_t) SCARG(p, nsize); /* char * */ 1579 1.1 ryo *n_args = 1; 1580 1.1 ryo break; 1581 1.1 ryo } 1582 1.1 ryo /* sys_munmap */ 1583 1.1 ryo case 215: { 1584 1.1 ryo const struct sys_munmap_args *p = params; 1585 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ 1586 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 1587 1.1 ryo *n_args = 2; 1588 1.1 ryo break; 1589 1.1 ryo } 1590 1.1 ryo /* linux_sys_mremap */ 1591 1.1 ryo case 216: { 1592 1.1 ryo const struct linux_sys_mremap_args *p = params; 1593 1.1 ryo uarg[0] = (intptr_t) SCARG(p, old_address); /* void * */ 1594 1.1 ryo uarg[1] = SCARG(p, old_size); /* size_t */ 1595 1.1 ryo uarg[2] = SCARG(p, new_size); /* size_t */ 1596 1.1 ryo uarg[3] = SCARG(p, flags); /* u_long */ 1597 1.1 ryo *n_args = 4; 1598 1.1 ryo break; 1599 1.1 ryo } 1600 1.1 ryo /* linux_sys_clone */ 1601 1.1 ryo case 220: { 1602 1.1 ryo const struct linux_sys_clone_args *p = params; 1603 1.1 ryo iarg[0] = SCARG(p, flags); /* int */ 1604 1.1 ryo uarg[1] = (intptr_t) SCARG(p, stack); /* void * */ 1605 1.1 ryo uarg[2] = (intptr_t) SCARG(p, parent_tidptr); /* void * */ 1606 1.1 ryo uarg[3] = (intptr_t) SCARG(p, child_tidptr); /* void * */ 1607 1.1 ryo uarg[4] = (intptr_t) SCARG(p, tls); /* void * */ 1608 1.1 ryo *n_args = 5; 1609 1.1 ryo break; 1610 1.1 ryo } 1611 1.1 ryo /* sys_execve */ 1612 1.1 ryo case 221: { 1613 1.1 ryo const struct sys_execve_args *p = params; 1614 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 1615 1.1 ryo uarg[1] = (intptr_t) SCARG(p, argp); /* char ** */ 1616 1.1 ryo uarg[2] = (intptr_t) SCARG(p, envp); /* char ** */ 1617 1.1 ryo *n_args = 3; 1618 1.1 ryo break; 1619 1.1 ryo } 1620 1.1 ryo /* linux_sys_mmap */ 1621 1.1 ryo case 222: { 1622 1.1 ryo const struct linux_sys_mmap_args *p = params; 1623 1.1 ryo uarg[0] = SCARG(p, addr); /* unsigned long */ 1624 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 1625 1.1 ryo iarg[2] = SCARG(p, prot); /* int */ 1626 1.1 ryo iarg[3] = SCARG(p, flags); /* int */ 1627 1.1 ryo iarg[4] = SCARG(p, fd); /* int */ 1628 1.1 ryo iarg[5] = SCARG(p, offset); /* linux_off_t */ 1629 1.1 ryo *n_args = 6; 1630 1.1 ryo break; 1631 1.1 ryo } 1632 1.1 ryo /* linux_sys_fadvise64 */ 1633 1.1 ryo case 223: { 1634 1.1 ryo const struct linux_sys_fadvise64_args *p = params; 1635 1.1 ryo iarg[0] = SCARG(p, fd); /* int */ 1636 1.1 ryo iarg[1] = SCARG(p, offset); /* off_t */ 1637 1.1 ryo uarg[2] = SCARG(p, len); /* size_t */ 1638 1.1 ryo iarg[3] = SCARG(p, advice); /* int */ 1639 1.1 ryo *n_args = 4; 1640 1.1 ryo break; 1641 1.1 ryo } 1642 1.1 ryo /* linux_sys_swapon */ 1643 1.1 ryo case 224: { 1644 1.1 ryo const struct linux_sys_swapon_args *p = params; 1645 1.1 ryo uarg[0] = (intptr_t) SCARG(p, name); /* char * */ 1646 1.1 ryo *n_args = 1; 1647 1.1 ryo break; 1648 1.1 ryo } 1649 1.1 ryo /* linux_sys_swapoff */ 1650 1.1 ryo case 225: { 1651 1.1 ryo const struct linux_sys_swapoff_args *p = params; 1652 1.1 ryo uarg[0] = (intptr_t) SCARG(p, path); /* const char * */ 1653 1.1 ryo *n_args = 1; 1654 1.1 ryo break; 1655 1.1 ryo } 1656 1.1 ryo /* linux_sys_mprotect */ 1657 1.1 ryo case 226: { 1658 1.1 ryo const struct linux_sys_mprotect_args *p = params; 1659 1.1 ryo uarg[0] = (intptr_t) SCARG(p, start); /* const void * */ 1660 1.1 ryo uarg[1] = SCARG(p, len); /* unsigned long */ 1661 1.1 ryo iarg[2] = SCARG(p, prot); /* int */ 1662 1.1 ryo *n_args = 3; 1663 1.1 ryo break; 1664 1.1 ryo } 1665 1.1 ryo /* sys___msync13 */ 1666 1.1 ryo case 227: { 1667 1.1 ryo const struct sys___msync13_args *p = params; 1668 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ 1669 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 1670 1.1 ryo iarg[2] = SCARG(p, flags); /* int */ 1671 1.1 ryo *n_args = 3; 1672 1.1 ryo break; 1673 1.1 ryo } 1674 1.1 ryo /* sys_mlock */ 1675 1.1 ryo case 228: { 1676 1.1 ryo const struct sys_mlock_args *p = params; 1677 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ 1678 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 1679 1.1 ryo *n_args = 2; 1680 1.1 ryo break; 1681 1.1 ryo } 1682 1.1 ryo /* sys_munlock */ 1683 1.1 ryo case 229: { 1684 1.1 ryo const struct sys_munlock_args *p = params; 1685 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ 1686 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 1687 1.1 ryo *n_args = 2; 1688 1.1 ryo break; 1689 1.1 ryo } 1690 1.1 ryo /* sys_mlockall */ 1691 1.1 ryo case 230: { 1692 1.1 ryo const struct sys_mlockall_args *p = params; 1693 1.1 ryo iarg[0] = SCARG(p, flags); /* int */ 1694 1.1 ryo *n_args = 1; 1695 1.1 ryo break; 1696 1.1 ryo } 1697 1.1 ryo /* sys_munlockall */ 1698 1.1 ryo case 231: { 1699 1.1 ryo *n_args = 0; 1700 1.1 ryo break; 1701 1.1 ryo } 1702 1.1 ryo /* sys_mincore */ 1703 1.1 ryo case 232: { 1704 1.1 ryo const struct sys_mincore_args *p = params; 1705 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ 1706 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 1707 1.1 ryo uarg[2] = (intptr_t) SCARG(p, vec); /* char * */ 1708 1.1 ryo *n_args = 3; 1709 1.1 ryo break; 1710 1.1 ryo } 1711 1.1 ryo /* sys_madvise */ 1712 1.1 ryo case 233: { 1713 1.1 ryo const struct sys_madvise_args *p = params; 1714 1.1 ryo uarg[0] = (intptr_t) SCARG(p, addr); /* void * */ 1715 1.1 ryo uarg[1] = SCARG(p, len); /* size_t */ 1716 1.1 ryo iarg[2] = SCARG(p, behav); /* int */ 1717 1.1 ryo *n_args = 3; 1718 1.1 ryo break; 1719 1.1 ryo } 1720 1.1 ryo /* linux_sys_accept4 */ 1721 1.1 ryo case 242: { 1722 1.1 ryo const struct linux_sys_accept4_args *p = params; 1723 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1724 1.1 ryo uarg[1] = (intptr_t) SCARG(p, name); /* struct osockaddr * */ 1725 1.1 ryo uarg[2] = (intptr_t) SCARG(p, anamelen); /* int * */ 1726 1.1 ryo iarg[3] = SCARG(p, flags); /* int */ 1727 1.1 ryo *n_args = 4; 1728 1.1 ryo break; 1729 1.1 ryo } 1730 1.1 ryo /* linux_sys_recvmmsg */ 1731 1.1 ryo case 243: { 1732 1.1 ryo const struct linux_sys_recvmmsg_args *p = params; 1733 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1734 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ 1735 1.1 ryo uarg[2] = SCARG(p, vlen); /* unsigned int */ 1736 1.1 ryo uarg[3] = SCARG(p, flags); /* unsigned int */ 1737 1.1 ryo uarg[4] = (intptr_t) SCARG(p, timeout); /* struct timespec * */ 1738 1.1 ryo *n_args = 5; 1739 1.1 ryo break; 1740 1.1 ryo } 1741 1.1 ryo /* linux_sys_wait4 */ 1742 1.1 ryo case 260: { 1743 1.1 ryo const struct linux_sys_wait4_args *p = params; 1744 1.1 ryo iarg[0] = SCARG(p, pid); /* int */ 1745 1.1 ryo uarg[1] = (intptr_t) SCARG(p, status); /* int * */ 1746 1.1 ryo iarg[2] = SCARG(p, options); /* int */ 1747 1.1 ryo uarg[3] = (intptr_t) SCARG(p, rusage); /* struct rusage50 * */ 1748 1.1 ryo *n_args = 4; 1749 1.1 ryo break; 1750 1.1 ryo } 1751 1.4 ryo /* linux_sys_prlimit64 */ 1752 1.4 ryo case 261: { 1753 1.4 ryo const struct linux_sys_prlimit64_args *p = params; 1754 1.4 ryo iarg[0] = SCARG(p, pid); /* pid_t */ 1755 1.4 ryo iarg[1] = SCARG(p, which); /* int */ 1756 1.4 ryo uarg[2] = (intptr_t) SCARG(p, new_rlp); /* struct rlimit * */ 1757 1.4 ryo uarg[3] = (intptr_t) SCARG(p, old_rlp); /* struct rlimit * */ 1758 1.4 ryo *n_args = 4; 1759 1.4 ryo break; 1760 1.4 ryo } 1761 1.13 christos /* linux_sys_syncfs */ 1762 1.13 christos case 267: { 1763 1.13 christos const struct linux_sys_syncfs_args *p = params; 1764 1.13 christos iarg[0] = SCARG(p, fd); /* int */ 1765 1.13 christos *n_args = 1; 1766 1.13 christos break; 1767 1.13 christos } 1768 1.1 ryo /* linux_sys_sendmmsg */ 1769 1.1 ryo case 269: { 1770 1.1 ryo const struct linux_sys_sendmmsg_args *p = params; 1771 1.1 ryo iarg[0] = SCARG(p, s); /* int */ 1772 1.1 ryo uarg[1] = (intptr_t) SCARG(p, msgvec); /* struct linux_mmsghdr * */ 1773 1.1 ryo uarg[2] = SCARG(p, vlen); /* unsigned int */ 1774 1.1 ryo uarg[3] = SCARG(p, flags); /* unsigned int */ 1775 1.1 ryo *n_args = 4; 1776 1.1 ryo break; 1777 1.1 ryo } 1778 1.13 christos /* linux_sys_renameat2 */ 1779 1.13 christos case 276: { 1780 1.13 christos const struct linux_sys_renameat2_args *p = params; 1781 1.13 christos iarg[0] = SCARG(p, fromfd); /* int */ 1782 1.13 christos uarg[1] = (intptr_t) SCARG(p, from); /* const char * */ 1783 1.13 christos iarg[2] = SCARG(p, tofd); /* int */ 1784 1.13 christos uarg[3] = (intptr_t) SCARG(p, to); /* const char * */ 1785 1.13 christos uarg[4] = SCARG(p, flags); /* unsigned int */ 1786 1.13 christos *n_args = 5; 1787 1.13 christos break; 1788 1.13 christos } 1789 1.2 ryo /* sys_getrandom */ 1790 1.2 ryo case 278: { 1791 1.2 ryo const struct sys_getrandom_args *p = params; 1792 1.2 ryo uarg[0] = (intptr_t) SCARG(p, buf); /* void * */ 1793 1.2 ryo uarg[1] = SCARG(p, buflen); /* size_t */ 1794 1.2 ryo uarg[2] = SCARG(p, flags); /* unsigned int */ 1795 1.2 ryo *n_args = 3; 1796 1.2 ryo break; 1797 1.2 ryo } 1798 1.5 christos /* linux_sys_memfd_create */ 1799 1.5 christos case 279: { 1800 1.5 christos const struct linux_sys_memfd_create_args *p = params; 1801 1.5 christos uarg[0] = (intptr_t) SCARG(p, name); /* const char * */ 1802 1.5 christos uarg[1] = SCARG(p, flags); /* unsigned int */ 1803 1.5 christos *n_args = 2; 1804 1.5 christos break; 1805 1.5 christos } 1806 1.13 christos /* linux_sys_copy_file_range */ 1807 1.13 christos case 285: { 1808 1.13 christos const struct linux_sys_copy_file_range_args *p = params; 1809 1.13 christos iarg[0] = SCARG(p, fd_in); /* int */ 1810 1.13 christos uarg[1] = (intptr_t) SCARG(p, off_in); /* off_t * */ 1811 1.13 christos iarg[2] = SCARG(p, fd_out); /* int */ 1812 1.13 christos uarg[3] = (intptr_t) SCARG(p, off_out); /* off_t * */ 1813 1.13 christos uarg[4] = SCARG(p, len); /* size_t */ 1814 1.13 christos uarg[5] = SCARG(p, flags); /* unsigned int */ 1815 1.13 christos *n_args = 6; 1816 1.13 christos break; 1817 1.13 christos } 1818 1.3 ryo /* linux_sys_statx */ 1819 1.3 ryo case 291: { 1820 1.3 ryo const struct linux_sys_statx_args *p = params; 1821 1.3 ryo iarg[0] = SCARG(p, fd); /* int */ 1822 1.3 ryo uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 1823 1.3 ryo iarg[2] = SCARG(p, flag); /* int */ 1824 1.3 ryo uarg[3] = SCARG(p, mask); /* unsigned int */ 1825 1.3 ryo uarg[4] = (intptr_t) SCARG(p, sp); /* struct linux_statx * */ 1826 1.3 ryo *n_args = 5; 1827 1.3 ryo break; 1828 1.3 ryo } 1829 1.13 christos /* linux_sys_clone3 */ 1830 1.13 christos case 435: { 1831 1.13 christos const struct linux_sys_clone3_args *p = params; 1832 1.13 christos uarg[0] = (intptr_t) SCARG(p, cl_args); /* struct linux_user_clone3_args * */ 1833 1.13 christos uarg[1] = SCARG(p, size); /* size_t */ 1834 1.13 christos *n_args = 2; 1835 1.13 christos break; 1836 1.13 christos } 1837 1.8 christos /* linux_sys_close_range */ 1838 1.8 christos case 436: { 1839 1.8 christos const struct linux_sys_close_range_args *p = params; 1840 1.8 christos uarg[0] = SCARG(p, first); /* unsigned int */ 1841 1.8 christos uarg[1] = SCARG(p, last); /* unsigned int */ 1842 1.8 christos uarg[2] = SCARG(p, flags); /* unsigned int */ 1843 1.8 christos *n_args = 3; 1844 1.8 christos break; 1845 1.8 christos } 1846 1.11 christos /* linux_sys_faccessat2 */ 1847 1.11 christos case 439: { 1848 1.11 christos const struct linux_sys_faccessat2_args *p = params; 1849 1.11 christos iarg[0] = SCARG(p, fd); /* int */ 1850 1.11 christos uarg[1] = (intptr_t) SCARG(p, path); /* const char * */ 1851 1.11 christos iarg[2] = SCARG(p, amode); /* int */ 1852 1.11 christos iarg[3] = SCARG(p, flags); /* int */ 1853 1.11 christos *n_args = 4; 1854 1.11 christos break; 1855 1.11 christos } 1856 1.1 ryo /* linux_sys_nosys */ 1857 1.1 ryo case 440: { 1858 1.1 ryo *n_args = 0; 1859 1.1 ryo break; 1860 1.1 ryo } 1861 1.6 christos /* linux_sys_epoll_pwait2 */ 1862 1.6 christos case 441: { 1863 1.6 christos const struct linux_sys_epoll_pwait2_args *p = params; 1864 1.6 christos iarg[0] = SCARG(p, epfd); /* int */ 1865 1.6 christos uarg[1] = (intptr_t) SCARG(p, events); /* struct linux_epoll_event * */ 1866 1.6 christos iarg[2] = SCARG(p, maxevents); /* int */ 1867 1.6 christos uarg[3] = (intptr_t) SCARG(p, timeout); /* const struct linux_timespec * */ 1868 1.6 christos uarg[4] = (intptr_t) SCARG(p, sigmask); /* const linux_sigset_t * */ 1869 1.6 christos *n_args = 5; 1870 1.6 christos break; 1871 1.6 christos } 1872 1.1 ryo default: 1873 1.1 ryo *n_args = 0; 1874 1.1 ryo break; 1875 1.1 ryo }; 1876 1.1 ryo } 1877 1.1 ryo static void 1878 1.1 ryo systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 1879 1.1 ryo { 1880 1.1 ryo const char *p = NULL; 1881 1.1 ryo switch (sysnum) { 1882 1.1 ryo /* linux_sys_setxattr */ 1883 1.1 ryo case 5: 1884 1.1 ryo switch(ndx) { 1885 1.1 ryo case 0: 1886 1.1 ryo p = "char *"; 1887 1.1 ryo break; 1888 1.1 ryo case 1: 1889 1.1 ryo p = "char *"; 1890 1.1 ryo break; 1891 1.1 ryo case 2: 1892 1.1 ryo p = "void *"; 1893 1.1 ryo break; 1894 1.1 ryo case 3: 1895 1.1 ryo p = "size_t"; 1896 1.1 ryo break; 1897 1.1 ryo case 4: 1898 1.1 ryo p = "int"; 1899 1.1 ryo break; 1900 1.1 ryo default: 1901 1.1 ryo break; 1902 1.1 ryo }; 1903 1.1 ryo break; 1904 1.1 ryo /* linux_sys_lsetxattr */ 1905 1.1 ryo case 6: 1906 1.1 ryo switch(ndx) { 1907 1.1 ryo case 0: 1908 1.1 ryo p = "char *"; 1909 1.1 ryo break; 1910 1.1 ryo case 1: 1911 1.1 ryo p = "char *"; 1912 1.1 ryo break; 1913 1.1 ryo case 2: 1914 1.1 ryo p = "void *"; 1915 1.1 ryo break; 1916 1.1 ryo case 3: 1917 1.1 ryo p = "size_t"; 1918 1.1 ryo break; 1919 1.1 ryo case 4: 1920 1.1 ryo p = "int"; 1921 1.1 ryo break; 1922 1.1 ryo default: 1923 1.1 ryo break; 1924 1.1 ryo }; 1925 1.1 ryo break; 1926 1.1 ryo /* linux_sys_fsetxattr */ 1927 1.1 ryo case 7: 1928 1.1 ryo switch(ndx) { 1929 1.1 ryo case 0: 1930 1.1 ryo p = "int"; 1931 1.1 ryo break; 1932 1.1 ryo case 1: 1933 1.1 ryo p = "char *"; 1934 1.1 ryo break; 1935 1.1 ryo case 2: 1936 1.1 ryo p = "void *"; 1937 1.1 ryo break; 1938 1.1 ryo case 3: 1939 1.1 ryo p = "size_t"; 1940 1.1 ryo break; 1941 1.1 ryo case 4: 1942 1.1 ryo p = "int"; 1943 1.1 ryo break; 1944 1.1 ryo default: 1945 1.1 ryo break; 1946 1.1 ryo }; 1947 1.1 ryo break; 1948 1.1 ryo /* linux_sys_getxattr */ 1949 1.1 ryo case 8: 1950 1.1 ryo switch(ndx) { 1951 1.1 ryo case 0: 1952 1.1 ryo p = "char *"; 1953 1.1 ryo break; 1954 1.1 ryo case 1: 1955 1.1 ryo p = "char *"; 1956 1.1 ryo break; 1957 1.1 ryo case 2: 1958 1.1 ryo p = "void *"; 1959 1.1 ryo break; 1960 1.1 ryo case 3: 1961 1.1 ryo p = "size_t"; 1962 1.1 ryo break; 1963 1.1 ryo default: 1964 1.1 ryo break; 1965 1.1 ryo }; 1966 1.1 ryo break; 1967 1.1 ryo /* linux_sys_lgetxattr */ 1968 1.1 ryo case 9: 1969 1.1 ryo switch(ndx) { 1970 1.1 ryo case 0: 1971 1.1 ryo p = "char *"; 1972 1.1 ryo break; 1973 1.1 ryo case 1: 1974 1.1 ryo p = "char *"; 1975 1.1 ryo break; 1976 1.1 ryo case 2: 1977 1.1 ryo p = "void *"; 1978 1.1 ryo break; 1979 1.1 ryo case 3: 1980 1.1 ryo p = "size_t"; 1981 1.1 ryo break; 1982 1.1 ryo default: 1983 1.1 ryo break; 1984 1.1 ryo }; 1985 1.1 ryo break; 1986 1.1 ryo /* linux_sys_fgetxattr */ 1987 1.1 ryo case 10: 1988 1.1 ryo switch(ndx) { 1989 1.1 ryo case 0: 1990 1.1 ryo p = "int"; 1991 1.1 ryo break; 1992 1.1 ryo case 1: 1993 1.1 ryo p = "char *"; 1994 1.1 ryo break; 1995 1.1 ryo case 2: 1996 1.1 ryo p = "void *"; 1997 1.1 ryo break; 1998 1.1 ryo case 3: 1999 1.1 ryo p = "size_t"; 2000 1.1 ryo break; 2001 1.1 ryo default: 2002 1.1 ryo break; 2003 1.1 ryo }; 2004 1.1 ryo break; 2005 1.1 ryo /* linux_sys_listxattr */ 2006 1.1 ryo case 11: 2007 1.1 ryo switch(ndx) { 2008 1.1 ryo case 0: 2009 1.1 ryo p = "char *"; 2010 1.1 ryo break; 2011 1.1 ryo case 1: 2012 1.1 ryo p = "char *"; 2013 1.1 ryo break; 2014 1.1 ryo case 2: 2015 1.1 ryo p = "size_t"; 2016 1.1 ryo break; 2017 1.1 ryo default: 2018 1.1 ryo break; 2019 1.1 ryo }; 2020 1.1 ryo break; 2021 1.1 ryo /* linux_sys_llistxattr */ 2022 1.1 ryo case 12: 2023 1.1 ryo switch(ndx) { 2024 1.1 ryo case 0: 2025 1.1 ryo p = "char *"; 2026 1.1 ryo break; 2027 1.1 ryo case 1: 2028 1.1 ryo p = "char *"; 2029 1.1 ryo break; 2030 1.1 ryo case 2: 2031 1.1 ryo p = "size_t"; 2032 1.1 ryo break; 2033 1.1 ryo default: 2034 1.1 ryo break; 2035 1.1 ryo }; 2036 1.1 ryo break; 2037 1.1 ryo /* linux_sys_flistxattr */ 2038 1.1 ryo case 13: 2039 1.1 ryo switch(ndx) { 2040 1.1 ryo case 0: 2041 1.1 ryo p = "int"; 2042 1.1 ryo break; 2043 1.1 ryo case 1: 2044 1.1 ryo p = "char *"; 2045 1.1 ryo break; 2046 1.1 ryo case 2: 2047 1.1 ryo p = "size_t"; 2048 1.1 ryo break; 2049 1.1 ryo default: 2050 1.1 ryo break; 2051 1.1 ryo }; 2052 1.1 ryo break; 2053 1.1 ryo /* linux_sys_removexattr */ 2054 1.1 ryo case 14: 2055 1.1 ryo switch(ndx) { 2056 1.1 ryo case 0: 2057 1.1 ryo p = "char *"; 2058 1.1 ryo break; 2059 1.1 ryo case 1: 2060 1.1 ryo p = "char *"; 2061 1.1 ryo break; 2062 1.1 ryo default: 2063 1.1 ryo break; 2064 1.1 ryo }; 2065 1.1 ryo break; 2066 1.1 ryo /* linux_sys_lremovexattr */ 2067 1.1 ryo case 15: 2068 1.1 ryo switch(ndx) { 2069 1.1 ryo case 0: 2070 1.1 ryo p = "char *"; 2071 1.1 ryo break; 2072 1.1 ryo case 1: 2073 1.1 ryo p = "char *"; 2074 1.1 ryo break; 2075 1.1 ryo default: 2076 1.1 ryo break; 2077 1.1 ryo }; 2078 1.1 ryo break; 2079 1.1 ryo /* linux_sys_fremovexattr */ 2080 1.1 ryo case 16: 2081 1.1 ryo switch(ndx) { 2082 1.1 ryo case 0: 2083 1.1 ryo p = "int"; 2084 1.1 ryo break; 2085 1.1 ryo case 1: 2086 1.1 ryo p = "char *"; 2087 1.1 ryo break; 2088 1.1 ryo default: 2089 1.1 ryo break; 2090 1.1 ryo }; 2091 1.1 ryo break; 2092 1.1 ryo /* sys___getcwd */ 2093 1.1 ryo case 17: 2094 1.1 ryo switch(ndx) { 2095 1.1 ryo case 0: 2096 1.1 ryo p = "char *"; 2097 1.1 ryo break; 2098 1.1 ryo case 1: 2099 1.1 ryo p = "size_t"; 2100 1.1 ryo break; 2101 1.1 ryo default: 2102 1.1 ryo break; 2103 1.1 ryo }; 2104 1.1 ryo break; 2105 1.1 ryo /* linux_sys_eventfd2 */ 2106 1.1 ryo case 19: 2107 1.1 ryo switch(ndx) { 2108 1.1 ryo case 0: 2109 1.1 ryo p = "unsigned int"; 2110 1.1 ryo break; 2111 1.1 ryo case 1: 2112 1.1 ryo p = "int"; 2113 1.1 ryo break; 2114 1.1 ryo default: 2115 1.1 ryo break; 2116 1.1 ryo }; 2117 1.1 ryo break; 2118 1.6 christos /* linux_sys_epoll_create1 */ 2119 1.6 christos case 20: 2120 1.6 christos switch(ndx) { 2121 1.6 christos case 0: 2122 1.6 christos p = "int"; 2123 1.6 christos break; 2124 1.6 christos default: 2125 1.6 christos break; 2126 1.6 christos }; 2127 1.6 christos break; 2128 1.6 christos /* linux_sys_epoll_ctl */ 2129 1.6 christos case 21: 2130 1.6 christos switch(ndx) { 2131 1.6 christos case 0: 2132 1.6 christos p = "int"; 2133 1.6 christos break; 2134 1.6 christos case 1: 2135 1.6 christos p = "int"; 2136 1.6 christos break; 2137 1.6 christos case 2: 2138 1.6 christos p = "int"; 2139 1.6 christos break; 2140 1.6 christos case 3: 2141 1.6 christos p = "struct linux_epoll_event *"; 2142 1.6 christos break; 2143 1.6 christos default: 2144 1.6 christos break; 2145 1.6 christos }; 2146 1.6 christos break; 2147 1.6 christos /* linux_sys_epoll_pwait */ 2148 1.6 christos case 22: 2149 1.6 christos switch(ndx) { 2150 1.6 christos case 0: 2151 1.6 christos p = "int"; 2152 1.6 christos break; 2153 1.6 christos case 1: 2154 1.6 christos p = "struct linux_epoll_event *"; 2155 1.6 christos break; 2156 1.6 christos case 2: 2157 1.6 christos p = "int"; 2158 1.6 christos break; 2159 1.6 christos case 3: 2160 1.6 christos p = "int"; 2161 1.6 christos break; 2162 1.6 christos case 4: 2163 1.6 christos p = "const linux_sigset_t *"; 2164 1.6 christos break; 2165 1.6 christos default: 2166 1.6 christos break; 2167 1.6 christos }; 2168 1.6 christos break; 2169 1.1 ryo /* sys_dup */ 2170 1.1 ryo case 23: 2171 1.1 ryo switch(ndx) { 2172 1.1 ryo case 0: 2173 1.1 ryo p = "int"; 2174 1.1 ryo break; 2175 1.1 ryo default: 2176 1.1 ryo break; 2177 1.1 ryo }; 2178 1.1 ryo break; 2179 1.1 ryo /* linux_sys_dup3 */ 2180 1.1 ryo case 24: 2181 1.1 ryo switch(ndx) { 2182 1.1 ryo case 0: 2183 1.1 ryo p = "int"; 2184 1.1 ryo break; 2185 1.1 ryo case 1: 2186 1.1 ryo p = "int"; 2187 1.1 ryo break; 2188 1.1 ryo case 2: 2189 1.1 ryo p = "int"; 2190 1.1 ryo break; 2191 1.1 ryo default: 2192 1.1 ryo break; 2193 1.1 ryo }; 2194 1.1 ryo break; 2195 1.1 ryo /* linux_sys_fcntl */ 2196 1.1 ryo case 25: 2197 1.1 ryo switch(ndx) { 2198 1.1 ryo case 0: 2199 1.1 ryo p = "int"; 2200 1.1 ryo break; 2201 1.1 ryo case 1: 2202 1.1 ryo p = "int"; 2203 1.1 ryo break; 2204 1.1 ryo case 2: 2205 1.1 ryo p = "void *"; 2206 1.1 ryo break; 2207 1.1 ryo default: 2208 1.1 ryo break; 2209 1.1 ryo }; 2210 1.1 ryo break; 2211 1.10 christos /* linux_sys_inotify_init1 */ 2212 1.10 christos case 26: 2213 1.10 christos switch(ndx) { 2214 1.10 christos case 0: 2215 1.10 christos p = "int"; 2216 1.10 christos break; 2217 1.10 christos default: 2218 1.10 christos break; 2219 1.10 christos }; 2220 1.10 christos break; 2221 1.10 christos /* linux_sys_inotify_add_watch */ 2222 1.10 christos case 27: 2223 1.10 christos switch(ndx) { 2224 1.10 christos case 0: 2225 1.10 christos p = "int"; 2226 1.10 christos break; 2227 1.10 christos case 1: 2228 1.10 christos p = "const char *"; 2229 1.10 christos break; 2230 1.10 christos case 2: 2231 1.10 christos p = "uint32_t"; 2232 1.10 christos break; 2233 1.10 christos default: 2234 1.10 christos break; 2235 1.10 christos }; 2236 1.10 christos break; 2237 1.10 christos /* linux_sys_inotify_rm_watch */ 2238 1.10 christos case 28: 2239 1.10 christos switch(ndx) { 2240 1.10 christos case 0: 2241 1.10 christos p = "int"; 2242 1.10 christos break; 2243 1.10 christos case 1: 2244 1.10 christos p = "int"; 2245 1.10 christos break; 2246 1.10 christos default: 2247 1.10 christos break; 2248 1.10 christos }; 2249 1.10 christos break; 2250 1.1 ryo /* linux_sys_ioctl */ 2251 1.1 ryo case 29: 2252 1.1 ryo switch(ndx) { 2253 1.1 ryo case 0: 2254 1.1 ryo p = "int"; 2255 1.1 ryo break; 2256 1.1 ryo case 1: 2257 1.1 ryo p = "u_long"; 2258 1.1 ryo break; 2259 1.1 ryo case 2: 2260 1.1 ryo p = "void *"; 2261 1.1 ryo break; 2262 1.1 ryo default: 2263 1.1 ryo break; 2264 1.1 ryo }; 2265 1.1 ryo break; 2266 1.1 ryo /* sys_flock */ 2267 1.1 ryo case 32: 2268 1.1 ryo switch(ndx) { 2269 1.1 ryo case 0: 2270 1.1 ryo p = "int"; 2271 1.1 ryo break; 2272 1.1 ryo case 1: 2273 1.1 ryo p = "int"; 2274 1.1 ryo break; 2275 1.1 ryo default: 2276 1.1 ryo break; 2277 1.1 ryo }; 2278 1.1 ryo break; 2279 1.1 ryo /* linux_sys_mknodat */ 2280 1.1 ryo case 33: 2281 1.1 ryo switch(ndx) { 2282 1.1 ryo case 0: 2283 1.1 ryo p = "int"; 2284 1.1 ryo break; 2285 1.1 ryo case 1: 2286 1.1 ryo p = "const char *"; 2287 1.1 ryo break; 2288 1.1 ryo case 2: 2289 1.1 ryo p = "linux_umode_t"; 2290 1.1 ryo break; 2291 1.1 ryo case 3: 2292 1.1 ryo p = "unsigned"; 2293 1.1 ryo break; 2294 1.1 ryo default: 2295 1.1 ryo break; 2296 1.1 ryo }; 2297 1.1 ryo break; 2298 1.1 ryo /* sys_mkdirat */ 2299 1.1 ryo case 34: 2300 1.1 ryo switch(ndx) { 2301 1.1 ryo case 0: 2302 1.1 ryo p = "int"; 2303 1.1 ryo break; 2304 1.1 ryo case 1: 2305 1.1 ryo p = "const char *"; 2306 1.1 ryo break; 2307 1.1 ryo case 2: 2308 1.1 ryo p = "linux_umode_t"; 2309 1.1 ryo break; 2310 1.1 ryo default: 2311 1.1 ryo break; 2312 1.1 ryo }; 2313 1.1 ryo break; 2314 1.1 ryo /* linux_sys_unlinkat */ 2315 1.1 ryo case 35: 2316 1.1 ryo switch(ndx) { 2317 1.1 ryo case 0: 2318 1.1 ryo p = "int"; 2319 1.1 ryo break; 2320 1.1 ryo case 1: 2321 1.1 ryo p = "const char *"; 2322 1.1 ryo break; 2323 1.1 ryo case 2: 2324 1.1 ryo p = "int"; 2325 1.1 ryo break; 2326 1.1 ryo default: 2327 1.1 ryo break; 2328 1.1 ryo }; 2329 1.1 ryo break; 2330 1.1 ryo /* sys_symlinkat */ 2331 1.1 ryo case 36: 2332 1.1 ryo switch(ndx) { 2333 1.1 ryo case 0: 2334 1.1 ryo p = "const char *"; 2335 1.1 ryo break; 2336 1.1 ryo case 1: 2337 1.1 ryo p = "int"; 2338 1.1 ryo break; 2339 1.1 ryo case 2: 2340 1.1 ryo p = "const char *"; 2341 1.1 ryo break; 2342 1.1 ryo default: 2343 1.1 ryo break; 2344 1.1 ryo }; 2345 1.1 ryo break; 2346 1.1 ryo /* linux_sys_linkat */ 2347 1.1 ryo case 37: 2348 1.1 ryo switch(ndx) { 2349 1.1 ryo case 0: 2350 1.1 ryo p = "int"; 2351 1.1 ryo break; 2352 1.1 ryo case 1: 2353 1.1 ryo p = "const char *"; 2354 1.1 ryo break; 2355 1.1 ryo case 2: 2356 1.1 ryo p = "int"; 2357 1.1 ryo break; 2358 1.1 ryo case 3: 2359 1.1 ryo p = "const char *"; 2360 1.1 ryo break; 2361 1.1 ryo case 4: 2362 1.1 ryo p = "int"; 2363 1.1 ryo break; 2364 1.1 ryo default: 2365 1.1 ryo break; 2366 1.1 ryo }; 2367 1.1 ryo break; 2368 1.1 ryo /* sys_renameat */ 2369 1.1 ryo case 38: 2370 1.1 ryo switch(ndx) { 2371 1.1 ryo case 0: 2372 1.1 ryo p = "int"; 2373 1.1 ryo break; 2374 1.1 ryo case 1: 2375 1.1 ryo p = "const char *"; 2376 1.1 ryo break; 2377 1.1 ryo case 2: 2378 1.1 ryo p = "int"; 2379 1.1 ryo break; 2380 1.1 ryo case 3: 2381 1.1 ryo p = "const char *"; 2382 1.1 ryo break; 2383 1.1 ryo default: 2384 1.1 ryo break; 2385 1.1 ryo }; 2386 1.1 ryo break; 2387 1.1 ryo /* linux_sys_statfs */ 2388 1.1 ryo case 43: 2389 1.1 ryo switch(ndx) { 2390 1.1 ryo case 0: 2391 1.1 ryo p = "const char *"; 2392 1.1 ryo break; 2393 1.1 ryo case 1: 2394 1.1 ryo p = "struct linux_statfs *"; 2395 1.1 ryo break; 2396 1.1 ryo default: 2397 1.1 ryo break; 2398 1.1 ryo }; 2399 1.1 ryo break; 2400 1.1 ryo /* linux_sys_fstatfs */ 2401 1.1 ryo case 44: 2402 1.1 ryo switch(ndx) { 2403 1.1 ryo case 0: 2404 1.1 ryo p = "int"; 2405 1.1 ryo break; 2406 1.1 ryo case 1: 2407 1.1 ryo p = "struct linux_statfs *"; 2408 1.1 ryo break; 2409 1.1 ryo default: 2410 1.1 ryo break; 2411 1.1 ryo }; 2412 1.1 ryo break; 2413 1.1 ryo /* linux_sys_truncate64 */ 2414 1.1 ryo case 45: 2415 1.1 ryo switch(ndx) { 2416 1.1 ryo case 0: 2417 1.1 ryo p = "const char *"; 2418 1.1 ryo break; 2419 1.1 ryo case 1: 2420 1.1 ryo p = "off_t"; 2421 1.1 ryo break; 2422 1.1 ryo default: 2423 1.1 ryo break; 2424 1.1 ryo }; 2425 1.1 ryo break; 2426 1.1 ryo /* linux_sys_ftruncate64 */ 2427 1.1 ryo case 46: 2428 1.1 ryo switch(ndx) { 2429 1.1 ryo case 0: 2430 1.1 ryo p = "unsigned int"; 2431 1.1 ryo break; 2432 1.1 ryo case 1: 2433 1.1 ryo p = "off_t"; 2434 1.1 ryo break; 2435 1.1 ryo default: 2436 1.1 ryo break; 2437 1.1 ryo }; 2438 1.1 ryo break; 2439 1.1 ryo /* linux_sys_fallocate */ 2440 1.1 ryo case 47: 2441 1.1 ryo switch(ndx) { 2442 1.1 ryo case 0: 2443 1.1 ryo p = "int"; 2444 1.1 ryo break; 2445 1.1 ryo case 1: 2446 1.1 ryo p = "int"; 2447 1.1 ryo break; 2448 1.1 ryo case 2: 2449 1.1 ryo p = "off_t"; 2450 1.1 ryo break; 2451 1.1 ryo case 3: 2452 1.1 ryo p = "off_t"; 2453 1.1 ryo break; 2454 1.1 ryo default: 2455 1.1 ryo break; 2456 1.1 ryo }; 2457 1.1 ryo break; 2458 1.1 ryo /* linux_sys_faccessat */ 2459 1.1 ryo case 48: 2460 1.1 ryo switch(ndx) { 2461 1.1 ryo case 0: 2462 1.1 ryo p = "int"; 2463 1.1 ryo break; 2464 1.1 ryo case 1: 2465 1.1 ryo p = "const char *"; 2466 1.1 ryo break; 2467 1.1 ryo case 2: 2468 1.1 ryo p = "int"; 2469 1.1 ryo break; 2470 1.1 ryo default: 2471 1.1 ryo break; 2472 1.1 ryo }; 2473 1.1 ryo break; 2474 1.1 ryo /* sys_chdir */ 2475 1.1 ryo case 49: 2476 1.1 ryo switch(ndx) { 2477 1.1 ryo case 0: 2478 1.1 ryo p = "const char *"; 2479 1.1 ryo break; 2480 1.1 ryo default: 2481 1.1 ryo break; 2482 1.1 ryo }; 2483 1.1 ryo break; 2484 1.1 ryo /* sys_fchdir */ 2485 1.1 ryo case 50: 2486 1.1 ryo switch(ndx) { 2487 1.1 ryo case 0: 2488 1.1 ryo p = "int"; 2489 1.1 ryo break; 2490 1.1 ryo default: 2491 1.1 ryo break; 2492 1.1 ryo }; 2493 1.1 ryo break; 2494 1.1 ryo /* sys_chroot */ 2495 1.1 ryo case 51: 2496 1.1 ryo switch(ndx) { 2497 1.1 ryo case 0: 2498 1.1 ryo p = "char *"; 2499 1.1 ryo break; 2500 1.1 ryo default: 2501 1.1 ryo break; 2502 1.1 ryo }; 2503 1.1 ryo break; 2504 1.1 ryo /* sys_fchmod */ 2505 1.1 ryo case 52: 2506 1.1 ryo switch(ndx) { 2507 1.1 ryo case 0: 2508 1.1 ryo p = "int"; 2509 1.1 ryo break; 2510 1.1 ryo case 1: 2511 1.1 ryo p = "linux_umode_t"; 2512 1.1 ryo break; 2513 1.1 ryo default: 2514 1.1 ryo break; 2515 1.1 ryo }; 2516 1.1 ryo break; 2517 1.1 ryo /* linux_sys_fchmodat */ 2518 1.1 ryo case 53: 2519 1.1 ryo switch(ndx) { 2520 1.1 ryo case 0: 2521 1.1 ryo p = "int"; 2522 1.1 ryo break; 2523 1.1 ryo case 1: 2524 1.1 ryo p = "const char *"; 2525 1.1 ryo break; 2526 1.1 ryo case 2: 2527 1.1 ryo p = "linux_umode_t"; 2528 1.1 ryo break; 2529 1.1 ryo default: 2530 1.1 ryo break; 2531 1.1 ryo }; 2532 1.1 ryo break; 2533 1.1 ryo /* linux_sys_fchownat */ 2534 1.1 ryo case 54: 2535 1.1 ryo switch(ndx) { 2536 1.1 ryo case 0: 2537 1.1 ryo p = "int"; 2538 1.1 ryo break; 2539 1.1 ryo case 1: 2540 1.1 ryo p = "const char *"; 2541 1.1 ryo break; 2542 1.1 ryo case 2: 2543 1.1 ryo p = "uid_t"; 2544 1.1 ryo break; 2545 1.1 ryo case 3: 2546 1.1 ryo p = "gid_t"; 2547 1.1 ryo break; 2548 1.1 ryo case 4: 2549 1.1 ryo p = "int"; 2550 1.1 ryo break; 2551 1.1 ryo default: 2552 1.1 ryo break; 2553 1.1 ryo }; 2554 1.1 ryo break; 2555 1.1 ryo /* sys___posix_fchown */ 2556 1.1 ryo case 55: 2557 1.1 ryo switch(ndx) { 2558 1.1 ryo case 0: 2559 1.1 ryo p = "int"; 2560 1.1 ryo break; 2561 1.1 ryo case 1: 2562 1.1 ryo p = "uid_t"; 2563 1.1 ryo break; 2564 1.1 ryo case 2: 2565 1.1 ryo p = "gid_t"; 2566 1.1 ryo break; 2567 1.1 ryo default: 2568 1.1 ryo break; 2569 1.1 ryo }; 2570 1.1 ryo break; 2571 1.1 ryo /* linux_sys_openat */ 2572 1.1 ryo case 56: 2573 1.1 ryo switch(ndx) { 2574 1.1 ryo case 0: 2575 1.1 ryo p = "int"; 2576 1.1 ryo break; 2577 1.1 ryo case 1: 2578 1.1 ryo p = "const char *"; 2579 1.1 ryo break; 2580 1.1 ryo case 2: 2581 1.1 ryo p = "int"; 2582 1.1 ryo break; 2583 1.1 ryo case 3: 2584 1.1 ryo p = "linux_umode_t"; 2585 1.1 ryo break; 2586 1.1 ryo default: 2587 1.1 ryo break; 2588 1.1 ryo }; 2589 1.1 ryo break; 2590 1.1 ryo /* sys_close */ 2591 1.1 ryo case 57: 2592 1.1 ryo switch(ndx) { 2593 1.1 ryo case 0: 2594 1.1 ryo p = "int"; 2595 1.1 ryo break; 2596 1.1 ryo default: 2597 1.1 ryo break; 2598 1.1 ryo }; 2599 1.1 ryo break; 2600 1.1 ryo /* linux_sys_pipe2 */ 2601 1.1 ryo case 59: 2602 1.1 ryo switch(ndx) { 2603 1.1 ryo case 0: 2604 1.1 ryo p = "int *"; 2605 1.1 ryo break; 2606 1.1 ryo case 1: 2607 1.1 ryo p = "int"; 2608 1.1 ryo break; 2609 1.1 ryo default: 2610 1.1 ryo break; 2611 1.1 ryo }; 2612 1.1 ryo break; 2613 1.1 ryo /* linux_sys_getdents64 */ 2614 1.1 ryo case 61: 2615 1.1 ryo switch(ndx) { 2616 1.1 ryo case 0: 2617 1.1 ryo p = "int"; 2618 1.1 ryo break; 2619 1.1 ryo case 1: 2620 1.1 ryo p = "struct linux_dirent64 *"; 2621 1.1 ryo break; 2622 1.1 ryo case 2: 2623 1.1 ryo p = "unsigned int"; 2624 1.1 ryo break; 2625 1.1 ryo default: 2626 1.1 ryo break; 2627 1.1 ryo }; 2628 1.1 ryo break; 2629 1.1 ryo /* compat_43_sys_lseek */ 2630 1.1 ryo case 62: 2631 1.1 ryo switch(ndx) { 2632 1.1 ryo case 0: 2633 1.1 ryo p = "int"; 2634 1.1 ryo break; 2635 1.1 ryo case 1: 2636 1.1 ryo p = "long"; 2637 1.1 ryo break; 2638 1.1 ryo case 2: 2639 1.1 ryo p = "int"; 2640 1.1 ryo break; 2641 1.1 ryo default: 2642 1.1 ryo break; 2643 1.1 ryo }; 2644 1.1 ryo break; 2645 1.1 ryo /* sys_read */ 2646 1.1 ryo case 63: 2647 1.1 ryo switch(ndx) { 2648 1.1 ryo case 0: 2649 1.1 ryo p = "int"; 2650 1.1 ryo break; 2651 1.1 ryo case 1: 2652 1.1 ryo p = "void *"; 2653 1.1 ryo break; 2654 1.1 ryo case 2: 2655 1.1 ryo p = "size_t"; 2656 1.1 ryo break; 2657 1.1 ryo default: 2658 1.1 ryo break; 2659 1.1 ryo }; 2660 1.1 ryo break; 2661 1.1 ryo /* sys_write */ 2662 1.1 ryo case 64: 2663 1.1 ryo switch(ndx) { 2664 1.1 ryo case 0: 2665 1.1 ryo p = "int"; 2666 1.1 ryo break; 2667 1.1 ryo case 1: 2668 1.1 ryo p = "const void *"; 2669 1.1 ryo break; 2670 1.1 ryo case 2: 2671 1.1 ryo p = "size_t"; 2672 1.1 ryo break; 2673 1.1 ryo default: 2674 1.1 ryo break; 2675 1.1 ryo }; 2676 1.1 ryo break; 2677 1.1 ryo /* sys_readv */ 2678 1.1 ryo case 65: 2679 1.1 ryo switch(ndx) { 2680 1.1 ryo case 0: 2681 1.1 ryo p = "int"; 2682 1.1 ryo break; 2683 1.1 ryo case 1: 2684 1.1 ryo p = "const struct iovec *"; 2685 1.1 ryo break; 2686 1.1 ryo case 2: 2687 1.1 ryo p = "int"; 2688 1.1 ryo break; 2689 1.1 ryo default: 2690 1.1 ryo break; 2691 1.1 ryo }; 2692 1.1 ryo break; 2693 1.1 ryo /* sys_writev */ 2694 1.1 ryo case 66: 2695 1.1 ryo switch(ndx) { 2696 1.1 ryo case 0: 2697 1.1 ryo p = "int"; 2698 1.1 ryo break; 2699 1.1 ryo case 1: 2700 1.1 ryo p = "const struct iovec *"; 2701 1.1 ryo break; 2702 1.1 ryo case 2: 2703 1.1 ryo p = "int"; 2704 1.1 ryo break; 2705 1.1 ryo default: 2706 1.1 ryo break; 2707 1.1 ryo }; 2708 1.1 ryo break; 2709 1.1 ryo /* linux_sys_pread */ 2710 1.1 ryo case 67: 2711 1.1 ryo switch(ndx) { 2712 1.1 ryo case 0: 2713 1.1 ryo p = "int"; 2714 1.1 ryo break; 2715 1.1 ryo case 1: 2716 1.1 ryo p = "char *"; 2717 1.1 ryo break; 2718 1.1 ryo case 2: 2719 1.1 ryo p = "size_t"; 2720 1.1 ryo break; 2721 1.1 ryo case 3: 2722 1.1 ryo p = "off_t"; 2723 1.1 ryo break; 2724 1.1 ryo default: 2725 1.1 ryo break; 2726 1.1 ryo }; 2727 1.1 ryo break; 2728 1.1 ryo /* linux_sys_pwrite */ 2729 1.1 ryo case 68: 2730 1.1 ryo switch(ndx) { 2731 1.1 ryo case 0: 2732 1.1 ryo p = "int"; 2733 1.1 ryo break; 2734 1.1 ryo case 1: 2735 1.1 ryo p = "char *"; 2736 1.1 ryo break; 2737 1.1 ryo case 2: 2738 1.1 ryo p = "size_t"; 2739 1.1 ryo break; 2740 1.1 ryo case 3: 2741 1.1 ryo p = "off_t"; 2742 1.1 ryo break; 2743 1.1 ryo default: 2744 1.1 ryo break; 2745 1.1 ryo }; 2746 1.1 ryo break; 2747 1.1 ryo /* linux_sys_preadv */ 2748 1.1 ryo case 69: 2749 1.1 ryo switch(ndx) { 2750 1.1 ryo case 0: 2751 1.1 ryo p = "int"; 2752 1.1 ryo break; 2753 1.1 ryo case 1: 2754 1.1 ryo p = "const struct iovec *"; 2755 1.1 ryo break; 2756 1.1 ryo case 2: 2757 1.1 ryo p = "int"; 2758 1.1 ryo break; 2759 1.1 ryo case 3: 2760 1.1 ryo p = "unsigned long"; 2761 1.1 ryo break; 2762 1.1 ryo case 4: 2763 1.1 ryo p = "unsigned long"; 2764 1.1 ryo break; 2765 1.1 ryo default: 2766 1.1 ryo break; 2767 1.1 ryo }; 2768 1.1 ryo break; 2769 1.1 ryo /* linux_sys_pwritev */ 2770 1.1 ryo case 70: 2771 1.1 ryo switch(ndx) { 2772 1.1 ryo case 0: 2773 1.1 ryo p = "int"; 2774 1.1 ryo break; 2775 1.1 ryo case 1: 2776 1.1 ryo p = "const struct iovcnt *"; 2777 1.1 ryo break; 2778 1.1 ryo case 2: 2779 1.1 ryo p = "int"; 2780 1.1 ryo break; 2781 1.1 ryo case 3: 2782 1.1 ryo p = "unsigned long"; 2783 1.1 ryo break; 2784 1.1 ryo case 4: 2785 1.1 ryo p = "unsigned long"; 2786 1.1 ryo break; 2787 1.1 ryo default: 2788 1.1 ryo break; 2789 1.1 ryo }; 2790 1.1 ryo break; 2791 1.1 ryo /* linux_sys_pselect6 */ 2792 1.1 ryo case 72: 2793 1.1 ryo switch(ndx) { 2794 1.1 ryo case 0: 2795 1.1 ryo p = "int"; 2796 1.1 ryo break; 2797 1.1 ryo case 1: 2798 1.1 ryo p = "fd_set *"; 2799 1.1 ryo break; 2800 1.1 ryo case 2: 2801 1.1 ryo p = "fd_set *"; 2802 1.1 ryo break; 2803 1.1 ryo case 3: 2804 1.1 ryo p = "fd_set *"; 2805 1.1 ryo break; 2806 1.1 ryo case 4: 2807 1.1 ryo p = "struct linux_timespec *"; 2808 1.1 ryo break; 2809 1.1 ryo case 5: 2810 1.1 ryo p = "linux_sized_sigset_t *"; 2811 1.1 ryo break; 2812 1.1 ryo default: 2813 1.1 ryo break; 2814 1.1 ryo }; 2815 1.1 ryo break; 2816 1.1 ryo /* linux_sys_ppoll */ 2817 1.1 ryo case 73: 2818 1.1 ryo switch(ndx) { 2819 1.1 ryo case 0: 2820 1.1 ryo p = "struct pollfd *"; 2821 1.1 ryo break; 2822 1.1 ryo case 1: 2823 1.1 ryo p = "u_int"; 2824 1.1 ryo break; 2825 1.1 ryo case 2: 2826 1.1 ryo p = "struct linux_timespec *"; 2827 1.1 ryo break; 2828 1.1 ryo case 3: 2829 1.1 ryo p = "linux_sigset_t *"; 2830 1.1 ryo break; 2831 1.1 ryo default: 2832 1.1 ryo break; 2833 1.1 ryo }; 2834 1.1 ryo break; 2835 1.1 ryo /* sys_readlinkat */ 2836 1.1 ryo case 78: 2837 1.1 ryo switch(ndx) { 2838 1.1 ryo case 0: 2839 1.1 ryo p = "int"; 2840 1.1 ryo break; 2841 1.1 ryo case 1: 2842 1.1 ryo p = "const char *"; 2843 1.1 ryo break; 2844 1.1 ryo case 2: 2845 1.1 ryo p = "char *"; 2846 1.1 ryo break; 2847 1.1 ryo case 3: 2848 1.1 ryo p = "size_t"; 2849 1.1 ryo break; 2850 1.1 ryo default: 2851 1.1 ryo break; 2852 1.1 ryo }; 2853 1.1 ryo break; 2854 1.1 ryo /* linux_sys_fstatat64 */ 2855 1.1 ryo case 79: 2856 1.1 ryo switch(ndx) { 2857 1.1 ryo case 0: 2858 1.1 ryo p = "int"; 2859 1.1 ryo break; 2860 1.1 ryo case 1: 2861 1.1 ryo p = "const char *"; 2862 1.1 ryo break; 2863 1.1 ryo case 2: 2864 1.1 ryo p = "struct linux_stat *"; 2865 1.1 ryo break; 2866 1.1 ryo case 3: 2867 1.1 ryo p = "int"; 2868 1.1 ryo break; 2869 1.1 ryo default: 2870 1.1 ryo break; 2871 1.1 ryo }; 2872 1.1 ryo break; 2873 1.1 ryo /* linux_sys_fstat64 */ 2874 1.1 ryo case 80: 2875 1.1 ryo switch(ndx) { 2876 1.1 ryo case 0: 2877 1.1 ryo p = "int"; 2878 1.1 ryo break; 2879 1.1 ryo case 1: 2880 1.1 ryo p = "struct linux_stat *"; 2881 1.1 ryo break; 2882 1.1 ryo default: 2883 1.1 ryo break; 2884 1.1 ryo }; 2885 1.1 ryo break; 2886 1.1 ryo /* sys_sync */ 2887 1.1 ryo case 81: 2888 1.1 ryo break; 2889 1.1 ryo /* sys_fsync */ 2890 1.1 ryo case 82: 2891 1.1 ryo switch(ndx) { 2892 1.1 ryo case 0: 2893 1.1 ryo p = "int"; 2894 1.1 ryo break; 2895 1.1 ryo default: 2896 1.1 ryo break; 2897 1.1 ryo }; 2898 1.1 ryo break; 2899 1.1 ryo /* linux_sys_fdatasync */ 2900 1.1 ryo case 83: 2901 1.1 ryo switch(ndx) { 2902 1.1 ryo case 0: 2903 1.1 ryo p = "int"; 2904 1.1 ryo break; 2905 1.1 ryo default: 2906 1.1 ryo break; 2907 1.1 ryo }; 2908 1.1 ryo break; 2909 1.13 christos /* linux_sys_sync_file_range */ 2910 1.13 christos case 84: 2911 1.13 christos switch(ndx) { 2912 1.13 christos case 0: 2913 1.13 christos p = "int"; 2914 1.13 christos break; 2915 1.13 christos case 1: 2916 1.13 christos p = "off_t"; 2917 1.13 christos break; 2918 1.13 christos case 2: 2919 1.13 christos p = "off_t"; 2920 1.13 christos break; 2921 1.13 christos case 3: 2922 1.13 christos p = "unsigned int"; 2923 1.13 christos break; 2924 1.13 christos default: 2925 1.13 christos break; 2926 1.13 christos }; 2927 1.13 christos break; 2928 1.1 ryo /* linux_sys_timerfd_create */ 2929 1.1 ryo case 85: 2930 1.1 ryo switch(ndx) { 2931 1.1 ryo case 0: 2932 1.1 ryo p = "clockid_t"; 2933 1.1 ryo break; 2934 1.1 ryo case 1: 2935 1.1 ryo p = "int"; 2936 1.1 ryo break; 2937 1.1 ryo default: 2938 1.1 ryo break; 2939 1.1 ryo }; 2940 1.1 ryo break; 2941 1.1 ryo /* linux_sys_timerfd_settime */ 2942 1.1 ryo case 86: 2943 1.1 ryo switch(ndx) { 2944 1.1 ryo case 0: 2945 1.1 ryo p = "int"; 2946 1.1 ryo break; 2947 1.1 ryo case 1: 2948 1.1 ryo p = "int"; 2949 1.1 ryo break; 2950 1.1 ryo case 2: 2951 1.1 ryo p = "const struct linux_itimerspec *"; 2952 1.1 ryo break; 2953 1.1 ryo case 3: 2954 1.1 ryo p = "struct linux_itimerspec *"; 2955 1.1 ryo break; 2956 1.1 ryo default: 2957 1.1 ryo break; 2958 1.1 ryo }; 2959 1.1 ryo break; 2960 1.1 ryo /* linux_sys_timerfd_gettime */ 2961 1.1 ryo case 87: 2962 1.1 ryo switch(ndx) { 2963 1.1 ryo case 0: 2964 1.1 ryo p = "int"; 2965 1.1 ryo break; 2966 1.1 ryo case 1: 2967 1.1 ryo p = "struct linux_itimerspec *"; 2968 1.1 ryo break; 2969 1.1 ryo default: 2970 1.1 ryo break; 2971 1.1 ryo }; 2972 1.1 ryo break; 2973 1.1 ryo /* linux_sys_utimensat */ 2974 1.1 ryo case 88: 2975 1.1 ryo switch(ndx) { 2976 1.1 ryo case 0: 2977 1.1 ryo p = "int"; 2978 1.1 ryo break; 2979 1.1 ryo case 1: 2980 1.1 ryo p = "const char *"; 2981 1.1 ryo break; 2982 1.1 ryo case 2: 2983 1.1 ryo p = "struct linux_timespec *"; 2984 1.1 ryo break; 2985 1.1 ryo case 3: 2986 1.1 ryo p = "int"; 2987 1.1 ryo break; 2988 1.1 ryo default: 2989 1.1 ryo break; 2990 1.1 ryo }; 2991 1.1 ryo break; 2992 1.1 ryo /* sys_acct */ 2993 1.1 ryo case 89: 2994 1.1 ryo switch(ndx) { 2995 1.1 ryo case 0: 2996 1.1 ryo p = "char *"; 2997 1.1 ryo break; 2998 1.1 ryo default: 2999 1.1 ryo break; 3000 1.1 ryo }; 3001 1.1 ryo break; 3002 1.1 ryo /* linux_sys_personality */ 3003 1.1 ryo case 92: 3004 1.1 ryo switch(ndx) { 3005 1.1 ryo case 0: 3006 1.1 ryo p = "unsigned long"; 3007 1.1 ryo break; 3008 1.1 ryo default: 3009 1.1 ryo break; 3010 1.1 ryo }; 3011 1.1 ryo break; 3012 1.1 ryo /* linux_sys_exit */ 3013 1.1 ryo case 93: 3014 1.1 ryo switch(ndx) { 3015 1.1 ryo case 0: 3016 1.1 ryo p = "int"; 3017 1.1 ryo break; 3018 1.1 ryo default: 3019 1.1 ryo break; 3020 1.1 ryo }; 3021 1.1 ryo break; 3022 1.1 ryo /* linux_sys_exit_group */ 3023 1.1 ryo case 94: 3024 1.1 ryo switch(ndx) { 3025 1.1 ryo case 0: 3026 1.1 ryo p = "int"; 3027 1.1 ryo break; 3028 1.1 ryo default: 3029 1.1 ryo break; 3030 1.1 ryo }; 3031 1.1 ryo break; 3032 1.9 christos /* linux_sys_waitid */ 3033 1.9 christos case 95: 3034 1.9 christos switch(ndx) { 3035 1.9 christos case 0: 3036 1.9 christos p = "int"; 3037 1.9 christos break; 3038 1.9 christos case 1: 3039 1.9 christos p = "id_t"; 3040 1.9 christos break; 3041 1.9 christos case 2: 3042 1.9 christos p = "linux_siginfo_t *"; 3043 1.9 christos break; 3044 1.9 christos case 3: 3045 1.9 christos p = "int"; 3046 1.9 christos break; 3047 1.9 christos case 4: 3048 1.9 christos p = "struct rusage50 *"; 3049 1.9 christos break; 3050 1.9 christos default: 3051 1.9 christos break; 3052 1.9 christos }; 3053 1.9 christos break; 3054 1.1 ryo /* linux_sys_set_tid_address */ 3055 1.1 ryo case 96: 3056 1.1 ryo switch(ndx) { 3057 1.1 ryo case 0: 3058 1.1 ryo p = "int *"; 3059 1.1 ryo break; 3060 1.1 ryo default: 3061 1.1 ryo break; 3062 1.1 ryo }; 3063 1.1 ryo break; 3064 1.1 ryo /* linux_sys_futex */ 3065 1.1 ryo case 98: 3066 1.1 ryo switch(ndx) { 3067 1.1 ryo case 0: 3068 1.1 ryo p = "int *"; 3069 1.1 ryo break; 3070 1.1 ryo case 1: 3071 1.1 ryo p = "int"; 3072 1.1 ryo break; 3073 1.1 ryo case 2: 3074 1.1 ryo p = "int"; 3075 1.1 ryo break; 3076 1.1 ryo case 3: 3077 1.1 ryo p = "const struct linux_timespec *"; 3078 1.1 ryo break; 3079 1.1 ryo case 4: 3080 1.1 ryo p = "int *"; 3081 1.1 ryo break; 3082 1.1 ryo case 5: 3083 1.1 ryo p = "int"; 3084 1.1 ryo break; 3085 1.1 ryo default: 3086 1.1 ryo break; 3087 1.1 ryo }; 3088 1.1 ryo break; 3089 1.1 ryo /* sys___futex_set_robust_list */ 3090 1.1 ryo case 99: 3091 1.1 ryo switch(ndx) { 3092 1.1 ryo case 0: 3093 1.1 ryo p = "void *"; 3094 1.1 ryo break; 3095 1.1 ryo case 1: 3096 1.1 ryo p = "size_t"; 3097 1.1 ryo break; 3098 1.1 ryo default: 3099 1.1 ryo break; 3100 1.1 ryo }; 3101 1.1 ryo break; 3102 1.1 ryo /* sys___futex_get_robust_list */ 3103 1.1 ryo case 100: 3104 1.1 ryo switch(ndx) { 3105 1.1 ryo case 0: 3106 1.1 ryo p = "lwpid_t"; 3107 1.1 ryo break; 3108 1.1 ryo case 1: 3109 1.1 ryo p = "void **"; 3110 1.1 ryo break; 3111 1.1 ryo case 2: 3112 1.1 ryo p = "size_t *"; 3113 1.1 ryo break; 3114 1.1 ryo default: 3115 1.1 ryo break; 3116 1.1 ryo }; 3117 1.1 ryo break; 3118 1.1 ryo /* linux_sys_nanosleep */ 3119 1.1 ryo case 101: 3120 1.1 ryo switch(ndx) { 3121 1.1 ryo case 0: 3122 1.1 ryo p = "const struct linux_timespec *"; 3123 1.1 ryo break; 3124 1.1 ryo case 1: 3125 1.1 ryo p = "struct linux_timespec *"; 3126 1.1 ryo break; 3127 1.1 ryo default: 3128 1.1 ryo break; 3129 1.1 ryo }; 3130 1.1 ryo break; 3131 1.1 ryo /* compat_50_sys_getitimer */ 3132 1.1 ryo case 102: 3133 1.1 ryo switch(ndx) { 3134 1.1 ryo case 0: 3135 1.1 ryo p = "int"; 3136 1.1 ryo break; 3137 1.1 ryo case 1: 3138 1.1 ryo p = "struct itimerval50 *"; 3139 1.1 ryo break; 3140 1.1 ryo default: 3141 1.1 ryo break; 3142 1.1 ryo }; 3143 1.1 ryo break; 3144 1.1 ryo /* compat_50_sys_setitimer */ 3145 1.1 ryo case 103: 3146 1.1 ryo switch(ndx) { 3147 1.1 ryo case 0: 3148 1.1 ryo p = "int"; 3149 1.1 ryo break; 3150 1.1 ryo case 1: 3151 1.1 ryo p = "struct itimerval50 *"; 3152 1.1 ryo break; 3153 1.1 ryo case 2: 3154 1.1 ryo p = "struct itimerval50 *"; 3155 1.1 ryo break; 3156 1.1 ryo default: 3157 1.1 ryo break; 3158 1.1 ryo }; 3159 1.1 ryo break; 3160 1.1 ryo /* linux_sys_timer_create */ 3161 1.1 ryo case 107: 3162 1.1 ryo switch(ndx) { 3163 1.1 ryo case 0: 3164 1.1 ryo p = "clockid_t"; 3165 1.1 ryo break; 3166 1.1 ryo case 1: 3167 1.1 ryo p = "struct linux_sigevent *"; 3168 1.1 ryo break; 3169 1.1 ryo case 2: 3170 1.1 ryo p = "timer_t *"; 3171 1.1 ryo break; 3172 1.1 ryo default: 3173 1.1 ryo break; 3174 1.1 ryo }; 3175 1.1 ryo break; 3176 1.1 ryo /* linux_sys_timer_gettime */ 3177 1.1 ryo case 108: 3178 1.1 ryo switch(ndx) { 3179 1.1 ryo case 0: 3180 1.1 ryo p = "timer_t"; 3181 1.1 ryo break; 3182 1.1 ryo case 1: 3183 1.1 ryo p = "struct linux_itimerspec *"; 3184 1.1 ryo break; 3185 1.1 ryo default: 3186 1.1 ryo break; 3187 1.1 ryo }; 3188 1.1 ryo break; 3189 1.1 ryo /* sys_timer_getoverrun */ 3190 1.1 ryo case 109: 3191 1.1 ryo switch(ndx) { 3192 1.1 ryo case 0: 3193 1.1 ryo p = "timer_t"; 3194 1.1 ryo break; 3195 1.1 ryo default: 3196 1.1 ryo break; 3197 1.1 ryo }; 3198 1.1 ryo break; 3199 1.1 ryo /* linux_sys_timer_settime */ 3200 1.1 ryo case 110: 3201 1.1 ryo switch(ndx) { 3202 1.1 ryo case 0: 3203 1.1 ryo p = "timer_t"; 3204 1.1 ryo break; 3205 1.1 ryo case 1: 3206 1.1 ryo p = "int"; 3207 1.1 ryo break; 3208 1.1 ryo case 2: 3209 1.1 ryo p = "const struct linux_itimerspec *"; 3210 1.1 ryo break; 3211 1.1 ryo case 3: 3212 1.1 ryo p = "struct linux_itimerspec *"; 3213 1.1 ryo break; 3214 1.1 ryo default: 3215 1.1 ryo break; 3216 1.1 ryo }; 3217 1.1 ryo break; 3218 1.1 ryo /* sys_timer_delete */ 3219 1.1 ryo case 111: 3220 1.1 ryo switch(ndx) { 3221 1.1 ryo case 0: 3222 1.1 ryo p = "timer_t"; 3223 1.1 ryo break; 3224 1.1 ryo default: 3225 1.1 ryo break; 3226 1.1 ryo }; 3227 1.1 ryo break; 3228 1.1 ryo /* linux_sys_clock_settime */ 3229 1.1 ryo case 112: 3230 1.1 ryo switch(ndx) { 3231 1.1 ryo case 0: 3232 1.1 ryo p = "clockid_t"; 3233 1.1 ryo break; 3234 1.1 ryo case 1: 3235 1.1 ryo p = "struct linux_timespec *"; 3236 1.1 ryo break; 3237 1.1 ryo default: 3238 1.1 ryo break; 3239 1.1 ryo }; 3240 1.1 ryo break; 3241 1.1 ryo /* linux_sys_clock_gettime */ 3242 1.1 ryo case 113: 3243 1.1 ryo switch(ndx) { 3244 1.1 ryo case 0: 3245 1.1 ryo p = "clockid_t"; 3246 1.1 ryo break; 3247 1.1 ryo case 1: 3248 1.1 ryo p = "struct linux_timespec *"; 3249 1.1 ryo break; 3250 1.1 ryo default: 3251 1.1 ryo break; 3252 1.1 ryo }; 3253 1.1 ryo break; 3254 1.1 ryo /* linux_sys_clock_getres */ 3255 1.1 ryo case 114: 3256 1.1 ryo switch(ndx) { 3257 1.1 ryo case 0: 3258 1.1 ryo p = "clockid_t"; 3259 1.1 ryo break; 3260 1.1 ryo case 1: 3261 1.1 ryo p = "struct linux_timespec *"; 3262 1.1 ryo break; 3263 1.1 ryo default: 3264 1.1 ryo break; 3265 1.1 ryo }; 3266 1.1 ryo break; 3267 1.1 ryo /* linux_sys_clock_nanosleep */ 3268 1.1 ryo case 115: 3269 1.1 ryo switch(ndx) { 3270 1.1 ryo case 0: 3271 1.1 ryo p = "clockid_t"; 3272 1.1 ryo break; 3273 1.1 ryo case 1: 3274 1.1 ryo p = "int"; 3275 1.1 ryo break; 3276 1.1 ryo case 2: 3277 1.1 ryo p = "struct linux_timespec *"; 3278 1.1 ryo break; 3279 1.1 ryo case 3: 3280 1.1 ryo p = "struct linux_timespec *"; 3281 1.1 ryo break; 3282 1.1 ryo default: 3283 1.1 ryo break; 3284 1.1 ryo }; 3285 1.1 ryo break; 3286 1.1 ryo /* linux_sys_ptrace */ 3287 1.1 ryo case 117: 3288 1.1 ryo switch(ndx) { 3289 1.1 ryo case 0: 3290 1.1 ryo p = "long"; 3291 1.1 ryo break; 3292 1.1 ryo case 1: 3293 1.1 ryo p = "long"; 3294 1.1 ryo break; 3295 1.1 ryo case 2: 3296 1.1 ryo p = "long"; 3297 1.1 ryo break; 3298 1.1 ryo case 3: 3299 1.1 ryo p = "long"; 3300 1.1 ryo break; 3301 1.1 ryo default: 3302 1.1 ryo break; 3303 1.1 ryo }; 3304 1.1 ryo break; 3305 1.1 ryo /* linux_sys_sched_setparam */ 3306 1.1 ryo case 118: 3307 1.1 ryo switch(ndx) { 3308 1.1 ryo case 0: 3309 1.1 ryo p = "pid_t"; 3310 1.1 ryo break; 3311 1.1 ryo case 1: 3312 1.1 ryo p = "const struct linux_sched_param *"; 3313 1.1 ryo break; 3314 1.1 ryo default: 3315 1.1 ryo break; 3316 1.1 ryo }; 3317 1.1 ryo break; 3318 1.1 ryo /* linux_sys_sched_setscheduler */ 3319 1.1 ryo case 119: 3320 1.1 ryo switch(ndx) { 3321 1.1 ryo case 0: 3322 1.1 ryo p = "pid_t"; 3323 1.1 ryo break; 3324 1.1 ryo case 1: 3325 1.1 ryo p = "int"; 3326 1.1 ryo break; 3327 1.1 ryo case 2: 3328 1.1 ryo p = "const struct linux_sched_param *"; 3329 1.1 ryo break; 3330 1.1 ryo default: 3331 1.1 ryo break; 3332 1.1 ryo }; 3333 1.1 ryo break; 3334 1.1 ryo /* linux_sys_sched_getscheduler */ 3335 1.1 ryo case 120: 3336 1.1 ryo switch(ndx) { 3337 1.1 ryo case 0: 3338 1.1 ryo p = "pid_t"; 3339 1.1 ryo break; 3340 1.1 ryo default: 3341 1.1 ryo break; 3342 1.1 ryo }; 3343 1.1 ryo break; 3344 1.1 ryo /* linux_sys_sched_getparam */ 3345 1.1 ryo case 121: 3346 1.1 ryo switch(ndx) { 3347 1.1 ryo case 0: 3348 1.1 ryo p = "pid_t"; 3349 1.1 ryo break; 3350 1.1 ryo case 1: 3351 1.1 ryo p = "struct linux_sched_param *"; 3352 1.1 ryo break; 3353 1.1 ryo default: 3354 1.1 ryo break; 3355 1.1 ryo }; 3356 1.1 ryo break; 3357 1.1 ryo /* linux_sys_sched_setaffinity */ 3358 1.1 ryo case 122: 3359 1.1 ryo switch(ndx) { 3360 1.1 ryo case 0: 3361 1.1 ryo p = "pid_t"; 3362 1.1 ryo break; 3363 1.1 ryo case 1: 3364 1.1 ryo p = "unsigned int"; 3365 1.1 ryo break; 3366 1.1 ryo case 2: 3367 1.1 ryo p = "unsigned long *"; 3368 1.1 ryo break; 3369 1.1 ryo default: 3370 1.1 ryo break; 3371 1.1 ryo }; 3372 1.1 ryo break; 3373 1.1 ryo /* linux_sys_sched_getaffinity */ 3374 1.1 ryo case 123: 3375 1.1 ryo switch(ndx) { 3376 1.1 ryo case 0: 3377 1.1 ryo p = "pid_t"; 3378 1.1 ryo break; 3379 1.1 ryo case 1: 3380 1.1 ryo p = "unsigned int"; 3381 1.1 ryo break; 3382 1.1 ryo case 2: 3383 1.1 ryo p = "unsigned long *"; 3384 1.1 ryo break; 3385 1.1 ryo default: 3386 1.1 ryo break; 3387 1.1 ryo }; 3388 1.1 ryo break; 3389 1.1 ryo /* linux_sys_sched_yield */ 3390 1.1 ryo case 124: 3391 1.1 ryo break; 3392 1.1 ryo /* linux_sys_sched_get_priority_max */ 3393 1.1 ryo case 125: 3394 1.1 ryo switch(ndx) { 3395 1.1 ryo case 0: 3396 1.1 ryo p = "int"; 3397 1.1 ryo break; 3398 1.1 ryo default: 3399 1.1 ryo break; 3400 1.1 ryo }; 3401 1.1 ryo break; 3402 1.1 ryo /* linux_sys_sched_get_priority_min */ 3403 1.1 ryo case 126: 3404 1.1 ryo switch(ndx) { 3405 1.1 ryo case 0: 3406 1.1 ryo p = "int"; 3407 1.1 ryo break; 3408 1.1 ryo default: 3409 1.1 ryo break; 3410 1.1 ryo }; 3411 1.1 ryo break; 3412 1.1 ryo /* linux_sys_kill */ 3413 1.1 ryo case 129: 3414 1.1 ryo switch(ndx) { 3415 1.1 ryo case 0: 3416 1.1 ryo p = "int"; 3417 1.1 ryo break; 3418 1.1 ryo case 1: 3419 1.1 ryo p = "int"; 3420 1.1 ryo break; 3421 1.1 ryo default: 3422 1.1 ryo break; 3423 1.1 ryo }; 3424 1.1 ryo break; 3425 1.1 ryo /* linux_sys_tkill */ 3426 1.1 ryo case 130: 3427 1.1 ryo switch(ndx) { 3428 1.1 ryo case 0: 3429 1.1 ryo p = "int"; 3430 1.1 ryo break; 3431 1.1 ryo case 1: 3432 1.1 ryo p = "int"; 3433 1.1 ryo break; 3434 1.1 ryo default: 3435 1.1 ryo break; 3436 1.1 ryo }; 3437 1.1 ryo break; 3438 1.1 ryo /* linux_sys_tgkill */ 3439 1.1 ryo case 131: 3440 1.1 ryo switch(ndx) { 3441 1.1 ryo case 0: 3442 1.1 ryo p = "int"; 3443 1.1 ryo break; 3444 1.1 ryo case 1: 3445 1.1 ryo p = "int"; 3446 1.1 ryo break; 3447 1.1 ryo case 2: 3448 1.1 ryo p = "int"; 3449 1.1 ryo break; 3450 1.1 ryo default: 3451 1.1 ryo break; 3452 1.1 ryo }; 3453 1.1 ryo break; 3454 1.1 ryo /* linux_sys_sigaltstack */ 3455 1.1 ryo case 132: 3456 1.1 ryo switch(ndx) { 3457 1.1 ryo case 0: 3458 1.1 ryo p = "const struct linux_sigaltstack *"; 3459 1.1 ryo break; 3460 1.1 ryo case 1: 3461 1.1 ryo p = "struct linux_sigaltstack *"; 3462 1.1 ryo break; 3463 1.1 ryo default: 3464 1.1 ryo break; 3465 1.1 ryo }; 3466 1.1 ryo break; 3467 1.1 ryo /* linux_sys_rt_sigsuspend */ 3468 1.1 ryo case 133: 3469 1.1 ryo switch(ndx) { 3470 1.1 ryo case 0: 3471 1.1 ryo p = "linux_sigset_t *"; 3472 1.1 ryo break; 3473 1.1 ryo case 1: 3474 1.1 ryo p = "size_t"; 3475 1.1 ryo break; 3476 1.1 ryo default: 3477 1.1 ryo break; 3478 1.1 ryo }; 3479 1.1 ryo break; 3480 1.1 ryo /* linux_sys_rt_sigaction */ 3481 1.1 ryo case 134: 3482 1.1 ryo switch(ndx) { 3483 1.1 ryo case 0: 3484 1.1 ryo p = "int"; 3485 1.1 ryo break; 3486 1.1 ryo case 1: 3487 1.1 ryo p = "const struct linux_sigaction *"; 3488 1.1 ryo break; 3489 1.1 ryo case 2: 3490 1.1 ryo p = "struct linux_sigaction *"; 3491 1.1 ryo break; 3492 1.1 ryo case 3: 3493 1.1 ryo p = "size_t"; 3494 1.1 ryo break; 3495 1.1 ryo default: 3496 1.1 ryo break; 3497 1.1 ryo }; 3498 1.1 ryo break; 3499 1.1 ryo /* linux_sys_rt_sigprocmask */ 3500 1.1 ryo case 135: 3501 1.1 ryo switch(ndx) { 3502 1.1 ryo case 0: 3503 1.1 ryo p = "int"; 3504 1.1 ryo break; 3505 1.1 ryo case 1: 3506 1.1 ryo p = "const linux_sigset_t *"; 3507 1.1 ryo break; 3508 1.1 ryo case 2: 3509 1.1 ryo p = "linux_sigset_t *"; 3510 1.1 ryo break; 3511 1.1 ryo case 3: 3512 1.1 ryo p = "size_t"; 3513 1.1 ryo break; 3514 1.1 ryo default: 3515 1.1 ryo break; 3516 1.1 ryo }; 3517 1.1 ryo break; 3518 1.1 ryo /* linux_sys_rt_sigpending */ 3519 1.1 ryo case 136: 3520 1.1 ryo switch(ndx) { 3521 1.1 ryo case 0: 3522 1.1 ryo p = "linux_sigset_t *"; 3523 1.1 ryo break; 3524 1.1 ryo case 1: 3525 1.1 ryo p = "size_t"; 3526 1.1 ryo break; 3527 1.1 ryo default: 3528 1.1 ryo break; 3529 1.1 ryo }; 3530 1.1 ryo break; 3531 1.1 ryo /* linux_sys_rt_sigtimedwait */ 3532 1.1 ryo case 137: 3533 1.1 ryo switch(ndx) { 3534 1.1 ryo case 0: 3535 1.1 ryo p = "const linux_sigset_t *"; 3536 1.1 ryo break; 3537 1.1 ryo case 1: 3538 1.1 ryo p = "linux_siginfo_t *"; 3539 1.1 ryo break; 3540 1.1 ryo case 2: 3541 1.1 ryo p = "const struct linux_timespec *"; 3542 1.1 ryo break; 3543 1.1 ryo default: 3544 1.1 ryo break; 3545 1.1 ryo }; 3546 1.1 ryo break; 3547 1.1 ryo /* linux_sys_rt_sigreturn */ 3548 1.1 ryo case 139: 3549 1.1 ryo break; 3550 1.1 ryo /* sys_setpriority */ 3551 1.1 ryo case 140: 3552 1.1 ryo switch(ndx) { 3553 1.1 ryo case 0: 3554 1.1 ryo p = "int"; 3555 1.1 ryo break; 3556 1.1 ryo case 1: 3557 1.1 ryo p = "int"; 3558 1.1 ryo break; 3559 1.1 ryo case 2: 3560 1.1 ryo p = "int"; 3561 1.1 ryo break; 3562 1.1 ryo default: 3563 1.1 ryo break; 3564 1.1 ryo }; 3565 1.1 ryo break; 3566 1.1 ryo /* linux_sys_getpriority */ 3567 1.1 ryo case 141: 3568 1.1 ryo switch(ndx) { 3569 1.1 ryo case 0: 3570 1.1 ryo p = "int"; 3571 1.1 ryo break; 3572 1.1 ryo case 1: 3573 1.1 ryo p = "int"; 3574 1.1 ryo break; 3575 1.1 ryo default: 3576 1.1 ryo break; 3577 1.1 ryo }; 3578 1.1 ryo break; 3579 1.1 ryo /* linux_sys_reboot */ 3580 1.1 ryo case 142: 3581 1.1 ryo switch(ndx) { 3582 1.1 ryo case 0: 3583 1.1 ryo p = "int"; 3584 1.1 ryo break; 3585 1.1 ryo case 1: 3586 1.1 ryo p = "int"; 3587 1.1 ryo break; 3588 1.1 ryo case 2: 3589 1.1 ryo p = "int"; 3590 1.1 ryo break; 3591 1.1 ryo case 3: 3592 1.1 ryo p = "void *"; 3593 1.1 ryo break; 3594 1.1 ryo default: 3595 1.1 ryo break; 3596 1.1 ryo }; 3597 1.1 ryo break; 3598 1.1 ryo /* sys_setregid */ 3599 1.1 ryo case 143: 3600 1.1 ryo switch(ndx) { 3601 1.1 ryo case 0: 3602 1.1 ryo p = "gid_t"; 3603 1.1 ryo break; 3604 1.1 ryo case 1: 3605 1.1 ryo p = "gid_t"; 3606 1.1 ryo break; 3607 1.1 ryo default: 3608 1.1 ryo break; 3609 1.1 ryo }; 3610 1.1 ryo break; 3611 1.1 ryo /* sys_setgid */ 3612 1.1 ryo case 144: 3613 1.1 ryo switch(ndx) { 3614 1.1 ryo case 0: 3615 1.1 ryo p = "gid_t"; 3616 1.1 ryo break; 3617 1.1 ryo default: 3618 1.1 ryo break; 3619 1.1 ryo }; 3620 1.1 ryo break; 3621 1.1 ryo /* sys_setreuid */ 3622 1.1 ryo case 145: 3623 1.1 ryo switch(ndx) { 3624 1.1 ryo case 0: 3625 1.1 ryo p = "uid_t"; 3626 1.1 ryo break; 3627 1.1 ryo case 1: 3628 1.1 ryo p = "uid_t"; 3629 1.1 ryo break; 3630 1.1 ryo default: 3631 1.1 ryo break; 3632 1.1 ryo }; 3633 1.1 ryo break; 3634 1.1 ryo /* sys_setuid */ 3635 1.1 ryo case 146: 3636 1.1 ryo switch(ndx) { 3637 1.1 ryo case 0: 3638 1.1 ryo p = "uid_t"; 3639 1.1 ryo break; 3640 1.1 ryo default: 3641 1.1 ryo break; 3642 1.1 ryo }; 3643 1.1 ryo break; 3644 1.1 ryo /* linux_sys_setresuid */ 3645 1.1 ryo case 147: 3646 1.1 ryo switch(ndx) { 3647 1.1 ryo case 0: 3648 1.1 ryo p = "uid_t"; 3649 1.1 ryo break; 3650 1.1 ryo case 1: 3651 1.1 ryo p = "uid_t"; 3652 1.1 ryo break; 3653 1.1 ryo case 2: 3654 1.1 ryo p = "uid_t"; 3655 1.1 ryo break; 3656 1.1 ryo default: 3657 1.1 ryo break; 3658 1.1 ryo }; 3659 1.1 ryo break; 3660 1.1 ryo /* linux_sys_getresuid */ 3661 1.1 ryo case 148: 3662 1.1 ryo switch(ndx) { 3663 1.1 ryo case 0: 3664 1.1 ryo p = "uid_t *"; 3665 1.1 ryo break; 3666 1.1 ryo case 1: 3667 1.1 ryo p = "uid_t *"; 3668 1.1 ryo break; 3669 1.1 ryo case 2: 3670 1.1 ryo p = "uid_t *"; 3671 1.1 ryo break; 3672 1.1 ryo default: 3673 1.1 ryo break; 3674 1.1 ryo }; 3675 1.1 ryo break; 3676 1.1 ryo /* linux_sys_setresgid */ 3677 1.1 ryo case 149: 3678 1.1 ryo switch(ndx) { 3679 1.1 ryo case 0: 3680 1.1 ryo p = "gid_t"; 3681 1.1 ryo break; 3682 1.1 ryo case 1: 3683 1.1 ryo p = "gid_t"; 3684 1.1 ryo break; 3685 1.1 ryo case 2: 3686 1.1 ryo p = "gid_t"; 3687 1.1 ryo break; 3688 1.1 ryo default: 3689 1.1 ryo break; 3690 1.1 ryo }; 3691 1.1 ryo break; 3692 1.1 ryo /* linux_sys_getresgid */ 3693 1.1 ryo case 150: 3694 1.1 ryo switch(ndx) { 3695 1.1 ryo case 0: 3696 1.1 ryo p = "gid_t *"; 3697 1.1 ryo break; 3698 1.1 ryo case 1: 3699 1.1 ryo p = "gid_t *"; 3700 1.1 ryo break; 3701 1.1 ryo case 2: 3702 1.1 ryo p = "gid_t *"; 3703 1.1 ryo break; 3704 1.1 ryo default: 3705 1.1 ryo break; 3706 1.1 ryo }; 3707 1.1 ryo break; 3708 1.1 ryo /* linux_sys_setfsuid */ 3709 1.1 ryo case 151: 3710 1.1 ryo switch(ndx) { 3711 1.1 ryo case 0: 3712 1.1 ryo p = "uid_t"; 3713 1.1 ryo break; 3714 1.1 ryo default: 3715 1.1 ryo break; 3716 1.1 ryo }; 3717 1.1 ryo break; 3718 1.1 ryo /* linux_sys_setfsgid */ 3719 1.1 ryo case 152: 3720 1.1 ryo switch(ndx) { 3721 1.1 ryo case 0: 3722 1.1 ryo p = "gid_t"; 3723 1.1 ryo break; 3724 1.1 ryo default: 3725 1.1 ryo break; 3726 1.1 ryo }; 3727 1.1 ryo break; 3728 1.1 ryo /* linux_sys_times */ 3729 1.1 ryo case 153: 3730 1.1 ryo switch(ndx) { 3731 1.1 ryo case 0: 3732 1.1 ryo p = "struct times *"; 3733 1.1 ryo break; 3734 1.1 ryo default: 3735 1.1 ryo break; 3736 1.1 ryo }; 3737 1.1 ryo break; 3738 1.1 ryo /* sys_setpgid */ 3739 1.1 ryo case 154: 3740 1.1 ryo switch(ndx) { 3741 1.1 ryo case 0: 3742 1.1 ryo p = "int"; 3743 1.1 ryo break; 3744 1.1 ryo case 1: 3745 1.1 ryo p = "int"; 3746 1.1 ryo break; 3747 1.1 ryo default: 3748 1.1 ryo break; 3749 1.1 ryo }; 3750 1.1 ryo break; 3751 1.1 ryo /* sys_getpgid */ 3752 1.1 ryo case 155: 3753 1.1 ryo switch(ndx) { 3754 1.1 ryo case 0: 3755 1.1 ryo p = "pid_t"; 3756 1.1 ryo break; 3757 1.1 ryo default: 3758 1.1 ryo break; 3759 1.1 ryo }; 3760 1.1 ryo break; 3761 1.1 ryo /* sys_getsid */ 3762 1.1 ryo case 156: 3763 1.1 ryo switch(ndx) { 3764 1.1 ryo case 0: 3765 1.1 ryo p = "pid_t"; 3766 1.1 ryo break; 3767 1.1 ryo default: 3768 1.1 ryo break; 3769 1.1 ryo }; 3770 1.1 ryo break; 3771 1.1 ryo /* sys_setsid */ 3772 1.1 ryo case 157: 3773 1.1 ryo break; 3774 1.1 ryo /* sys_getgroups */ 3775 1.1 ryo case 158: 3776 1.1 ryo switch(ndx) { 3777 1.1 ryo case 0: 3778 1.1 ryo p = "int"; 3779 1.1 ryo break; 3780 1.1 ryo case 1: 3781 1.1 ryo p = "gid_t *"; 3782 1.1 ryo break; 3783 1.1 ryo default: 3784 1.1 ryo break; 3785 1.1 ryo }; 3786 1.1 ryo break; 3787 1.1 ryo /* sys_setgroups */ 3788 1.1 ryo case 159: 3789 1.1 ryo switch(ndx) { 3790 1.1 ryo case 0: 3791 1.1 ryo p = "int"; 3792 1.1 ryo break; 3793 1.1 ryo case 1: 3794 1.1 ryo p = "gid_t *"; 3795 1.1 ryo break; 3796 1.1 ryo default: 3797 1.1 ryo break; 3798 1.1 ryo }; 3799 1.1 ryo break; 3800 1.1 ryo /* linux_sys_uname */ 3801 1.1 ryo case 160: 3802 1.1 ryo switch(ndx) { 3803 1.1 ryo case 0: 3804 1.1 ryo p = "struct linux_utsname *"; 3805 1.1 ryo break; 3806 1.1 ryo default: 3807 1.1 ryo break; 3808 1.1 ryo }; 3809 1.1 ryo break; 3810 1.1 ryo /* compat_43_sys_sethostname */ 3811 1.1 ryo case 161: 3812 1.1 ryo switch(ndx) { 3813 1.1 ryo case 0: 3814 1.1 ryo p = "char *"; 3815 1.1 ryo break; 3816 1.1 ryo case 1: 3817 1.1 ryo p = "u_int"; 3818 1.1 ryo break; 3819 1.1 ryo default: 3820 1.1 ryo break; 3821 1.1 ryo }; 3822 1.1 ryo break; 3823 1.1 ryo /* linux_sys_setdomainname */ 3824 1.1 ryo case 162: 3825 1.1 ryo switch(ndx) { 3826 1.1 ryo case 0: 3827 1.1 ryo p = "char *"; 3828 1.1 ryo break; 3829 1.1 ryo case 1: 3830 1.1 ryo p = "int"; 3831 1.1 ryo break; 3832 1.1 ryo default: 3833 1.1 ryo break; 3834 1.1 ryo }; 3835 1.1 ryo break; 3836 1.1 ryo /* linux_sys_getrlimit */ 3837 1.1 ryo case 163: 3838 1.1 ryo switch(ndx) { 3839 1.1 ryo case 0: 3840 1.1 ryo p = "int"; 3841 1.1 ryo break; 3842 1.1 ryo case 1: 3843 1.1 ryo p = "struct rlimit *"; 3844 1.1 ryo break; 3845 1.1 ryo default: 3846 1.1 ryo break; 3847 1.1 ryo }; 3848 1.1 ryo break; 3849 1.1 ryo /* linux_sys_setrlimit */ 3850 1.1 ryo case 164: 3851 1.1 ryo switch(ndx) { 3852 1.1 ryo case 0: 3853 1.1 ryo p = "u_int"; 3854 1.1 ryo break; 3855 1.1 ryo case 1: 3856 1.1 ryo p = "struct rlimit *"; 3857 1.1 ryo break; 3858 1.1 ryo default: 3859 1.1 ryo break; 3860 1.1 ryo }; 3861 1.1 ryo break; 3862 1.1 ryo /* compat_50_sys_getrusage */ 3863 1.1 ryo case 165: 3864 1.1 ryo switch(ndx) { 3865 1.1 ryo case 0: 3866 1.1 ryo p = "int"; 3867 1.1 ryo break; 3868 1.1 ryo case 1: 3869 1.1 ryo p = "struct rusage50 *"; 3870 1.1 ryo break; 3871 1.1 ryo default: 3872 1.1 ryo break; 3873 1.1 ryo }; 3874 1.1 ryo break; 3875 1.1 ryo /* sys_umask */ 3876 1.1 ryo case 166: 3877 1.1 ryo switch(ndx) { 3878 1.1 ryo case 0: 3879 1.1 ryo p = "int"; 3880 1.1 ryo break; 3881 1.1 ryo default: 3882 1.1 ryo break; 3883 1.1 ryo }; 3884 1.1 ryo break; 3885 1.11 christos /* linux_sys_getcpu */ 3886 1.11 christos case 168: 3887 1.11 christos switch(ndx) { 3888 1.11 christos case 0: 3889 1.11 christos p = "unsigned int *"; 3890 1.11 christos break; 3891 1.11 christos case 1: 3892 1.11 christos p = "unsigned int *"; 3893 1.11 christos break; 3894 1.11 christos case 2: 3895 1.11 christos p = "struct linux_getcpu_cache *"; 3896 1.11 christos break; 3897 1.11 christos default: 3898 1.11 christos break; 3899 1.11 christos }; 3900 1.11 christos break; 3901 1.1 ryo /* linux_sys_gettimeofday */ 3902 1.1 ryo case 169: 3903 1.1 ryo switch(ndx) { 3904 1.1 ryo case 0: 3905 1.1 ryo p = "struct timeval50 *"; 3906 1.1 ryo break; 3907 1.1 ryo case 1: 3908 1.1 ryo p = "struct timezone *"; 3909 1.1 ryo break; 3910 1.1 ryo default: 3911 1.1 ryo break; 3912 1.1 ryo }; 3913 1.1 ryo break; 3914 1.1 ryo /* linux_sys_settimeofday */ 3915 1.1 ryo case 170: 3916 1.1 ryo switch(ndx) { 3917 1.1 ryo case 0: 3918 1.1 ryo p = "struct timeval50 *"; 3919 1.1 ryo break; 3920 1.1 ryo case 1: 3921 1.1 ryo p = "struct timezone *"; 3922 1.1 ryo break; 3923 1.1 ryo default: 3924 1.1 ryo break; 3925 1.1 ryo }; 3926 1.1 ryo break; 3927 1.1 ryo /* sys_getpid */ 3928 1.1 ryo case 172: 3929 1.1 ryo break; 3930 1.1 ryo /* sys_getppid */ 3931 1.1 ryo case 173: 3932 1.1 ryo break; 3933 1.1 ryo /* sys_getuid */ 3934 1.1 ryo case 174: 3935 1.1 ryo break; 3936 1.1 ryo /* sys_geteuid */ 3937 1.1 ryo case 175: 3938 1.1 ryo break; 3939 1.1 ryo /* sys_getgid */ 3940 1.1 ryo case 176: 3941 1.1 ryo break; 3942 1.1 ryo /* sys_getegid */ 3943 1.1 ryo case 177: 3944 1.1 ryo break; 3945 1.1 ryo /* linux_sys_gettid */ 3946 1.1 ryo case 178: 3947 1.1 ryo break; 3948 1.1 ryo /* linux_sys_sysinfo */ 3949 1.1 ryo case 179: 3950 1.1 ryo switch(ndx) { 3951 1.1 ryo case 0: 3952 1.1 ryo p = "struct linux_sysinfo *"; 3953 1.1 ryo break; 3954 1.1 ryo default: 3955 1.1 ryo break; 3956 1.1 ryo }; 3957 1.1 ryo break; 3958 1.12 christos /* linux_sys_mq_open */ 3959 1.12 christos case 180: 3960 1.12 christos switch(ndx) { 3961 1.12 christos case 0: 3962 1.12 christos p = "const char *"; 3963 1.12 christos break; 3964 1.12 christos case 1: 3965 1.12 christos p = "int"; 3966 1.12 christos break; 3967 1.12 christos case 2: 3968 1.12 christos p = "linux_umode_t"; 3969 1.12 christos break; 3970 1.12 christos case 3: 3971 1.12 christos p = "struct linux_mq_attr *"; 3972 1.12 christos break; 3973 1.12 christos default: 3974 1.12 christos break; 3975 1.12 christos }; 3976 1.12 christos break; 3977 1.12 christos /* linux_sys_mq_unlink */ 3978 1.12 christos case 181: 3979 1.12 christos switch(ndx) { 3980 1.12 christos case 0: 3981 1.12 christos p = "const char *"; 3982 1.12 christos break; 3983 1.12 christos default: 3984 1.12 christos break; 3985 1.12 christos }; 3986 1.12 christos break; 3987 1.12 christos /* linux_sys_mq_timedsend */ 3988 1.12 christos case 182: 3989 1.12 christos switch(ndx) { 3990 1.12 christos case 0: 3991 1.12 christos p = "linux_mqd_t"; 3992 1.12 christos break; 3993 1.12 christos case 1: 3994 1.12 christos p = "const char *"; 3995 1.12 christos break; 3996 1.12 christos case 2: 3997 1.12 christos p = "size_t"; 3998 1.12 christos break; 3999 1.12 christos case 3: 4000 1.12 christos p = "unsigned int"; 4001 1.12 christos break; 4002 1.12 christos case 4: 4003 1.12 christos p = "const struct linux_timespec *"; 4004 1.12 christos break; 4005 1.12 christos default: 4006 1.12 christos break; 4007 1.12 christos }; 4008 1.12 christos break; 4009 1.12 christos /* linux_sys_mq_timedreceive */ 4010 1.12 christos case 183: 4011 1.12 christos switch(ndx) { 4012 1.12 christos case 0: 4013 1.12 christos p = "linux_mqd_t"; 4014 1.12 christos break; 4015 1.12 christos case 1: 4016 1.12 christos p = "char *"; 4017 1.12 christos break; 4018 1.12 christos case 2: 4019 1.12 christos p = "size_t"; 4020 1.12 christos break; 4021 1.12 christos case 3: 4022 1.12 christos p = "unsigned int *"; 4023 1.12 christos break; 4024 1.12 christos case 4: 4025 1.12 christos p = "const struct linux_timespec *"; 4026 1.12 christos break; 4027 1.12 christos default: 4028 1.12 christos break; 4029 1.12 christos }; 4030 1.12 christos break; 4031 1.12 christos /* linux_sys_mq_notify */ 4032 1.12 christos case 184: 4033 1.12 christos switch(ndx) { 4034 1.12 christos case 0: 4035 1.12 christos p = "linux_mqd_t"; 4036 1.12 christos break; 4037 1.12 christos case 1: 4038 1.12 christos p = "const struct linux_sigevent *"; 4039 1.12 christos break; 4040 1.12 christos default: 4041 1.12 christos break; 4042 1.12 christos }; 4043 1.12 christos break; 4044 1.12 christos /* linux_sys_mq_getsetattr */ 4045 1.12 christos case 185: 4046 1.12 christos switch(ndx) { 4047 1.12 christos case 0: 4048 1.12 christos p = "linux_mqd_t"; 4049 1.12 christos break; 4050 1.12 christos case 1: 4051 1.12 christos p = "const struct linux_mq_attr *"; 4052 1.12 christos break; 4053 1.12 christos case 2: 4054 1.12 christos p = "struct linux_mq_attr *"; 4055 1.12 christos break; 4056 1.12 christos default: 4057 1.12 christos break; 4058 1.12 christos }; 4059 1.12 christos break; 4060 1.1 ryo #ifdef SYSVMSG 4061 1.1 ryo /* sys_msgget */ 4062 1.1 ryo case 186: 4063 1.1 ryo switch(ndx) { 4064 1.1 ryo case 0: 4065 1.1 ryo p = "key_t"; 4066 1.1 ryo break; 4067 1.1 ryo case 1: 4068 1.1 ryo p = "int"; 4069 1.1 ryo break; 4070 1.1 ryo default: 4071 1.1 ryo break; 4072 1.1 ryo }; 4073 1.1 ryo break; 4074 1.1 ryo /* linux_sys_msgctl */ 4075 1.1 ryo case 187: 4076 1.1 ryo switch(ndx) { 4077 1.1 ryo case 0: 4078 1.1 ryo p = "int"; 4079 1.1 ryo break; 4080 1.1 ryo case 1: 4081 1.1 ryo p = "int"; 4082 1.1 ryo break; 4083 1.1 ryo case 2: 4084 1.1 ryo p = "struct linux_msqid_ds *"; 4085 1.1 ryo break; 4086 1.1 ryo default: 4087 1.1 ryo break; 4088 1.1 ryo }; 4089 1.1 ryo break; 4090 1.1 ryo /* sys_msgrcv */ 4091 1.1 ryo case 188: 4092 1.1 ryo switch(ndx) { 4093 1.1 ryo case 0: 4094 1.1 ryo p = "int"; 4095 1.1 ryo break; 4096 1.1 ryo case 1: 4097 1.1 ryo p = "void *"; 4098 1.1 ryo break; 4099 1.1 ryo case 2: 4100 1.1 ryo p = "size_t"; 4101 1.1 ryo break; 4102 1.1 ryo case 3: 4103 1.1 ryo p = "long"; 4104 1.1 ryo break; 4105 1.1 ryo case 4: 4106 1.1 ryo p = "int"; 4107 1.1 ryo break; 4108 1.1 ryo default: 4109 1.1 ryo break; 4110 1.1 ryo }; 4111 1.1 ryo break; 4112 1.1 ryo /* sys_msgsnd */ 4113 1.1 ryo case 189: 4114 1.1 ryo switch(ndx) { 4115 1.1 ryo case 0: 4116 1.1 ryo p = "int"; 4117 1.1 ryo break; 4118 1.1 ryo case 1: 4119 1.1 ryo p = "void *"; 4120 1.1 ryo break; 4121 1.1 ryo case 2: 4122 1.1 ryo p = "size_t"; 4123 1.1 ryo break; 4124 1.1 ryo case 3: 4125 1.1 ryo p = "int"; 4126 1.1 ryo break; 4127 1.1 ryo default: 4128 1.1 ryo break; 4129 1.1 ryo }; 4130 1.1 ryo break; 4131 1.1 ryo #else 4132 1.1 ryo #endif 4133 1.1 ryo #ifdef SYSVSEM 4134 1.1 ryo /* sys_semget */ 4135 1.1 ryo case 190: 4136 1.1 ryo switch(ndx) { 4137 1.1 ryo case 0: 4138 1.1 ryo p = "key_t"; 4139 1.1 ryo break; 4140 1.1 ryo case 1: 4141 1.1 ryo p = "int"; 4142 1.1 ryo break; 4143 1.1 ryo case 2: 4144 1.1 ryo p = "int"; 4145 1.1 ryo break; 4146 1.1 ryo default: 4147 1.1 ryo break; 4148 1.1 ryo }; 4149 1.1 ryo break; 4150 1.1 ryo /* linux_sys_semctl */ 4151 1.1 ryo case 191: 4152 1.1 ryo switch(ndx) { 4153 1.1 ryo case 0: 4154 1.1 ryo p = "int"; 4155 1.1 ryo break; 4156 1.1 ryo case 1: 4157 1.1 ryo p = "int"; 4158 1.1 ryo break; 4159 1.1 ryo case 2: 4160 1.1 ryo p = "int"; 4161 1.1 ryo break; 4162 1.1 ryo case 3: 4163 1.1 ryo p = "union linux_semun"; 4164 1.1 ryo break; 4165 1.1 ryo default: 4166 1.1 ryo break; 4167 1.1 ryo }; 4168 1.1 ryo break; 4169 1.1 ryo /* sys_semop */ 4170 1.1 ryo case 193: 4171 1.1 ryo switch(ndx) { 4172 1.1 ryo case 0: 4173 1.1 ryo p = "int"; 4174 1.1 ryo break; 4175 1.1 ryo case 1: 4176 1.1 ryo p = "struct sembuf *"; 4177 1.1 ryo break; 4178 1.1 ryo case 2: 4179 1.1 ryo p = "size_t"; 4180 1.1 ryo break; 4181 1.1 ryo default: 4182 1.1 ryo break; 4183 1.1 ryo }; 4184 1.1 ryo break; 4185 1.1 ryo #else 4186 1.1 ryo #endif 4187 1.1 ryo #ifdef SYSVSEM 4188 1.1 ryo /* linux_sys_shmget */ 4189 1.1 ryo case 194: 4190 1.1 ryo switch(ndx) { 4191 1.1 ryo case 0: 4192 1.1 ryo p = "key_t"; 4193 1.1 ryo break; 4194 1.1 ryo case 1: 4195 1.1 ryo p = "size_t"; 4196 1.1 ryo break; 4197 1.1 ryo case 2: 4198 1.1 ryo p = "int"; 4199 1.1 ryo break; 4200 1.1 ryo default: 4201 1.1 ryo break; 4202 1.1 ryo }; 4203 1.1 ryo break; 4204 1.1 ryo /* linux_sys_shmctl */ 4205 1.1 ryo case 195: 4206 1.1 ryo switch(ndx) { 4207 1.1 ryo case 0: 4208 1.1 ryo p = "int"; 4209 1.1 ryo break; 4210 1.1 ryo case 1: 4211 1.1 ryo p = "int"; 4212 1.1 ryo break; 4213 1.1 ryo case 2: 4214 1.1 ryo p = "struct linux_shmid_ds *"; 4215 1.1 ryo break; 4216 1.1 ryo default: 4217 1.1 ryo break; 4218 1.1 ryo }; 4219 1.1 ryo break; 4220 1.1 ryo /* sys_shmat */ 4221 1.1 ryo case 196: 4222 1.1 ryo switch(ndx) { 4223 1.1 ryo case 0: 4224 1.1 ryo p = "int"; 4225 1.1 ryo break; 4226 1.1 ryo case 1: 4227 1.1 ryo p = "void *"; 4228 1.1 ryo break; 4229 1.1 ryo case 2: 4230 1.1 ryo p = "int"; 4231 1.1 ryo break; 4232 1.1 ryo default: 4233 1.1 ryo break; 4234 1.1 ryo }; 4235 1.1 ryo break; 4236 1.1 ryo /* sys_shmdt */ 4237 1.1 ryo case 197: 4238 1.1 ryo switch(ndx) { 4239 1.1 ryo case 0: 4240 1.1 ryo p = "const void *"; 4241 1.1 ryo break; 4242 1.1 ryo default: 4243 1.1 ryo break; 4244 1.1 ryo }; 4245 1.1 ryo break; 4246 1.1 ryo #else 4247 1.1 ryo #endif 4248 1.1 ryo /* linux_sys_socket */ 4249 1.1 ryo case 198: 4250 1.1 ryo switch(ndx) { 4251 1.1 ryo case 0: 4252 1.1 ryo p = "int"; 4253 1.1 ryo break; 4254 1.1 ryo case 1: 4255 1.1 ryo p = "int"; 4256 1.1 ryo break; 4257 1.1 ryo case 2: 4258 1.1 ryo p = "int"; 4259 1.1 ryo break; 4260 1.1 ryo default: 4261 1.1 ryo break; 4262 1.1 ryo }; 4263 1.1 ryo break; 4264 1.1 ryo /* linux_sys_socketpair */ 4265 1.1 ryo case 199: 4266 1.1 ryo switch(ndx) { 4267 1.1 ryo case 0: 4268 1.1 ryo p = "int"; 4269 1.1 ryo break; 4270 1.1 ryo case 1: 4271 1.1 ryo p = "int"; 4272 1.1 ryo break; 4273 1.1 ryo case 2: 4274 1.1 ryo p = "int"; 4275 1.1 ryo break; 4276 1.1 ryo case 3: 4277 1.1 ryo p = "int *"; 4278 1.1 ryo break; 4279 1.1 ryo default: 4280 1.1 ryo break; 4281 1.1 ryo }; 4282 1.1 ryo break; 4283 1.1 ryo /* linux_sys_bind */ 4284 1.1 ryo case 200: 4285 1.1 ryo switch(ndx) { 4286 1.1 ryo case 0: 4287 1.1 ryo p = "int"; 4288 1.1 ryo break; 4289 1.1 ryo case 1: 4290 1.1 ryo p = "const struct osockaddr *"; 4291 1.1 ryo break; 4292 1.1 ryo case 2: 4293 1.1 ryo p = "unsigned int"; 4294 1.1 ryo break; 4295 1.1 ryo default: 4296 1.1 ryo break; 4297 1.1 ryo }; 4298 1.1 ryo break; 4299 1.1 ryo /* sys_listen */ 4300 1.1 ryo case 201: 4301 1.1 ryo switch(ndx) { 4302 1.1 ryo case 0: 4303 1.1 ryo p = "int"; 4304 1.1 ryo break; 4305 1.1 ryo case 1: 4306 1.1 ryo p = "int"; 4307 1.1 ryo break; 4308 1.1 ryo default: 4309 1.1 ryo break; 4310 1.1 ryo }; 4311 1.1 ryo break; 4312 1.1 ryo /* linux_sys_accept */ 4313 1.1 ryo case 202: 4314 1.1 ryo switch(ndx) { 4315 1.1 ryo case 0: 4316 1.1 ryo p = "int"; 4317 1.1 ryo break; 4318 1.1 ryo case 1: 4319 1.1 ryo p = "struct osockaddr *"; 4320 1.1 ryo break; 4321 1.1 ryo case 2: 4322 1.1 ryo p = "int *"; 4323 1.1 ryo break; 4324 1.1 ryo default: 4325 1.1 ryo break; 4326 1.1 ryo }; 4327 1.1 ryo break; 4328 1.1 ryo /* linux_sys_connect */ 4329 1.1 ryo case 203: 4330 1.1 ryo switch(ndx) { 4331 1.1 ryo case 0: 4332 1.1 ryo p = "int"; 4333 1.1 ryo break; 4334 1.1 ryo case 1: 4335 1.1 ryo p = "const struct osockaddr *"; 4336 1.1 ryo break; 4337 1.1 ryo case 2: 4338 1.1 ryo p = "unsigned int"; 4339 1.1 ryo break; 4340 1.1 ryo default: 4341 1.1 ryo break; 4342 1.1 ryo }; 4343 1.1 ryo break; 4344 1.1 ryo /* linux_sys_getsockname */ 4345 1.1 ryo case 204: 4346 1.1 ryo switch(ndx) { 4347 1.1 ryo case 0: 4348 1.1 ryo p = "int"; 4349 1.1 ryo break; 4350 1.1 ryo case 1: 4351 1.1 ryo p = "void *"; 4352 1.1 ryo break; 4353 1.1 ryo case 2: 4354 1.1 ryo p = "int *"; 4355 1.1 ryo break; 4356 1.1 ryo default: 4357 1.1 ryo break; 4358 1.1 ryo }; 4359 1.1 ryo break; 4360 1.1 ryo /* linux_sys_getpeername */ 4361 1.1 ryo case 205: 4362 1.1 ryo switch(ndx) { 4363 1.1 ryo case 0: 4364 1.1 ryo p = "int"; 4365 1.1 ryo break; 4366 1.1 ryo case 1: 4367 1.1 ryo p = "struct sockaddr *"; 4368 1.1 ryo break; 4369 1.1 ryo case 2: 4370 1.1 ryo p = "unsigned int *"; 4371 1.1 ryo break; 4372 1.1 ryo default: 4373 1.1 ryo break; 4374 1.1 ryo }; 4375 1.1 ryo break; 4376 1.1 ryo /* linux_sys_sendto */ 4377 1.1 ryo case 206: 4378 1.1 ryo switch(ndx) { 4379 1.1 ryo case 0: 4380 1.1 ryo p = "int"; 4381 1.1 ryo break; 4382 1.1 ryo case 1: 4383 1.1 ryo p = "void *"; 4384 1.1 ryo break; 4385 1.1 ryo case 2: 4386 1.1 ryo p = "int"; 4387 1.1 ryo break; 4388 1.1 ryo case 3: 4389 1.1 ryo p = "int"; 4390 1.1 ryo break; 4391 1.1 ryo case 4: 4392 1.1 ryo p = "struct osockaddr *"; 4393 1.1 ryo break; 4394 1.1 ryo case 5: 4395 1.1 ryo p = "int"; 4396 1.1 ryo break; 4397 1.1 ryo default: 4398 1.1 ryo break; 4399 1.1 ryo }; 4400 1.1 ryo break; 4401 1.1 ryo /* linux_sys_recvfrom */ 4402 1.1 ryo case 207: 4403 1.1 ryo switch(ndx) { 4404 1.1 ryo case 0: 4405 1.1 ryo p = "int"; 4406 1.1 ryo break; 4407 1.1 ryo case 1: 4408 1.1 ryo p = "void *"; 4409 1.1 ryo break; 4410 1.1 ryo case 2: 4411 1.1 ryo p = "size_t"; 4412 1.1 ryo break; 4413 1.1 ryo case 3: 4414 1.1 ryo p = "int"; 4415 1.1 ryo break; 4416 1.1 ryo case 4: 4417 1.1 ryo p = "struct osockaddr *"; 4418 1.1 ryo break; 4419 1.1 ryo case 5: 4420 1.1 ryo p = "unsigned int *"; 4421 1.1 ryo break; 4422 1.1 ryo default: 4423 1.1 ryo break; 4424 1.1 ryo }; 4425 1.1 ryo break; 4426 1.1 ryo /* linux_sys_setsockopt */ 4427 1.1 ryo case 208: 4428 1.1 ryo switch(ndx) { 4429 1.1 ryo case 0: 4430 1.1 ryo p = "int"; 4431 1.1 ryo break; 4432 1.1 ryo case 1: 4433 1.1 ryo p = "int"; 4434 1.1 ryo break; 4435 1.1 ryo case 2: 4436 1.1 ryo p = "int"; 4437 1.1 ryo break; 4438 1.1 ryo case 3: 4439 1.1 ryo p = "void *"; 4440 1.1 ryo break; 4441 1.1 ryo case 4: 4442 1.1 ryo p = "int"; 4443 1.1 ryo break; 4444 1.1 ryo default: 4445 1.1 ryo break; 4446 1.1 ryo }; 4447 1.1 ryo break; 4448 1.1 ryo /* linux_sys_getsockopt */ 4449 1.1 ryo case 209: 4450 1.1 ryo switch(ndx) { 4451 1.1 ryo case 0: 4452 1.1 ryo p = "int"; 4453 1.1 ryo break; 4454 1.1 ryo case 1: 4455 1.1 ryo p = "int"; 4456 1.1 ryo break; 4457 1.1 ryo case 2: 4458 1.1 ryo p = "int"; 4459 1.1 ryo break; 4460 1.1 ryo case 3: 4461 1.1 ryo p = "void *"; 4462 1.1 ryo break; 4463 1.1 ryo case 4: 4464 1.1 ryo p = "int *"; 4465 1.1 ryo break; 4466 1.1 ryo default: 4467 1.1 ryo break; 4468 1.1 ryo }; 4469 1.1 ryo break; 4470 1.1 ryo /* sys_shutdown */ 4471 1.1 ryo case 210: 4472 1.1 ryo switch(ndx) { 4473 1.1 ryo case 0: 4474 1.1 ryo p = "int"; 4475 1.1 ryo break; 4476 1.1 ryo case 1: 4477 1.1 ryo p = "int"; 4478 1.1 ryo break; 4479 1.1 ryo default: 4480 1.1 ryo break; 4481 1.1 ryo }; 4482 1.1 ryo break; 4483 1.1 ryo /* linux_sys_sendmsg */ 4484 1.1 ryo case 211: 4485 1.1 ryo switch(ndx) { 4486 1.1 ryo case 0: 4487 1.1 ryo p = "int"; 4488 1.1 ryo break; 4489 1.1 ryo case 1: 4490 1.1 ryo p = "const struct linux_msghdr *"; 4491 1.1 ryo break; 4492 1.1 ryo case 2: 4493 1.1 ryo p = "int"; 4494 1.1 ryo break; 4495 1.1 ryo default: 4496 1.1 ryo break; 4497 1.1 ryo }; 4498 1.1 ryo break; 4499 1.1 ryo /* linux_sys_recvmsg */ 4500 1.1 ryo case 212: 4501 1.1 ryo switch(ndx) { 4502 1.1 ryo case 0: 4503 1.1 ryo p = "int"; 4504 1.1 ryo break; 4505 1.1 ryo case 1: 4506 1.1 ryo p = "struct linux_msghdr *"; 4507 1.1 ryo break; 4508 1.1 ryo case 2: 4509 1.1 ryo p = "int"; 4510 1.1 ryo break; 4511 1.1 ryo default: 4512 1.1 ryo break; 4513 1.1 ryo }; 4514 1.1 ryo break; 4515 1.8 christos /* linux_sys_readahead */ 4516 1.8 christos case 213: 4517 1.8 christos switch(ndx) { 4518 1.8 christos case 0: 4519 1.8 christos p = "int"; 4520 1.8 christos break; 4521 1.8 christos case 1: 4522 1.8 christos p = "off_t"; 4523 1.8 christos break; 4524 1.8 christos case 2: 4525 1.8 christos p = "size_t"; 4526 1.8 christos break; 4527 1.8 christos default: 4528 1.8 christos break; 4529 1.8 christos }; 4530 1.8 christos break; 4531 1.1 ryo /* linux_sys_brk */ 4532 1.1 ryo case 214: 4533 1.1 ryo switch(ndx) { 4534 1.1 ryo case 0: 4535 1.1 ryo p = "char *"; 4536 1.1 ryo break; 4537 1.1 ryo default: 4538 1.1 ryo break; 4539 1.1 ryo }; 4540 1.1 ryo break; 4541 1.1 ryo /* sys_munmap */ 4542 1.1 ryo case 215: 4543 1.1 ryo switch(ndx) { 4544 1.1 ryo case 0: 4545 1.1 ryo p = "void *"; 4546 1.1 ryo break; 4547 1.1 ryo case 1: 4548 1.1 ryo p = "size_t"; 4549 1.1 ryo break; 4550 1.1 ryo default: 4551 1.1 ryo break; 4552 1.1 ryo }; 4553 1.1 ryo break; 4554 1.1 ryo /* linux_sys_mremap */ 4555 1.1 ryo case 216: 4556 1.1 ryo switch(ndx) { 4557 1.1 ryo case 0: 4558 1.1 ryo p = "void *"; 4559 1.1 ryo break; 4560 1.1 ryo case 1: 4561 1.1 ryo p = "size_t"; 4562 1.1 ryo break; 4563 1.1 ryo case 2: 4564 1.1 ryo p = "size_t"; 4565 1.1 ryo break; 4566 1.1 ryo case 3: 4567 1.1 ryo p = "u_long"; 4568 1.1 ryo break; 4569 1.1 ryo default: 4570 1.1 ryo break; 4571 1.1 ryo }; 4572 1.1 ryo break; 4573 1.1 ryo /* linux_sys_clone */ 4574 1.1 ryo case 220: 4575 1.1 ryo switch(ndx) { 4576 1.1 ryo case 0: 4577 1.1 ryo p = "int"; 4578 1.1 ryo break; 4579 1.1 ryo case 1: 4580 1.1 ryo p = "void *"; 4581 1.1 ryo break; 4582 1.1 ryo case 2: 4583 1.1 ryo p = "void *"; 4584 1.1 ryo break; 4585 1.1 ryo case 3: 4586 1.1 ryo p = "void *"; 4587 1.1 ryo break; 4588 1.1 ryo case 4: 4589 1.1 ryo p = "void *"; 4590 1.1 ryo break; 4591 1.1 ryo default: 4592 1.1 ryo break; 4593 1.1 ryo }; 4594 1.1 ryo break; 4595 1.1 ryo /* sys_execve */ 4596 1.1 ryo case 221: 4597 1.1 ryo switch(ndx) { 4598 1.1 ryo case 0: 4599 1.1 ryo p = "const char *"; 4600 1.1 ryo break; 4601 1.1 ryo case 1: 4602 1.1 ryo p = "char **"; 4603 1.1 ryo break; 4604 1.1 ryo case 2: 4605 1.1 ryo p = "char **"; 4606 1.1 ryo break; 4607 1.1 ryo default: 4608 1.1 ryo break; 4609 1.1 ryo }; 4610 1.1 ryo break; 4611 1.1 ryo /* linux_sys_mmap */ 4612 1.1 ryo case 222: 4613 1.1 ryo switch(ndx) { 4614 1.1 ryo case 0: 4615 1.1 ryo p = "unsigned long"; 4616 1.1 ryo break; 4617 1.1 ryo case 1: 4618 1.1 ryo p = "size_t"; 4619 1.1 ryo break; 4620 1.1 ryo case 2: 4621 1.1 ryo p = "int"; 4622 1.1 ryo break; 4623 1.1 ryo case 3: 4624 1.1 ryo p = "int"; 4625 1.1 ryo break; 4626 1.1 ryo case 4: 4627 1.1 ryo p = "int"; 4628 1.1 ryo break; 4629 1.1 ryo case 5: 4630 1.1 ryo p = "linux_off_t"; 4631 1.1 ryo break; 4632 1.1 ryo default: 4633 1.1 ryo break; 4634 1.1 ryo }; 4635 1.1 ryo break; 4636 1.1 ryo /* linux_sys_fadvise64 */ 4637 1.1 ryo case 223: 4638 1.1 ryo switch(ndx) { 4639 1.1 ryo case 0: 4640 1.1 ryo p = "int"; 4641 1.1 ryo break; 4642 1.1 ryo case 1: 4643 1.1 ryo p = "off_t"; 4644 1.1 ryo break; 4645 1.1 ryo case 2: 4646 1.1 ryo p = "size_t"; 4647 1.1 ryo break; 4648 1.1 ryo case 3: 4649 1.1 ryo p = "int"; 4650 1.1 ryo break; 4651 1.1 ryo default: 4652 1.1 ryo break; 4653 1.1 ryo }; 4654 1.1 ryo break; 4655 1.1 ryo /* linux_sys_swapon */ 4656 1.1 ryo case 224: 4657 1.1 ryo switch(ndx) { 4658 1.1 ryo case 0: 4659 1.1 ryo p = "char *"; 4660 1.1 ryo break; 4661 1.1 ryo default: 4662 1.1 ryo break; 4663 1.1 ryo }; 4664 1.1 ryo break; 4665 1.1 ryo /* linux_sys_swapoff */ 4666 1.1 ryo case 225: 4667 1.1 ryo switch(ndx) { 4668 1.1 ryo case 0: 4669 1.1 ryo p = "const char *"; 4670 1.1 ryo break; 4671 1.1 ryo default: 4672 1.1 ryo break; 4673 1.1 ryo }; 4674 1.1 ryo break; 4675 1.1 ryo /* linux_sys_mprotect */ 4676 1.1 ryo case 226: 4677 1.1 ryo switch(ndx) { 4678 1.1 ryo case 0: 4679 1.1 ryo p = "const void *"; 4680 1.1 ryo break; 4681 1.1 ryo case 1: 4682 1.1 ryo p = "unsigned long"; 4683 1.1 ryo break; 4684 1.1 ryo case 2: 4685 1.1 ryo p = "int"; 4686 1.1 ryo break; 4687 1.1 ryo default: 4688 1.1 ryo break; 4689 1.1 ryo }; 4690 1.1 ryo break; 4691 1.1 ryo /* sys___msync13 */ 4692 1.1 ryo case 227: 4693 1.1 ryo switch(ndx) { 4694 1.1 ryo case 0: 4695 1.1 ryo p = "void *"; 4696 1.1 ryo break; 4697 1.1 ryo case 1: 4698 1.1 ryo p = "size_t"; 4699 1.1 ryo break; 4700 1.1 ryo case 2: 4701 1.1 ryo p = "int"; 4702 1.1 ryo break; 4703 1.1 ryo default: 4704 1.1 ryo break; 4705 1.1 ryo }; 4706 1.1 ryo break; 4707 1.1 ryo /* sys_mlock */ 4708 1.1 ryo case 228: 4709 1.1 ryo switch(ndx) { 4710 1.1 ryo case 0: 4711 1.1 ryo p = "void *"; 4712 1.1 ryo break; 4713 1.1 ryo case 1: 4714 1.1 ryo p = "size_t"; 4715 1.1 ryo break; 4716 1.1 ryo default: 4717 1.1 ryo break; 4718 1.1 ryo }; 4719 1.1 ryo break; 4720 1.1 ryo /* sys_munlock */ 4721 1.1 ryo case 229: 4722 1.1 ryo switch(ndx) { 4723 1.1 ryo case 0: 4724 1.1 ryo p = "void *"; 4725 1.1 ryo break; 4726 1.1 ryo case 1: 4727 1.1 ryo p = "size_t"; 4728 1.1 ryo break; 4729 1.1 ryo default: 4730 1.1 ryo break; 4731 1.1 ryo }; 4732 1.1 ryo break; 4733 1.1 ryo /* sys_mlockall */ 4734 1.1 ryo case 230: 4735 1.1 ryo switch(ndx) { 4736 1.1 ryo case 0: 4737 1.1 ryo p = "int"; 4738 1.1 ryo break; 4739 1.1 ryo default: 4740 1.1 ryo break; 4741 1.1 ryo }; 4742 1.1 ryo break; 4743 1.1 ryo /* sys_munlockall */ 4744 1.1 ryo case 231: 4745 1.1 ryo break; 4746 1.1 ryo /* sys_mincore */ 4747 1.1 ryo case 232: 4748 1.1 ryo switch(ndx) { 4749 1.1 ryo case 0: 4750 1.1 ryo p = "void *"; 4751 1.1 ryo break; 4752 1.1 ryo case 1: 4753 1.1 ryo p = "size_t"; 4754 1.1 ryo break; 4755 1.1 ryo case 2: 4756 1.1 ryo p = "char *"; 4757 1.1 ryo break; 4758 1.1 ryo default: 4759 1.1 ryo break; 4760 1.1 ryo }; 4761 1.1 ryo break; 4762 1.1 ryo /* sys_madvise */ 4763 1.1 ryo case 233: 4764 1.1 ryo switch(ndx) { 4765 1.1 ryo case 0: 4766 1.1 ryo p = "void *"; 4767 1.1 ryo break; 4768 1.1 ryo case 1: 4769 1.1 ryo p = "size_t"; 4770 1.1 ryo break; 4771 1.1 ryo case 2: 4772 1.1 ryo p = "int"; 4773 1.1 ryo break; 4774 1.1 ryo default: 4775 1.1 ryo break; 4776 1.1 ryo }; 4777 1.1 ryo break; 4778 1.1 ryo /* linux_sys_accept4 */ 4779 1.1 ryo case 242: 4780 1.1 ryo switch(ndx) { 4781 1.1 ryo case 0: 4782 1.1 ryo p = "int"; 4783 1.1 ryo break; 4784 1.1 ryo case 1: 4785 1.1 ryo p = "struct osockaddr *"; 4786 1.1 ryo break; 4787 1.1 ryo case 2: 4788 1.1 ryo p = "int *"; 4789 1.1 ryo break; 4790 1.1 ryo case 3: 4791 1.1 ryo p = "int"; 4792 1.1 ryo break; 4793 1.1 ryo default: 4794 1.1 ryo break; 4795 1.1 ryo }; 4796 1.1 ryo break; 4797 1.1 ryo /* linux_sys_recvmmsg */ 4798 1.1 ryo case 243: 4799 1.1 ryo switch(ndx) { 4800 1.1 ryo case 0: 4801 1.1 ryo p = "int"; 4802 1.1 ryo break; 4803 1.1 ryo case 1: 4804 1.1 ryo p = "struct linux_mmsghdr *"; 4805 1.1 ryo break; 4806 1.1 ryo case 2: 4807 1.1 ryo p = "unsigned int"; 4808 1.1 ryo break; 4809 1.1 ryo case 3: 4810 1.1 ryo p = "unsigned int"; 4811 1.1 ryo break; 4812 1.1 ryo case 4: 4813 1.1 ryo p = "struct timespec *"; 4814 1.1 ryo break; 4815 1.1 ryo default: 4816 1.1 ryo break; 4817 1.1 ryo }; 4818 1.1 ryo break; 4819 1.1 ryo /* linux_sys_wait4 */ 4820 1.1 ryo case 260: 4821 1.1 ryo switch(ndx) { 4822 1.1 ryo case 0: 4823 1.1 ryo p = "int"; 4824 1.1 ryo break; 4825 1.1 ryo case 1: 4826 1.1 ryo p = "int *"; 4827 1.1 ryo break; 4828 1.1 ryo case 2: 4829 1.1 ryo p = "int"; 4830 1.1 ryo break; 4831 1.1 ryo case 3: 4832 1.1 ryo p = "struct rusage50 *"; 4833 1.1 ryo break; 4834 1.1 ryo default: 4835 1.1 ryo break; 4836 1.1 ryo }; 4837 1.1 ryo break; 4838 1.4 ryo /* linux_sys_prlimit64 */ 4839 1.4 ryo case 261: 4840 1.4 ryo switch(ndx) { 4841 1.4 ryo case 0: 4842 1.4 ryo p = "pid_t"; 4843 1.4 ryo break; 4844 1.4 ryo case 1: 4845 1.4 ryo p = "int"; 4846 1.4 ryo break; 4847 1.4 ryo case 2: 4848 1.4 ryo p = "struct rlimit *"; 4849 1.4 ryo break; 4850 1.4 ryo case 3: 4851 1.4 ryo p = "struct rlimit *"; 4852 1.4 ryo break; 4853 1.4 ryo default: 4854 1.4 ryo break; 4855 1.4 ryo }; 4856 1.4 ryo break; 4857 1.13 christos /* linux_sys_syncfs */ 4858 1.13 christos case 267: 4859 1.13 christos switch(ndx) { 4860 1.13 christos case 0: 4861 1.13 christos p = "int"; 4862 1.13 christos break; 4863 1.13 christos default: 4864 1.13 christos break; 4865 1.13 christos }; 4866 1.13 christos break; 4867 1.1 ryo /* linux_sys_sendmmsg */ 4868 1.1 ryo case 269: 4869 1.1 ryo switch(ndx) { 4870 1.1 ryo case 0: 4871 1.1 ryo p = "int"; 4872 1.1 ryo break; 4873 1.1 ryo case 1: 4874 1.1 ryo p = "struct linux_mmsghdr *"; 4875 1.1 ryo break; 4876 1.1 ryo case 2: 4877 1.1 ryo p = "unsigned int"; 4878 1.1 ryo break; 4879 1.1 ryo case 3: 4880 1.1 ryo p = "unsigned int"; 4881 1.1 ryo break; 4882 1.1 ryo default: 4883 1.1 ryo break; 4884 1.1 ryo }; 4885 1.1 ryo break; 4886 1.13 christos /* linux_sys_renameat2 */ 4887 1.13 christos case 276: 4888 1.13 christos switch(ndx) { 4889 1.13 christos case 0: 4890 1.13 christos p = "int"; 4891 1.13 christos break; 4892 1.13 christos case 1: 4893 1.13 christos p = "const char *"; 4894 1.13 christos break; 4895 1.13 christos case 2: 4896 1.13 christos p = "int"; 4897 1.13 christos break; 4898 1.13 christos case 3: 4899 1.13 christos p = "const char *"; 4900 1.13 christos break; 4901 1.13 christos case 4: 4902 1.13 christos p = "unsigned int"; 4903 1.13 christos break; 4904 1.13 christos default: 4905 1.13 christos break; 4906 1.13 christos }; 4907 1.13 christos break; 4908 1.2 ryo /* sys_getrandom */ 4909 1.2 ryo case 278: 4910 1.2 ryo switch(ndx) { 4911 1.2 ryo case 0: 4912 1.2 ryo p = "void *"; 4913 1.2 ryo break; 4914 1.2 ryo case 1: 4915 1.2 ryo p = "size_t"; 4916 1.2 ryo break; 4917 1.2 ryo case 2: 4918 1.2 ryo p = "unsigned int"; 4919 1.2 ryo break; 4920 1.2 ryo default: 4921 1.2 ryo break; 4922 1.2 ryo }; 4923 1.2 ryo break; 4924 1.5 christos /* linux_sys_memfd_create */ 4925 1.5 christos case 279: 4926 1.5 christos switch(ndx) { 4927 1.5 christos case 0: 4928 1.5 christos p = "const char *"; 4929 1.5 christos break; 4930 1.5 christos case 1: 4931 1.5 christos p = "unsigned int"; 4932 1.5 christos break; 4933 1.5 christos default: 4934 1.5 christos break; 4935 1.5 christos }; 4936 1.5 christos break; 4937 1.13 christos /* linux_sys_copy_file_range */ 4938 1.13 christos case 285: 4939 1.13 christos switch(ndx) { 4940 1.13 christos case 0: 4941 1.13 christos p = "int"; 4942 1.13 christos break; 4943 1.13 christos case 1: 4944 1.13 christos p = "off_t *"; 4945 1.13 christos break; 4946 1.13 christos case 2: 4947 1.13 christos p = "int"; 4948 1.13 christos break; 4949 1.13 christos case 3: 4950 1.13 christos p = "off_t *"; 4951 1.13 christos break; 4952 1.13 christos case 4: 4953 1.13 christos p = "size_t"; 4954 1.13 christos break; 4955 1.13 christos case 5: 4956 1.13 christos p = "unsigned int"; 4957 1.13 christos break; 4958 1.13 christos default: 4959 1.13 christos break; 4960 1.13 christos }; 4961 1.13 christos break; 4962 1.3 ryo /* linux_sys_statx */ 4963 1.3 ryo case 291: 4964 1.3 ryo switch(ndx) { 4965 1.3 ryo case 0: 4966 1.3 ryo p = "int"; 4967 1.3 ryo break; 4968 1.3 ryo case 1: 4969 1.3 ryo p = "const char *"; 4970 1.3 ryo break; 4971 1.3 ryo case 2: 4972 1.3 ryo p = "int"; 4973 1.3 ryo break; 4974 1.3 ryo case 3: 4975 1.3 ryo p = "unsigned int"; 4976 1.3 ryo break; 4977 1.3 ryo case 4: 4978 1.3 ryo p = "struct linux_statx *"; 4979 1.3 ryo break; 4980 1.3 ryo default: 4981 1.3 ryo break; 4982 1.3 ryo }; 4983 1.3 ryo break; 4984 1.13 christos /* linux_sys_clone3 */ 4985 1.13 christos case 435: 4986 1.13 christos switch(ndx) { 4987 1.13 christos case 0: 4988 1.13 christos p = "struct linux_user_clone3_args *"; 4989 1.13 christos break; 4990 1.13 christos case 1: 4991 1.13 christos p = "size_t"; 4992 1.13 christos break; 4993 1.13 christos default: 4994 1.13 christos break; 4995 1.13 christos }; 4996 1.13 christos break; 4997 1.8 christos /* linux_sys_close_range */ 4998 1.8 christos case 436: 4999 1.8 christos switch(ndx) { 5000 1.8 christos case 0: 5001 1.8 christos p = "unsigned int"; 5002 1.8 christos break; 5003 1.8 christos case 1: 5004 1.8 christos p = "unsigned int"; 5005 1.8 christos break; 5006 1.8 christos case 2: 5007 1.8 christos p = "unsigned int"; 5008 1.8 christos break; 5009 1.8 christos default: 5010 1.8 christos break; 5011 1.8 christos }; 5012 1.8 christos break; 5013 1.11 christos /* linux_sys_faccessat2 */ 5014 1.11 christos case 439: 5015 1.11 christos switch(ndx) { 5016 1.11 christos case 0: 5017 1.11 christos p = "int"; 5018 1.11 christos break; 5019 1.11 christos case 1: 5020 1.11 christos p = "const char *"; 5021 1.11 christos break; 5022 1.11 christos case 2: 5023 1.11 christos p = "int"; 5024 1.11 christos break; 5025 1.11 christos case 3: 5026 1.11 christos p = "int"; 5027 1.11 christos break; 5028 1.11 christos default: 5029 1.11 christos break; 5030 1.11 christos }; 5031 1.11 christos break; 5032 1.1 ryo /* linux_sys_nosys */ 5033 1.1 ryo case 440: 5034 1.1 ryo break; 5035 1.6 christos /* linux_sys_epoll_pwait2 */ 5036 1.6 christos case 441: 5037 1.6 christos switch(ndx) { 5038 1.6 christos case 0: 5039 1.6 christos p = "int"; 5040 1.6 christos break; 5041 1.6 christos case 1: 5042 1.6 christos p = "struct linux_epoll_event *"; 5043 1.6 christos break; 5044 1.6 christos case 2: 5045 1.6 christos p = "int"; 5046 1.6 christos break; 5047 1.6 christos case 3: 5048 1.6 christos p = "const struct linux_timespec *"; 5049 1.6 christos break; 5050 1.6 christos case 4: 5051 1.6 christos p = "const linux_sigset_t *"; 5052 1.6 christos break; 5053 1.6 christos default: 5054 1.6 christos break; 5055 1.6 christos }; 5056 1.6 christos break; 5057 1.1 ryo default: 5058 1.1 ryo break; 5059 1.1 ryo }; 5060 1.1 ryo if (p != NULL) 5061 1.1 ryo strlcpy(desc, p, descsz); 5062 1.1 ryo } 5063 1.1 ryo static void 5064 1.1 ryo systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 5065 1.1 ryo { 5066 1.1 ryo const char *p = NULL; 5067 1.1 ryo switch (sysnum) { 5068 1.1 ryo /* linux_sys_setxattr */ 5069 1.1 ryo case 5: 5070 1.1 ryo if (ndx == 0 || ndx == 1) 5071 1.1 ryo p = "int"; 5072 1.1 ryo break; 5073 1.1 ryo /* linux_sys_lsetxattr */ 5074 1.1 ryo case 6: 5075 1.1 ryo if (ndx == 0 || ndx == 1) 5076 1.1 ryo p = "int"; 5077 1.1 ryo break; 5078 1.1 ryo /* linux_sys_fsetxattr */ 5079 1.1 ryo case 7: 5080 1.1 ryo if (ndx == 0 || ndx == 1) 5081 1.1 ryo p = "int"; 5082 1.1 ryo break; 5083 1.1 ryo /* linux_sys_getxattr */ 5084 1.1 ryo case 8: 5085 1.1 ryo if (ndx == 0 || ndx == 1) 5086 1.1 ryo p = "ssize_t"; 5087 1.1 ryo break; 5088 1.1 ryo /* linux_sys_lgetxattr */ 5089 1.1 ryo case 9: 5090 1.1 ryo if (ndx == 0 || ndx == 1) 5091 1.1 ryo p = "ssize_t"; 5092 1.1 ryo break; 5093 1.1 ryo /* linux_sys_fgetxattr */ 5094 1.1 ryo case 10: 5095 1.1 ryo if (ndx == 0 || ndx == 1) 5096 1.1 ryo p = "ssize_t"; 5097 1.1 ryo break; 5098 1.1 ryo /* linux_sys_listxattr */ 5099 1.1 ryo case 11: 5100 1.1 ryo if (ndx == 0 || ndx == 1) 5101 1.1 ryo p = "ssize_t"; 5102 1.1 ryo break; 5103 1.1 ryo /* linux_sys_llistxattr */ 5104 1.1 ryo case 12: 5105 1.1 ryo if (ndx == 0 || ndx == 1) 5106 1.1 ryo p = "ssize_t"; 5107 1.1 ryo break; 5108 1.1 ryo /* linux_sys_flistxattr */ 5109 1.1 ryo case 13: 5110 1.1 ryo if (ndx == 0 || ndx == 1) 5111 1.1 ryo p = "ssize_t"; 5112 1.1 ryo break; 5113 1.1 ryo /* linux_sys_removexattr */ 5114 1.1 ryo case 14: 5115 1.1 ryo if (ndx == 0 || ndx == 1) 5116 1.1 ryo p = "int"; 5117 1.1 ryo break; 5118 1.1 ryo /* linux_sys_lremovexattr */ 5119 1.1 ryo case 15: 5120 1.1 ryo if (ndx == 0 || ndx == 1) 5121 1.1 ryo p = "int"; 5122 1.1 ryo break; 5123 1.1 ryo /* linux_sys_fremovexattr */ 5124 1.1 ryo case 16: 5125 1.1 ryo if (ndx == 0 || ndx == 1) 5126 1.1 ryo p = "int"; 5127 1.1 ryo break; 5128 1.1 ryo /* sys___getcwd */ 5129 1.1 ryo case 17: 5130 1.1 ryo if (ndx == 0 || ndx == 1) 5131 1.1 ryo p = "int"; 5132 1.1 ryo break; 5133 1.1 ryo /* linux_sys_eventfd2 */ 5134 1.1 ryo case 19: 5135 1.1 ryo if (ndx == 0 || ndx == 1) 5136 1.1 ryo p = "int"; 5137 1.1 ryo break; 5138 1.6 christos /* linux_sys_epoll_create1 */ 5139 1.6 christos case 20: 5140 1.6 christos if (ndx == 0 || ndx == 1) 5141 1.6 christos p = "int"; 5142 1.6 christos break; 5143 1.6 christos /* linux_sys_epoll_ctl */ 5144 1.6 christos case 21: 5145 1.6 christos if (ndx == 0 || ndx == 1) 5146 1.6 christos p = "int"; 5147 1.6 christos break; 5148 1.6 christos /* linux_sys_epoll_pwait */ 5149 1.6 christos case 22: 5150 1.6 christos if (ndx == 0 || ndx == 1) 5151 1.6 christos p = "int"; 5152 1.6 christos break; 5153 1.1 ryo /* sys_dup */ 5154 1.1 ryo case 23: 5155 1.1 ryo if (ndx == 0 || ndx == 1) 5156 1.1 ryo p = "int"; 5157 1.1 ryo break; 5158 1.1 ryo /* linux_sys_dup3 */ 5159 1.1 ryo case 24: 5160 1.1 ryo if (ndx == 0 || ndx == 1) 5161 1.1 ryo p = "int"; 5162 1.1 ryo break; 5163 1.1 ryo /* linux_sys_fcntl */ 5164 1.1 ryo case 25: 5165 1.1 ryo if (ndx == 0 || ndx == 1) 5166 1.1 ryo p = "int"; 5167 1.1 ryo break; 5168 1.10 christos /* linux_sys_inotify_init1 */ 5169 1.10 christos case 26: 5170 1.10 christos if (ndx == 0 || ndx == 1) 5171 1.10 christos p = "int"; 5172 1.10 christos break; 5173 1.10 christos /* linux_sys_inotify_add_watch */ 5174 1.10 christos case 27: 5175 1.10 christos if (ndx == 0 || ndx == 1) 5176 1.10 christos p = "int"; 5177 1.10 christos break; 5178 1.10 christos /* linux_sys_inotify_rm_watch */ 5179 1.10 christos case 28: 5180 1.10 christos if (ndx == 0 || ndx == 1) 5181 1.10 christos p = "int"; 5182 1.10 christos break; 5183 1.1 ryo /* linux_sys_ioctl */ 5184 1.1 ryo case 29: 5185 1.1 ryo if (ndx == 0 || ndx == 1) 5186 1.1 ryo p = "int"; 5187 1.1 ryo break; 5188 1.1 ryo /* sys_flock */ 5189 1.1 ryo case 32: 5190 1.1 ryo if (ndx == 0 || ndx == 1) 5191 1.1 ryo p = "int"; 5192 1.1 ryo break; 5193 1.1 ryo /* linux_sys_mknodat */ 5194 1.1 ryo case 33: 5195 1.1 ryo if (ndx == 0 || ndx == 1) 5196 1.1 ryo p = "int"; 5197 1.1 ryo break; 5198 1.1 ryo /* sys_mkdirat */ 5199 1.1 ryo case 34: 5200 1.1 ryo if (ndx == 0 || ndx == 1) 5201 1.1 ryo p = "int"; 5202 1.1 ryo break; 5203 1.1 ryo /* linux_sys_unlinkat */ 5204 1.1 ryo case 35: 5205 1.1 ryo if (ndx == 0 || ndx == 1) 5206 1.1 ryo p = "int"; 5207 1.1 ryo break; 5208 1.1 ryo /* sys_symlinkat */ 5209 1.1 ryo case 36: 5210 1.1 ryo if (ndx == 0 || ndx == 1) 5211 1.1 ryo p = "int"; 5212 1.1 ryo break; 5213 1.1 ryo /* linux_sys_linkat */ 5214 1.1 ryo case 37: 5215 1.1 ryo if (ndx == 0 || ndx == 1) 5216 1.1 ryo p = "int"; 5217 1.1 ryo break; 5218 1.1 ryo /* sys_renameat */ 5219 1.1 ryo case 38: 5220 1.1 ryo if (ndx == 0 || ndx == 1) 5221 1.1 ryo p = "int"; 5222 1.1 ryo break; 5223 1.1 ryo /* linux_sys_statfs */ 5224 1.1 ryo case 43: 5225 1.1 ryo if (ndx == 0 || ndx == 1) 5226 1.1 ryo p = "int"; 5227 1.1 ryo break; 5228 1.1 ryo /* linux_sys_fstatfs */ 5229 1.1 ryo case 44: 5230 1.1 ryo if (ndx == 0 || ndx == 1) 5231 1.1 ryo p = "int"; 5232 1.1 ryo break; 5233 1.1 ryo /* linux_sys_truncate64 */ 5234 1.1 ryo case 45: 5235 1.1 ryo if (ndx == 0 || ndx == 1) 5236 1.1 ryo p = "int"; 5237 1.1 ryo break; 5238 1.1 ryo /* linux_sys_ftruncate64 */ 5239 1.1 ryo case 46: 5240 1.1 ryo if (ndx == 0 || ndx == 1) 5241 1.1 ryo p = "int"; 5242 1.1 ryo break; 5243 1.1 ryo /* linux_sys_fallocate */ 5244 1.1 ryo case 47: 5245 1.1 ryo if (ndx == 0 || ndx == 1) 5246 1.1 ryo p = "int"; 5247 1.1 ryo break; 5248 1.1 ryo /* linux_sys_faccessat */ 5249 1.1 ryo case 48: 5250 1.1 ryo if (ndx == 0 || ndx == 1) 5251 1.1 ryo p = "int"; 5252 1.1 ryo break; 5253 1.1 ryo /* sys_chdir */ 5254 1.1 ryo case 49: 5255 1.1 ryo if (ndx == 0 || ndx == 1) 5256 1.1 ryo p = "int"; 5257 1.1 ryo break; 5258 1.1 ryo /* sys_fchdir */ 5259 1.1 ryo case 50: 5260 1.1 ryo if (ndx == 0 || ndx == 1) 5261 1.1 ryo p = "int"; 5262 1.1 ryo break; 5263 1.1 ryo /* sys_chroot */ 5264 1.1 ryo case 51: 5265 1.1 ryo if (ndx == 0 || ndx == 1) 5266 1.1 ryo p = "int"; 5267 1.1 ryo break; 5268 1.1 ryo /* sys_fchmod */ 5269 1.1 ryo case 52: 5270 1.1 ryo if (ndx == 0 || ndx == 1) 5271 1.1 ryo p = "int"; 5272 1.1 ryo break; 5273 1.1 ryo /* linux_sys_fchmodat */ 5274 1.1 ryo case 53: 5275 1.1 ryo if (ndx == 0 || ndx == 1) 5276 1.1 ryo p = "int"; 5277 1.1 ryo break; 5278 1.1 ryo /* linux_sys_fchownat */ 5279 1.1 ryo case 54: 5280 1.1 ryo if (ndx == 0 || ndx == 1) 5281 1.1 ryo p = "int"; 5282 1.1 ryo break; 5283 1.1 ryo /* sys___posix_fchown */ 5284 1.1 ryo case 55: 5285 1.1 ryo if (ndx == 0 || ndx == 1) 5286 1.1 ryo p = "int"; 5287 1.1 ryo break; 5288 1.1 ryo /* linux_sys_openat */ 5289 1.1 ryo case 56: 5290 1.1 ryo if (ndx == 0 || ndx == 1) 5291 1.1 ryo p = "int"; 5292 1.1 ryo break; 5293 1.1 ryo /* sys_close */ 5294 1.1 ryo case 57: 5295 1.1 ryo if (ndx == 0 || ndx == 1) 5296 1.1 ryo p = "int"; 5297 1.1 ryo break; 5298 1.1 ryo /* linux_sys_pipe2 */ 5299 1.1 ryo case 59: 5300 1.1 ryo if (ndx == 0 || ndx == 1) 5301 1.1 ryo p = "int"; 5302 1.1 ryo break; 5303 1.1 ryo /* linux_sys_getdents64 */ 5304 1.1 ryo case 61: 5305 1.1 ryo if (ndx == 0 || ndx == 1) 5306 1.1 ryo p = "int"; 5307 1.1 ryo break; 5308 1.1 ryo /* compat_43_sys_lseek */ 5309 1.1 ryo case 62: 5310 1.1 ryo if (ndx == 0 || ndx == 1) 5311 1.1 ryo p = "long"; 5312 1.1 ryo break; 5313 1.1 ryo /* sys_read */ 5314 1.1 ryo case 63: 5315 1.1 ryo if (ndx == 0 || ndx == 1) 5316 1.1 ryo p = "ssize_t"; 5317 1.1 ryo break; 5318 1.1 ryo /* sys_write */ 5319 1.1 ryo case 64: 5320 1.1 ryo if (ndx == 0 || ndx == 1) 5321 1.1 ryo p = "ssize_t"; 5322 1.1 ryo break; 5323 1.1 ryo /* sys_readv */ 5324 1.1 ryo case 65: 5325 1.1 ryo if (ndx == 0 || ndx == 1) 5326 1.1 ryo p = "ssize_t"; 5327 1.1 ryo break; 5328 1.1 ryo /* sys_writev */ 5329 1.1 ryo case 66: 5330 1.1 ryo if (ndx == 0 || ndx == 1) 5331 1.1 ryo p = "ssize_t"; 5332 1.1 ryo break; 5333 1.1 ryo /* linux_sys_pread */ 5334 1.1 ryo case 67: 5335 1.1 ryo if (ndx == 0 || ndx == 1) 5336 1.1 ryo p = "int"; 5337 1.1 ryo break; 5338 1.1 ryo /* linux_sys_pwrite */ 5339 1.1 ryo case 68: 5340 1.1 ryo if (ndx == 0 || ndx == 1) 5341 1.1 ryo p = "int"; 5342 1.1 ryo break; 5343 1.1 ryo /* linux_sys_preadv */ 5344 1.1 ryo case 69: 5345 1.1 ryo if (ndx == 0 || ndx == 1) 5346 1.1 ryo p = "int"; 5347 1.1 ryo break; 5348 1.1 ryo /* linux_sys_pwritev */ 5349 1.1 ryo case 70: 5350 1.1 ryo if (ndx == 0 || ndx == 1) 5351 1.1 ryo p = "int"; 5352 1.1 ryo break; 5353 1.1 ryo /* linux_sys_pselect6 */ 5354 1.1 ryo case 72: 5355 1.1 ryo if (ndx == 0 || ndx == 1) 5356 1.1 ryo p = "int"; 5357 1.1 ryo break; 5358 1.1 ryo /* linux_sys_ppoll */ 5359 1.1 ryo case 73: 5360 1.1 ryo if (ndx == 0 || ndx == 1) 5361 1.1 ryo p = "int"; 5362 1.1 ryo break; 5363 1.1 ryo /* sys_readlinkat */ 5364 1.1 ryo case 78: 5365 1.1 ryo if (ndx == 0 || ndx == 1) 5366 1.1 ryo p = "ssize_t"; 5367 1.1 ryo break; 5368 1.1 ryo /* linux_sys_fstatat64 */ 5369 1.1 ryo case 79: 5370 1.1 ryo if (ndx == 0 || ndx == 1) 5371 1.1 ryo p = "int"; 5372 1.1 ryo break; 5373 1.1 ryo /* linux_sys_fstat64 */ 5374 1.1 ryo case 80: 5375 1.1 ryo if (ndx == 0 || ndx == 1) 5376 1.1 ryo p = "int"; 5377 1.1 ryo break; 5378 1.1 ryo /* sys_sync */ 5379 1.1 ryo case 81: 5380 1.1 ryo /* sys_fsync */ 5381 1.1 ryo case 82: 5382 1.1 ryo if (ndx == 0 || ndx == 1) 5383 1.1 ryo p = "int"; 5384 1.1 ryo break; 5385 1.1 ryo /* linux_sys_fdatasync */ 5386 1.1 ryo case 83: 5387 1.1 ryo if (ndx == 0 || ndx == 1) 5388 1.1 ryo p = "int"; 5389 1.1 ryo break; 5390 1.13 christos /* linux_sys_sync_file_range */ 5391 1.13 christos case 84: 5392 1.13 christos if (ndx == 0 || ndx == 1) 5393 1.13 christos p = "int"; 5394 1.13 christos break; 5395 1.1 ryo /* linux_sys_timerfd_create */ 5396 1.1 ryo case 85: 5397 1.1 ryo if (ndx == 0 || ndx == 1) 5398 1.1 ryo p = "int"; 5399 1.1 ryo break; 5400 1.1 ryo /* linux_sys_timerfd_settime */ 5401 1.1 ryo case 86: 5402 1.1 ryo if (ndx == 0 || ndx == 1) 5403 1.1 ryo p = "int"; 5404 1.1 ryo break; 5405 1.1 ryo /* linux_sys_timerfd_gettime */ 5406 1.1 ryo case 87: 5407 1.1 ryo if (ndx == 0 || ndx == 1) 5408 1.1 ryo p = "int"; 5409 1.1 ryo break; 5410 1.1 ryo /* linux_sys_utimensat */ 5411 1.1 ryo case 88: 5412 1.1 ryo if (ndx == 0 || ndx == 1) 5413 1.1 ryo p = "int"; 5414 1.1 ryo break; 5415 1.1 ryo /* sys_acct */ 5416 1.1 ryo case 89: 5417 1.1 ryo if (ndx == 0 || ndx == 1) 5418 1.1 ryo p = "int"; 5419 1.1 ryo break; 5420 1.1 ryo /* linux_sys_personality */ 5421 1.1 ryo case 92: 5422 1.1 ryo if (ndx == 0 || ndx == 1) 5423 1.1 ryo p = "int"; 5424 1.1 ryo break; 5425 1.1 ryo /* linux_sys_exit */ 5426 1.1 ryo case 93: 5427 1.1 ryo if (ndx == 0 || ndx == 1) 5428 1.1 ryo p = "int"; 5429 1.1 ryo break; 5430 1.1 ryo /* linux_sys_exit_group */ 5431 1.1 ryo case 94: 5432 1.1 ryo if (ndx == 0 || ndx == 1) 5433 1.1 ryo p = "int"; 5434 1.1 ryo break; 5435 1.9 christos /* linux_sys_waitid */ 5436 1.9 christos case 95: 5437 1.9 christos if (ndx == 0 || ndx == 1) 5438 1.9 christos p = "int"; 5439 1.9 christos break; 5440 1.1 ryo /* linux_sys_set_tid_address */ 5441 1.1 ryo case 96: 5442 1.1 ryo if (ndx == 0 || ndx == 1) 5443 1.1 ryo p = "int"; 5444 1.1 ryo break; 5445 1.1 ryo /* linux_sys_futex */ 5446 1.1 ryo case 98: 5447 1.1 ryo if (ndx == 0 || ndx == 1) 5448 1.1 ryo p = "int"; 5449 1.1 ryo break; 5450 1.1 ryo /* sys___futex_set_robust_list */ 5451 1.1 ryo case 99: 5452 1.1 ryo if (ndx == 0 || ndx == 1) 5453 1.1 ryo p = "int"; 5454 1.1 ryo break; 5455 1.1 ryo /* sys___futex_get_robust_list */ 5456 1.1 ryo case 100: 5457 1.1 ryo if (ndx == 0 || ndx == 1) 5458 1.1 ryo p = "int"; 5459 1.1 ryo break; 5460 1.1 ryo /* linux_sys_nanosleep */ 5461 1.1 ryo case 101: 5462 1.1 ryo if (ndx == 0 || ndx == 1) 5463 1.1 ryo p = "int"; 5464 1.1 ryo break; 5465 1.1 ryo /* compat_50_sys_getitimer */ 5466 1.1 ryo case 102: 5467 1.1 ryo if (ndx == 0 || ndx == 1) 5468 1.1 ryo p = "int"; 5469 1.1 ryo break; 5470 1.1 ryo /* compat_50_sys_setitimer */ 5471 1.1 ryo case 103: 5472 1.1 ryo if (ndx == 0 || ndx == 1) 5473 1.1 ryo p = "int"; 5474 1.1 ryo break; 5475 1.1 ryo /* linux_sys_timer_create */ 5476 1.1 ryo case 107: 5477 1.1 ryo if (ndx == 0 || ndx == 1) 5478 1.1 ryo p = "int"; 5479 1.1 ryo break; 5480 1.1 ryo /* linux_sys_timer_gettime */ 5481 1.1 ryo case 108: 5482 1.1 ryo if (ndx == 0 || ndx == 1) 5483 1.1 ryo p = "int"; 5484 1.1 ryo break; 5485 1.1 ryo /* sys_timer_getoverrun */ 5486 1.1 ryo case 109: 5487 1.1 ryo if (ndx == 0 || ndx == 1) 5488 1.1 ryo p = "int"; 5489 1.1 ryo break; 5490 1.1 ryo /* linux_sys_timer_settime */ 5491 1.1 ryo case 110: 5492 1.1 ryo if (ndx == 0 || ndx == 1) 5493 1.1 ryo p = "int"; 5494 1.1 ryo break; 5495 1.1 ryo /* sys_timer_delete */ 5496 1.1 ryo case 111: 5497 1.1 ryo if (ndx == 0 || ndx == 1) 5498 1.1 ryo p = "int"; 5499 1.1 ryo break; 5500 1.1 ryo /* linux_sys_clock_settime */ 5501 1.1 ryo case 112: 5502 1.1 ryo if (ndx == 0 || ndx == 1) 5503 1.1 ryo p = "int"; 5504 1.1 ryo break; 5505 1.1 ryo /* linux_sys_clock_gettime */ 5506 1.1 ryo case 113: 5507 1.1 ryo if (ndx == 0 || ndx == 1) 5508 1.1 ryo p = "int"; 5509 1.1 ryo break; 5510 1.1 ryo /* linux_sys_clock_getres */ 5511 1.1 ryo case 114: 5512 1.1 ryo if (ndx == 0 || ndx == 1) 5513 1.1 ryo p = "int"; 5514 1.1 ryo break; 5515 1.1 ryo /* linux_sys_clock_nanosleep */ 5516 1.1 ryo case 115: 5517 1.1 ryo if (ndx == 0 || ndx == 1) 5518 1.1 ryo p = "int"; 5519 1.1 ryo break; 5520 1.1 ryo /* linux_sys_ptrace */ 5521 1.1 ryo case 117: 5522 1.1 ryo if (ndx == 0 || ndx == 1) 5523 1.1 ryo p = "int"; 5524 1.1 ryo break; 5525 1.1 ryo /* linux_sys_sched_setparam */ 5526 1.1 ryo case 118: 5527 1.1 ryo if (ndx == 0 || ndx == 1) 5528 1.1 ryo p = "int"; 5529 1.1 ryo break; 5530 1.1 ryo /* linux_sys_sched_setscheduler */ 5531 1.1 ryo case 119: 5532 1.1 ryo if (ndx == 0 || ndx == 1) 5533 1.1 ryo p = "int"; 5534 1.1 ryo break; 5535 1.1 ryo /* linux_sys_sched_getscheduler */ 5536 1.1 ryo case 120: 5537 1.1 ryo if (ndx == 0 || ndx == 1) 5538 1.1 ryo p = "int"; 5539 1.1 ryo break; 5540 1.1 ryo /* linux_sys_sched_getparam */ 5541 1.1 ryo case 121: 5542 1.1 ryo if (ndx == 0 || ndx == 1) 5543 1.1 ryo p = "int"; 5544 1.1 ryo break; 5545 1.1 ryo /* linux_sys_sched_setaffinity */ 5546 1.1 ryo case 122: 5547 1.1 ryo if (ndx == 0 || ndx == 1) 5548 1.1 ryo p = "int"; 5549 1.1 ryo break; 5550 1.1 ryo /* linux_sys_sched_getaffinity */ 5551 1.1 ryo case 123: 5552 1.1 ryo if (ndx == 0 || ndx == 1) 5553 1.1 ryo p = "int"; 5554 1.1 ryo break; 5555 1.1 ryo /* linux_sys_sched_yield */ 5556 1.1 ryo case 124: 5557 1.1 ryo /* linux_sys_sched_get_priority_max */ 5558 1.1 ryo case 125: 5559 1.1 ryo if (ndx == 0 || ndx == 1) 5560 1.1 ryo p = "int"; 5561 1.1 ryo break; 5562 1.1 ryo /* linux_sys_sched_get_priority_min */ 5563 1.1 ryo case 126: 5564 1.1 ryo if (ndx == 0 || ndx == 1) 5565 1.1 ryo p = "int"; 5566 1.1 ryo break; 5567 1.1 ryo /* linux_sys_kill */ 5568 1.1 ryo case 129: 5569 1.1 ryo if (ndx == 0 || ndx == 1) 5570 1.1 ryo p = "int"; 5571 1.1 ryo break; 5572 1.1 ryo /* linux_sys_tkill */ 5573 1.1 ryo case 130: 5574 1.1 ryo if (ndx == 0 || ndx == 1) 5575 1.1 ryo p = "int"; 5576 1.1 ryo break; 5577 1.1 ryo /* linux_sys_tgkill */ 5578 1.1 ryo case 131: 5579 1.1 ryo if (ndx == 0 || ndx == 1) 5580 1.1 ryo p = "int"; 5581 1.1 ryo break; 5582 1.1 ryo /* linux_sys_sigaltstack */ 5583 1.1 ryo case 132: 5584 1.1 ryo if (ndx == 0 || ndx == 1) 5585 1.1 ryo p = "int"; 5586 1.1 ryo break; 5587 1.1 ryo /* linux_sys_rt_sigsuspend */ 5588 1.1 ryo case 133: 5589 1.1 ryo if (ndx == 0 || ndx == 1) 5590 1.1 ryo p = "int"; 5591 1.1 ryo break; 5592 1.1 ryo /* linux_sys_rt_sigaction */ 5593 1.1 ryo case 134: 5594 1.1 ryo if (ndx == 0 || ndx == 1) 5595 1.1 ryo p = "int"; 5596 1.1 ryo break; 5597 1.1 ryo /* linux_sys_rt_sigprocmask */ 5598 1.1 ryo case 135: 5599 1.1 ryo if (ndx == 0 || ndx == 1) 5600 1.1 ryo p = "int"; 5601 1.1 ryo break; 5602 1.1 ryo /* linux_sys_rt_sigpending */ 5603 1.1 ryo case 136: 5604 1.1 ryo if (ndx == 0 || ndx == 1) 5605 1.1 ryo p = "int"; 5606 1.1 ryo break; 5607 1.1 ryo /* linux_sys_rt_sigtimedwait */ 5608 1.1 ryo case 137: 5609 1.1 ryo if (ndx == 0 || ndx == 1) 5610 1.1 ryo p = "int"; 5611 1.1 ryo break; 5612 1.1 ryo /* linux_sys_rt_sigreturn */ 5613 1.1 ryo case 139: 5614 1.1 ryo /* sys_setpriority */ 5615 1.1 ryo case 140: 5616 1.1 ryo if (ndx == 0 || ndx == 1) 5617 1.1 ryo p = "int"; 5618 1.1 ryo break; 5619 1.1 ryo /* linux_sys_getpriority */ 5620 1.1 ryo case 141: 5621 1.1 ryo if (ndx == 0 || ndx == 1) 5622 1.1 ryo p = "int"; 5623 1.1 ryo break; 5624 1.1 ryo /* linux_sys_reboot */ 5625 1.1 ryo case 142: 5626 1.1 ryo if (ndx == 0 || ndx == 1) 5627 1.1 ryo p = "int"; 5628 1.1 ryo break; 5629 1.1 ryo /* sys_setregid */ 5630 1.1 ryo case 143: 5631 1.1 ryo if (ndx == 0 || ndx == 1) 5632 1.1 ryo p = "int"; 5633 1.1 ryo break; 5634 1.1 ryo /* sys_setgid */ 5635 1.1 ryo case 144: 5636 1.1 ryo if (ndx == 0 || ndx == 1) 5637 1.1 ryo p = "int"; 5638 1.1 ryo break; 5639 1.1 ryo /* sys_setreuid */ 5640 1.1 ryo case 145: 5641 1.1 ryo if (ndx == 0 || ndx == 1) 5642 1.1 ryo p = "int"; 5643 1.1 ryo break; 5644 1.1 ryo /* sys_setuid */ 5645 1.1 ryo case 146: 5646 1.1 ryo if (ndx == 0 || ndx == 1) 5647 1.1 ryo p = "int"; 5648 1.1 ryo break; 5649 1.1 ryo /* linux_sys_setresuid */ 5650 1.1 ryo case 147: 5651 1.1 ryo if (ndx == 0 || ndx == 1) 5652 1.1 ryo p = "int"; 5653 1.1 ryo break; 5654 1.1 ryo /* linux_sys_getresuid */ 5655 1.1 ryo case 148: 5656 1.1 ryo if (ndx == 0 || ndx == 1) 5657 1.1 ryo p = "int"; 5658 1.1 ryo break; 5659 1.1 ryo /* linux_sys_setresgid */ 5660 1.1 ryo case 149: 5661 1.1 ryo if (ndx == 0 || ndx == 1) 5662 1.1 ryo p = "int"; 5663 1.1 ryo break; 5664 1.1 ryo /* linux_sys_getresgid */ 5665 1.1 ryo case 150: 5666 1.1 ryo if (ndx == 0 || ndx == 1) 5667 1.1 ryo p = "int"; 5668 1.1 ryo break; 5669 1.1 ryo /* linux_sys_setfsuid */ 5670 1.1 ryo case 151: 5671 1.1 ryo if (ndx == 0 || ndx == 1) 5672 1.1 ryo p = "int"; 5673 1.1 ryo break; 5674 1.1 ryo /* linux_sys_setfsgid */ 5675 1.1 ryo case 152: 5676 1.1 ryo if (ndx == 0 || ndx == 1) 5677 1.1 ryo p = "int"; 5678 1.1 ryo break; 5679 1.1 ryo /* linux_sys_times */ 5680 1.1 ryo case 153: 5681 1.1 ryo if (ndx == 0 || ndx == 1) 5682 1.1 ryo p = "int"; 5683 1.1 ryo break; 5684 1.1 ryo /* sys_setpgid */ 5685 1.1 ryo case 154: 5686 1.1 ryo if (ndx == 0 || ndx == 1) 5687 1.1 ryo p = "int"; 5688 1.1 ryo break; 5689 1.1 ryo /* sys_getpgid */ 5690 1.1 ryo case 155: 5691 1.1 ryo if (ndx == 0 || ndx == 1) 5692 1.1 ryo p = "pid_t"; 5693 1.1 ryo break; 5694 1.1 ryo /* sys_getsid */ 5695 1.1 ryo case 156: 5696 1.1 ryo if (ndx == 0 || ndx == 1) 5697 1.1 ryo p = "pid_t"; 5698 1.1 ryo break; 5699 1.1 ryo /* sys_setsid */ 5700 1.1 ryo case 157: 5701 1.1 ryo /* sys_getgroups */ 5702 1.1 ryo case 158: 5703 1.1 ryo if (ndx == 0 || ndx == 1) 5704 1.1 ryo p = "int"; 5705 1.1 ryo break; 5706 1.1 ryo /* sys_setgroups */ 5707 1.1 ryo case 159: 5708 1.1 ryo if (ndx == 0 || ndx == 1) 5709 1.1 ryo p = "int"; 5710 1.1 ryo break; 5711 1.1 ryo /* linux_sys_uname */ 5712 1.1 ryo case 160: 5713 1.1 ryo if (ndx == 0 || ndx == 1) 5714 1.1 ryo p = "int"; 5715 1.1 ryo break; 5716 1.1 ryo /* compat_43_sys_sethostname */ 5717 1.1 ryo case 161: 5718 1.1 ryo if (ndx == 0 || ndx == 1) 5719 1.1 ryo p = "int"; 5720 1.1 ryo break; 5721 1.1 ryo /* linux_sys_setdomainname */ 5722 1.1 ryo case 162: 5723 1.1 ryo if (ndx == 0 || ndx == 1) 5724 1.1 ryo p = "int"; 5725 1.1 ryo break; 5726 1.1 ryo /* linux_sys_getrlimit */ 5727 1.1 ryo case 163: 5728 1.1 ryo if (ndx == 0 || ndx == 1) 5729 1.1 ryo p = "int"; 5730 1.1 ryo break; 5731 1.1 ryo /* linux_sys_setrlimit */ 5732 1.1 ryo case 164: 5733 1.1 ryo if (ndx == 0 || ndx == 1) 5734 1.1 ryo p = "int"; 5735 1.1 ryo break; 5736 1.1 ryo /* compat_50_sys_getrusage */ 5737 1.1 ryo case 165: 5738 1.1 ryo if (ndx == 0 || ndx == 1) 5739 1.1 ryo p = "int"; 5740 1.1 ryo break; 5741 1.1 ryo /* sys_umask */ 5742 1.1 ryo case 166: 5743 1.1 ryo if (ndx == 0 || ndx == 1) 5744 1.1 ryo p = "int"; 5745 1.1 ryo break; 5746 1.11 christos /* linux_sys_getcpu */ 5747 1.11 christos case 168: 5748 1.11 christos if (ndx == 0 || ndx == 1) 5749 1.11 christos p = "int"; 5750 1.11 christos break; 5751 1.1 ryo /* linux_sys_gettimeofday */ 5752 1.1 ryo case 169: 5753 1.1 ryo if (ndx == 0 || ndx == 1) 5754 1.1 ryo p = "int"; 5755 1.1 ryo break; 5756 1.1 ryo /* linux_sys_settimeofday */ 5757 1.1 ryo case 170: 5758 1.1 ryo if (ndx == 0 || ndx == 1) 5759 1.1 ryo p = "int"; 5760 1.1 ryo break; 5761 1.1 ryo /* sys_getpid */ 5762 1.1 ryo case 172: 5763 1.1 ryo /* sys_getppid */ 5764 1.1 ryo case 173: 5765 1.1 ryo /* sys_getuid */ 5766 1.1 ryo case 174: 5767 1.1 ryo /* sys_geteuid */ 5768 1.1 ryo case 175: 5769 1.1 ryo /* sys_getgid */ 5770 1.1 ryo case 176: 5771 1.1 ryo /* sys_getegid */ 5772 1.1 ryo case 177: 5773 1.1 ryo /* linux_sys_gettid */ 5774 1.1 ryo case 178: 5775 1.1 ryo /* linux_sys_sysinfo */ 5776 1.1 ryo case 179: 5777 1.1 ryo if (ndx == 0 || ndx == 1) 5778 1.1 ryo p = "int"; 5779 1.1 ryo break; 5780 1.12 christos /* linux_sys_mq_open */ 5781 1.12 christos case 180: 5782 1.12 christos if (ndx == 0 || ndx == 1) 5783 1.12 christos p = "linux_mqd_t"; 5784 1.12 christos break; 5785 1.12 christos /* linux_sys_mq_unlink */ 5786 1.12 christos case 181: 5787 1.12 christos if (ndx == 0 || ndx == 1) 5788 1.12 christos p = "int"; 5789 1.12 christos break; 5790 1.12 christos /* linux_sys_mq_timedsend */ 5791 1.12 christos case 182: 5792 1.12 christos if (ndx == 0 || ndx == 1) 5793 1.12 christos p = "int"; 5794 1.12 christos break; 5795 1.12 christos /* linux_sys_mq_timedreceive */ 5796 1.12 christos case 183: 5797 1.12 christos if (ndx == 0 || ndx == 1) 5798 1.12 christos p = "ssize_t"; 5799 1.12 christos break; 5800 1.12 christos /* linux_sys_mq_notify */ 5801 1.12 christos case 184: 5802 1.12 christos if (ndx == 0 || ndx == 1) 5803 1.12 christos p = "int"; 5804 1.12 christos break; 5805 1.12 christos /* linux_sys_mq_getsetattr */ 5806 1.12 christos case 185: 5807 1.12 christos if (ndx == 0 || ndx == 1) 5808 1.12 christos p = "int"; 5809 1.12 christos break; 5810 1.1 ryo #ifdef SYSVMSG 5811 1.1 ryo /* sys_msgget */ 5812 1.1 ryo case 186: 5813 1.1 ryo if (ndx == 0 || ndx == 1) 5814 1.1 ryo p = "int"; 5815 1.1 ryo break; 5816 1.1 ryo /* linux_sys_msgctl */ 5817 1.1 ryo case 187: 5818 1.1 ryo if (ndx == 0 || ndx == 1) 5819 1.1 ryo p = "int"; 5820 1.1 ryo break; 5821 1.1 ryo /* sys_msgrcv */ 5822 1.1 ryo case 188: 5823 1.1 ryo if (ndx == 0 || ndx == 1) 5824 1.1 ryo p = "ssize_t"; 5825 1.1 ryo break; 5826 1.1 ryo /* sys_msgsnd */ 5827 1.1 ryo case 189: 5828 1.1 ryo if (ndx == 0 || ndx == 1) 5829 1.1 ryo p = "int"; 5830 1.1 ryo break; 5831 1.1 ryo #else 5832 1.1 ryo #endif 5833 1.1 ryo #ifdef SYSVSEM 5834 1.1 ryo /* sys_semget */ 5835 1.1 ryo case 190: 5836 1.1 ryo if (ndx == 0 || ndx == 1) 5837 1.1 ryo p = "int"; 5838 1.1 ryo break; 5839 1.1 ryo /* linux_sys_semctl */ 5840 1.1 ryo case 191: 5841 1.1 ryo if (ndx == 0 || ndx == 1) 5842 1.1 ryo p = "int"; 5843 1.1 ryo break; 5844 1.1 ryo /* sys_semop */ 5845 1.1 ryo case 193: 5846 1.1 ryo if (ndx == 0 || ndx == 1) 5847 1.1 ryo p = "int"; 5848 1.1 ryo break; 5849 1.1 ryo #else 5850 1.1 ryo #endif 5851 1.1 ryo #ifdef SYSVSEM 5852 1.1 ryo /* linux_sys_shmget */ 5853 1.1 ryo case 194: 5854 1.1 ryo if (ndx == 0 || ndx == 1) 5855 1.1 ryo p = "int"; 5856 1.1 ryo break; 5857 1.1 ryo /* linux_sys_shmctl */ 5858 1.1 ryo case 195: 5859 1.1 ryo if (ndx == 0 || ndx == 1) 5860 1.1 ryo p = "int"; 5861 1.1 ryo break; 5862 1.1 ryo /* sys_shmat */ 5863 1.1 ryo case 196: 5864 1.1 ryo if (ndx == 0 || ndx == 1) 5865 1.1 ryo p = "int"; 5866 1.1 ryo break; 5867 1.1 ryo /* sys_shmdt */ 5868 1.1 ryo case 197: 5869 1.1 ryo if (ndx == 0 || ndx == 1) 5870 1.1 ryo p = "int"; 5871 1.1 ryo break; 5872 1.1 ryo #else 5873 1.1 ryo #endif 5874 1.1 ryo /* linux_sys_socket */ 5875 1.1 ryo case 198: 5876 1.1 ryo if (ndx == 0 || ndx == 1) 5877 1.1 ryo p = "int"; 5878 1.1 ryo break; 5879 1.1 ryo /* linux_sys_socketpair */ 5880 1.1 ryo case 199: 5881 1.1 ryo if (ndx == 0 || ndx == 1) 5882 1.1 ryo p = "int"; 5883 1.1 ryo break; 5884 1.1 ryo /* linux_sys_bind */ 5885 1.1 ryo case 200: 5886 1.1 ryo if (ndx == 0 || ndx == 1) 5887 1.1 ryo p = "int"; 5888 1.1 ryo break; 5889 1.1 ryo /* sys_listen */ 5890 1.1 ryo case 201: 5891 1.1 ryo if (ndx == 0 || ndx == 1) 5892 1.1 ryo p = "int"; 5893 1.1 ryo break; 5894 1.1 ryo /* linux_sys_accept */ 5895 1.1 ryo case 202: 5896 1.1 ryo if (ndx == 0 || ndx == 1) 5897 1.1 ryo p = "int"; 5898 1.1 ryo break; 5899 1.1 ryo /* linux_sys_connect */ 5900 1.1 ryo case 203: 5901 1.1 ryo if (ndx == 0 || ndx == 1) 5902 1.1 ryo p = "int"; 5903 1.1 ryo break; 5904 1.1 ryo /* linux_sys_getsockname */ 5905 1.1 ryo case 204: 5906 1.1 ryo if (ndx == 0 || ndx == 1) 5907 1.1 ryo p = "int"; 5908 1.1 ryo break; 5909 1.1 ryo /* linux_sys_getpeername */ 5910 1.1 ryo case 205: 5911 1.1 ryo if (ndx == 0 || ndx == 1) 5912 1.1 ryo p = "int"; 5913 1.1 ryo break; 5914 1.1 ryo /* linux_sys_sendto */ 5915 1.1 ryo case 206: 5916 1.1 ryo if (ndx == 0 || ndx == 1) 5917 1.1 ryo p = "ssize_t"; 5918 1.1 ryo break; 5919 1.1 ryo /* linux_sys_recvfrom */ 5920 1.1 ryo case 207: 5921 1.1 ryo if (ndx == 0 || ndx == 1) 5922 1.1 ryo p = "ssize_t"; 5923 1.1 ryo break; 5924 1.1 ryo /* linux_sys_setsockopt */ 5925 1.1 ryo case 208: 5926 1.1 ryo if (ndx == 0 || ndx == 1) 5927 1.1 ryo p = "int"; 5928 1.1 ryo break; 5929 1.1 ryo /* linux_sys_getsockopt */ 5930 1.1 ryo case 209: 5931 1.1 ryo if (ndx == 0 || ndx == 1) 5932 1.1 ryo p = "int"; 5933 1.1 ryo break; 5934 1.1 ryo /* sys_shutdown */ 5935 1.1 ryo case 210: 5936 1.1 ryo if (ndx == 0 || ndx == 1) 5937 1.1 ryo p = "int"; 5938 1.1 ryo break; 5939 1.1 ryo /* linux_sys_sendmsg */ 5940 1.1 ryo case 211: 5941 1.1 ryo if (ndx == 0 || ndx == 1) 5942 1.1 ryo p = "int"; 5943 1.1 ryo break; 5944 1.1 ryo /* linux_sys_recvmsg */ 5945 1.1 ryo case 212: 5946 1.1 ryo if (ndx == 0 || ndx == 1) 5947 1.1 ryo p = "ssize_t"; 5948 1.1 ryo break; 5949 1.8 christos /* linux_sys_readahead */ 5950 1.8 christos case 213: 5951 1.8 christos if (ndx == 0 || ndx == 1) 5952 1.8 christos p = "ssize_t"; 5953 1.8 christos break; 5954 1.1 ryo /* linux_sys_brk */ 5955 1.1 ryo case 214: 5956 1.1 ryo if (ndx == 0 || ndx == 1) 5957 1.1 ryo p = "int"; 5958 1.1 ryo break; 5959 1.1 ryo /* sys_munmap */ 5960 1.1 ryo case 215: 5961 1.1 ryo if (ndx == 0 || ndx == 1) 5962 1.1 ryo p = "int"; 5963 1.1 ryo break; 5964 1.1 ryo /* linux_sys_mremap */ 5965 1.1 ryo case 216: 5966 1.1 ryo if (ndx == 0 || ndx == 1) 5967 1.1 ryo p = "void *"; 5968 1.1 ryo break; 5969 1.1 ryo /* linux_sys_clone */ 5970 1.1 ryo case 220: 5971 1.1 ryo if (ndx == 0 || ndx == 1) 5972 1.1 ryo p = "int"; 5973 1.1 ryo break; 5974 1.1 ryo /* sys_execve */ 5975 1.1 ryo case 221: 5976 1.1 ryo if (ndx == 0 || ndx == 1) 5977 1.1 ryo p = "int"; 5978 1.1 ryo break; 5979 1.1 ryo /* linux_sys_mmap */ 5980 1.1 ryo case 222: 5981 1.1 ryo if (ndx == 0 || ndx == 1) 5982 1.1 ryo p = "linux_off_t"; 5983 1.1 ryo break; 5984 1.1 ryo /* linux_sys_fadvise64 */ 5985 1.1 ryo case 223: 5986 1.1 ryo if (ndx == 0 || ndx == 1) 5987 1.1 ryo p = "int"; 5988 1.1 ryo break; 5989 1.1 ryo /* linux_sys_swapon */ 5990 1.1 ryo case 224: 5991 1.1 ryo if (ndx == 0 || ndx == 1) 5992 1.1 ryo p = "int"; 5993 1.1 ryo break; 5994 1.1 ryo /* linux_sys_swapoff */ 5995 1.1 ryo case 225: 5996 1.1 ryo if (ndx == 0 || ndx == 1) 5997 1.1 ryo p = "int"; 5998 1.1 ryo break; 5999 1.1 ryo /* linux_sys_mprotect */ 6000 1.1 ryo case 226: 6001 1.1 ryo if (ndx == 0 || ndx == 1) 6002 1.1 ryo p = "int"; 6003 1.1 ryo break; 6004 1.1 ryo /* sys___msync13 */ 6005 1.1 ryo case 227: 6006 1.1 ryo if (ndx == 0 || ndx == 1) 6007 1.1 ryo p = "int"; 6008 1.1 ryo break; 6009 1.1 ryo /* sys_mlock */ 6010 1.1 ryo case 228: 6011 1.1 ryo if (ndx == 0 || ndx == 1) 6012 1.1 ryo p = "int"; 6013 1.1 ryo break; 6014 1.1 ryo /* sys_munlock */ 6015 1.1 ryo case 229: 6016 1.1 ryo if (ndx == 0 || ndx == 1) 6017 1.1 ryo p = "int"; 6018 1.1 ryo break; 6019 1.1 ryo /* sys_mlockall */ 6020 1.1 ryo case 230: 6021 1.1 ryo if (ndx == 0 || ndx == 1) 6022 1.1 ryo p = "int"; 6023 1.1 ryo break; 6024 1.1 ryo /* sys_munlockall */ 6025 1.1 ryo case 231: 6026 1.1 ryo /* sys_mincore */ 6027 1.1 ryo case 232: 6028 1.1 ryo if (ndx == 0 || ndx == 1) 6029 1.1 ryo p = "int"; 6030 1.1 ryo break; 6031 1.1 ryo /* sys_madvise */ 6032 1.1 ryo case 233: 6033 1.1 ryo if (ndx == 0 || ndx == 1) 6034 1.1 ryo p = "int"; 6035 1.1 ryo break; 6036 1.1 ryo /* linux_sys_accept4 */ 6037 1.1 ryo case 242: 6038 1.1 ryo if (ndx == 0 || ndx == 1) 6039 1.1 ryo p = "int"; 6040 1.1 ryo break; 6041 1.1 ryo /* linux_sys_recvmmsg */ 6042 1.1 ryo case 243: 6043 1.1 ryo if (ndx == 0 || ndx == 1) 6044 1.1 ryo p = "int"; 6045 1.1 ryo break; 6046 1.1 ryo /* linux_sys_wait4 */ 6047 1.1 ryo case 260: 6048 1.1 ryo if (ndx == 0 || ndx == 1) 6049 1.1 ryo p = "int"; 6050 1.1 ryo break; 6051 1.4 ryo /* linux_sys_prlimit64 */ 6052 1.4 ryo case 261: 6053 1.4 ryo if (ndx == 0 || ndx == 1) 6054 1.4 ryo p = "int"; 6055 1.4 ryo break; 6056 1.13 christos /* linux_sys_syncfs */ 6057 1.13 christos case 267: 6058 1.13 christos if (ndx == 0 || ndx == 1) 6059 1.13 christos p = "int"; 6060 1.13 christos break; 6061 1.1 ryo /* linux_sys_sendmmsg */ 6062 1.1 ryo case 269: 6063 1.1 ryo if (ndx == 0 || ndx == 1) 6064 1.1 ryo p = "int"; 6065 1.1 ryo break; 6066 1.13 christos /* linux_sys_renameat2 */ 6067 1.13 christos case 276: 6068 1.13 christos if (ndx == 0 || ndx == 1) 6069 1.13 christos p = "int"; 6070 1.13 christos break; 6071 1.2 ryo /* sys_getrandom */ 6072 1.2 ryo case 278: 6073 1.2 ryo if (ndx == 0 || ndx == 1) 6074 1.2 ryo p = "ssize_t"; 6075 1.2 ryo break; 6076 1.5 christos /* linux_sys_memfd_create */ 6077 1.5 christos case 279: 6078 1.5 christos if (ndx == 0 || ndx == 1) 6079 1.5 christos p = "int"; 6080 1.5 christos break; 6081 1.13 christos /* linux_sys_copy_file_range */ 6082 1.13 christos case 285: 6083 1.13 christos if (ndx == 0 || ndx == 1) 6084 1.13 christos p = "ssize_t"; 6085 1.13 christos break; 6086 1.3 ryo /* linux_sys_statx */ 6087 1.3 ryo case 291: 6088 1.3 ryo if (ndx == 0 || ndx == 1) 6089 1.3 ryo p = "int"; 6090 1.3 ryo break; 6091 1.13 christos /* linux_sys_clone3 */ 6092 1.13 christos case 435: 6093 1.13 christos if (ndx == 0 || ndx == 1) 6094 1.13 christos p = "int"; 6095 1.13 christos break; 6096 1.8 christos /* linux_sys_close_range */ 6097 1.8 christos case 436: 6098 1.8 christos if (ndx == 0 || ndx == 1) 6099 1.8 christos p = "int"; 6100 1.8 christos break; 6101 1.11 christos /* linux_sys_faccessat2 */ 6102 1.11 christos case 439: 6103 1.11 christos if (ndx == 0 || ndx == 1) 6104 1.11 christos p = "int"; 6105 1.11 christos break; 6106 1.1 ryo /* linux_sys_nosys */ 6107 1.1 ryo case 440: 6108 1.6 christos /* linux_sys_epoll_pwait2 */ 6109 1.6 christos case 441: 6110 1.6 christos if (ndx == 0 || ndx == 1) 6111 1.6 christos p = "int"; 6112 1.6 christos break; 6113 1.1 ryo default: 6114 1.1 ryo break; 6115 1.1 ryo }; 6116 1.1 ryo if (p != NULL) 6117 1.1 ryo strlcpy(desc, p, descsz); 6118 1.1 ryo } 6119