1 /* $NetBSD: aoutm68k_syscallargs.h,v 1.9 2002/05/03 00:24:22 eeh Exp $ */ 2 3 /* 4 * System call argument lists. 5 * 6 * DO NOT EDIT-- this file is automatically generated. 7 * created from NetBSD: syscalls.master,v 1.7 2002/05/03 00:20:56 eeh Exp 8 */ 9 10 #ifndef _AOUTM68K_SYS__SYSCALLARGS_H_ 11 #define _AOUTM68K_SYS__SYSCALLARGS_H_ 12 13 #ifdef syscallarg 14 #undef syscallarg 15 #endif 16 17 #define syscallarg(x) \ 18 union { \ 19 register_t pad; \ 20 struct { x datum; } le; \ 21 struct { /* LINTED zero array dimension */ \ 22 int8_t pad[ /* CONSTCOND */ \ 23 (sizeof (register_t) < sizeof (x)) \ 24 ? 0 \ 25 : sizeof (register_t) - sizeof (x)]; \ 26 x datum; \ 27 } be; \ 28 } 29 30 struct aoutm68k_sys_open_args { 31 syscallarg(const char *) path; 32 syscallarg(int) flags; 33 syscallarg(mode_t) mode; 34 }; 35 36 struct aoutm68k_sys_link_args { 37 syscallarg(const char *) path; 38 syscallarg(const char *) link; 39 }; 40 41 struct aoutm68k_sys_unlink_args { 42 syscallarg(const char *) path; 43 }; 44 45 struct aoutm68k_sys_chdir_args { 46 syscallarg(const char *) path; 47 }; 48 49 struct aoutm68k_sys_chmod_args { 50 syscallarg(const char *) path; 51 syscallarg(mode_t) mode; 52 }; 53 54 struct aoutm68k_sys_chown_args { 55 syscallarg(const char *) path; 56 syscallarg(uid_t) uid; 57 syscallarg(gid_t) gid; 58 }; 59 60 struct aoutm68k_sys_access_args { 61 syscallarg(const char *) path; 62 syscallarg(int) flags; 63 }; 64 65 struct aoutm68k_sys_chflags_args { 66 syscallarg(const char *) path; 67 syscallarg(u_long) flags; 68 }; 69 70 struct aoutm68k_compat_43_sys_stat_args { 71 syscallarg(const char *) path; 72 syscallarg(struct aoutm68k_stat43 *) ub; 73 }; 74 75 struct aoutm68k_compat_43_sys_lstat_args { 76 syscallarg(const char *) path; 77 syscallarg(struct aoutm68k_stat43 *) ub; 78 }; 79 80 struct aoutm68k_sys_ioctl_args { 81 syscallarg(int) fd; 82 syscallarg(u_long) com; 83 syscallarg(void *) data; 84 }; 85 86 struct aoutm68k_sys_revoke_args { 87 syscallarg(const char *) path; 88 }; 89 90 struct aoutm68k_sys_symlink_args { 91 syscallarg(const char *) path; 92 syscallarg(const char *) link; 93 }; 94 95 struct aoutm68k_sys_readlink_args { 96 syscallarg(const char *) path; 97 syscallarg(char *) buf; 98 syscallarg(size_t) count; 99 }; 100 101 struct aoutm68k_sys_execve_args { 102 syscallarg(const char *) path; 103 syscallarg(char *const *) argp; 104 syscallarg(char *const *) envp; 105 }; 106 107 struct aoutm68k_sys_chroot_args { 108 syscallarg(const char *) path; 109 }; 110 111 struct aoutm68k_compat_43_sys_fstat_args { 112 syscallarg(int) fd; 113 syscallarg(struct aoutm68k_stat43 *) sb; 114 }; 115 116 struct aoutm68k_sys_rename_args { 117 syscallarg(const char *) from; 118 syscallarg(const char *) to; 119 }; 120 121 struct aoutm68k_compat_43_sys_truncate_args { 122 syscallarg(const char *) path; 123 syscallarg(long) length; 124 }; 125 126 struct aoutm68k_sys_rmdir_args { 127 syscallarg(const char *) path; 128 }; 129 130 struct aoutm68k_sys_utimes_args { 131 syscallarg(const char *) path; 132 syscallarg(const struct timeval *) tptr; 133 }; 134 135 struct aoutm68k_sys_statfs_args { 136 syscallarg(const char *) path; 137 syscallarg(struct statfs *) buf; 138 }; 139 140 struct aoutm68k_sys_getfh_args { 141 syscallarg(const char *) fname; 142 syscallarg(fhandle_t *) fhp; 143 }; 144 145 struct aoutm68k_compat_12_sys_stat_args { 146 syscallarg(const char *) path; 147 syscallarg(struct aoutm68k_stat12 *) ub; 148 }; 149 150 struct aoutm68k_compat_12_sys_fstat_args { 151 syscallarg(int) fd; 152 syscallarg(struct aoutm68k_stat12 *) sb; 153 }; 154 155 struct aoutm68k_compat_12_sys_lstat_args { 156 syscallarg(const char *) path; 157 syscallarg(struct aoutm68k_stat12 *) ub; 158 }; 159 160 struct aoutm68k_sys_pathconf_args { 161 syscallarg(const char *) path; 162 syscallarg(int) name; 163 }; 164 165 struct aoutm68k_sys_truncate_args { 166 syscallarg(const char *) path; 167 syscallarg(int) pad; 168 syscallarg(off_t) length; 169 }; 170 171 struct aoutm68k_sys_undelete_args { 172 syscallarg(const char *) path; 173 }; 174 175 struct aoutm68k_sys___posix_rename_args { 176 syscallarg(const char *) from; 177 syscallarg(const char *) to; 178 }; 179 180 struct aoutm68k_sys_lchmod_args { 181 syscallarg(const char *) path; 182 syscallarg(mode_t) mode; 183 }; 184 185 struct aoutm68k_sys_lchown_args { 186 syscallarg(const char *) path; 187 syscallarg(uid_t) uid; 188 syscallarg(gid_t) gid; 189 }; 190 191 struct aoutm68k_sys_lutimes_args { 192 syscallarg(const char *) path; 193 syscallarg(const struct timeval *) tptr; 194 }; 195 196 struct aoutm68k_sys___stat13_args { 197 syscallarg(const char *) path; 198 syscallarg(struct aoutm68k_stat *) ub; 199 }; 200 201 struct aoutm68k_sys___fstat13_args { 202 syscallarg(int) fd; 203 syscallarg(struct aoutm68k_stat *) sb; 204 }; 205 206 struct aoutm68k_sys___lstat13_args { 207 syscallarg(const char *) path; 208 syscallarg(struct aoutm68k_stat *) ub; 209 }; 210 211 struct aoutm68k_sys___posix_chown_args { 212 syscallarg(const char *) path; 213 syscallarg(uid_t) uid; 214 syscallarg(gid_t) gid; 215 }; 216 217 struct aoutm68k_sys_fhstat_args { 218 syscallarg(const fhandle_t *) fhp; 219 syscallarg(struct aoutm68k_stat *) sb; 220 }; 221 222 /* 223 * System call prototypes. 224 */ 225 226 int sys_exit(struct proc *, void *, register_t *); 227 int sys_fork(struct proc *, void *, register_t *); 228 int sys_read(struct proc *, void *, register_t *); 229 int sys_write(struct proc *, void *, register_t *); 230 #ifdef COMPAT_AOUT_ALTPATH 231 int aoutm68k_sys_open(struct proc *, void *, register_t *); 232 #else 233 int sys_open(struct proc *, void *, register_t *); 234 #endif 235 int sys_close(struct proc *, void *, register_t *); 236 int sys_wait4(struct proc *, void *, register_t *); 237 #ifdef COMPAT_43 238 int compat_43_sys_creat(struct proc *, void *, register_t *); 239 #else 240 #endif 241 #ifdef COMPAT_AOUT_ALTPATH 242 int aoutm68k_sys_link(struct proc *, void *, register_t *); 243 int aoutm68k_sys_unlink(struct proc *, void *, register_t *); 244 #else 245 int sys_link(struct proc *, void *, register_t *); 246 int sys_unlink(struct proc *, void *, register_t *); 247 #endif 248 #ifdef COMPAT_AOUT_ALTPATH 249 int aoutm68k_sys_chdir(struct proc *, void *, register_t *); 250 #else 251 int sys_chdir(struct proc *, void *, register_t *); 252 #endif 253 int sys_fchdir(struct proc *, void *, register_t *); 254 int sys_mknod(struct proc *, void *, register_t *); 255 #ifdef COMPAT_AOUT_ALTPATH 256 int aoutm68k_sys_chmod(struct proc *, void *, register_t *); 257 int aoutm68k_sys_chown(struct proc *, void *, register_t *); 258 #else 259 int sys_chmod(struct proc *, void *, register_t *); 260 int sys_chown(struct proc *, void *, register_t *); 261 #endif 262 int sys_obreak(struct proc *, void *, register_t *); 263 int sys_getfsstat(struct proc *, void *, register_t *); 264 #ifdef COMPAT_43 265 int compat_43_sys_lseek(struct proc *, void *, register_t *); 266 #else 267 #endif 268 int sys_getpid(struct proc *, void *, register_t *); 269 int sys_mount(struct proc *, void *, register_t *); 270 int sys_unmount(struct proc *, void *, register_t *); 271 int sys_setuid(struct proc *, void *, register_t *); 272 int sys_getuid(struct proc *, void *, register_t *); 273 int sys_geteuid(struct proc *, void *, register_t *); 274 int sys_ptrace(struct proc *, void *, register_t *); 275 int sys_recvmsg(struct proc *, void *, register_t *); 276 int sys_sendmsg(struct proc *, void *, register_t *); 277 int sys_recvfrom(struct proc *, void *, register_t *); 278 int sys_accept(struct proc *, void *, register_t *); 279 int sys_getpeername(struct proc *, void *, register_t *); 280 int sys_getsockname(struct proc *, void *, register_t *); 281 #ifdef COMPAT_AOUT_ALTPATH 282 int aoutm68k_sys_access(struct proc *, void *, register_t *); 283 int aoutm68k_sys_chflags(struct proc *, void *, register_t *); 284 #else 285 int sys_access(struct proc *, void *, register_t *); 286 int sys_chflags(struct proc *, void *, register_t *); 287 #endif 288 int sys_fchflags(struct proc *, void *, register_t *); 289 int sys_sync(struct proc *, void *, register_t *); 290 int sys_kill(struct proc *, void *, register_t *); 291 #ifdef COMPAT_43 292 int aoutm68k_compat_43_sys_stat(struct proc *, void *, register_t *); 293 #else 294 #endif 295 int sys_getppid(struct proc *, void *, register_t *); 296 #ifdef COMPAT_43 297 int aoutm68k_compat_43_sys_lstat(struct proc *, void *, register_t *); 298 #else 299 #endif 300 int sys_dup(struct proc *, void *, register_t *); 301 int sys_pipe(struct proc *, void *, register_t *); 302 int sys_getegid(struct proc *, void *, register_t *); 303 int sys_profil(struct proc *, void *, register_t *); 304 #if defined(KTRACE) || !defined(_KERNEL) 305 int sys_ktrace(struct proc *, void *, register_t *); 306 #else 307 #endif 308 #ifdef COMPAT_13 309 int compat_13_sys_sigaction(struct proc *, void *, register_t *); 310 #else 311 #endif 312 int sys_getgid(struct proc *, void *, register_t *); 313 #ifdef COMPAT_13 314 int compat_13_sys_sigprocmask(struct proc *, void *, register_t *); 315 #else 316 #endif 317 int sys___getlogin(struct proc *, void *, register_t *); 318 int sys_setlogin(struct proc *, void *, register_t *); 319 int sys_acct(struct proc *, void *, register_t *); 320 #ifdef COMPAT_13 321 int compat_13_sys_sigpending(struct proc *, void *, register_t *); 322 int compat_13_sys_sigaltstack(struct proc *, void *, register_t *); 323 #else 324 #endif 325 int aoutm68k_sys_ioctl(struct proc *, void *, register_t *); 326 #ifdef COMPAT_12 327 int compat_12_sys_reboot(struct proc *, void *, register_t *); 328 #else 329 #endif 330 #ifdef COMPAT_AOUT_ALTPATH 331 int aoutm68k_sys_revoke(struct proc *, void *, register_t *); 332 int aoutm68k_sys_symlink(struct proc *, void *, register_t *); 333 int aoutm68k_sys_readlink(struct proc *, void *, register_t *); 334 int aoutm68k_sys_execve(struct proc *, void *, register_t *); 335 #else 336 int sys_revoke(struct proc *, void *, register_t *); 337 int sys_symlink(struct proc *, void *, register_t *); 338 int sys_readlink(struct proc *, void *, register_t *); 339 int sys_execve(struct proc *, void *, register_t *); 340 #endif 341 int sys_umask(struct proc *, void *, register_t *); 342 #ifdef COMPAT_AOUT_ALTPATH 343 int aoutm68k_sys_chroot(struct proc *, void *, register_t *); 344 #else 345 int sys_chroot(struct proc *, void *, register_t *); 346 #endif 347 #ifdef COMPAT_43 348 int aoutm68k_compat_43_sys_fstat(struct proc *, void *, register_t *); 349 int compat_43_sys_getkerninfo(struct proc *, void *, register_t *); 350 int compat_43_sys_getpagesize(struct proc *, void *, register_t *); 351 #else 352 #endif 353 #ifdef COMPAT_12 354 int compat_12_sys_msync(struct proc *, void *, register_t *); 355 #else 356 #endif 357 int sys_vfork(struct proc *, void *, register_t *); 358 int sys_sbrk(struct proc *, void *, register_t *); 359 int sys_sstk(struct proc *, void *, register_t *); 360 #ifdef COMPAT_43 361 int compat_43_sys_mmap(struct proc *, void *, register_t *); 362 #else 363 #endif 364 int sys_ovadvise(struct proc *, void *, register_t *); 365 int sys_munmap(struct proc *, void *, register_t *); 366 int sys_mprotect(struct proc *, void *, register_t *); 367 int sys_madvise(struct proc *, void *, register_t *); 368 int sys_mincore(struct proc *, void *, register_t *); 369 int sys_getgroups(struct proc *, void *, register_t *); 370 int sys_setgroups(struct proc *, void *, register_t *); 371 int sys_getpgrp(struct proc *, void *, register_t *); 372 int sys_setpgid(struct proc *, void *, register_t *); 373 int sys_setitimer(struct proc *, void *, register_t *); 374 #ifdef COMPAT_43 375 int compat_43_sys_wait(struct proc *, void *, register_t *); 376 #else 377 #endif 378 #ifdef COMPAT_12 379 int compat_12_sys_swapon(struct proc *, void *, register_t *); 380 #else 381 #endif 382 int sys_getitimer(struct proc *, void *, register_t *); 383 #ifdef COMPAT_43 384 int compat_43_sys_gethostname(struct proc *, void *, register_t *); 385 int compat_43_sys_sethostname(struct proc *, void *, register_t *); 386 int compat_43_sys_getdtablesize(struct proc *, void *, register_t *); 387 #else 388 #endif 389 int sys_dup2(struct proc *, void *, register_t *); 390 int sys_fcntl(struct proc *, void *, register_t *); 391 int sys_select(struct proc *, void *, register_t *); 392 int sys_fsync(struct proc *, void *, register_t *); 393 int sys_setpriority(struct proc *, void *, register_t *); 394 int sys_socket(struct proc *, void *, register_t *); 395 int sys_connect(struct proc *, void *, register_t *); 396 #ifdef COMPAT_43 397 int compat_43_sys_accept(struct proc *, void *, register_t *); 398 #else 399 #endif 400 int sys_getpriority(struct proc *, void *, register_t *); 401 #ifdef COMPAT_43 402 int compat_43_sys_send(struct proc *, void *, register_t *); 403 int compat_43_sys_recv(struct proc *, void *, register_t *); 404 #else 405 #endif 406 #ifdef COMPAT_13 407 int compat_13_sys_sigreturn(struct proc *, void *, register_t *); 408 #else 409 #endif 410 int sys_bind(struct proc *, void *, register_t *); 411 int sys_setsockopt(struct proc *, void *, register_t *); 412 int sys_listen(struct proc *, void *, register_t *); 413 #ifdef COMPAT_43 414 int compat_43_sys_sigvec(struct proc *, void *, register_t *); 415 int compat_43_sys_sigblock(struct proc *, void *, register_t *); 416 int compat_43_sys_sigsetmask(struct proc *, void *, register_t *); 417 #else 418 #endif 419 #ifdef COMPAT_13 420 int compat_13_sys_sigsuspend(struct proc *, void *, register_t *); 421 #else 422 #endif 423 #ifdef COMPAT_43 424 int compat_43_sys_sigstack(struct proc *, void *, register_t *); 425 int compat_43_sys_recvmsg(struct proc *, void *, register_t *); 426 int compat_43_sys_sendmsg(struct proc *, void *, register_t *); 427 #else 428 #endif 429 int sys_gettimeofday(struct proc *, void *, register_t *); 430 int sys_getrusage(struct proc *, void *, register_t *); 431 int sys_getsockopt(struct proc *, void *, register_t *); 432 int sys_readv(struct proc *, void *, register_t *); 433 int sys_writev(struct proc *, void *, register_t *); 434 int sys_settimeofday(struct proc *, void *, register_t *); 435 int sys_fchown(struct proc *, void *, register_t *); 436 int sys_fchmod(struct proc *, void *, register_t *); 437 #ifdef COMPAT_43 438 int compat_43_sys_recvfrom(struct proc *, void *, register_t *); 439 #else 440 #endif 441 int sys_setreuid(struct proc *, void *, register_t *); 442 int sys_setregid(struct proc *, void *, register_t *); 443 #ifdef COMPAT_AOUT_ALTPATH 444 int aoutm68k_sys_rename(struct proc *, void *, register_t *); 445 #else 446 int sys_rename(struct proc *, void *, register_t *); 447 #endif 448 #ifdef COMPAT_43 449 #ifdef COMPAT_AOUT_ALTPATH 450 int aoutm68k_compat_43_sys_truncate(struct proc *, void *, register_t *); 451 #else 452 int compat_43_sys_truncate(struct proc *, void *, register_t *); 453 #endif 454 int compat_43_sys_ftruncate(struct proc *, void *, register_t *); 455 #else 456 #ifdef COMPAT_AOUT_ALTPATH 457 #else 458 #endif 459 #endif 460 int sys_flock(struct proc *, void *, register_t *); 461 int sys_mkfifo(struct proc *, void *, register_t *); 462 int sys_sendto(struct proc *, void *, register_t *); 463 int sys_shutdown(struct proc *, void *, register_t *); 464 int sys_socketpair(struct proc *, void *, register_t *); 465 int sys_mkdir(struct proc *, void *, register_t *); 466 #ifdef COMPAT_AOUT_ALTPATH 467 int aoutm68k_sys_rmdir(struct proc *, void *, register_t *); 468 int aoutm68k_sys_utimes(struct proc *, void *, register_t *); 469 #else 470 int sys_rmdir(struct proc *, void *, register_t *); 471 int sys_utimes(struct proc *, void *, register_t *); 472 #endif 473 int sys_adjtime(struct proc *, void *, register_t *); 474 #ifdef COMPAT_43 475 int compat_43_sys_getpeername(struct proc *, void *, register_t *); 476 int compat_43_sys_gethostid(struct proc *, void *, register_t *); 477 int compat_43_sys_sethostid(struct proc *, void *, register_t *); 478 int compat_43_sys_getrlimit(struct proc *, void *, register_t *); 479 int compat_43_sys_setrlimit(struct proc *, void *, register_t *); 480 int compat_43_sys_killpg(struct proc *, void *, register_t *); 481 #else 482 #endif 483 int sys_setsid(struct proc *, void *, register_t *); 484 int sys_quotactl(struct proc *, void *, register_t *); 485 #ifdef COMPAT_43 486 int compat_43_sys_quota(struct proc *, void *, register_t *); 487 int compat_43_sys_getsockname(struct proc *, void *, register_t *); 488 #else 489 #endif 490 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 491 int sys_nfssvc(struct proc *, void *, register_t *); 492 #else 493 #endif 494 #ifdef COMPAT_43 495 int compat_43_sys_getdirentries(struct proc *, void *, register_t *); 496 #else 497 #endif 498 #ifdef COMPAT_AOUT_ALTPATH 499 int aoutm68k_sys_statfs(struct proc *, void *, register_t *); 500 #else 501 int sys_statfs(struct proc *, void *, register_t *); 502 #endif 503 int sys_fstatfs(struct proc *, void *, register_t *); 504 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 505 #ifdef COMPAT_AOUT_ALTPATH 506 int aoutm68k_sys_getfh(struct proc *, void *, register_t *); 507 #else 508 int sys_getfh(struct proc *, void *, register_t *); 509 #endif 510 #else 511 #endif 512 #ifdef COMPAT_09 513 int compat_09_sys_getdomainname(struct proc *, void *, register_t *); 514 int compat_09_sys_setdomainname(struct proc *, void *, register_t *); 515 int compat_09_sys_uname(struct proc *, void *, register_t *); 516 #else 517 #endif 518 int sys_sysarch(struct proc *, void *, register_t *); 519 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10) 520 int compat_10_sys_semsys(struct proc *, void *, register_t *); 521 #else 522 #endif 523 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10) 524 int compat_10_sys_msgsys(struct proc *, void *, register_t *); 525 #else 526 #endif 527 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(_LP64) && defined(COMPAT_10) 528 int compat_10_sys_shmsys(struct proc *, void *, register_t *); 529 #else 530 #endif 531 int sys_pread(struct proc *, void *, register_t *); 532 int sys_pwrite(struct proc *, void *, register_t *); 533 int sys_ntp_gettime(struct proc *, void *, register_t *); 534 #if defined(NTP) || !defined(_KERNEL) 535 int sys_ntp_adjtime(struct proc *, void *, register_t *); 536 #else 537 #endif 538 int sys_setgid(struct proc *, void *, register_t *); 539 int sys_setegid(struct proc *, void *, register_t *); 540 int sys_seteuid(struct proc *, void *, register_t *); 541 #if defined(LFS) || !defined(_KERNEL) 542 int sys_lfs_bmapv(struct proc *, void *, register_t *); 543 int sys_lfs_markv(struct proc *, void *, register_t *); 544 int sys_lfs_segclean(struct proc *, void *, register_t *); 545 int sys_lfs_segwait(struct proc *, void *, register_t *); 546 #else 547 #endif 548 #ifdef COMPAT_12 549 int aoutm68k_compat_12_sys_stat(struct proc *, void *, register_t *); 550 int aoutm68k_compat_12_sys_fstat(struct proc *, void *, register_t *); 551 int aoutm68k_compat_12_sys_lstat(struct proc *, void *, register_t *); 552 #else 553 #endif 554 #ifdef COMPAT_AOUT_ALTPATH 555 int aoutm68k_sys_pathconf(struct proc *, void *, register_t *); 556 #else 557 int sys_pathconf(struct proc *, void *, register_t *); 558 #endif 559 int sys_fpathconf(struct proc *, void *, register_t *); 560 int sys_getrlimit(struct proc *, void *, register_t *); 561 int sys_setrlimit(struct proc *, void *, register_t *); 562 #ifdef COMPAT_12 563 int compat_12_sys_getdirentries(struct proc *, void *, register_t *); 564 #else 565 #endif 566 int sys_mmap(struct proc *, void *, register_t *); 567 int sys_lseek(struct proc *, void *, register_t *); 568 #ifdef COMPAT_AOUT_ALTPATH 569 int aoutm68k_sys_truncate(struct proc *, void *, register_t *); 570 #else 571 int sys_truncate(struct proc *, void *, register_t *); 572 #endif 573 int sys_ftruncate(struct proc *, void *, register_t *); 574 int sys___sysctl(struct proc *, void *, register_t *); 575 int sys_mlock(struct proc *, void *, register_t *); 576 int sys_munlock(struct proc *, void *, register_t *); 577 #ifdef COMPAT_AOUT_ALTPATH 578 int aoutm68k_sys_undelete(struct proc *, void *, register_t *); 579 #else 580 int sys_undelete(struct proc *, void *, register_t *); 581 #endif 582 int sys_futimes(struct proc *, void *, register_t *); 583 int sys_getpgid(struct proc *, void *, register_t *); 584 int sys_reboot(struct proc *, void *, register_t *); 585 int sys_poll(struct proc *, void *, register_t *); 586 #if defined(LKM) || !defined(_KERNEL) 587 int sys_lkmnosys(struct proc *, void *, register_t *); 588 int sys_lkmnosys(struct proc *, void *, register_t *); 589 int sys_lkmnosys(struct proc *, void *, register_t *); 590 int sys_lkmnosys(struct proc *, void *, register_t *); 591 int sys_lkmnosys(struct proc *, void *, register_t *); 592 int sys_lkmnosys(struct proc *, void *, register_t *); 593 int sys_lkmnosys(struct proc *, void *, register_t *); 594 int sys_lkmnosys(struct proc *, void *, register_t *); 595 int sys_lkmnosys(struct proc *, void *, register_t *); 596 int sys_lkmnosys(struct proc *, void *, register_t *); 597 #else /* !LKM */ 598 #endif /* !LKM */ 599 #if defined(SYSVSEM) || !defined(_KERNEL) 600 #ifdef COMPAT_14 601 int compat_14_sys___semctl(struct proc *, void *, register_t *); 602 #else 603 #endif 604 int sys_semget(struct proc *, void *, register_t *); 605 int sys_semop(struct proc *, void *, register_t *); 606 int sys_semconfig(struct proc *, void *, register_t *); 607 #else 608 #endif 609 #if defined(SYSVMSG) || !defined(_KERNEL) 610 #ifdef COMPAT_14 611 int compat_14_sys_msgctl(struct proc *, void *, register_t *); 612 #else 613 #endif 614 int sys_msgget(struct proc *, void *, register_t *); 615 int sys_msgsnd(struct proc *, void *, register_t *); 616 int sys_msgrcv(struct proc *, void *, register_t *); 617 #else 618 #endif 619 #if defined(SYSVSHM) || !defined(_KERNEL) 620 int sys_shmat(struct proc *, void *, register_t *); 621 #ifdef COMPAT_14 622 int compat_14_sys_shmctl(struct proc *, void *, register_t *); 623 #else 624 #endif 625 int sys_shmdt(struct proc *, void *, register_t *); 626 int sys_shmget(struct proc *, void *, register_t *); 627 #else 628 #endif 629 int sys_clock_gettime(struct proc *, void *, register_t *); 630 int sys_clock_settime(struct proc *, void *, register_t *); 631 int sys_clock_getres(struct proc *, void *, register_t *); 632 int sys_nanosleep(struct proc *, void *, register_t *); 633 int sys_fdatasync(struct proc *, void *, register_t *); 634 int sys_mlockall(struct proc *, void *, register_t *); 635 int sys_munlockall(struct proc *, void *, register_t *); 636 #ifdef COMPAT_AOUT_ALTPATH 637 int aoutm68k_sys___posix_rename(struct proc *, void *, register_t *); 638 #else 639 int sys___posix_rename(struct proc *, void *, register_t *); 640 #endif 641 int sys_swapctl(struct proc *, void *, register_t *); 642 int sys_getdents(struct proc *, void *, register_t *); 643 int sys_minherit(struct proc *, void *, register_t *); 644 #ifdef COMPAT_AOUT_ALTPATH 645 int aoutm68k_sys_lchmod(struct proc *, void *, register_t *); 646 int aoutm68k_sys_lchown(struct proc *, void *, register_t *); 647 int aoutm68k_sys_lutimes(struct proc *, void *, register_t *); 648 #else 649 int sys_lchmod(struct proc *, void *, register_t *); 650 int sys_lchown(struct proc *, void *, register_t *); 651 int sys_lutimes(struct proc *, void *, register_t *); 652 #endif 653 int sys___msync13(struct proc *, void *, register_t *); 654 int aoutm68k_sys___stat13(struct proc *, void *, register_t *); 655 int aoutm68k_sys___fstat13(struct proc *, void *, register_t *); 656 int aoutm68k_sys___lstat13(struct proc *, void *, register_t *); 657 int sys___sigaltstack14(struct proc *, void *, register_t *); 658 int sys___vfork14(struct proc *, void *, register_t *); 659 #ifdef COMPAT_AOUT_ALTPATH 660 int aoutm68k_sys___posix_chown(struct proc *, void *, register_t *); 661 #else 662 int sys___posix_chown(struct proc *, void *, register_t *); 663 #endif 664 int sys___posix_fchown(struct proc *, void *, register_t *); 665 int sys___posix_lchown(struct proc *, void *, register_t *); 666 int sys_getsid(struct proc *, void *, register_t *); 667 #if defined(KTRACE) || !defined(_KERNEL) 668 int sys_fktrace(struct proc *, void *, register_t *); 669 #else 670 #endif 671 int sys_preadv(struct proc *, void *, register_t *); 672 int sys_pwritev(struct proc *, void *, register_t *); 673 int sys___sigaction14(struct proc *, void *, register_t *); 674 int sys___sigpending14(struct proc *, void *, register_t *); 675 int sys___sigprocmask14(struct proc *, void *, register_t *); 676 int sys___sigsuspend14(struct proc *, void *, register_t *); 677 int sys___sigreturn14(struct proc *, void *, register_t *); 678 int sys___getcwd(struct proc *, void *, register_t *); 679 int sys_fchroot(struct proc *, void *, register_t *); 680 int sys_fhopen(struct proc *, void *, register_t *); 681 int aoutm68k_sys_fhstat(struct proc *, void *, register_t *); 682 int sys_fhstatfs(struct proc *, void *, register_t *); 683 #if defined(SYSVSEM) || !defined(_KERNEL) 684 int sys_____semctl13(struct proc *, void *, register_t *); 685 #else 686 #endif 687 #if defined(SYSVMSG) || !defined(_KERNEL) 688 int sys___msgctl13(struct proc *, void *, register_t *); 689 #else 690 #endif 691 #if defined(SYSVSHM) || !defined(_KERNEL) 692 int sys___shmctl13(struct proc *, void *, register_t *); 693 #else 694 #endif 695 int sys_lchflags(struct proc *, void *, register_t *); 696 int sys_issetugid(struct proc *, void *, register_t *); 697 #endif /* _AOUTM68K_SYS__SYSCALLARGS_H_ */ 698