diff --git a/libc-test/semver/netbsd.txt b/libc-test/semver/netbsd.txt index 67a5faa0733b9..3f652dbeaf441 100644 --- a/libc-test/semver/netbsd.txt +++ b/libc-test/semver/netbsd.txt @@ -927,6 +927,456 @@ SYSCTL_VERS_MASK S_IEXEC S_IREAD S_IWRITE +SYS_MAXSYSARGS +SYS_syscall +SYS_exit +SYS_fork +SYS_read +SYS_write +SYS_open +SYS_close +SYS_compat_50_wait4 +SYS_compat_43_ocreat +SYS_link +SYS_unlink +SYS_chdir +SYS_fchdir +SYS_compat_50_mknod +SYS_chmod +SYS_chown +SYS_break +SYS_compat_20_getfsstat +SYS_compat_43_olseek +SYS_getpid +SYS_compat_40_mount +SYS_unmount +SYS_setuid +SYS_getuid +SYS_geteuid +SYS_ptrace +SYS_recvmsg +SYS_sendmsg +SYS_recvfrom +SYS_accept +SYS_getpeername +SYS_getsockname +SYS_access +SYS_chflags +SYS_fchflags +SYS_sync +SYS_kill +SYS_compat_43_stat43 +SYS_getppid +SYS_compat_43_lstat43 +SYS_dup +SYS_pipe +SYS_getegid +SYS_profil +SYS_ktrace +SYS_compat_13_sigaction13 +SYS_getgid +SYS_compat_13_sigprocmask13 +SYS___getlogin +SYS___setlogin +SYS_acct +SYS_compat_13_sigpending13 +SYS_compat_13_sigaltstack13 +SYS_ioctl +SYS_compat_12_oreboot +SYS_revoke +SYS_symlink +SYS_readlink +SYS_execve +SYS_umask +SYS_chroot +SYS_compat_43_fstat43 +SYS_compat_43_ogetkerninfo +SYS_compat_43_ogetpagesize +SYS_compat_12_msync +SYS_vfork +SYS_compat_43_ommap +SYS_vadvise +SYS_munmap +SYS_mprotect +SYS_madvise +SYS_mincore +SYS_getgroups +SYS_setgroups +SYS_getpgrp +SYS_setpgid +SYS_compat_50_setitimer +SYS_compat_43_owait +SYS_compat_12_oswapon +SYS_compat_50_getitimer +SYS_compat_43_ogethostname +SYS_compat_43_osethostname +SYS_compat_43_ogetdtablesize +SYS_dup2 +SYS_getrandom +SYS_fcntl +SYS_compat_50_select +SYS_fsync +SYS_setpriority +SYS_compat_30_socket +SYS_connect +SYS_compat_43_oaccept +SYS_getpriority +SYS_compat_43_osend +SYS_compat_43_orecv +SYS_compat_13_sigreturn13 +SYS_bind +SYS_setsockopt +SYS_listen +SYS_compat_43_osigvec +SYS_compat_43_osigblock +SYS_compat_43_osigsetmask +SYS_compat_13_sigsuspend13 +SYS_compat_43_osigstack +SYS_compat_43_orecvmsg +SYS_compat_43_osendmsg +SYS_compat_50_gettimeofday +SYS_compat_50_getrusage +SYS_getsockopt +SYS_readv +SYS_writev +SYS_compat_50_settimeofday +SYS_fchown +SYS_fchmod +SYS_compat_43_orecvfrom +SYS_setreuid +SYS_setregid +SYS_rename +SYS_compat_43_otruncate +SYS_compat_43_oftruncate +SYS_flock +SYS_mkfifo +SYS_sendto +SYS_shutdown +SYS_socketpair +SYS_mkdir +SYS_rmdir +SYS_compat_50_utimes +SYS_compat_50_adjtime +SYS_compat_43_ogetpeername +SYS_compat_43_ogethostid +SYS_compat_43_osethostid +SYS_compat_43_ogetrlimit +SYS_compat_43_osetrlimit +SYS_compat_43_okillpg +SYS_setsid +SYS_compat_50_quotactl +SYS_compat_43_oquota +SYS_compat_43_ogetsockname +SYS_nfssvc +SYS_compat_43_ogetdirentries +SYS_compat_20_statfs +SYS_compat_20_fstatfs +SYS_compat_30_getfh +SYS_compat_09_ogetdomainname +SYS_compat_09_osetdomainname +SYS_compat_09_ouname +SYS_sysarch +SYS___futex +SYS___futex_set_robust_list +SYS___futex_get_robust_list +SYS_pread +SYS_pwrite +SYS_compat_30_ntp_gettime +SYS_timerfd_create +SYS_timerfd_settime +SYS_timerfd_gettime +SYS_setgid +SYS_setegid +SYS_seteuid +SYS_lfs_bmapv +SYS_lfs_markv +SYS_lfs_segclean +SYS_compat_50_lfs_segwait +SYS_compat_12_stat12 +SYS_compat_12_fstat12 +SYS_compat_12_lstat12 +SYS_pathconf +SYS_fpathconf +SYS_getsockopt2 +SYS_getrlimit +SYS_setrlimit +SYS_compat_12_getdirentries +SYS_mmap +SYS___syscall +SYS_lseek +SYS_truncate +SYS_ftruncate +SYS___sysctl +SYS_mlock +SYS_munlock +SYS_undelete +SYS_compat_50_futimes +SYS_getpgid +SYS_reboot +SYS_poll +SYS_afssys +SYS_compat_14___semctl +SYS_semget +SYS_semop +SYS_semconfig +SYS_compat_14_msgctl +SYS_msgget +SYS_msgsnd +SYS_msgrcv +SYS_shmat +SYS_compat_14_shmctl +SYS_shmdt +SYS_shmget +SYS_compat_50_clock_gettime +SYS_compat_50_clock_settime +SYS_compat_50_clock_getres +SYS_timer_create +SYS_timer_delete +SYS_compat_50_timer_settime +SYS_compat_50_timer_gettime +SYS_timer_getoverrun +SYS_compat_50_nanosleep +SYS_fdatasync +SYS_mlockall +SYS_munlockall +SYS_compat_50___sigtimedwait +SYS_sigqueueinfo +SYS_modctl +SYS__ksem_init +SYS__ksem_open +SYS__ksem_unlink +SYS__ksem_close +SYS__ksem_post +SYS__ksem_wait +SYS__ksem_trywait +SYS__ksem_getvalue +SYS__ksem_destroy +SYS__ksem_timedwait +SYS_mq_open +SYS_mq_close +SYS_mq_unlink +SYS_mq_getattr +SYS_mq_setattr +SYS_mq_notify +SYS_mq_send +SYS_mq_receive +SYS_compat_50_mq_timedsend +SYS_compat_50_mq_timedreceive +SYS_eventfd +SYS___posix_rename +SYS_swapctl +SYS_compat_30_getdents +SYS_minherit +SYS_lchmod +SYS_lchown +SYS_compat_50_lutimes +SYS___msync13 +SYS_compat_30___stat13 +SYS_compat_30___fstat13 +SYS_compat_30___lstat13 +SYS___sigaltstack14 +SYS___vfork14 +SYS___posix_chown +SYS___posix_fchown +SYS___posix_lchown +SYS_getsid +SYS___clone +SYS_fktrace +SYS_preadv +SYS_pwritev +SYS_compat_16___sigaction14 +SYS___sigpending14 +SYS___sigprocmask14 +SYS___sigsuspend14 +SYS_compat_16___sigreturn14 +SYS___getcwd +SYS_fchroot +SYS_compat_30_fhopen +SYS_compat_30_fhstat +SYS_compat_20_fhstatfs +SYS_compat_50_____semctl13 +SYS_compat_50___msgctl13 +SYS_compat_50___shmctl13 +SYS_lchflags +SYS_issetugid +SYS_utrace +SYS_getcontext +SYS_setcontext +SYS__lwp_create +SYS__lwp_exit +SYS__lwp_self +SYS__lwp_wait +SYS__lwp_suspend +SYS__lwp_continue +SYS__lwp_wakeup +SYS__lwp_getprivate +SYS__lwp_setprivate +SYS__lwp_kill +SYS__lwp_detach +SYS_compat_50__lwp_park +SYS__lwp_unpark +SYS__lwp_unpark_all +SYS__lwp_setname +SYS__lwp_getname +SYS__lwp_ctl +SYS_compat_60_sa_register +SYS_compat_60_sa_stacks +SYS_compat_60_sa_enable +SYS_compat_60_sa_setconcurrency +SYS_compat_60_sa_yield +SYS_compat_60_sa_preempt +SYS___sigaction_sigtramp +SYS_rasctl +SYS_kqueue +SYS_compat_50_kevent +SYS__sched_setparam +SYS__sched_getparam +SYS__sched_setaffinity +SYS__sched_getaffinity +SYS_sched_yield +SYS__sched_protect +SYS_fsync_range +SYS_uuidgen +SYS_compat_90_getvfsstat +SYS_compat_90_statvfs1 +SYS_compat_90_fstatvfs1 +SYS_compat_30_fhstatvfs1 +SYS_extattrctl +SYS_extattr_set_file +SYS_extattr_get_file +SYS_extattr_delete_file +SYS_extattr_set_fd +SYS_extattr_get_fd +SYS_extattr_delete_fd +SYS_extattr_set_link +SYS_extattr_get_link +SYS_extattr_delete_link +SYS_extattr_list_fd +SYS_extattr_list_file +SYS_extattr_list_link +SYS_compat_50_pselect +SYS_compat_50_pollts +SYS_setxattr +SYS_lsetxattr +SYS_fsetxattr +SYS_getxattr +SYS_lgetxattr +SYS_fgetxattr +SYS_listxattr +SYS_llistxattr +SYS_flistxattr +SYS_removexattr +SYS_lremovexattr +SYS_fremovexattr +SYS_compat_50___stat30 +SYS_compat_50___fstat30 +SYS_compat_50___lstat30 +SYS___getdents30 +SYS_compat_30___fhstat30 +SYS_compat_50___ntp_gettime30 +SYS___socket30 +SYS___getfh30 +SYS___fhopen40 +SYS_compat_90_fhstatvfs1 +SYS_compat_50___fhstat40 +SYS_aio_cancel +SYS_aio_error +SYS_aio_fsync +SYS_aio_read +SYS_aio_return +SYS_compat_50_aio_suspend +SYS_aio_write +SYS_lio_listio +SYS___mount50 +SYS_mremap +SYS_pset_create +SYS_pset_destroy +SYS_pset_assign +SYS__pset_bind +SYS___posix_fadvise50 +SYS___select50 +SYS___gettimeofday50 +SYS___settimeofday50 +SYS___utimes50 +SYS___adjtime50 +SYS___lfs_segwait50 +SYS___futimes50 +SYS___lutimes50 +SYS___setitimer50 +SYS___getitimer50 +SYS___clock_gettime50 +SYS___clock_settime50 +SYS___clock_getres50 +SYS___nanosleep50 +SYS_____sigtimedwait50 +SYS___mq_timedsend50 +SYS___mq_timedreceive50 +SYS_compat_60__lwp_park +SYS___kevent50 +SYS___pselect50 +SYS___pollts50 +SYS___aio_suspend50 +SYS___stat50 +SYS___fstat50 +SYS___lstat50 +SYS_____semctl50 +SYS___shmctl50 +SYS___msgctl50 +SYS___getrusage50 +SYS___timer_settime50 +SYS___timer_gettime50 +SYS___wait450 +SYS___mknod50 +SYS___fhstat50 +SYS_pipe2 +SYS_dup3 +SYS_kqueue1 +SYS_paccept +SYS_linkat +SYS_renameat +SYS_mkfifoat +SYS_mknodat +SYS_mkdirat +SYS_faccessat +SYS_fchmodat +SYS_fchownat +SYS_fexecve +SYS_fstatat +SYS_utimensat +SYS_openat +SYS_readlinkat +SYS_symlinkat +SYS_unlinkat +SYS_futimens +SYS___quotactl +SYS_posix_spawn +SYS_recvmmsg +SYS_sendmmsg +SYS_clock_nanosleep +SYS____lwp_park60 +SYS_posix_fallocate +SYS_fdiscard +SYS_wait6 +SYS_clock_getcpuclockid2 +SYS___getvfsstat90 +SYS___statvfs190 +SYS___fstatvfs190 +SYS___fhstatvfs190 +SYS___acl_get_link +SYS___acl_set_link +SYS___acl_delete_link +SYS___acl_aclcheck_link +SYS___acl_get_file +SYS___acl_set_file +SYS___acl_get_fd +SYS___acl_set_fd +SYS___acl_delete_file +SYS___acl_delete_fd +SYS___acl_aclcheck_file +SYS___acl_aclcheck_fd +SYS_lpathconf +SYS_MAXSYSCALL +SYS_NSYSENT TCP_CONGCTL TCP_INFO TCP_KEEPCNT diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index 84f17f1f1308f..421521b142fa3 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -2098,6 +2098,458 @@ pub const KVME_FLAG_GROWS_DOWN: ::c_int = 0x000000020; pub const NGROUPS_MAX: ::c_int = 16; +// syscall.h +pub const SYS_MAXSYSARGS: ::c_int = 8; +pub const SYS_syscall: ::c_int = 0; +pub const SYS_exit: ::c_int = 1; +pub const SYS_fork: ::c_int = 2; +pub const SYS_read: ::c_int = 3; +pub const SYS_write: ::c_int = 4; +pub const SYS_open: ::c_int = 5; +pub const SYS_close: ::c_int = 6; +pub const SYS_compat_50_wait4: ::c_int = 7; +pub const SYS_compat_43_ocreat: ::c_int = 8; +pub const SYS_link: ::c_int = 9; +pub const SYS_unlink: ::c_int = 10; +pub const SYS_chdir: ::c_int = 12; +pub const SYS_fchdir: ::c_int = 13; +pub const SYS_compat_50_mknod: ::c_int = 14; +pub const SYS_chmod: ::c_int = 15; +pub const SYS_chown: ::c_int = 16; +pub const SYS_break: ::c_int = 17; +pub const SYS_compat_20_getfsstat: ::c_int = 18; +pub const SYS_compat_43_olseek: ::c_int = 19; +pub const SYS_getpid: ::c_int = 20; +pub const SYS_compat_40_mount: ::c_int = 21; +pub const SYS_unmount: ::c_int = 22; +pub const SYS_setuid: ::c_int = 23; +pub const SYS_getuid: ::c_int = 24; +pub const SYS_geteuid: ::c_int = 25; +pub const SYS_ptrace: ::c_int = 26; +pub const SYS_recvmsg: ::c_int = 27; +pub const SYS_sendmsg: ::c_int = 28; +pub const SYS_recvfrom: ::c_int = 29; +pub const SYS_accept: ::c_int = 30; +pub const SYS_getpeername: ::c_int = 31; +pub const SYS_getsockname: ::c_int = 32; +pub const SYS_access: ::c_int = 33; +pub const SYS_chflags: ::c_int = 34; +pub const SYS_fchflags: ::c_int = 35; +pub const SYS_sync: ::c_int = 36; +pub const SYS_kill: ::c_int = 37; +pub const SYS_compat_43_stat43: ::c_int = 38; +pub const SYS_getppid: ::c_int = 39; +pub const SYS_compat_43_lstat43: ::c_int = 40; +pub const SYS_dup: ::c_int = 41; +pub const SYS_pipe: ::c_int = 42; +pub const SYS_getegid: ::c_int = 43; +pub const SYS_profil: ::c_int = 44; +pub const SYS_ktrace: ::c_int = 45; +pub const SYS_compat_13_sigaction13: ::c_int = 46; +pub const SYS_getgid: ::c_int = 47; +pub const SYS_compat_13_sigprocmask13: ::c_int = 48; +pub const SYS___getlogin: ::c_int = 49; +pub const SYS___setlogin: ::c_int = 50; +pub const SYS_acct: ::c_int = 51; +pub const SYS_compat_13_sigpending13: ::c_int = 52; +pub const SYS_compat_13_sigaltstack13: ::c_int = 53; +pub const SYS_ioctl: ::c_int = 54; +pub const SYS_compat_12_oreboot: ::c_int = 55; +pub const SYS_revoke: ::c_int = 56; +pub const SYS_symlink: ::c_int = 57; +pub const SYS_readlink: ::c_int = 58; +pub const SYS_execve: ::c_int = 59; +pub const SYS_umask: ::c_int = 60; +pub const SYS_chroot: ::c_int = 61; +pub const SYS_compat_43_fstat43: ::c_int = 62; +pub const SYS_compat_43_ogetkerninfo: ::c_int = 63; +pub const SYS_compat_43_ogetpagesize: ::c_int = 64; +pub const SYS_compat_12_msync: ::c_int = 65; +pub const SYS_vfork: ::c_int = 66; +pub const SYS_compat_43_ommap: ::c_int = 71; +pub const SYS_vadvise: ::c_int = 72; +pub const SYS_munmap: ::c_int = 73; +pub const SYS_mprotect: ::c_int = 74; +pub const SYS_madvise: ::c_int = 75; +pub const SYS_mincore: ::c_int = 78; +pub const SYS_getgroups: ::c_int = 79; +pub const SYS_setgroups: ::c_int = 80; +pub const SYS_getpgrp: ::c_int = 81; +pub const SYS_setpgid: ::c_int = 82; +pub const SYS_compat_50_setitimer: ::c_int = 83; +pub const SYS_compat_43_owait: ::c_int = 84; +pub const SYS_compat_12_oswapon: ::c_int = 85; +pub const SYS_compat_50_getitimer: ::c_int = 86; +pub const SYS_compat_43_ogethostname: ::c_int = 87; +pub const SYS_compat_43_osethostname: ::c_int = 88; +pub const SYS_compat_43_ogetdtablesize: ::c_int = 89; +pub const SYS_dup2: ::c_int = 90; +pub const SYS_getrandom: ::c_int = 91; +pub const SYS_fcntl: ::c_int = 92; +pub const SYS_compat_50_select: ::c_int = 93; +pub const SYS_fsync: ::c_int = 95; +pub const SYS_setpriority: ::c_int = 96; +pub const SYS_compat_30_socket: ::c_int = 97; +pub const SYS_connect: ::c_int = 98; +pub const SYS_compat_43_oaccept: ::c_int = 99; +pub const SYS_getpriority: ::c_int = 100; +pub const SYS_compat_43_osend: ::c_int = 101; +pub const SYS_compat_43_orecv: ::c_int = 102; +pub const SYS_compat_13_sigreturn13: ::c_int = 103; +pub const SYS_bind: ::c_int = 104; +pub const SYS_setsockopt: ::c_int = 105; +pub const SYS_listen: ::c_int = 106; +pub const SYS_compat_43_osigvec: ::c_int = 108; +pub const SYS_compat_43_osigblock: ::c_int = 109; +pub const SYS_compat_43_osigsetmask: ::c_int = 110; +pub const SYS_compat_13_sigsuspend13: ::c_int = 111; +pub const SYS_compat_43_osigstack: ::c_int = 112; +pub const SYS_compat_43_orecvmsg: ::c_int = 113; +pub const SYS_compat_43_osendmsg: ::c_int = 114; +pub const SYS_compat_50_gettimeofday: ::c_int = 116; +pub const SYS_compat_50_getrusage: ::c_int = 117; +pub const SYS_getsockopt: ::c_int = 118; +pub const SYS_readv: ::c_int = 120; +pub const SYS_writev: ::c_int = 121; +pub const SYS_compat_50_settimeofday: ::c_int = 122; +pub const SYS_fchown: ::c_int = 123; +pub const SYS_fchmod: ::c_int = 124; +pub const SYS_compat_43_orecvfrom: ::c_int = 125; +pub const SYS_setreuid: ::c_int = 126; +pub const SYS_setregid: ::c_int = 127; +pub const SYS_rename: ::c_int = 128; +pub const SYS_compat_43_otruncate: ::c_int = 129; +pub const SYS_compat_43_oftruncate: ::c_int = 130; +pub const SYS_flock: ::c_int = 131; +pub const SYS_mkfifo: ::c_int = 132; +pub const SYS_sendto: ::c_int = 133; +pub const SYS_shutdown: ::c_int = 134; +pub const SYS_socketpair: ::c_int = 135; +pub const SYS_mkdir: ::c_int = 136; +pub const SYS_rmdir: ::c_int = 137; +pub const SYS_compat_50_utimes: ::c_int = 138; +pub const SYS_compat_50_adjtime: ::c_int = 140; +pub const SYS_compat_43_ogetpeername: ::c_int = 141; +pub const SYS_compat_43_ogethostid: ::c_int = 142; +pub const SYS_compat_43_osethostid: ::c_int = 143; +pub const SYS_compat_43_ogetrlimit: ::c_int = 144; +pub const SYS_compat_43_osetrlimit: ::c_int = 145; +pub const SYS_compat_43_okillpg: ::c_int = 146; +pub const SYS_setsid: ::c_int = 147; +pub const SYS_compat_50_quotactl: ::c_int = 148; +pub const SYS_compat_43_oquota: ::c_int = 149; +pub const SYS_compat_43_ogetsockname: ::c_int = 150; +pub const SYS_nfssvc: ::c_int = 155; +pub const SYS_compat_43_ogetdirentries: ::c_int = 156; +pub const SYS_compat_20_statfs: ::c_int = 157; +pub const SYS_compat_20_fstatfs: ::c_int = 158; +pub const SYS_compat_30_getfh: ::c_int = 161; +pub const SYS_compat_09_ogetdomainname: ::c_int = 162; +pub const SYS_compat_09_osetdomainname: ::c_int = 163; +pub const SYS_compat_09_ouname: ::c_int = 164; +pub const SYS_sysarch: ::c_int = 165; +pub const SYS___futex: ::c_int = 166; +pub const SYS___futex_set_robust_list: ::c_int = 167; +pub const SYS___futex_get_robust_list: ::c_int = 168; +pub const SYS_pread: ::c_int = 173; +pub const SYS_pwrite: ::c_int = 174; +pub const SYS_compat_30_ntp_gettime: ::c_int = 175; +pub const SYS_timerfd_create: ::c_int = 177; +pub const SYS_timerfd_settime: ::c_int = 178; +pub const SYS_timerfd_gettime: ::c_int = 179; +pub const SYS_setgid: ::c_int = 181; +pub const SYS_setegid: ::c_int = 182; +pub const SYS_seteuid: ::c_int = 183; +pub const SYS_lfs_bmapv: ::c_int = 184; +pub const SYS_lfs_markv: ::c_int = 185; +pub const SYS_lfs_segclean: ::c_int = 186; +pub const SYS_compat_50_lfs_segwait: ::c_int = 187; +pub const SYS_compat_12_stat12: ::c_int = 188; +pub const SYS_compat_12_fstat12: ::c_int = 189; +pub const SYS_compat_12_lstat12: ::c_int = 190; +pub const SYS_pathconf: ::c_int = 191; +pub const SYS_fpathconf: ::c_int = 192; +pub const SYS_getsockopt2: ::c_int = 193; +pub const SYS_getrlimit: ::c_int = 194; +pub const SYS_setrlimit: ::c_int = 195; +pub const SYS_compat_12_getdirentries: ::c_int = 196; +pub const SYS_mmap: ::c_int = 197; +pub const SYS___syscall: ::c_int = 198; +pub const SYS_lseek: ::c_int = 199; +pub const SYS_truncate: ::c_int = 200; +pub const SYS_ftruncate: ::c_int = 201; +pub const SYS___sysctl: ::c_int = 202; +pub const SYS_mlock: ::c_int = 203; +pub const SYS_munlock: ::c_int = 204; +pub const SYS_undelete: ::c_int = 205; +pub const SYS_compat_50_futimes: ::c_int = 206; +pub const SYS_getpgid: ::c_int = 207; +pub const SYS_reboot: ::c_int = 208; +pub const SYS_poll: ::c_int = 209; +pub const SYS_afssys: ::c_int = 210; +pub const SYS_compat_14___semctl: ::c_int = 220; +pub const SYS_semget: ::c_int = 221; +pub const SYS_semop: ::c_int = 222; +pub const SYS_semconfig: ::c_int = 223; +pub const SYS_compat_14_msgctl: ::c_int = 224; +pub const SYS_msgget: ::c_int = 225; +pub const SYS_msgsnd: ::c_int = 226; +pub const SYS_msgrcv: ::c_int = 227; +pub const SYS_shmat: ::c_int = 228; +pub const SYS_compat_14_shmctl: ::c_int = 229; +pub const SYS_shmdt: ::c_int = 230; +pub const SYS_shmget: ::c_int = 231; +pub const SYS_compat_50_clock_gettime: ::c_int = 232; +pub const SYS_compat_50_clock_settime: ::c_int = 233; +pub const SYS_compat_50_clock_getres: ::c_int = 234; +pub const SYS_timer_create: ::c_int = 235; +pub const SYS_timer_delete: ::c_int = 236; +pub const SYS_compat_50_timer_settime: ::c_int = 237; +pub const SYS_compat_50_timer_gettime: ::c_int = 238; +pub const SYS_timer_getoverrun: ::c_int = 239; +pub const SYS_compat_50_nanosleep: ::c_int = 240; +pub const SYS_fdatasync: ::c_int = 241; +pub const SYS_mlockall: ::c_int = 242; +pub const SYS_munlockall: ::c_int = 243; +pub const SYS_compat_50___sigtimedwait: ::c_int = 244; +pub const SYS_sigqueueinfo: ::c_int = 245; +pub const SYS_modctl: ::c_int = 246; +pub const SYS__ksem_init: ::c_int = 247; +pub const SYS__ksem_open: ::c_int = 248; +pub const SYS__ksem_unlink: ::c_int = 249; +pub const SYS__ksem_close: ::c_int = 250; +pub const SYS__ksem_post: ::c_int = 251; +pub const SYS__ksem_wait: ::c_int = 252; +pub const SYS__ksem_trywait: ::c_int = 253; +pub const SYS__ksem_getvalue: ::c_int = 254; +pub const SYS__ksem_destroy: ::c_int = 255; +pub const SYS__ksem_timedwait: ::c_int = 256; +pub const SYS_mq_open: ::c_int = 257; +pub const SYS_mq_close: ::c_int = 258; +pub const SYS_mq_unlink: ::c_int = 259; +pub const SYS_mq_getattr: ::c_int = 260; +pub const SYS_mq_setattr: ::c_int = 261; +pub const SYS_mq_notify: ::c_int = 262; +pub const SYS_mq_send: ::c_int = 263; +pub const SYS_mq_receive: ::c_int = 264; +pub const SYS_compat_50_mq_timedsend: ::c_int = 265; +pub const SYS_compat_50_mq_timedreceive: ::c_int = 266; +pub const SYS_eventfd: ::c_int = 267; +pub const SYS___posix_rename: ::c_int = 270; +pub const SYS_swapctl: ::c_int = 271; +pub const SYS_compat_30_getdents: ::c_int = 272; +pub const SYS_minherit: ::c_int = 273; +pub const SYS_lchmod: ::c_int = 274; +pub const SYS_lchown: ::c_int = 275; +pub const SYS_compat_50_lutimes: ::c_int = 276; +pub const SYS___msync13: ::c_int = 277; +pub const SYS_compat_30___stat13: ::c_int = 278; +pub const SYS_compat_30___fstat13: ::c_int = 279; +pub const SYS_compat_30___lstat13: ::c_int = 280; +pub const SYS___sigaltstack14: ::c_int = 281; +pub const SYS___vfork14: ::c_int = 282; +pub const SYS___posix_chown: ::c_int = 283; +pub const SYS___posix_fchown: ::c_int = 284; +pub const SYS___posix_lchown: ::c_int = 285; +pub const SYS_getsid: ::c_int = 286; +pub const SYS___clone: ::c_int = 287; +pub const SYS_fktrace: ::c_int = 288; +pub const SYS_preadv: ::c_int = 289; +pub const SYS_pwritev: ::c_int = 290; +pub const SYS_compat_16___sigaction14: ::c_int = 291; +pub const SYS___sigpending14: ::c_int = 292; +pub const SYS___sigprocmask14: ::c_int = 293; +pub const SYS___sigsuspend14: ::c_int = 294; +pub const SYS_compat_16___sigreturn14: ::c_int = 295; +pub const SYS___getcwd: ::c_int = 296; +pub const SYS_fchroot: ::c_int = 297; +pub const SYS_compat_30_fhopen: ::c_int = 298; +pub const SYS_compat_30_fhstat: ::c_int = 299; +pub const SYS_compat_20_fhstatfs: ::c_int = 300; +pub const SYS_compat_50_____semctl13: ::c_int = 301; +pub const SYS_compat_50___msgctl13: ::c_int = 302; +pub const SYS_compat_50___shmctl13: ::c_int = 303; +pub const SYS_lchflags: ::c_int = 304; +pub const SYS_issetugid: ::c_int = 305; +pub const SYS_utrace: ::c_int = 306; +pub const SYS_getcontext: ::c_int = 307; +pub const SYS_setcontext: ::c_int = 308; +pub const SYS__lwp_create: ::c_int = 309; +pub const SYS__lwp_exit: ::c_int = 310; +pub const SYS__lwp_self: ::c_int = 311; +pub const SYS__lwp_wait: ::c_int = 312; +pub const SYS__lwp_suspend: ::c_int = 313; +pub const SYS__lwp_continue: ::c_int = 314; +pub const SYS__lwp_wakeup: ::c_int = 315; +pub const SYS__lwp_getprivate: ::c_int = 316; +pub const SYS__lwp_setprivate: ::c_int = 317; +pub const SYS__lwp_kill: ::c_int = 318; +pub const SYS__lwp_detach: ::c_int = 319; +pub const SYS_compat_50__lwp_park: ::c_int = 320; +pub const SYS__lwp_unpark: ::c_int = 321; +pub const SYS__lwp_unpark_all: ::c_int = 322; +pub const SYS__lwp_setname: ::c_int = 323; +pub const SYS__lwp_getname: ::c_int = 324; +pub const SYS__lwp_ctl: ::c_int = 325; +pub const SYS_compat_60_sa_register: ::c_int = 330; +pub const SYS_compat_60_sa_stacks: ::c_int = 331; +pub const SYS_compat_60_sa_enable: ::c_int = 332; +pub const SYS_compat_60_sa_setconcurrency: ::c_int = 333; +pub const SYS_compat_60_sa_yield: ::c_int = 334; +pub const SYS_compat_60_sa_preempt: ::c_int = 335; +pub const SYS___sigaction_sigtramp: ::c_int = 340; +pub const SYS_rasctl: ::c_int = 343; +pub const SYS_kqueue: ::c_int = 344; +pub const SYS_compat_50_kevent: ::c_int = 345; +pub const SYS__sched_setparam: ::c_int = 346; +pub const SYS__sched_getparam: ::c_int = 347; +pub const SYS__sched_setaffinity: ::c_int = 348; +pub const SYS__sched_getaffinity: ::c_int = 349; +pub const SYS_sched_yield: ::c_int = 350; +pub const SYS__sched_protect: ::c_int = 351; +pub const SYS_fsync_range: ::c_int = 354; +pub const SYS_uuidgen: ::c_int = 355; +pub const SYS_compat_90_getvfsstat: ::c_int = 356; +pub const SYS_compat_90_statvfs1: ::c_int = 357; +pub const SYS_compat_90_fstatvfs1: ::c_int = 358; +pub const SYS_compat_30_fhstatvfs1: ::c_int = 359; +pub const SYS_extattrctl: ::c_int = 360; +pub const SYS_extattr_set_file: ::c_int = 361; +pub const SYS_extattr_get_file: ::c_int = 362; +pub const SYS_extattr_delete_file: ::c_int = 363; +pub const SYS_extattr_set_fd: ::c_int = 364; +pub const SYS_extattr_get_fd: ::c_int = 365; +pub const SYS_extattr_delete_fd: ::c_int = 366; +pub const SYS_extattr_set_link: ::c_int = 367; +pub const SYS_extattr_get_link: ::c_int = 368; +pub const SYS_extattr_delete_link: ::c_int = 369; +pub const SYS_extattr_list_fd: ::c_int = 370; +pub const SYS_extattr_list_file: ::c_int = 371; +pub const SYS_extattr_list_link: ::c_int = 372; +pub const SYS_compat_50_pselect: ::c_int = 373; +pub const SYS_compat_50_pollts: ::c_int = 374; +pub const SYS_setxattr: ::c_int = 375; +pub const SYS_lsetxattr: ::c_int = 376; +pub const SYS_fsetxattr: ::c_int = 377; +pub const SYS_getxattr: ::c_int = 378; +pub const SYS_lgetxattr: ::c_int = 379; +pub const SYS_fgetxattr: ::c_int = 380; +pub const SYS_listxattr: ::c_int = 381; +pub const SYS_llistxattr: ::c_int = 382; +pub const SYS_flistxattr: ::c_int = 383; +pub const SYS_removexattr: ::c_int = 384; +pub const SYS_lremovexattr: ::c_int = 385; +pub const SYS_fremovexattr: ::c_int = 386; +pub const SYS_compat_50___stat30: ::c_int = 387; +pub const SYS_compat_50___fstat30: ::c_int = 388; +pub const SYS_compat_50___lstat30: ::c_int = 389; +pub const SYS___getdents30: ::c_int = 390; +pub const SYS_compat_30___fhstat30: ::c_int = 392; +pub const SYS_compat_50___ntp_gettime30: ::c_int = 393; +pub const SYS___socket30: ::c_int = 394; +pub const SYS___getfh30: ::c_int = 395; +pub const SYS___fhopen40: ::c_int = 396; +pub const SYS_compat_90_fhstatvfs1: ::c_int = 397; +pub const SYS_compat_50___fhstat40: ::c_int = 398; +pub const SYS_aio_cancel: ::c_int = 399; +pub const SYS_aio_error: ::c_int = 400; +pub const SYS_aio_fsync: ::c_int = 401; +pub const SYS_aio_read: ::c_int = 402; +pub const SYS_aio_return: ::c_int = 403; +pub const SYS_compat_50_aio_suspend: ::c_int = 404; +pub const SYS_aio_write: ::c_int = 405; +pub const SYS_lio_listio: ::c_int = 406; +pub const SYS___mount50: ::c_int = 410; +pub const SYS_mremap: ::c_int = 411; +pub const SYS_pset_create: ::c_int = 412; +pub const SYS_pset_destroy: ::c_int = 413; +pub const SYS_pset_assign: ::c_int = 414; +pub const SYS__pset_bind: ::c_int = 415; +pub const SYS___posix_fadvise50: ::c_int = 416; +pub const SYS___select50: ::c_int = 417; +pub const SYS___gettimeofday50: ::c_int = 418; +pub const SYS___settimeofday50: ::c_int = 419; +pub const SYS___utimes50: ::c_int = 420; +pub const SYS___adjtime50: ::c_int = 421; +pub const SYS___lfs_segwait50: ::c_int = 422; +pub const SYS___futimes50: ::c_int = 423; +pub const SYS___lutimes50: ::c_int = 424; +pub const SYS___setitimer50: ::c_int = 425; +pub const SYS___getitimer50: ::c_int = 426; +pub const SYS___clock_gettime50: ::c_int = 427; +pub const SYS___clock_settime50: ::c_int = 428; +pub const SYS___clock_getres50: ::c_int = 429; +pub const SYS___nanosleep50: ::c_int = 430; +pub const SYS_____sigtimedwait50: ::c_int = 431; +pub const SYS___mq_timedsend50: ::c_int = 432; +pub const SYS___mq_timedreceive50: ::c_int = 433; +pub const SYS_compat_60__lwp_park: ::c_int = 434; +pub const SYS___kevent50: ::c_int = 435; +pub const SYS___pselect50: ::c_int = 436; +pub const SYS___pollts50: ::c_int = 437; +pub const SYS___aio_suspend50: ::c_int = 438; +pub const SYS___stat50: ::c_int = 439; +pub const SYS___fstat50: ::c_int = 440; +pub const SYS___lstat50: ::c_int = 441; +pub const SYS_____semctl50: ::c_int = 442; +pub const SYS___shmctl50: ::c_int = 443; +pub const SYS___msgctl50: ::c_int = 444; +pub const SYS___getrusage50: ::c_int = 445; +pub const SYS___timer_settime50: ::c_int = 446; +pub const SYS___timer_gettime50: ::c_int = 447; +pub const SYS___wait450: ::c_int = 449; +pub const SYS___mknod50: ::c_int = 450; +pub const SYS___fhstat50: ::c_int = 451; +pub const SYS_pipe2: ::c_int = 453; +pub const SYS_dup3: ::c_int = 454; +pub const SYS_kqueue1: ::c_int = 455; +pub const SYS_paccept: ::c_int = 456; +pub const SYS_linkat: ::c_int = 457; +pub const SYS_renameat: ::c_int = 458; +pub const SYS_mkfifoat: ::c_int = 459; +pub const SYS_mknodat: ::c_int = 460; +pub const SYS_mkdirat: ::c_int = 461; +pub const SYS_faccessat: ::c_int = 462; +pub const SYS_fchmodat: ::c_int = 463; +pub const SYS_fchownat: ::c_int = 464; +pub const SYS_fexecve: ::c_int = 465; +pub const SYS_fstatat: ::c_int = 466; +pub const SYS_utimensat: ::c_int = 467; +pub const SYS_openat: ::c_int = 468; +pub const SYS_readlinkat: ::c_int = 469; +pub const SYS_symlinkat: ::c_int = 470; +pub const SYS_unlinkat: ::c_int = 471; +pub const SYS_futimens: ::c_int = 472; +pub const SYS___quotactl: ::c_int = 473; +pub const SYS_posix_spawn: ::c_int = 474; +pub const SYS_recvmmsg: ::c_int = 475; +pub const SYS_sendmmsg: ::c_int = 476; +pub const SYS_clock_nanosleep: ::c_int = 477; +pub const SYS____lwp_park60: ::c_int = 478; +pub const SYS_posix_fallocate: ::c_int = 479; +pub const SYS_fdiscard: ::c_int = 480; +pub const SYS_wait6: ::c_int = 481; +pub const SYS_clock_getcpuclockid2: ::c_int = 482; +pub const SYS___getvfsstat90: ::c_int = 483; +pub const SYS___statvfs190: ::c_int = 484; +pub const SYS___fstatvfs190: ::c_int = 485; +pub const SYS___fhstatvfs190: ::c_int = 486; +pub const SYS___acl_get_link: ::c_int = 487; +pub const SYS___acl_set_link: ::c_int = 488; +pub const SYS___acl_delete_link: ::c_int = 489; +pub const SYS___acl_aclcheck_link: ::c_int = 490; +pub const SYS___acl_get_file: ::c_int = 491; +pub const SYS___acl_set_file: ::c_int = 492; +pub const SYS___acl_get_fd: ::c_int = 493; +pub const SYS___acl_set_fd: ::c_int = 494; +pub const SYS___acl_delete_file: ::c_int = 495; +pub const SYS___acl_delete_fd: ::c_int = 496; +pub const SYS___acl_aclcheck_file: ::c_int = 497; +pub const SYS___acl_aclcheck_fd: ::c_int = 498; +pub const SYS_lpathconf: ::c_int = 499; +pub const SYS_MAXSYSCALL: ::c_int = 500; +pub const SYS_NSYSENT: ::c_int = 512; + const_fn! { {const} fn _ALIGN(p: usize) -> usize { (p + _ALIGNBYTES) & !_ALIGNBYTES