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