1 1.29 pooka /* $NetBSD: linux_syscallargs.h,v 1.84 2024/09/28 19:36:19 christos Exp $ */ 2 1.1 manu 3 1.1 manu /* 4 1.1 manu * System call argument lists. 5 1.1 manu * 6 1.1 manu * DO NOT EDIT-- this file is automatically generated. 7 1.84 christos * created from NetBSD: syscalls.master,v 1.75 2024/09/28 19:35:55 christos Exp 8 1.1 manu */ 9 1.1 manu 10 1.10 manu #ifndef _LINUX_SYS_SYSCALLARGS_H_ 11 1.10 manu #define _LINUX_SYS_SYSCALLARGS_H_ 12 1.1 manu 13 1.68 riastrad /* Forward declaration */ 14 1.68 riastrad struct lwp; 15 1.68 riastrad 16 1.19 njoly #define LINUX_SYS_MAXSYSARGS 8 17 1.19 njoly 18 1.1 manu #undef syscallarg 19 1.1 manu #define syscallarg(x) \ 20 1.1 manu union { \ 21 1.1 manu register_t pad; \ 22 1.1 manu struct { x datum; } le; \ 23 1.1 manu struct { /* LINTED zero array dimension */ \ 24 1.1 manu int8_t pad[ /* CONSTCOND */ \ 25 1.1 manu (sizeof (register_t) < sizeof (x)) \ 26 1.1 manu ? 0 \ 27 1.1 manu : sizeof (register_t) - sizeof (x)]; \ 28 1.1 manu x datum; \ 29 1.1 manu } be; \ 30 1.1 manu } 31 1.1 manu 32 1.19 njoly #undef check_syscall_args 33 1.39 christos #define check_syscall_args(call) /*LINTED*/ \ 34 1.19 njoly typedef char call##_check_args[sizeof (struct call##_args) \ 35 1.19 njoly <= LINUX_SYS_MAXSYSARGS * sizeof (register_t) ? 1 : -1]; 36 1.19 njoly 37 1.20 dsl struct sys_read_args; 38 1.20 dsl 39 1.20 dsl struct sys_write_args; 40 1.20 dsl 41 1.1 manu struct linux_sys_open_args { 42 1.1 manu syscallarg(const char *) path; 43 1.1 manu syscallarg(int) flags; 44 1.47 chs syscallarg(linux_umode_t) mode; 45 1.1 manu }; 46 1.19 njoly check_syscall_args(linux_sys_open) 47 1.1 manu 48 1.20 dsl struct sys_close_args; 49 1.20 dsl 50 1.1 manu struct linux_sys_stat64_args { 51 1.1 manu syscallarg(const char *) path; 52 1.35 njoly syscallarg(struct linux_stat64 *) sp; 53 1.1 manu }; 54 1.19 njoly check_syscall_args(linux_sys_stat64) 55 1.1 manu 56 1.1 manu struct linux_sys_fstat64_args { 57 1.1 manu syscallarg(int) fd; 58 1.35 njoly syscallarg(struct linux_stat64 *) sp; 59 1.1 manu }; 60 1.19 njoly check_syscall_args(linux_sys_fstat64) 61 1.1 manu 62 1.1 manu struct linux_sys_lstat64_args { 63 1.1 manu syscallarg(const char *) path; 64 1.35 njoly syscallarg(struct linux_stat64 *) sp; 65 1.1 manu }; 66 1.19 njoly check_syscall_args(linux_sys_lstat64) 67 1.1 manu 68 1.20 dsl struct sys_poll_args; 69 1.20 dsl 70 1.20 dsl struct compat_43_sys_lseek_args; 71 1.20 dsl 72 1.20 dsl struct linux_sys_mmap_args; 73 1.20 dsl 74 1.1 manu struct linux_sys_mprotect_args { 75 1.1 manu syscallarg(const void *) start; 76 1.1 manu syscallarg(unsigned long) len; 77 1.1 manu syscallarg(int) prot; 78 1.1 manu }; 79 1.19 njoly check_syscall_args(linux_sys_mprotect) 80 1.1 manu 81 1.20 dsl struct sys_munmap_args; 82 1.20 dsl 83 1.1 manu struct linux_sys_brk_args { 84 1.1 manu syscallarg(char *) nsize; 85 1.1 manu }; 86 1.19 njoly check_syscall_args(linux_sys_brk) 87 1.1 manu 88 1.1 manu struct linux_sys_rt_sigaction_args { 89 1.1 manu syscallarg(int) signum; 90 1.1 manu syscallarg(const struct linux_sigaction *) nsa; 91 1.1 manu syscallarg(struct linux_sigaction *) osa; 92 1.1 manu syscallarg(size_t) sigsetsize; 93 1.1 manu }; 94 1.19 njoly check_syscall_args(linux_sys_rt_sigaction) 95 1.1 manu 96 1.1 manu struct linux_sys_rt_sigprocmask_args { 97 1.1 manu syscallarg(int) how; 98 1.1 manu syscallarg(const linux_sigset_t *) set; 99 1.1 manu syscallarg(linux_sigset_t *) oset; 100 1.1 manu syscallarg(size_t) sigsetsize; 101 1.1 manu }; 102 1.19 njoly check_syscall_args(linux_sys_rt_sigprocmask) 103 1.1 manu 104 1.1 manu struct linux_sys_ioctl_args { 105 1.1 manu syscallarg(int) fd; 106 1.1 manu syscallarg(u_long) com; 107 1.17 christos syscallarg(void *) data; 108 1.1 manu }; 109 1.19 njoly check_syscall_args(linux_sys_ioctl) 110 1.1 manu 111 1.1 manu struct linux_sys_pread_args { 112 1.1 manu syscallarg(int) fd; 113 1.1 manu syscallarg(char *) buf; 114 1.1 manu syscallarg(size_t) nbyte; 115 1.50 njoly syscallarg(off_t) offset; 116 1.1 manu }; 117 1.19 njoly check_syscall_args(linux_sys_pread) 118 1.1 manu 119 1.1 manu struct linux_sys_pwrite_args { 120 1.1 manu syscallarg(int) fd; 121 1.1 manu syscallarg(char *) buf; 122 1.1 manu syscallarg(size_t) nbyte; 123 1.50 njoly syscallarg(off_t) offset; 124 1.1 manu }; 125 1.19 njoly check_syscall_args(linux_sys_pwrite) 126 1.1 manu 127 1.20 dsl struct sys_readv_args; 128 1.20 dsl 129 1.20 dsl struct sys_writev_args; 130 1.20 dsl 131 1.20 dsl struct sys_access_args; 132 1.20 dsl 133 1.1 manu struct linux_sys_pipe_args { 134 1.1 manu syscallarg(int *) pfds; 135 1.1 manu }; 136 1.19 njoly check_syscall_args(linux_sys_pipe) 137 1.1 manu 138 1.1 manu struct linux_sys_select_args { 139 1.1 manu syscallarg(int) nfds; 140 1.1 manu syscallarg(fd_set *) readfds; 141 1.1 manu syscallarg(fd_set *) writefds; 142 1.1 manu syscallarg(fd_set *) exceptfds; 143 1.31 njoly syscallarg(struct timeval50 *) timeout; 144 1.1 manu }; 145 1.19 njoly check_syscall_args(linux_sys_select) 146 1.1 manu 147 1.1 manu struct linux_sys_mremap_args { 148 1.1 manu syscallarg(void *) old_address; 149 1.1 manu syscallarg(size_t) old_size; 150 1.1 manu syscallarg(size_t) new_size; 151 1.1 manu syscallarg(u_long) flags; 152 1.1 manu }; 153 1.19 njoly check_syscall_args(linux_sys_mremap) 154 1.1 manu 155 1.23 njoly struct sys___msync13_args; 156 1.20 dsl 157 1.20 dsl struct sys_mincore_args; 158 1.20 dsl 159 1.20 dsl struct sys_madvise_args; 160 1.10 manu #ifdef SYSVSHM 161 1.10 manu 162 1.20 dsl struct linux_sys_shmget_args; 163 1.20 dsl 164 1.20 dsl struct sys_shmat_args; 165 1.10 manu 166 1.20 dsl struct linux_sys_shmctl_args; 167 1.10 manu #else 168 1.10 manu #endif 169 1.1 manu 170 1.20 dsl struct sys_dup_args; 171 1.20 dsl 172 1.20 dsl struct sys_dup2_args; 173 1.20 dsl 174 1.25 njoly struct linux_sys_nanosleep_args { 175 1.25 njoly syscallarg(const struct linux_timespec *) rqtp; 176 1.25 njoly syscallarg(struct linux_timespec *) rmtp; 177 1.25 njoly }; 178 1.25 njoly check_syscall_args(linux_sys_nanosleep) 179 1.20 dsl 180 1.28 christos struct compat_50_sys_getitimer_args; 181 1.20 dsl 182 1.1 manu struct linux_sys_alarm_args { 183 1.1 manu syscallarg(unsigned int) secs; 184 1.1 manu }; 185 1.19 njoly check_syscall_args(linux_sys_alarm) 186 1.1 manu 187 1.28 christos struct compat_50_sys_setitimer_args; 188 1.20 dsl 189 1.1 manu struct linux_sys_socket_args { 190 1.1 manu syscallarg(int) domain; 191 1.1 manu syscallarg(int) type; 192 1.1 manu syscallarg(int) protocol; 193 1.1 manu }; 194 1.19 njoly check_syscall_args(linux_sys_socket) 195 1.1 manu 196 1.1 manu struct linux_sys_connect_args { 197 1.1 manu syscallarg(int) s; 198 1.1 manu syscallarg(const struct osockaddr *) name; 199 1.1 manu syscallarg(unsigned int) namelen; 200 1.1 manu }; 201 1.19 njoly check_syscall_args(linux_sys_connect) 202 1.1 manu 203 1.1 manu struct linux_sys_accept_args { 204 1.1 manu syscallarg(int) s; 205 1.1 manu syscallarg(struct osockaddr *) name; 206 1.1 manu syscallarg(int *) anamelen; 207 1.1 manu }; 208 1.19 njoly check_syscall_args(linux_sys_accept) 209 1.1 manu 210 1.1 manu struct linux_sys_sendto_args { 211 1.1 manu syscallarg(int) s; 212 1.1 manu syscallarg(void *) msg; 213 1.1 manu syscallarg(int) len; 214 1.1 manu syscallarg(int) flags; 215 1.1 manu syscallarg(struct osockaddr *) to; 216 1.1 manu syscallarg(int) tolen; 217 1.1 manu }; 218 1.19 njoly check_syscall_args(linux_sys_sendto) 219 1.1 manu 220 1.1 manu struct linux_sys_recvfrom_args { 221 1.1 manu syscallarg(int) s; 222 1.1 manu syscallarg(void *) buf; 223 1.1 manu syscallarg(size_t) len; 224 1.1 manu syscallarg(int) flags; 225 1.1 manu syscallarg(struct osockaddr *) from; 226 1.1 manu syscallarg(unsigned int *) fromlenaddr; 227 1.1 manu }; 228 1.19 njoly check_syscall_args(linux_sys_recvfrom) 229 1.1 manu 230 1.1 manu struct linux_sys_sendmsg_args { 231 1.1 manu syscallarg(int) s; 232 1.34 njoly syscallarg(const struct linux_msghdr *) msg; 233 1.1 manu syscallarg(int) flags; 234 1.1 manu }; 235 1.19 njoly check_syscall_args(linux_sys_sendmsg) 236 1.1 manu 237 1.1 manu struct linux_sys_recvmsg_args { 238 1.1 manu syscallarg(int) s; 239 1.34 njoly syscallarg(struct linux_msghdr *) msg; 240 1.1 manu syscallarg(int) flags; 241 1.1 manu }; 242 1.19 njoly check_syscall_args(linux_sys_recvmsg) 243 1.1 manu 244 1.20 dsl struct sys_shutdown_args; 245 1.20 dsl 246 1.1 manu struct linux_sys_bind_args { 247 1.1 manu syscallarg(int) s; 248 1.1 manu syscallarg(const struct osockaddr *) name; 249 1.1 manu syscallarg(unsigned int) namelen; 250 1.1 manu }; 251 1.19 njoly check_syscall_args(linux_sys_bind) 252 1.1 manu 253 1.20 dsl struct sys_listen_args; 254 1.20 dsl 255 1.1 manu struct linux_sys_getsockname_args { 256 1.1 manu syscallarg(int) fdec; 257 1.17 christos syscallarg(void *) asa; 258 1.1 manu syscallarg(int *) alen; 259 1.1 manu }; 260 1.19 njoly check_syscall_args(linux_sys_getsockname) 261 1.1 manu 262 1.1 manu struct linux_sys_getpeername_args { 263 1.1 manu syscallarg(int) fdes; 264 1.1 manu syscallarg(struct sockaddr *) asa; 265 1.1 manu syscallarg(unsigned int *) alen; 266 1.1 manu }; 267 1.19 njoly check_syscall_args(linux_sys_getpeername) 268 1.1 manu 269 1.1 manu struct linux_sys_socketpair_args { 270 1.1 manu syscallarg(int) domain; 271 1.1 manu syscallarg(int) type; 272 1.1 manu syscallarg(int) protocol; 273 1.1 manu syscallarg(int *) rsv; 274 1.1 manu }; 275 1.19 njoly check_syscall_args(linux_sys_socketpair) 276 1.1 manu 277 1.1 manu struct linux_sys_setsockopt_args { 278 1.1 manu syscallarg(int) s; 279 1.1 manu syscallarg(int) level; 280 1.1 manu syscallarg(int) optname; 281 1.1 manu syscallarg(void *) optval; 282 1.1 manu syscallarg(int) optlen; 283 1.1 manu }; 284 1.19 njoly check_syscall_args(linux_sys_setsockopt) 285 1.1 manu 286 1.1 manu struct linux_sys_getsockopt_args { 287 1.1 manu syscallarg(int) s; 288 1.1 manu syscallarg(int) level; 289 1.1 manu syscallarg(int) optname; 290 1.1 manu syscallarg(void *) optval; 291 1.1 manu syscallarg(int *) optlen; 292 1.1 manu }; 293 1.19 njoly check_syscall_args(linux_sys_getsockopt) 294 1.1 manu 295 1.1 manu struct linux_sys_clone_args { 296 1.1 manu syscallarg(int) flags; 297 1.1 manu syscallarg(void *) stack; 298 1.5 manu syscallarg(void *) parent_tidptr; 299 1.5 manu syscallarg(void *) child_tidptr; 300 1.38 chs syscallarg(void *) tls; 301 1.1 manu }; 302 1.19 njoly check_syscall_args(linux_sys_clone) 303 1.1 manu 304 1.20 dsl struct sys_execve_args; 305 1.20 dsl 306 1.38 chs struct linux_sys_exit_args { 307 1.38 chs syscallarg(int) rval; 308 1.38 chs }; 309 1.38 chs check_syscall_args(linux_sys_exit) 310 1.20 dsl 311 1.1 manu struct linux_sys_wait4_args { 312 1.1 manu syscallarg(int) pid; 313 1.1 manu syscallarg(int *) status; 314 1.1 manu syscallarg(int) options; 315 1.32 njoly syscallarg(struct rusage50 *) rusage; 316 1.1 manu }; 317 1.19 njoly check_syscall_args(linux_sys_wait4) 318 1.1 manu 319 1.1 manu struct linux_sys_kill_args { 320 1.1 manu syscallarg(int) pid; 321 1.1 manu syscallarg(int) signum; 322 1.1 manu }; 323 1.19 njoly check_syscall_args(linux_sys_kill) 324 1.1 manu 325 1.1 manu struct linux_sys_uname_args { 326 1.1 manu syscallarg(struct linux_utsname *) up; 327 1.1 manu }; 328 1.19 njoly check_syscall_args(linux_sys_uname) 329 1.10 manu #ifdef SYSVSEM 330 1.10 manu 331 1.20 dsl struct sys_semget_args; 332 1.20 dsl 333 1.20 dsl struct sys_semop_args; 334 1.20 dsl 335 1.10 manu struct linux_sys_semctl_args { 336 1.10 manu syscallarg(int) semid; 337 1.10 manu syscallarg(int) semnum; 338 1.10 manu syscallarg(int) cmd; 339 1.10 manu syscallarg(union linux_semun) arg; 340 1.10 manu }; 341 1.19 njoly check_syscall_args(linux_sys_semctl) 342 1.10 manu #else 343 1.10 manu #endif 344 1.10 manu #ifdef SYSVSHM 345 1.20 dsl 346 1.20 dsl struct sys_shmdt_args; 347 1.10 manu #else 348 1.10 manu #endif 349 1.10 manu #ifdef SYSVMSG 350 1.10 manu 351 1.20 dsl struct sys_msgget_args; 352 1.20 dsl 353 1.20 dsl struct sys_msgsnd_args; 354 1.20 dsl 355 1.20 dsl struct sys_msgrcv_args; 356 1.20 dsl 357 1.20 dsl struct linux_sys_msgctl_args; 358 1.10 manu #else 359 1.10 manu #endif 360 1.1 manu 361 1.1 manu struct linux_sys_fcntl_args { 362 1.1 manu syscallarg(int) fd; 363 1.1 manu syscallarg(int) cmd; 364 1.1 manu syscallarg(void *) arg; 365 1.1 manu }; 366 1.19 njoly check_syscall_args(linux_sys_fcntl) 367 1.1 manu 368 1.20 dsl struct sys_flock_args; 369 1.20 dsl 370 1.20 dsl struct sys_fsync_args; 371 1.20 dsl 372 1.1 manu struct linux_sys_fdatasync_args { 373 1.1 manu syscallarg(int) fd; 374 1.1 manu }; 375 1.19 njoly check_syscall_args(linux_sys_fdatasync) 376 1.1 manu 377 1.1 manu struct linux_sys_truncate64_args { 378 1.1 manu syscallarg(const char *) path; 379 1.1 manu syscallarg(off_t) length; 380 1.1 manu }; 381 1.19 njoly check_syscall_args(linux_sys_truncate64) 382 1.1 manu 383 1.1 manu struct linux_sys_ftruncate64_args { 384 1.1 manu syscallarg(unsigned int) fd; 385 1.1 manu syscallarg(off_t) length; 386 1.1 manu }; 387 1.19 njoly check_syscall_args(linux_sys_ftruncate64) 388 1.1 manu 389 1.1 manu struct linux_sys_getdents_args { 390 1.1 manu syscallarg(int) fd; 391 1.1 manu syscallarg(struct linux_dirent *) dent; 392 1.1 manu syscallarg(unsigned int) count; 393 1.1 manu }; 394 1.19 njoly check_syscall_args(linux_sys_getdents) 395 1.1 manu 396 1.20 dsl struct sys___getcwd_args; 397 1.20 dsl 398 1.20 dsl struct sys_chdir_args; 399 1.20 dsl 400 1.20 dsl struct sys_fchdir_args; 401 1.20 dsl 402 1.20 dsl struct sys___posix_rename_args; 403 1.20 dsl 404 1.20 dsl struct sys_mkdir_args; 405 1.20 dsl 406 1.20 dsl struct sys_rmdir_args; 407 1.20 dsl 408 1.1 manu struct linux_sys_creat_args { 409 1.1 manu syscallarg(const char *) path; 410 1.48 njoly syscallarg(linux_umode_t) mode; 411 1.1 manu }; 412 1.19 njoly check_syscall_args(linux_sys_creat) 413 1.1 manu 414 1.20 dsl struct sys_link_args; 415 1.20 dsl 416 1.1 manu struct linux_sys_unlink_args { 417 1.1 manu syscallarg(const char *) path; 418 1.1 manu }; 419 1.19 njoly check_syscall_args(linux_sys_unlink) 420 1.1 manu 421 1.20 dsl struct sys_symlink_args; 422 1.20 dsl 423 1.20 dsl struct sys_readlink_args; 424 1.20 dsl 425 1.20 dsl struct sys_chmod_args; 426 1.20 dsl 427 1.20 dsl struct sys_fchmod_args; 428 1.20 dsl 429 1.20 dsl struct sys___posix_chown_args; 430 1.20 dsl 431 1.20 dsl struct sys___posix_fchown_args; 432 1.20 dsl 433 1.20 dsl struct sys___posix_lchown_args; 434 1.20 dsl 435 1.20 dsl struct sys_umask_args; 436 1.20 dsl 437 1.1 manu struct linux_sys_gettimeofday_args { 438 1.31 njoly syscallarg(struct timeval50 *) tp; 439 1.1 manu syscallarg(struct timezone *) tzp; 440 1.1 manu }; 441 1.19 njoly check_syscall_args(linux_sys_gettimeofday) 442 1.1 manu 443 1.1 manu struct linux_sys_getrlimit_args { 444 1.1 manu syscallarg(int) which; 445 1.9 manu syscallarg(struct rlimit *) rlp; 446 1.1 manu }; 447 1.19 njoly check_syscall_args(linux_sys_getrlimit) 448 1.1 manu 449 1.28 christos struct compat_50_sys_getrusage_args; 450 1.20 dsl 451 1.1 manu struct linux_sys_sysinfo_args { 452 1.1 manu syscallarg(struct linux_sysinfo *) arg; 453 1.1 manu }; 454 1.19 njoly check_syscall_args(linux_sys_sysinfo) 455 1.1 manu 456 1.1 manu struct linux_sys_times_args { 457 1.1 manu syscallarg(struct times *) tms; 458 1.1 manu }; 459 1.19 njoly check_syscall_args(linux_sys_times) 460 1.1 manu 461 1.1 manu struct linux_sys_ptrace_args { 462 1.1 manu syscallarg(long) request; 463 1.1 manu syscallarg(long) pid; 464 1.1 manu syscallarg(long) addr; 465 1.1 manu syscallarg(long) data; 466 1.1 manu }; 467 1.19 njoly check_syscall_args(linux_sys_ptrace) 468 1.1 manu 469 1.20 dsl struct sys_setuid_args; 470 1.20 dsl 471 1.20 dsl struct sys_setgid_args; 472 1.20 dsl 473 1.20 dsl struct sys_setpgid_args; 474 1.20 dsl 475 1.20 dsl struct sys_setreuid_args; 476 1.20 dsl 477 1.20 dsl struct sys_setregid_args; 478 1.20 dsl 479 1.20 dsl struct sys_getgroups_args; 480 1.20 dsl 481 1.20 dsl struct sys_setgroups_args; 482 1.20 dsl 483 1.1 manu struct linux_sys_setresuid_args { 484 1.1 manu syscallarg(uid_t) ruid; 485 1.1 manu syscallarg(uid_t) euid; 486 1.1 manu syscallarg(uid_t) suid; 487 1.1 manu }; 488 1.19 njoly check_syscall_args(linux_sys_setresuid) 489 1.1 manu 490 1.1 manu struct linux_sys_getresuid_args { 491 1.1 manu syscallarg(uid_t *) ruid; 492 1.1 manu syscallarg(uid_t *) euid; 493 1.1 manu syscallarg(uid_t *) suid; 494 1.1 manu }; 495 1.19 njoly check_syscall_args(linux_sys_getresuid) 496 1.1 manu 497 1.1 manu struct linux_sys_setresgid_args { 498 1.1 manu syscallarg(gid_t) rgid; 499 1.1 manu syscallarg(gid_t) egid; 500 1.1 manu syscallarg(gid_t) sgid; 501 1.1 manu }; 502 1.19 njoly check_syscall_args(linux_sys_setresgid) 503 1.1 manu 504 1.1 manu struct linux_sys_getresgid_args { 505 1.1 manu syscallarg(gid_t *) rgid; 506 1.1 manu syscallarg(gid_t *) egid; 507 1.1 manu syscallarg(gid_t *) sgid; 508 1.1 manu }; 509 1.19 njoly check_syscall_args(linux_sys_getresgid) 510 1.1 manu 511 1.22 njoly struct sys_getpgid_args; 512 1.1 manu 513 1.1 manu struct linux_sys_setfsuid_args { 514 1.1 manu syscallarg(uid_t) uid; 515 1.1 manu }; 516 1.19 njoly check_syscall_args(linux_sys_setfsuid) 517 1.1 manu 518 1.21 njoly struct linux_sys_setfsgid_args { 519 1.21 njoly syscallarg(gid_t) gid; 520 1.21 njoly }; 521 1.21 njoly check_syscall_args(linux_sys_setfsgid) 522 1.21 njoly 523 1.20 dsl struct sys_getsid_args; 524 1.20 dsl 525 1.1 manu struct linux_sys_rt_sigpending_args { 526 1.1 manu syscallarg(linux_sigset_t *) set; 527 1.1 manu syscallarg(size_t) sigsetsize; 528 1.1 manu }; 529 1.19 njoly check_syscall_args(linux_sys_rt_sigpending) 530 1.1 manu 531 1.42 christos struct linux_sys_rt_sigtimedwait_args { 532 1.42 christos syscallarg(const linux_sigset_t *) set; 533 1.42 christos syscallarg(linux_siginfo_t *) info; 534 1.42 christos syscallarg(const struct linux_timespec *) timeout; 535 1.42 christos }; 536 1.42 christos check_syscall_args(linux_sys_rt_sigtimedwait) 537 1.42 christos 538 1.1 manu struct linux_sys_rt_queueinfo_args { 539 1.1 manu syscallarg(int) pid; 540 1.1 manu syscallarg(int) signum; 541 1.33 njoly syscallarg(linux_siginfo_t *) uinfo; 542 1.1 manu }; 543 1.19 njoly check_syscall_args(linux_sys_rt_queueinfo) 544 1.1 manu 545 1.1 manu struct linux_sys_rt_sigsuspend_args { 546 1.1 manu syscallarg(linux_sigset_t *) unewset; 547 1.1 manu syscallarg(size_t) sigsetsize; 548 1.1 manu }; 549 1.19 njoly check_syscall_args(linux_sys_rt_sigsuspend) 550 1.1 manu 551 1.1 manu struct linux_sys_sigaltstack_args { 552 1.1 manu syscallarg(const struct linux_sigaltstack *) ss; 553 1.1 manu syscallarg(struct linux_sigaltstack *) oss; 554 1.1 manu }; 555 1.19 njoly check_syscall_args(linux_sys_sigaltstack) 556 1.1 manu 557 1.1 manu struct linux_sys_utime_args { 558 1.1 manu syscallarg(const char *) path; 559 1.1 manu syscallarg(struct linux_utimbuf *) times; 560 1.1 manu }; 561 1.19 njoly check_syscall_args(linux_sys_utime) 562 1.1 manu 563 1.1 manu struct linux_sys_mknod_args { 564 1.1 manu syscallarg(const char *) path; 565 1.47 chs syscallarg(linux_umode_t) mode; 566 1.47 chs syscallarg(unsigned) dev; 567 1.1 manu }; 568 1.19 njoly check_syscall_args(linux_sys_mknod) 569 1.6 joerg #ifdef EXEC_AOUT 570 1.1 manu 571 1.1 manu struct linux_sys_uselib_args { 572 1.1 manu syscallarg(const char *) path; 573 1.1 manu }; 574 1.19 njoly check_syscall_args(linux_sys_uselib) 575 1.6 joerg #else 576 1.6 joerg #endif 577 1.1 manu 578 1.1 manu struct linux_sys_personality_args { 579 1.36 njoly syscallarg(unsigned long) per; 580 1.1 manu }; 581 1.19 njoly check_syscall_args(linux_sys_personality) 582 1.1 manu 583 1.18 njoly struct linux_sys_statfs_args { 584 1.1 manu syscallarg(const char *) path; 585 1.18 njoly syscallarg(struct linux_statfs *) sp; 586 1.1 manu }; 587 1.19 njoly check_syscall_args(linux_sys_statfs) 588 1.1 manu 589 1.18 njoly struct linux_sys_fstatfs_args { 590 1.1 manu syscallarg(int) fd; 591 1.18 njoly syscallarg(struct linux_statfs *) sp; 592 1.1 manu }; 593 1.19 njoly check_syscall_args(linux_sys_fstatfs) 594 1.1 manu 595 1.11 christos struct linux_sys_getpriority_args { 596 1.11 christos syscallarg(int) which; 597 1.11 christos syscallarg(int) who; 598 1.11 christos }; 599 1.19 njoly check_syscall_args(linux_sys_getpriority) 600 1.11 christos 601 1.20 dsl struct sys_setpriority_args; 602 1.20 dsl 603 1.1 manu struct linux_sys_sched_setparam_args { 604 1.1 manu syscallarg(pid_t) pid; 605 1.1 manu syscallarg(const struct linux_sched_param *) sp; 606 1.1 manu }; 607 1.19 njoly check_syscall_args(linux_sys_sched_setparam) 608 1.1 manu 609 1.1 manu struct linux_sys_sched_getparam_args { 610 1.1 manu syscallarg(pid_t) pid; 611 1.1 manu syscallarg(struct linux_sched_param *) sp; 612 1.1 manu }; 613 1.19 njoly check_syscall_args(linux_sys_sched_getparam) 614 1.1 manu 615 1.1 manu struct linux_sys_sched_setscheduler_args { 616 1.1 manu syscallarg(pid_t) pid; 617 1.1 manu syscallarg(int) policy; 618 1.1 manu syscallarg(const struct linux_sched_param *) sp; 619 1.1 manu }; 620 1.19 njoly check_syscall_args(linux_sys_sched_setscheduler) 621 1.1 manu 622 1.1 manu struct linux_sys_sched_getscheduler_args { 623 1.1 manu syscallarg(pid_t) pid; 624 1.1 manu }; 625 1.19 njoly check_syscall_args(linux_sys_sched_getscheduler) 626 1.1 manu 627 1.1 manu struct linux_sys_sched_get_priority_max_args { 628 1.1 manu syscallarg(int) policy; 629 1.1 manu }; 630 1.19 njoly check_syscall_args(linux_sys_sched_get_priority_max) 631 1.1 manu 632 1.1 manu struct linux_sys_sched_get_priority_min_args { 633 1.1 manu syscallarg(int) policy; 634 1.1 manu }; 635 1.19 njoly check_syscall_args(linux_sys_sched_get_priority_min) 636 1.1 manu 637 1.20 dsl struct sys_mlock_args; 638 1.20 dsl 639 1.20 dsl struct sys_munlock_args; 640 1.20 dsl 641 1.20 dsl struct sys_mlockall_args; 642 1.20 dsl 643 1.1 manu struct linux_sys_modify_ldt_args { 644 1.1 manu syscallarg(int) func; 645 1.1 manu syscallarg(void *) ptr; 646 1.1 manu syscallarg(size_t) bytecount; 647 1.1 manu }; 648 1.19 njoly check_syscall_args(linux_sys_modify_ldt) 649 1.1 manu 650 1.1 manu struct linux_sys___sysctl_args { 651 1.1 manu syscallarg(struct linux___sysctl *) lsp; 652 1.1 manu }; 653 1.19 njoly check_syscall_args(linux_sys___sysctl) 654 1.1 manu 655 1.1 manu struct linux_sys_arch_prctl_args { 656 1.1 manu syscallarg(int) code; 657 1.1 manu syscallarg(unsigned long) addr; 658 1.1 manu }; 659 1.19 njoly check_syscall_args(linux_sys_arch_prctl) 660 1.1 manu 661 1.1 manu struct linux_sys_setrlimit_args { 662 1.1 manu syscallarg(u_int) which; 663 1.9 manu syscallarg(struct rlimit *) rlp; 664 1.1 manu }; 665 1.19 njoly check_syscall_args(linux_sys_setrlimit) 666 1.1 manu 667 1.20 dsl struct sys_chroot_args; 668 1.20 dsl 669 1.20 dsl struct sys_acct_args; 670 1.20 dsl 671 1.1 manu struct linux_sys_settimeofday_args { 672 1.31 njoly syscallarg(struct timeval50 *) tp; 673 1.1 manu syscallarg(struct timezone *) tzp; 674 1.1 manu }; 675 1.19 njoly check_syscall_args(linux_sys_settimeofday) 676 1.1 manu 677 1.1 manu struct linux_sys_swapon_args { 678 1.1 manu syscallarg(char *) name; 679 1.1 manu }; 680 1.19 njoly check_syscall_args(linux_sys_swapon) 681 1.1 manu 682 1.1 manu struct linux_sys_swapoff_args { 683 1.1 manu syscallarg(const char *) path; 684 1.1 manu }; 685 1.19 njoly check_syscall_args(linux_sys_swapoff) 686 1.1 manu 687 1.1 manu struct linux_sys_reboot_args { 688 1.1 manu syscallarg(int) magic1; 689 1.1 manu syscallarg(int) magic2; 690 1.1 manu syscallarg(int) cmd; 691 1.1 manu syscallarg(void *) arg; 692 1.1 manu }; 693 1.19 njoly check_syscall_args(linux_sys_reboot) 694 1.1 manu 695 1.20 dsl struct compat_43_sys_sethostname_args; 696 1.20 dsl 697 1.1 manu struct linux_sys_setdomainname_args { 698 1.1 manu syscallarg(char *) domainname; 699 1.1 manu syscallarg(int) len; 700 1.1 manu }; 701 1.19 njoly check_syscall_args(linux_sys_setdomainname) 702 1.1 manu 703 1.1 manu struct linux_sys_iopl_args { 704 1.1 manu syscallarg(int) level; 705 1.1 manu }; 706 1.19 njoly check_syscall_args(linux_sys_iopl) 707 1.1 manu 708 1.1 manu struct linux_sys_ioperm_args { 709 1.1 manu syscallarg(unsigned int) lo; 710 1.1 manu syscallarg(unsigned int) hi; 711 1.1 manu syscallarg(int) val; 712 1.1 manu }; 713 1.19 njoly check_syscall_args(linux_sys_ioperm) 714 1.1 manu 715 1.79 christos struct linux_sys_readahead_args { 716 1.79 christos syscallarg(int) fd; 717 1.79 christos syscallarg(off_t) offset; 718 1.79 christos syscallarg(size_t) count; 719 1.79 christos }; 720 1.79 christos check_syscall_args(linux_sys_readahead) 721 1.79 christos 722 1.2 fvdl struct linux_sys_setxattr_args { 723 1.2 fvdl syscallarg(char *) path; 724 1.2 fvdl syscallarg(char *) name; 725 1.2 fvdl syscallarg(void *) value; 726 1.2 fvdl syscallarg(size_t) size; 727 1.2 fvdl syscallarg(int) flags; 728 1.2 fvdl }; 729 1.19 njoly check_syscall_args(linux_sys_setxattr) 730 1.2 fvdl 731 1.2 fvdl struct linux_sys_lsetxattr_args { 732 1.2 fvdl syscallarg(char *) path; 733 1.2 fvdl syscallarg(char *) name; 734 1.2 fvdl syscallarg(void *) value; 735 1.2 fvdl syscallarg(size_t) size; 736 1.2 fvdl syscallarg(int) flags; 737 1.2 fvdl }; 738 1.19 njoly check_syscall_args(linux_sys_lsetxattr) 739 1.2 fvdl 740 1.2 fvdl struct linux_sys_fsetxattr_args { 741 1.2 fvdl syscallarg(int) fd; 742 1.2 fvdl syscallarg(char *) name; 743 1.2 fvdl syscallarg(void *) value; 744 1.2 fvdl syscallarg(size_t) size; 745 1.2 fvdl syscallarg(int) flags; 746 1.2 fvdl }; 747 1.19 njoly check_syscall_args(linux_sys_fsetxattr) 748 1.2 fvdl 749 1.2 fvdl struct linux_sys_getxattr_args { 750 1.2 fvdl syscallarg(char *) path; 751 1.2 fvdl syscallarg(char *) name; 752 1.2 fvdl syscallarg(void *) value; 753 1.2 fvdl syscallarg(size_t) size; 754 1.2 fvdl }; 755 1.19 njoly check_syscall_args(linux_sys_getxattr) 756 1.2 fvdl 757 1.2 fvdl struct linux_sys_lgetxattr_args { 758 1.2 fvdl syscallarg(char *) path; 759 1.2 fvdl syscallarg(char *) name; 760 1.2 fvdl syscallarg(void *) value; 761 1.2 fvdl syscallarg(size_t) size; 762 1.2 fvdl }; 763 1.19 njoly check_syscall_args(linux_sys_lgetxattr) 764 1.2 fvdl 765 1.2 fvdl struct linux_sys_fgetxattr_args { 766 1.2 fvdl syscallarg(int) fd; 767 1.2 fvdl syscallarg(char *) name; 768 1.2 fvdl syscallarg(void *) value; 769 1.2 fvdl syscallarg(size_t) size; 770 1.2 fvdl }; 771 1.19 njoly check_syscall_args(linux_sys_fgetxattr) 772 1.2 fvdl 773 1.2 fvdl struct linux_sys_listxattr_args { 774 1.2 fvdl syscallarg(char *) path; 775 1.2 fvdl syscallarg(char *) list; 776 1.2 fvdl syscallarg(size_t) size; 777 1.2 fvdl }; 778 1.19 njoly check_syscall_args(linux_sys_listxattr) 779 1.2 fvdl 780 1.2 fvdl struct linux_sys_llistxattr_args { 781 1.2 fvdl syscallarg(char *) path; 782 1.2 fvdl syscallarg(char *) list; 783 1.2 fvdl syscallarg(size_t) size; 784 1.2 fvdl }; 785 1.19 njoly check_syscall_args(linux_sys_llistxattr) 786 1.2 fvdl 787 1.2 fvdl struct linux_sys_flistxattr_args { 788 1.2 fvdl syscallarg(int) fd; 789 1.2 fvdl syscallarg(char *) list; 790 1.2 fvdl syscallarg(size_t) size; 791 1.2 fvdl }; 792 1.19 njoly check_syscall_args(linux_sys_flistxattr) 793 1.2 fvdl 794 1.2 fvdl struct linux_sys_removexattr_args { 795 1.2 fvdl syscallarg(char *) path; 796 1.2 fvdl syscallarg(char *) name; 797 1.2 fvdl }; 798 1.19 njoly check_syscall_args(linux_sys_removexattr) 799 1.2 fvdl 800 1.2 fvdl struct linux_sys_lremovexattr_args { 801 1.2 fvdl syscallarg(char *) path; 802 1.2 fvdl syscallarg(char *) name; 803 1.2 fvdl }; 804 1.19 njoly check_syscall_args(linux_sys_lremovexattr) 805 1.2 fvdl 806 1.2 fvdl struct linux_sys_fremovexattr_args { 807 1.2 fvdl syscallarg(int) fd; 808 1.2 fvdl syscallarg(char *) name; 809 1.2 fvdl }; 810 1.19 njoly check_syscall_args(linux_sys_fremovexattr) 811 1.2 fvdl 812 1.9 manu struct linux_sys_tkill_args { 813 1.9 manu syscallarg(int) tid; 814 1.9 manu syscallarg(int) sig; 815 1.9 manu }; 816 1.19 njoly check_syscall_args(linux_sys_tkill) 817 1.9 manu 818 1.1 manu struct linux_sys_time_args { 819 1.1 manu syscallarg(linux_time_t *) t; 820 1.1 manu }; 821 1.19 njoly check_syscall_args(linux_sys_time) 822 1.1 manu 823 1.7 manu struct linux_sys_futex_args { 824 1.7 manu syscallarg(int *) uaddr; 825 1.7 manu syscallarg(int) op; 826 1.7 manu syscallarg(int) val; 827 1.26 njoly syscallarg(const struct linux_timespec *) timeout; 828 1.7 manu syscallarg(int *) uaddr2; 829 1.7 manu syscallarg(int) val3; 830 1.7 manu }; 831 1.19 njoly check_syscall_args(linux_sys_futex) 832 1.7 manu 833 1.8 manu struct linux_sys_sched_setaffinity_args { 834 1.8 manu syscallarg(pid_t) pid; 835 1.8 manu syscallarg(unsigned int) len; 836 1.8 manu syscallarg(unsigned long *) mask; 837 1.8 manu }; 838 1.19 njoly check_syscall_args(linux_sys_sched_setaffinity) 839 1.8 manu 840 1.8 manu struct linux_sys_sched_getaffinity_args { 841 1.8 manu syscallarg(pid_t) pid; 842 1.8 manu syscallarg(unsigned int) len; 843 1.8 manu syscallarg(unsigned long *) mask; 844 1.8 manu }; 845 1.19 njoly check_syscall_args(linux_sys_sched_getaffinity) 846 1.8 manu 847 1.78 christos struct linux_sys_epoll_create_args { 848 1.78 christos syscallarg(int) size; 849 1.78 christos }; 850 1.78 christos check_syscall_args(linux_sys_epoll_create) 851 1.78 christos 852 1.1 manu struct linux_sys_getdents64_args { 853 1.1 manu syscallarg(int) fd; 854 1.1 manu syscallarg(struct linux_dirent64 *) dent; 855 1.1 manu syscallarg(unsigned int) count; 856 1.1 manu }; 857 1.19 njoly check_syscall_args(linux_sys_getdents64) 858 1.1 manu 859 1.5 manu struct linux_sys_set_tid_address_args { 860 1.5 manu syscallarg(int *) tid; 861 1.5 manu }; 862 1.19 njoly check_syscall_args(linux_sys_set_tid_address) 863 1.5 manu 864 1.40 alnsn struct linux_sys_fadvise64_args { 865 1.40 alnsn syscallarg(int) fd; 866 1.51 njoly syscallarg(off_t) offset; 867 1.40 alnsn syscallarg(size_t) len; 868 1.40 alnsn syscallarg(int) advice; 869 1.40 alnsn }; 870 1.40 alnsn check_syscall_args(linux_sys_fadvise64) 871 1.40 alnsn 872 1.72 thorpej struct linux_sys_timer_create_args { 873 1.72 thorpej syscallarg(clockid_t) clockid; 874 1.72 thorpej syscallarg(struct linux_sigevent *) evp; 875 1.72 thorpej syscallarg(timer_t *) timerid; 876 1.72 thorpej }; 877 1.72 thorpej check_syscall_args(linux_sys_timer_create) 878 1.72 thorpej 879 1.72 thorpej struct linux_sys_timer_settime_args { 880 1.72 thorpej syscallarg(timer_t) timerid; 881 1.72 thorpej syscallarg(int) flags; 882 1.72 thorpej syscallarg(const struct linux_itimerspec *) tim; 883 1.72 thorpej syscallarg(struct linux_itimerspec *) otim; 884 1.72 thorpej }; 885 1.72 thorpej check_syscall_args(linux_sys_timer_settime) 886 1.72 thorpej 887 1.72 thorpej struct linux_sys_timer_gettime_args { 888 1.72 thorpej syscallarg(timer_t) timerid; 889 1.72 thorpej syscallarg(struct linux_itimerspec *) tim; 890 1.72 thorpej }; 891 1.72 thorpej check_syscall_args(linux_sys_timer_gettime) 892 1.72 thorpej 893 1.72 thorpej struct sys_timer_getoverrun_args; 894 1.72 thorpej 895 1.72 thorpej struct sys_timer_delete_args; 896 1.72 thorpej 897 1.3 fvdl struct linux_sys_clock_settime_args { 898 1.3 fvdl syscallarg(clockid_t) which; 899 1.3 fvdl syscallarg(struct linux_timespec *) tp; 900 1.3 fvdl }; 901 1.19 njoly check_syscall_args(linux_sys_clock_settime) 902 1.3 fvdl 903 1.3 fvdl struct linux_sys_clock_gettime_args { 904 1.3 fvdl syscallarg(clockid_t) which; 905 1.3 fvdl syscallarg(struct linux_timespec *) tp; 906 1.3 fvdl }; 907 1.19 njoly check_syscall_args(linux_sys_clock_gettime) 908 1.3 fvdl 909 1.3 fvdl struct linux_sys_clock_getres_args { 910 1.3 fvdl syscallarg(clockid_t) which; 911 1.3 fvdl syscallarg(struct linux_timespec *) tp; 912 1.3 fvdl }; 913 1.19 njoly check_syscall_args(linux_sys_clock_getres) 914 1.3 fvdl 915 1.3 fvdl struct linux_sys_clock_nanosleep_args { 916 1.3 fvdl syscallarg(clockid_t) which; 917 1.3 fvdl syscallarg(int) flags; 918 1.3 fvdl syscallarg(struct linux_timespec *) rqtp; 919 1.3 fvdl syscallarg(struct linux_timespec *) rmtp; 920 1.3 fvdl }; 921 1.19 njoly check_syscall_args(linux_sys_clock_nanosleep) 922 1.3 fvdl 923 1.1 manu struct linux_sys_exit_group_args { 924 1.1 manu syscallarg(int) error_code; 925 1.1 manu }; 926 1.19 njoly check_syscall_args(linux_sys_exit_group) 927 1.1 manu 928 1.78 christos struct linux_sys_epoll_wait_args { 929 1.78 christos syscallarg(int) epfd; 930 1.78 christos syscallarg(struct linux_epoll_event *) events; 931 1.78 christos syscallarg(int) maxevents; 932 1.78 christos syscallarg(int) timeout; 933 1.78 christos }; 934 1.78 christos check_syscall_args(linux_sys_epoll_wait) 935 1.78 christos 936 1.78 christos struct linux_sys_epoll_ctl_args { 937 1.78 christos syscallarg(int) epfd; 938 1.78 christos syscallarg(int) op; 939 1.78 christos syscallarg(int) fd; 940 1.78 christos syscallarg(struct linux_epoll_event *) event; 941 1.78 christos }; 942 1.78 christos check_syscall_args(linux_sys_epoll_ctl) 943 1.78 christos 944 1.9 manu struct linux_sys_tgkill_args { 945 1.9 manu syscallarg(int) tgid; 946 1.9 manu syscallarg(int) tid; 947 1.9 manu syscallarg(int) sig; 948 1.9 manu }; 949 1.19 njoly check_syscall_args(linux_sys_tgkill) 950 1.9 manu 951 1.53 njoly struct compat_50_sys_utimes_args; 952 1.44 pooka 953 1.83 christos struct linux_sys_mq_open_args { 954 1.83 christos syscallarg(const char *) name; 955 1.83 christos syscallarg(int) oflag; 956 1.83 christos syscallarg(linux_umode_t) mode; 957 1.83 christos syscallarg(struct linux_mq_attr *) attr; 958 1.83 christos }; 959 1.83 christos check_syscall_args(linux_sys_mq_open) 960 1.83 christos 961 1.83 christos struct linux_sys_mq_unlink_args { 962 1.83 christos syscallarg(const char *) name; 963 1.83 christos }; 964 1.83 christos check_syscall_args(linux_sys_mq_unlink) 965 1.83 christos 966 1.83 christos struct linux_sys_mq_timedsend_args { 967 1.83 christos syscallarg(linux_mqd_t) mqdes; 968 1.83 christos syscallarg(const char *) msg_ptr; 969 1.83 christos syscallarg(size_t) msg_len; 970 1.83 christos syscallarg(unsigned int) msg_prio; 971 1.83 christos syscallarg(const struct linux_timespec *) abs_timeout; 972 1.83 christos }; 973 1.83 christos check_syscall_args(linux_sys_mq_timedsend) 974 1.83 christos 975 1.83 christos struct linux_sys_mq_timedreceive_args { 976 1.83 christos syscallarg(linux_mqd_t) mqdes; 977 1.83 christos syscallarg(char *) msg_ptr; 978 1.83 christos syscallarg(size_t) msg_len; 979 1.83 christos syscallarg(unsigned int *) msg_prio; 980 1.83 christos syscallarg(const struct linux_timespec *) abs_timeout; 981 1.83 christos }; 982 1.83 christos check_syscall_args(linux_sys_mq_timedreceive) 983 1.83 christos 984 1.83 christos struct linux_sys_mq_notify_args { 985 1.83 christos syscallarg(linux_mqd_t) mqdes; 986 1.83 christos syscallarg(const struct linux_sigevent *) sevp; 987 1.83 christos }; 988 1.83 christos check_syscall_args(linux_sys_mq_notify) 989 1.83 christos 990 1.83 christos struct linux_sys_mq_getsetattr_args { 991 1.83 christos syscallarg(linux_mqd_t) mqdes; 992 1.83 christos syscallarg(const struct linux_mq_attr *) newattr; 993 1.83 christos syscallarg(struct linux_mq_attr *) oldattr; 994 1.83 christos }; 995 1.83 christos check_syscall_args(linux_sys_mq_getsetattr) 996 1.83 christos 997 1.80 christos struct linux_sys_waitid_args { 998 1.80 christos syscallarg(int) idtype; 999 1.80 christos syscallarg(id_t) id; 1000 1.80 christos syscallarg(linux_siginfo_t *) infop; 1001 1.80 christos syscallarg(int) options; 1002 1.80 christos syscallarg(struct rusage50 *) rusage; 1003 1.80 christos }; 1004 1.80 christos check_syscall_args(linux_sys_waitid) 1005 1.80 christos 1006 1.81 christos struct linux_sys_inotify_add_watch_args { 1007 1.81 christos syscallarg(int) fd; 1008 1.81 christos syscallarg(const char *) pathname; 1009 1.81 christos syscallarg(uint32_t) mask; 1010 1.81 christos }; 1011 1.81 christos check_syscall_args(linux_sys_inotify_add_watch) 1012 1.81 christos 1013 1.81 christos struct linux_sys_inotify_rm_watch_args { 1014 1.81 christos syscallarg(int) fd; 1015 1.81 christos syscallarg(int) wd; 1016 1.81 christos }; 1017 1.81 christos check_syscall_args(linux_sys_inotify_rm_watch) 1018 1.81 christos 1019 1.47 chs struct linux_sys_openat_args { 1020 1.47 chs syscallarg(int) fd; 1021 1.47 chs syscallarg(const char *) path; 1022 1.47 chs syscallarg(int) flags; 1023 1.47 chs syscallarg(linux_umode_t) mode; 1024 1.47 chs }; 1025 1.47 chs check_syscall_args(linux_sys_openat) 1026 1.47 chs 1027 1.47 chs struct sys_mkdirat_args; 1028 1.47 chs 1029 1.47 chs struct linux_sys_mknodat_args { 1030 1.47 chs syscallarg(int) fd; 1031 1.47 chs syscallarg(const char *) path; 1032 1.47 chs syscallarg(linux_umode_t) mode; 1033 1.47 chs syscallarg(unsigned) dev; 1034 1.47 chs }; 1035 1.47 chs check_syscall_args(linux_sys_mknodat) 1036 1.47 chs 1037 1.47 chs struct linux_sys_fchownat_args { 1038 1.47 chs syscallarg(int) fd; 1039 1.47 chs syscallarg(const char *) path; 1040 1.47 chs syscallarg(uid_t) owner; 1041 1.47 chs syscallarg(gid_t) group; 1042 1.47 chs syscallarg(int) flag; 1043 1.47 chs }; 1044 1.47 chs check_syscall_args(linux_sys_fchownat) 1045 1.47 chs 1046 1.47 chs struct linux_sys_fstatat64_args { 1047 1.47 chs syscallarg(int) fd; 1048 1.47 chs syscallarg(const char *) path; 1049 1.47 chs syscallarg(struct linux_stat *) sp; 1050 1.47 chs syscallarg(int) flag; 1051 1.47 chs }; 1052 1.47 chs check_syscall_args(linux_sys_fstatat64) 1053 1.47 chs 1054 1.47 chs struct linux_sys_unlinkat_args { 1055 1.47 chs syscallarg(int) fd; 1056 1.47 chs syscallarg(const char *) path; 1057 1.47 chs syscallarg(int) flag; 1058 1.47 chs }; 1059 1.47 chs check_syscall_args(linux_sys_unlinkat) 1060 1.47 chs 1061 1.47 chs struct sys_renameat_args; 1062 1.47 chs 1063 1.47 chs struct linux_sys_linkat_args { 1064 1.47 chs syscallarg(int) fd1; 1065 1.47 chs syscallarg(const char *) name1; 1066 1.47 chs syscallarg(int) fd2; 1067 1.47 chs syscallarg(const char *) name2; 1068 1.47 chs syscallarg(int) flags; 1069 1.47 chs }; 1070 1.47 chs check_syscall_args(linux_sys_linkat) 1071 1.47 chs 1072 1.47 chs struct sys_symlinkat_args; 1073 1.47 chs 1074 1.47 chs struct sys_readlinkat_args; 1075 1.47 chs 1076 1.47 chs struct linux_sys_fchmodat_args { 1077 1.47 chs syscallarg(int) fd; 1078 1.47 chs syscallarg(const char *) path; 1079 1.47 chs syscallarg(linux_umode_t) mode; 1080 1.47 chs }; 1081 1.47 chs check_syscall_args(linux_sys_fchmodat) 1082 1.47 chs 1083 1.47 chs struct linux_sys_faccessat_args { 1084 1.47 chs syscallarg(int) fd; 1085 1.47 chs syscallarg(const char *) path; 1086 1.47 chs syscallarg(int) amode; 1087 1.47 chs }; 1088 1.47 chs check_syscall_args(linux_sys_faccessat) 1089 1.47 chs 1090 1.61 manu struct linux_sys_pselect6_args { 1091 1.61 manu syscallarg(int) nfds; 1092 1.61 manu syscallarg(fd_set *) readfds; 1093 1.61 manu syscallarg(fd_set *) writefds; 1094 1.61 manu syscallarg(fd_set *) exceptfds; 1095 1.61 manu syscallarg(struct linux_timespec *) timeout; 1096 1.61 manu syscallarg(linux_sized_sigset_t *) ss; 1097 1.61 manu }; 1098 1.61 manu check_syscall_args(linux_sys_pselect6) 1099 1.61 manu 1100 1.43 pooka struct linux_sys_ppoll_args { 1101 1.43 pooka syscallarg(struct pollfd *) fds; 1102 1.55 njoly syscallarg(u_int) nfds; 1103 1.43 pooka syscallarg(struct linux_timespec *) timeout; 1104 1.43 pooka syscallarg(linux_sigset_t *) sigset; 1105 1.43 pooka }; 1106 1.43 pooka check_syscall_args(linux_sys_ppoll) 1107 1.43 pooka 1108 1.71 thorpej struct sys___futex_set_robust_list_args; 1109 1.24 christos 1110 1.71 thorpej struct sys___futex_get_robust_list_args; 1111 1.24 christos 1112 1.84 christos struct linux_sys_sync_file_range_args { 1113 1.84 christos syscallarg(int) fd; 1114 1.84 christos syscallarg(off_t) offset; 1115 1.84 christos syscallarg(off_t) nbytes; 1116 1.84 christos syscallarg(unsigned int) flags; 1117 1.84 christos }; 1118 1.84 christos check_syscall_args(linux_sys_sync_file_range) 1119 1.84 christos 1120 1.45 njoly struct linux_sys_utimensat_args { 1121 1.45 njoly syscallarg(int) fd; 1122 1.45 njoly syscallarg(const char *) path; 1123 1.45 njoly syscallarg(struct linux_timespec *) times; 1124 1.45 njoly syscallarg(int) flag; 1125 1.45 njoly }; 1126 1.45 njoly check_syscall_args(linux_sys_utimensat) 1127 1.45 njoly 1128 1.78 christos struct linux_sys_epoll_pwait_args { 1129 1.78 christos syscallarg(int) epfd; 1130 1.78 christos syscallarg(struct linux_epoll_event *) events; 1131 1.78 christos syscallarg(int) maxevents; 1132 1.78 christos syscallarg(int) timeout; 1133 1.78 christos syscallarg(const linux_sigset_t *) sigmask; 1134 1.78 christos }; 1135 1.78 christos check_syscall_args(linux_sys_epoll_pwait) 1136 1.78 christos 1137 1.73 thorpej struct linux_sys_timerfd_create_args { 1138 1.73 thorpej syscallarg(clockid_t) clock_id; 1139 1.73 thorpej syscallarg(int) flags; 1140 1.73 thorpej }; 1141 1.73 thorpej check_syscall_args(linux_sys_timerfd_create) 1142 1.73 thorpej 1143 1.74 thorpej struct linux_sys_eventfd_args { 1144 1.74 thorpej syscallarg(unsigned int) initval; 1145 1.74 thorpej }; 1146 1.74 thorpej check_syscall_args(linux_sys_eventfd) 1147 1.74 thorpej 1148 1.70 jdolecek struct linux_sys_fallocate_args { 1149 1.70 jdolecek syscallarg(int) fd; 1150 1.70 jdolecek syscallarg(int) mode; 1151 1.70 jdolecek syscallarg(off_t) offset; 1152 1.70 jdolecek syscallarg(off_t) len; 1153 1.70 jdolecek }; 1154 1.70 jdolecek check_syscall_args(linux_sys_fallocate) 1155 1.70 jdolecek 1156 1.73 thorpej struct linux_sys_timerfd_settime_args { 1157 1.73 thorpej syscallarg(int) fd; 1158 1.73 thorpej syscallarg(int) flags; 1159 1.73 thorpej syscallarg(const struct linux_itimerspec *) tim; 1160 1.73 thorpej syscallarg(struct linux_itimerspec *) otim; 1161 1.73 thorpej }; 1162 1.73 thorpej check_syscall_args(linux_sys_timerfd_settime) 1163 1.73 thorpej 1164 1.73 thorpej struct linux_sys_timerfd_gettime_args { 1165 1.73 thorpej syscallarg(int) fd; 1166 1.73 thorpej syscallarg(struct linux_itimerspec *) tim; 1167 1.73 thorpej }; 1168 1.73 thorpej check_syscall_args(linux_sys_timerfd_gettime) 1169 1.73 thorpej 1170 1.65 christos struct linux_sys_accept4_args { 1171 1.65 christos syscallarg(int) s; 1172 1.65 christos syscallarg(struct osockaddr *) name; 1173 1.65 christos syscallarg(int *) anamelen; 1174 1.65 christos syscallarg(int) flags; 1175 1.65 christos }; 1176 1.65 christos check_syscall_args(linux_sys_accept4) 1177 1.65 christos 1178 1.74 thorpej struct linux_sys_eventfd2_args { 1179 1.74 thorpej syscallarg(unsigned int) initval; 1180 1.74 thorpej syscallarg(int) flags; 1181 1.74 thorpej }; 1182 1.74 thorpej check_syscall_args(linux_sys_eventfd2) 1183 1.74 thorpej 1184 1.78 christos struct linux_sys_epoll_create1_args { 1185 1.78 christos syscallarg(int) flags; 1186 1.78 christos }; 1187 1.78 christos check_syscall_args(linux_sys_epoll_create1) 1188 1.78 christos 1189 1.39 christos struct linux_sys_dup3_args { 1190 1.39 christos syscallarg(int) from; 1191 1.39 christos syscallarg(int) to; 1192 1.39 christos syscallarg(int) flags; 1193 1.39 christos }; 1194 1.39 christos check_syscall_args(linux_sys_dup3) 1195 1.39 christos 1196 1.39 christos struct linux_sys_pipe2_args { 1197 1.39 christos syscallarg(int *) pfds; 1198 1.39 christos syscallarg(int) flags; 1199 1.39 christos }; 1200 1.39 christos check_syscall_args(linux_sys_pipe2) 1201 1.39 christos 1202 1.81 christos struct linux_sys_inotify_init1_args { 1203 1.81 christos syscallarg(int) flags; 1204 1.81 christos }; 1205 1.81 christos check_syscall_args(linux_sys_inotify_init1) 1206 1.81 christos 1207 1.75 thorpej struct linux_sys_preadv_args { 1208 1.75 thorpej syscallarg(int) fd; 1209 1.75 thorpej syscallarg(const struct iovec *) iovp; 1210 1.75 thorpej syscallarg(int) iovcnt; 1211 1.75 thorpej syscallarg(unsigned long) off_lo; 1212 1.75 thorpej syscallarg(unsigned long) off_hi; 1213 1.75 thorpej }; 1214 1.75 thorpej check_syscall_args(linux_sys_preadv) 1215 1.75 thorpej 1216 1.75 thorpej struct linux_sys_pwritev_args { 1217 1.75 thorpej syscallarg(int) fd; 1218 1.75 thorpej syscallarg(const struct iovcnt *) iovp; 1219 1.75 thorpej syscallarg(int) iovcnt; 1220 1.75 thorpej syscallarg(unsigned long) off_lo; 1221 1.75 thorpej syscallarg(unsigned long) off_hi; 1222 1.75 thorpej }; 1223 1.75 thorpej check_syscall_args(linux_sys_pwritev) 1224 1.75 thorpej 1225 1.66 christos struct linux_sys_recvmmsg_args { 1226 1.66 christos syscallarg(int) s; 1227 1.66 christos syscallarg(struct linux_mmsghdr *) msgvec; 1228 1.66 christos syscallarg(unsigned int) vlen; 1229 1.66 christos syscallarg(unsigned int) flags; 1230 1.66 christos syscallarg(struct timespec *) timeout; 1231 1.66 christos }; 1232 1.66 christos check_syscall_args(linux_sys_recvmmsg) 1233 1.66 christos 1234 1.76 ryo struct linux_sys_prlimit64_args { 1235 1.76 ryo syscallarg(pid_t) pid; 1236 1.76 ryo syscallarg(int) which; 1237 1.76 ryo syscallarg(struct rlimit *) new_rlp; 1238 1.76 ryo syscallarg(struct rlimit *) old_rlp; 1239 1.76 ryo }; 1240 1.76 ryo check_syscall_args(linux_sys_prlimit64) 1241 1.76 ryo 1242 1.84 christos struct linux_sys_syncfs_args { 1243 1.84 christos syscallarg(int) fd; 1244 1.84 christos }; 1245 1.84 christos check_syscall_args(linux_sys_syncfs) 1246 1.84 christos 1247 1.66 christos struct linux_sys_sendmmsg_args { 1248 1.66 christos syscallarg(int) s; 1249 1.66 christos syscallarg(struct linux_mmsghdr *) msgvec; 1250 1.66 christos syscallarg(unsigned int) vlen; 1251 1.66 christos syscallarg(unsigned int) flags; 1252 1.66 christos }; 1253 1.66 christos check_syscall_args(linux_sys_sendmmsg) 1254 1.66 christos 1255 1.82 christos struct linux_sys_getcpu_args { 1256 1.82 christos syscallarg(unsigned int *) cpu; 1257 1.82 christos syscallarg(unsigned int *) node; 1258 1.82 christos syscallarg(struct linux_getcpu_cache *) tcache; 1259 1.82 christos }; 1260 1.82 christos check_syscall_args(linux_sys_getcpu) 1261 1.82 christos 1262 1.84 christos struct linux_sys_renameat2_args { 1263 1.84 christos syscallarg(int) fromfd; 1264 1.84 christos syscallarg(const char *) from; 1265 1.84 christos syscallarg(int) tofd; 1266 1.84 christos syscallarg(const char *) to; 1267 1.84 christos syscallarg(unsigned int) flags; 1268 1.84 christos }; 1269 1.84 christos check_syscall_args(linux_sys_renameat2) 1270 1.84 christos 1271 1.77 christos struct sys_getrandom_args; 1272 1.77 christos 1273 1.77 christos struct linux_sys_memfd_create_args { 1274 1.77 christos syscallarg(const char *) name; 1275 1.77 christos syscallarg(unsigned int) flags; 1276 1.77 christos }; 1277 1.77 christos check_syscall_args(linux_sys_memfd_create) 1278 1.77 christos 1279 1.84 christos struct linux_sys_copy_file_range_args { 1280 1.84 christos syscallarg(int) fd_in; 1281 1.84 christos syscallarg(off_t *) off_in; 1282 1.84 christos syscallarg(int) fd_out; 1283 1.84 christos syscallarg(off_t *) off_out; 1284 1.84 christos syscallarg(size_t) len; 1285 1.84 christos syscallarg(unsigned int) flags; 1286 1.84 christos }; 1287 1.84 christos check_syscall_args(linux_sys_copy_file_range) 1288 1.84 christos 1289 1.79 christos struct linux_sys_statx_args { 1290 1.79 christos syscallarg(int) fd; 1291 1.79 christos syscallarg(const char *) path; 1292 1.79 christos syscallarg(int) flag; 1293 1.79 christos syscallarg(unsigned int) mask; 1294 1.79 christos syscallarg(struct linux_statx *) sp; 1295 1.79 christos }; 1296 1.79 christos check_syscall_args(linux_sys_statx) 1297 1.79 christos 1298 1.84 christos struct linux_sys_clone3_args { 1299 1.84 christos syscallarg(struct linux_user_clone3_args *) cl_args; 1300 1.84 christos syscallarg(size_t) size; 1301 1.84 christos }; 1302 1.84 christos check_syscall_args(linux_sys_clone3) 1303 1.84 christos 1304 1.79 christos struct linux_sys_close_range_args { 1305 1.79 christos syscallarg(unsigned int) first; 1306 1.79 christos syscallarg(unsigned int) last; 1307 1.79 christos syscallarg(unsigned int) flags; 1308 1.79 christos }; 1309 1.79 christos check_syscall_args(linux_sys_close_range) 1310 1.79 christos 1311 1.82 christos struct linux_sys_faccessat2_args { 1312 1.82 christos syscallarg(int) fd; 1313 1.82 christos syscallarg(const char *) path; 1314 1.82 christos syscallarg(int) amode; 1315 1.82 christos syscallarg(int) flags; 1316 1.82 christos }; 1317 1.82 christos check_syscall_args(linux_sys_faccessat2) 1318 1.82 christos 1319 1.78 christos struct linux_sys_epoll_pwait2_args { 1320 1.78 christos syscallarg(int) epfd; 1321 1.78 christos syscallarg(struct linux_epoll_event *) events; 1322 1.78 christos syscallarg(int) maxevents; 1323 1.78 christos syscallarg(const struct linux_timespec *) timeout; 1324 1.78 christos syscallarg(const linux_sigset_t *) sigmask; 1325 1.78 christos }; 1326 1.78 christos check_syscall_args(linux_sys_epoll_pwait2) 1327 1.78 christos 1328 1.1 manu /* 1329 1.1 manu * System call prototypes. 1330 1.1 manu */ 1331 1.1 manu 1332 1.20 dsl int sys_read(struct lwp *, const struct sys_read_args *, register_t *); 1333 1.1 manu 1334 1.20 dsl int sys_write(struct lwp *, const struct sys_write_args *, register_t *); 1335 1.1 manu 1336 1.20 dsl int linux_sys_open(struct lwp *, const struct linux_sys_open_args *, register_t *); 1337 1.1 manu 1338 1.20 dsl int sys_close(struct lwp *, const struct sys_close_args *, register_t *); 1339 1.1 manu 1340 1.20 dsl int linux_sys_stat64(struct lwp *, const struct linux_sys_stat64_args *, register_t *); 1341 1.1 manu 1342 1.20 dsl int linux_sys_fstat64(struct lwp *, const struct linux_sys_fstat64_args *, register_t *); 1343 1.1 manu 1344 1.20 dsl int linux_sys_lstat64(struct lwp *, const struct linux_sys_lstat64_args *, register_t *); 1345 1.1 manu 1346 1.20 dsl int sys_poll(struct lwp *, const struct sys_poll_args *, register_t *); 1347 1.1 manu 1348 1.20 dsl int compat_43_sys_lseek(struct lwp *, const struct compat_43_sys_lseek_args *, register_t *); 1349 1.1 manu 1350 1.20 dsl int linux_sys_mmap(struct lwp *, const struct linux_sys_mmap_args *, register_t *); 1351 1.1 manu 1352 1.20 dsl int linux_sys_mprotect(struct lwp *, const struct linux_sys_mprotect_args *, register_t *); 1353 1.1 manu 1354 1.20 dsl int sys_munmap(struct lwp *, const struct sys_munmap_args *, register_t *); 1355 1.1 manu 1356 1.20 dsl int linux_sys_brk(struct lwp *, const struct linux_sys_brk_args *, register_t *); 1357 1.1 manu 1358 1.20 dsl int linux_sys_rt_sigaction(struct lwp *, const struct linux_sys_rt_sigaction_args *, register_t *); 1359 1.1 manu 1360 1.20 dsl int linux_sys_rt_sigprocmask(struct lwp *, const struct linux_sys_rt_sigprocmask_args *, register_t *); 1361 1.1 manu 1362 1.20 dsl int linux_sys_rt_sigreturn(struct lwp *, const void *, register_t *); 1363 1.1 manu 1364 1.20 dsl int linux_sys_ioctl(struct lwp *, const struct linux_sys_ioctl_args *, register_t *); 1365 1.1 manu 1366 1.20 dsl int linux_sys_pread(struct lwp *, const struct linux_sys_pread_args *, register_t *); 1367 1.1 manu 1368 1.20 dsl int linux_sys_pwrite(struct lwp *, const struct linux_sys_pwrite_args *, register_t *); 1369 1.1 manu 1370 1.20 dsl int sys_readv(struct lwp *, const struct sys_readv_args *, register_t *); 1371 1.1 manu 1372 1.20 dsl int sys_writev(struct lwp *, const struct sys_writev_args *, register_t *); 1373 1.1 manu 1374 1.20 dsl int sys_access(struct lwp *, const struct sys_access_args *, register_t *); 1375 1.1 manu 1376 1.20 dsl int linux_sys_pipe(struct lwp *, const struct linux_sys_pipe_args *, register_t *); 1377 1.1 manu 1378 1.20 dsl int linux_sys_select(struct lwp *, const struct linux_sys_select_args *, register_t *); 1379 1.1 manu 1380 1.20 dsl int linux_sys_sched_yield(struct lwp *, const void *, register_t *); 1381 1.1 manu 1382 1.20 dsl int linux_sys_mremap(struct lwp *, const struct linux_sys_mremap_args *, register_t *); 1383 1.1 manu 1384 1.23 njoly int sys___msync13(struct lwp *, const struct sys___msync13_args *, register_t *); 1385 1.1 manu 1386 1.20 dsl int sys_mincore(struct lwp *, const struct sys_mincore_args *, register_t *); 1387 1.1 manu 1388 1.20 dsl int sys_madvise(struct lwp *, const struct sys_madvise_args *, register_t *); 1389 1.1 manu 1390 1.10 manu #ifdef SYSVSHM 1391 1.20 dsl int linux_sys_shmget(struct lwp *, const struct linux_sys_shmget_args *, register_t *); 1392 1.10 manu 1393 1.20 dsl int sys_shmat(struct lwp *, const struct sys_shmat_args *, register_t *); 1394 1.10 manu 1395 1.20 dsl int linux_sys_shmctl(struct lwp *, const struct linux_sys_shmctl_args *, register_t *); 1396 1.10 manu 1397 1.10 manu #else 1398 1.10 manu #endif 1399 1.20 dsl int sys_dup(struct lwp *, const struct sys_dup_args *, register_t *); 1400 1.1 manu 1401 1.20 dsl int sys_dup2(struct lwp *, const struct sys_dup2_args *, register_t *); 1402 1.1 manu 1403 1.20 dsl int linux_sys_pause(struct lwp *, const void *, register_t *); 1404 1.1 manu 1405 1.25 njoly int linux_sys_nanosleep(struct lwp *, const struct linux_sys_nanosleep_args *, register_t *); 1406 1.1 manu 1407 1.28 christos int compat_50_sys_getitimer(struct lwp *, const struct compat_50_sys_getitimer_args *, register_t *); 1408 1.1 manu 1409 1.20 dsl int linux_sys_alarm(struct lwp *, const struct linux_sys_alarm_args *, register_t *); 1410 1.1 manu 1411 1.28 christos int compat_50_sys_setitimer(struct lwp *, const struct compat_50_sys_setitimer_args *, register_t *); 1412 1.1 manu 1413 1.38 chs int sys_getpid(struct lwp *, const void *, register_t *); 1414 1.1 manu 1415 1.20 dsl int linux_sys_socket(struct lwp *, const struct linux_sys_socket_args *, register_t *); 1416 1.1 manu 1417 1.20 dsl int linux_sys_connect(struct lwp *, const struct linux_sys_connect_args *, register_t *); 1418 1.1 manu 1419 1.20 dsl int linux_sys_accept(struct lwp *, const struct linux_sys_accept_args *, register_t *); 1420 1.1 manu 1421 1.20 dsl int linux_sys_sendto(struct lwp *, const struct linux_sys_sendto_args *, register_t *); 1422 1.1 manu 1423 1.20 dsl int linux_sys_recvfrom(struct lwp *, const struct linux_sys_recvfrom_args *, register_t *); 1424 1.1 manu 1425 1.20 dsl int linux_sys_sendmsg(struct lwp *, const struct linux_sys_sendmsg_args *, register_t *); 1426 1.1 manu 1427 1.20 dsl int linux_sys_recvmsg(struct lwp *, const struct linux_sys_recvmsg_args *, register_t *); 1428 1.1 manu 1429 1.20 dsl int sys_shutdown(struct lwp *, const struct sys_shutdown_args *, register_t *); 1430 1.1 manu 1431 1.20 dsl int linux_sys_bind(struct lwp *, const struct linux_sys_bind_args *, register_t *); 1432 1.1 manu 1433 1.20 dsl int sys_listen(struct lwp *, const struct sys_listen_args *, register_t *); 1434 1.1 manu 1435 1.20 dsl int linux_sys_getsockname(struct lwp *, const struct linux_sys_getsockname_args *, register_t *); 1436 1.1 manu 1437 1.20 dsl int linux_sys_getpeername(struct lwp *, const struct linux_sys_getpeername_args *, register_t *); 1438 1.1 manu 1439 1.20 dsl int linux_sys_socketpair(struct lwp *, const struct linux_sys_socketpair_args *, register_t *); 1440 1.1 manu 1441 1.20 dsl int linux_sys_setsockopt(struct lwp *, const struct linux_sys_setsockopt_args *, register_t *); 1442 1.1 manu 1443 1.20 dsl int linux_sys_getsockopt(struct lwp *, const struct linux_sys_getsockopt_args *, register_t *); 1444 1.1 manu 1445 1.20 dsl int linux_sys_clone(struct lwp *, const struct linux_sys_clone_args *, register_t *); 1446 1.1 manu 1447 1.20 dsl int sys_fork(struct lwp *, const void *, register_t *); 1448 1.1 manu 1449 1.20 dsl int sys___vfork14(struct lwp *, const void *, register_t *); 1450 1.1 manu 1451 1.20 dsl int sys_execve(struct lwp *, const struct sys_execve_args *, register_t *); 1452 1.1 manu 1453 1.38 chs int linux_sys_exit(struct lwp *, const struct linux_sys_exit_args *, register_t *); 1454 1.1 manu 1455 1.20 dsl int linux_sys_wait4(struct lwp *, const struct linux_sys_wait4_args *, register_t *); 1456 1.1 manu 1457 1.20 dsl int linux_sys_kill(struct lwp *, const struct linux_sys_kill_args *, register_t *); 1458 1.1 manu 1459 1.20 dsl int linux_sys_uname(struct lwp *, const struct linux_sys_uname_args *, register_t *); 1460 1.1 manu 1461 1.10 manu #ifdef SYSVSEM 1462 1.20 dsl int sys_semget(struct lwp *, const struct sys_semget_args *, register_t *); 1463 1.10 manu 1464 1.20 dsl int sys_semop(struct lwp *, const struct sys_semop_args *, register_t *); 1465 1.10 manu 1466 1.20 dsl int linux_sys_semctl(struct lwp *, const struct linux_sys_semctl_args *, register_t *); 1467 1.10 manu 1468 1.10 manu #else 1469 1.10 manu #endif 1470 1.10 manu #ifdef SYSVSHM 1471 1.20 dsl int sys_shmdt(struct lwp *, const struct sys_shmdt_args *, register_t *); 1472 1.10 manu 1473 1.10 manu #else 1474 1.10 manu #endif 1475 1.10 manu #ifdef SYSVMSG 1476 1.20 dsl int sys_msgget(struct lwp *, const struct sys_msgget_args *, register_t *); 1477 1.10 manu 1478 1.20 dsl int sys_msgsnd(struct lwp *, const struct sys_msgsnd_args *, register_t *); 1479 1.10 manu 1480 1.20 dsl int sys_msgrcv(struct lwp *, const struct sys_msgrcv_args *, register_t *); 1481 1.10 manu 1482 1.20 dsl int linux_sys_msgctl(struct lwp *, const struct linux_sys_msgctl_args *, register_t *); 1483 1.10 manu 1484 1.10 manu #else 1485 1.10 manu #endif 1486 1.20 dsl int linux_sys_fcntl(struct lwp *, const struct linux_sys_fcntl_args *, register_t *); 1487 1.1 manu 1488 1.20 dsl int sys_flock(struct lwp *, const struct sys_flock_args *, register_t *); 1489 1.1 manu 1490 1.20 dsl int sys_fsync(struct lwp *, const struct sys_fsync_args *, register_t *); 1491 1.1 manu 1492 1.20 dsl int linux_sys_fdatasync(struct lwp *, const struct linux_sys_fdatasync_args *, register_t *); 1493 1.1 manu 1494 1.20 dsl int linux_sys_truncate64(struct lwp *, const struct linux_sys_truncate64_args *, register_t *); 1495 1.1 manu 1496 1.20 dsl int linux_sys_ftruncate64(struct lwp *, const struct linux_sys_ftruncate64_args *, register_t *); 1497 1.1 manu 1498 1.20 dsl int linux_sys_getdents(struct lwp *, const struct linux_sys_getdents_args *, register_t *); 1499 1.1 manu 1500 1.20 dsl int sys___getcwd(struct lwp *, const struct sys___getcwd_args *, register_t *); 1501 1.1 manu 1502 1.20 dsl int sys_chdir(struct lwp *, const struct sys_chdir_args *, register_t *); 1503 1.1 manu 1504 1.20 dsl int sys_fchdir(struct lwp *, const struct sys_fchdir_args *, register_t *); 1505 1.1 manu 1506 1.20 dsl int sys___posix_rename(struct lwp *, const struct sys___posix_rename_args *, register_t *); 1507 1.1 manu 1508 1.20 dsl int sys_mkdir(struct lwp *, const struct sys_mkdir_args *, register_t *); 1509 1.1 manu 1510 1.20 dsl int sys_rmdir(struct lwp *, const struct sys_rmdir_args *, register_t *); 1511 1.1 manu 1512 1.20 dsl int linux_sys_creat(struct lwp *, const struct linux_sys_creat_args *, register_t *); 1513 1.1 manu 1514 1.20 dsl int sys_link(struct lwp *, const struct sys_link_args *, register_t *); 1515 1.1 manu 1516 1.20 dsl int linux_sys_unlink(struct lwp *, const struct linux_sys_unlink_args *, register_t *); 1517 1.1 manu 1518 1.20 dsl int sys_symlink(struct lwp *, const struct sys_symlink_args *, register_t *); 1519 1.1 manu 1520 1.20 dsl int sys_readlink(struct lwp *, const struct sys_readlink_args *, register_t *); 1521 1.1 manu 1522 1.20 dsl int sys_chmod(struct lwp *, const struct sys_chmod_args *, register_t *); 1523 1.1 manu 1524 1.20 dsl int sys_fchmod(struct lwp *, const struct sys_fchmod_args *, register_t *); 1525 1.1 manu 1526 1.20 dsl int sys___posix_chown(struct lwp *, const struct sys___posix_chown_args *, register_t *); 1527 1.1 manu 1528 1.20 dsl int sys___posix_fchown(struct lwp *, const struct sys___posix_fchown_args *, register_t *); 1529 1.1 manu 1530 1.20 dsl int sys___posix_lchown(struct lwp *, const struct sys___posix_lchown_args *, register_t *); 1531 1.1 manu 1532 1.20 dsl int sys_umask(struct lwp *, const struct sys_umask_args *, register_t *); 1533 1.1 manu 1534 1.20 dsl int linux_sys_gettimeofday(struct lwp *, const struct linux_sys_gettimeofday_args *, register_t *); 1535 1.1 manu 1536 1.20 dsl int linux_sys_getrlimit(struct lwp *, const struct linux_sys_getrlimit_args *, register_t *); 1537 1.1 manu 1538 1.28 christos int compat_50_sys_getrusage(struct lwp *, const struct compat_50_sys_getrusage_args *, register_t *); 1539 1.1 manu 1540 1.20 dsl int linux_sys_sysinfo(struct lwp *, const struct linux_sys_sysinfo_args *, register_t *); 1541 1.1 manu 1542 1.20 dsl int linux_sys_times(struct lwp *, const struct linux_sys_times_args *, register_t *); 1543 1.1 manu 1544 1.20 dsl int linux_sys_ptrace(struct lwp *, const struct linux_sys_ptrace_args *, register_t *); 1545 1.1 manu 1546 1.20 dsl int sys_getuid(struct lwp *, const void *, register_t *); 1547 1.1 manu 1548 1.20 dsl int sys_getgid(struct lwp *, const void *, register_t *); 1549 1.1 manu 1550 1.20 dsl int sys_setuid(struct lwp *, const struct sys_setuid_args *, register_t *); 1551 1.1 manu 1552 1.20 dsl int sys_setgid(struct lwp *, const struct sys_setgid_args *, register_t *); 1553 1.1 manu 1554 1.20 dsl int sys_geteuid(struct lwp *, const void *, register_t *); 1555 1.1 manu 1556 1.20 dsl int sys_getegid(struct lwp *, const void *, register_t *); 1557 1.1 manu 1558 1.20 dsl int sys_setpgid(struct lwp *, const struct sys_setpgid_args *, register_t *); 1559 1.1 manu 1560 1.38 chs int sys_getppid(struct lwp *, const void *, register_t *); 1561 1.1 manu 1562 1.20 dsl int sys_getpgrp(struct lwp *, const void *, register_t *); 1563 1.1 manu 1564 1.20 dsl int sys_setsid(struct lwp *, const void *, register_t *); 1565 1.1 manu 1566 1.20 dsl int sys_setreuid(struct lwp *, const struct sys_setreuid_args *, register_t *); 1567 1.1 manu 1568 1.20 dsl int sys_setregid(struct lwp *, const struct sys_setregid_args *, register_t *); 1569 1.1 manu 1570 1.20 dsl int sys_getgroups(struct lwp *, const struct sys_getgroups_args *, register_t *); 1571 1.1 manu 1572 1.20 dsl int sys_setgroups(struct lwp *, const struct sys_setgroups_args *, register_t *); 1573 1.1 manu 1574 1.20 dsl int linux_sys_setresuid(struct lwp *, const struct linux_sys_setresuid_args *, register_t *); 1575 1.1 manu 1576 1.20 dsl int linux_sys_getresuid(struct lwp *, const struct linux_sys_getresuid_args *, register_t *); 1577 1.1 manu 1578 1.20 dsl int linux_sys_setresgid(struct lwp *, const struct linux_sys_setresgid_args *, register_t *); 1579 1.1 manu 1580 1.20 dsl int linux_sys_getresgid(struct lwp *, const struct linux_sys_getresgid_args *, register_t *); 1581 1.1 manu 1582 1.22 njoly int sys_getpgid(struct lwp *, const struct sys_getpgid_args *, register_t *); 1583 1.1 manu 1584 1.20 dsl int linux_sys_setfsuid(struct lwp *, const struct linux_sys_setfsuid_args *, register_t *); 1585 1.1 manu 1586 1.21 njoly int linux_sys_setfsgid(struct lwp *, const struct linux_sys_setfsgid_args *, register_t *); 1587 1.1 manu 1588 1.20 dsl int sys_getsid(struct lwp *, const struct sys_getsid_args *, register_t *); 1589 1.1 manu 1590 1.20 dsl int linux_sys_rt_sigpending(struct lwp *, const struct linux_sys_rt_sigpending_args *, register_t *); 1591 1.1 manu 1592 1.42 christos int linux_sys_rt_sigtimedwait(struct lwp *, const struct linux_sys_rt_sigtimedwait_args *, register_t *); 1593 1.42 christos 1594 1.20 dsl int linux_sys_rt_queueinfo(struct lwp *, const struct linux_sys_rt_queueinfo_args *, register_t *); 1595 1.1 manu 1596 1.20 dsl int linux_sys_rt_sigsuspend(struct lwp *, const struct linux_sys_rt_sigsuspend_args *, register_t *); 1597 1.1 manu 1598 1.20 dsl int linux_sys_sigaltstack(struct lwp *, const struct linux_sys_sigaltstack_args *, register_t *); 1599 1.1 manu 1600 1.20 dsl int linux_sys_utime(struct lwp *, const struct linux_sys_utime_args *, register_t *); 1601 1.1 manu 1602 1.20 dsl int linux_sys_mknod(struct lwp *, const struct linux_sys_mknod_args *, register_t *); 1603 1.1 manu 1604 1.6 joerg #ifdef EXEC_AOUT 1605 1.20 dsl int linux_sys_uselib(struct lwp *, const struct linux_sys_uselib_args *, register_t *); 1606 1.1 manu 1607 1.6 joerg #else 1608 1.6 joerg #endif 1609 1.20 dsl int linux_sys_personality(struct lwp *, const struct linux_sys_personality_args *, register_t *); 1610 1.1 manu 1611 1.20 dsl int linux_sys_statfs(struct lwp *, const struct linux_sys_statfs_args *, register_t *); 1612 1.1 manu 1613 1.20 dsl int linux_sys_fstatfs(struct lwp *, const struct linux_sys_fstatfs_args *, register_t *); 1614 1.1 manu 1615 1.20 dsl int linux_sys_getpriority(struct lwp *, const struct linux_sys_getpriority_args *, register_t *); 1616 1.1 manu 1617 1.20 dsl int sys_setpriority(struct lwp *, const struct sys_setpriority_args *, register_t *); 1618 1.1 manu 1619 1.20 dsl int linux_sys_sched_setparam(struct lwp *, const struct linux_sys_sched_setparam_args *, register_t *); 1620 1.1 manu 1621 1.20 dsl int linux_sys_sched_getparam(struct lwp *, const struct linux_sys_sched_getparam_args *, register_t *); 1622 1.1 manu 1623 1.20 dsl int linux_sys_sched_setscheduler(struct lwp *, const struct linux_sys_sched_setscheduler_args *, register_t *); 1624 1.1 manu 1625 1.20 dsl int linux_sys_sched_getscheduler(struct lwp *, const struct linux_sys_sched_getscheduler_args *, register_t *); 1626 1.1 manu 1627 1.20 dsl int linux_sys_sched_get_priority_max(struct lwp *, const struct linux_sys_sched_get_priority_max_args *, register_t *); 1628 1.1 manu 1629 1.20 dsl int linux_sys_sched_get_priority_min(struct lwp *, const struct linux_sys_sched_get_priority_min_args *, register_t *); 1630 1.1 manu 1631 1.20 dsl int sys_mlock(struct lwp *, const struct sys_mlock_args *, register_t *); 1632 1.1 manu 1633 1.20 dsl int sys_munlock(struct lwp *, const struct sys_munlock_args *, register_t *); 1634 1.1 manu 1635 1.20 dsl int sys_mlockall(struct lwp *, const struct sys_mlockall_args *, register_t *); 1636 1.1 manu 1637 1.20 dsl int sys_munlockall(struct lwp *, const void *, register_t *); 1638 1.1 manu 1639 1.20 dsl int linux_sys_modify_ldt(struct lwp *, const struct linux_sys_modify_ldt_args *, register_t *); 1640 1.1 manu 1641 1.20 dsl int linux_sys___sysctl(struct lwp *, const struct linux_sys___sysctl_args *, register_t *); 1642 1.1 manu 1643 1.20 dsl int linux_sys_arch_prctl(struct lwp *, const struct linux_sys_arch_prctl_args *, register_t *); 1644 1.1 manu 1645 1.20 dsl int linux_sys_setrlimit(struct lwp *, const struct linux_sys_setrlimit_args *, register_t *); 1646 1.1 manu 1647 1.20 dsl int sys_chroot(struct lwp *, const struct sys_chroot_args *, register_t *); 1648 1.1 manu 1649 1.20 dsl int sys_sync(struct lwp *, const void *, register_t *); 1650 1.1 manu 1651 1.20 dsl int sys_acct(struct lwp *, const struct sys_acct_args *, register_t *); 1652 1.1 manu 1653 1.20 dsl int linux_sys_settimeofday(struct lwp *, const struct linux_sys_settimeofday_args *, register_t *); 1654 1.1 manu 1655 1.20 dsl int linux_sys_swapon(struct lwp *, const struct linux_sys_swapon_args *, register_t *); 1656 1.1 manu 1657 1.20 dsl int linux_sys_swapoff(struct lwp *, const struct linux_sys_swapoff_args *, register_t *); 1658 1.1 manu 1659 1.20 dsl int linux_sys_reboot(struct lwp *, const struct linux_sys_reboot_args *, register_t *); 1660 1.1 manu 1661 1.20 dsl int compat_43_sys_sethostname(struct lwp *, const struct compat_43_sys_sethostname_args *, register_t *); 1662 1.1 manu 1663 1.20 dsl int linux_sys_setdomainname(struct lwp *, const struct linux_sys_setdomainname_args *, register_t *); 1664 1.1 manu 1665 1.20 dsl int linux_sys_iopl(struct lwp *, const struct linux_sys_iopl_args *, register_t *); 1666 1.1 manu 1667 1.20 dsl int linux_sys_ioperm(struct lwp *, const struct linux_sys_ioperm_args *, register_t *); 1668 1.1 manu 1669 1.20 dsl int linux_sys_gettid(struct lwp *, const void *, register_t *); 1670 1.7 manu 1671 1.79 christos int linux_sys_readahead(struct lwp *, const struct linux_sys_readahead_args *, register_t *); 1672 1.79 christos 1673 1.20 dsl int linux_sys_setxattr(struct lwp *, const struct linux_sys_setxattr_args *, register_t *); 1674 1.2 fvdl 1675 1.20 dsl int linux_sys_lsetxattr(struct lwp *, const struct linux_sys_lsetxattr_args *, register_t *); 1676 1.2 fvdl 1677 1.20 dsl int linux_sys_fsetxattr(struct lwp *, const struct linux_sys_fsetxattr_args *, register_t *); 1678 1.2 fvdl 1679 1.20 dsl int linux_sys_getxattr(struct lwp *, const struct linux_sys_getxattr_args *, register_t *); 1680 1.2 fvdl 1681 1.20 dsl int linux_sys_lgetxattr(struct lwp *, const struct linux_sys_lgetxattr_args *, register_t *); 1682 1.2 fvdl 1683 1.20 dsl int linux_sys_fgetxattr(struct lwp *, const struct linux_sys_fgetxattr_args *, register_t *); 1684 1.2 fvdl 1685 1.20 dsl int linux_sys_listxattr(struct lwp *, const struct linux_sys_listxattr_args *, register_t *); 1686 1.2 fvdl 1687 1.20 dsl int linux_sys_llistxattr(struct lwp *, const struct linux_sys_llistxattr_args *, register_t *); 1688 1.2 fvdl 1689 1.20 dsl int linux_sys_flistxattr(struct lwp *, const struct linux_sys_flistxattr_args *, register_t *); 1690 1.2 fvdl 1691 1.20 dsl int linux_sys_removexattr(struct lwp *, const struct linux_sys_removexattr_args *, register_t *); 1692 1.2 fvdl 1693 1.20 dsl int linux_sys_lremovexattr(struct lwp *, const struct linux_sys_lremovexattr_args *, register_t *); 1694 1.2 fvdl 1695 1.20 dsl int linux_sys_fremovexattr(struct lwp *, const struct linux_sys_fremovexattr_args *, register_t *); 1696 1.2 fvdl 1697 1.20 dsl int linux_sys_tkill(struct lwp *, const struct linux_sys_tkill_args *, register_t *); 1698 1.9 manu 1699 1.20 dsl int linux_sys_time(struct lwp *, const struct linux_sys_time_args *, register_t *); 1700 1.1 manu 1701 1.20 dsl int linux_sys_futex(struct lwp *, const struct linux_sys_futex_args *, register_t *); 1702 1.7 manu 1703 1.20 dsl int linux_sys_sched_setaffinity(struct lwp *, const struct linux_sys_sched_setaffinity_args *, register_t *); 1704 1.8 manu 1705 1.20 dsl int linux_sys_sched_getaffinity(struct lwp *, const struct linux_sys_sched_getaffinity_args *, register_t *); 1706 1.8 manu 1707 1.78 christos int linux_sys_epoll_create(struct lwp *, const struct linux_sys_epoll_create_args *, register_t *); 1708 1.78 christos 1709 1.20 dsl int linux_sys_getdents64(struct lwp *, const struct linux_sys_getdents64_args *, register_t *); 1710 1.1 manu 1711 1.20 dsl int linux_sys_set_tid_address(struct lwp *, const struct linux_sys_set_tid_address_args *, register_t *); 1712 1.5 manu 1713 1.40 alnsn int linux_sys_fadvise64(struct lwp *, const struct linux_sys_fadvise64_args *, register_t *); 1714 1.40 alnsn 1715 1.72 thorpej int linux_sys_timer_create(struct lwp *, const struct linux_sys_timer_create_args *, register_t *); 1716 1.72 thorpej 1717 1.72 thorpej int linux_sys_timer_settime(struct lwp *, const struct linux_sys_timer_settime_args *, register_t *); 1718 1.72 thorpej 1719 1.72 thorpej int linux_sys_timer_gettime(struct lwp *, const struct linux_sys_timer_gettime_args *, register_t *); 1720 1.72 thorpej 1721 1.72 thorpej int sys_timer_getoverrun(struct lwp *, const struct sys_timer_getoverrun_args *, register_t *); 1722 1.72 thorpej 1723 1.72 thorpej int sys_timer_delete(struct lwp *, const struct sys_timer_delete_args *, register_t *); 1724 1.72 thorpej 1725 1.20 dsl int linux_sys_clock_settime(struct lwp *, const struct linux_sys_clock_settime_args *, register_t *); 1726 1.3 fvdl 1727 1.20 dsl int linux_sys_clock_gettime(struct lwp *, const struct linux_sys_clock_gettime_args *, register_t *); 1728 1.3 fvdl 1729 1.20 dsl int linux_sys_clock_getres(struct lwp *, const struct linux_sys_clock_getres_args *, register_t *); 1730 1.3 fvdl 1731 1.20 dsl int linux_sys_clock_nanosleep(struct lwp *, const struct linux_sys_clock_nanosleep_args *, register_t *); 1732 1.3 fvdl 1733 1.20 dsl int linux_sys_exit_group(struct lwp *, const struct linux_sys_exit_group_args *, register_t *); 1734 1.1 manu 1735 1.78 christos int linux_sys_epoll_wait(struct lwp *, const struct linux_sys_epoll_wait_args *, register_t *); 1736 1.78 christos 1737 1.78 christos int linux_sys_epoll_ctl(struct lwp *, const struct linux_sys_epoll_ctl_args *, register_t *); 1738 1.78 christos 1739 1.20 dsl int linux_sys_tgkill(struct lwp *, const struct linux_sys_tgkill_args *, register_t *); 1740 1.9 manu 1741 1.53 njoly int compat_50_sys_utimes(struct lwp *, const struct compat_50_sys_utimes_args *, register_t *); 1742 1.44 pooka 1743 1.83 christos int linux_sys_mq_open(struct lwp *, const struct linux_sys_mq_open_args *, register_t *); 1744 1.83 christos 1745 1.83 christos int linux_sys_mq_unlink(struct lwp *, const struct linux_sys_mq_unlink_args *, register_t *); 1746 1.83 christos 1747 1.83 christos int linux_sys_mq_timedsend(struct lwp *, const struct linux_sys_mq_timedsend_args *, register_t *); 1748 1.83 christos 1749 1.83 christos int linux_sys_mq_timedreceive(struct lwp *, const struct linux_sys_mq_timedreceive_args *, register_t *); 1750 1.83 christos 1751 1.83 christos int linux_sys_mq_notify(struct lwp *, const struct linux_sys_mq_notify_args *, register_t *); 1752 1.83 christos 1753 1.83 christos int linux_sys_mq_getsetattr(struct lwp *, const struct linux_sys_mq_getsetattr_args *, register_t *); 1754 1.83 christos 1755 1.80 christos int linux_sys_waitid(struct lwp *, const struct linux_sys_waitid_args *, register_t *); 1756 1.80 christos 1757 1.81 christos int linux_sys_inotify_init(struct lwp *, const void *, register_t *); 1758 1.81 christos 1759 1.81 christos int linux_sys_inotify_add_watch(struct lwp *, const struct linux_sys_inotify_add_watch_args *, register_t *); 1760 1.81 christos 1761 1.81 christos int linux_sys_inotify_rm_watch(struct lwp *, const struct linux_sys_inotify_rm_watch_args *, register_t *); 1762 1.81 christos 1763 1.47 chs int linux_sys_openat(struct lwp *, const struct linux_sys_openat_args *, register_t *); 1764 1.47 chs 1765 1.47 chs int sys_mkdirat(struct lwp *, const struct sys_mkdirat_args *, register_t *); 1766 1.47 chs 1767 1.47 chs int linux_sys_mknodat(struct lwp *, const struct linux_sys_mknodat_args *, register_t *); 1768 1.47 chs 1769 1.47 chs int linux_sys_fchownat(struct lwp *, const struct linux_sys_fchownat_args *, register_t *); 1770 1.47 chs 1771 1.47 chs int linux_sys_fstatat64(struct lwp *, const struct linux_sys_fstatat64_args *, register_t *); 1772 1.47 chs 1773 1.47 chs int linux_sys_unlinkat(struct lwp *, const struct linux_sys_unlinkat_args *, register_t *); 1774 1.47 chs 1775 1.47 chs int sys_renameat(struct lwp *, const struct sys_renameat_args *, register_t *); 1776 1.47 chs 1777 1.47 chs int linux_sys_linkat(struct lwp *, const struct linux_sys_linkat_args *, register_t *); 1778 1.47 chs 1779 1.47 chs int sys_symlinkat(struct lwp *, const struct sys_symlinkat_args *, register_t *); 1780 1.47 chs 1781 1.47 chs int sys_readlinkat(struct lwp *, const struct sys_readlinkat_args *, register_t *); 1782 1.47 chs 1783 1.47 chs int linux_sys_fchmodat(struct lwp *, const struct linux_sys_fchmodat_args *, register_t *); 1784 1.47 chs 1785 1.47 chs int linux_sys_faccessat(struct lwp *, const struct linux_sys_faccessat_args *, register_t *); 1786 1.47 chs 1787 1.61 manu int linux_sys_pselect6(struct lwp *, const struct linux_sys_pselect6_args *, register_t *); 1788 1.61 manu 1789 1.43 pooka int linux_sys_ppoll(struct lwp *, const struct linux_sys_ppoll_args *, register_t *); 1790 1.43 pooka 1791 1.71 thorpej int sys___futex_set_robust_list(struct lwp *, const struct sys___futex_set_robust_list_args *, register_t *); 1792 1.24 christos 1793 1.71 thorpej int sys___futex_get_robust_list(struct lwp *, const struct sys___futex_get_robust_list_args *, register_t *); 1794 1.24 christos 1795 1.84 christos int linux_sys_sync_file_range(struct lwp *, const struct linux_sys_sync_file_range_args *, register_t *); 1796 1.84 christos 1797 1.45 njoly int linux_sys_utimensat(struct lwp *, const struct linux_sys_utimensat_args *, register_t *); 1798 1.45 njoly 1799 1.78 christos int linux_sys_epoll_pwait(struct lwp *, const struct linux_sys_epoll_pwait_args *, register_t *); 1800 1.78 christos 1801 1.73 thorpej int linux_sys_timerfd_create(struct lwp *, const struct linux_sys_timerfd_create_args *, register_t *); 1802 1.73 thorpej 1803 1.74 thorpej int linux_sys_eventfd(struct lwp *, const struct linux_sys_eventfd_args *, register_t *); 1804 1.74 thorpej 1805 1.70 jdolecek int linux_sys_fallocate(struct lwp *, const struct linux_sys_fallocate_args *, register_t *); 1806 1.70 jdolecek 1807 1.73 thorpej int linux_sys_timerfd_settime(struct lwp *, const struct linux_sys_timerfd_settime_args *, register_t *); 1808 1.73 thorpej 1809 1.73 thorpej int linux_sys_timerfd_gettime(struct lwp *, const struct linux_sys_timerfd_gettime_args *, register_t *); 1810 1.73 thorpej 1811 1.65 christos int linux_sys_accept4(struct lwp *, const struct linux_sys_accept4_args *, register_t *); 1812 1.65 christos 1813 1.74 thorpej int linux_sys_eventfd2(struct lwp *, const struct linux_sys_eventfd2_args *, register_t *); 1814 1.74 thorpej 1815 1.78 christos int linux_sys_epoll_create1(struct lwp *, const struct linux_sys_epoll_create1_args *, register_t *); 1816 1.78 christos 1817 1.39 christos int linux_sys_dup3(struct lwp *, const struct linux_sys_dup3_args *, register_t *); 1818 1.39 christos 1819 1.39 christos int linux_sys_pipe2(struct lwp *, const struct linux_sys_pipe2_args *, register_t *); 1820 1.39 christos 1821 1.81 christos int linux_sys_inotify_init1(struct lwp *, const struct linux_sys_inotify_init1_args *, register_t *); 1822 1.81 christos 1823 1.75 thorpej int linux_sys_preadv(struct lwp *, const struct linux_sys_preadv_args *, register_t *); 1824 1.75 thorpej 1825 1.75 thorpej int linux_sys_pwritev(struct lwp *, const struct linux_sys_pwritev_args *, register_t *); 1826 1.75 thorpej 1827 1.66 christos int linux_sys_recvmmsg(struct lwp *, const struct linux_sys_recvmmsg_args *, register_t *); 1828 1.66 christos 1829 1.76 ryo int linux_sys_prlimit64(struct lwp *, const struct linux_sys_prlimit64_args *, register_t *); 1830 1.76 ryo 1831 1.84 christos int linux_sys_syncfs(struct lwp *, const struct linux_sys_syncfs_args *, register_t *); 1832 1.84 christos 1833 1.66 christos int linux_sys_sendmmsg(struct lwp *, const struct linux_sys_sendmmsg_args *, register_t *); 1834 1.66 christos 1835 1.82 christos int linux_sys_getcpu(struct lwp *, const struct linux_sys_getcpu_args *, register_t *); 1836 1.82 christos 1837 1.84 christos int linux_sys_renameat2(struct lwp *, const struct linux_sys_renameat2_args *, register_t *); 1838 1.84 christos 1839 1.77 christos int sys_getrandom(struct lwp *, const struct sys_getrandom_args *, register_t *); 1840 1.77 christos 1841 1.77 christos int linux_sys_memfd_create(struct lwp *, const struct linux_sys_memfd_create_args *, register_t *); 1842 1.77 christos 1843 1.84 christos int linux_sys_copy_file_range(struct lwp *, const struct linux_sys_copy_file_range_args *, register_t *); 1844 1.84 christos 1845 1.79 christos int linux_sys_statx(struct lwp *, const struct linux_sys_statx_args *, register_t *); 1846 1.79 christos 1847 1.84 christos int linux_sys_clone3(struct lwp *, const struct linux_sys_clone3_args *, register_t *); 1848 1.84 christos 1849 1.79 christos int linux_sys_close_range(struct lwp *, const struct linux_sys_close_range_args *, register_t *); 1850 1.79 christos 1851 1.82 christos int linux_sys_faccessat2(struct lwp *, const struct linux_sys_faccessat2_args *, register_t *); 1852 1.82 christos 1853 1.78 christos int linux_sys_epoll_pwait2(struct lwp *, const struct linux_sys_epoll_pwait2_args *, register_t *); 1854 1.78 christos 1855 1.20 dsl int linux_sys_nosys(struct lwp *, const void *, register_t *); 1856 1.1 manu 1857 1.10 manu #endif /* _LINUX_SYS_SYSCALLARGS_H_ */ 1858