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