zsysnum_freebsd_386.go 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  1. // mksysnum_freebsd.pl
  2. // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT
  3. // +build 386,freebsd
  4. package unix
  5. const (
  6. // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int
  7. SYS_EXIT = 1 // { void sys_exit(int rval); } exit \
  8. SYS_FORK = 2 // { int fork(void); }
  9. SYS_READ = 3 // { ssize_t read(int fd, void *buf, \
  10. SYS_WRITE = 4 // { ssize_t write(int fd, const void *buf, \
  11. SYS_OPEN = 5 // { int open(char *path, int flags, int mode); }
  12. SYS_CLOSE = 6 // { int close(int fd); }
  13. SYS_WAIT4 = 7 // { int wait4(int pid, int *status, \
  14. SYS_LINK = 9 // { int link(char *path, char *link); }
  15. SYS_UNLINK = 10 // { int unlink(char *path); }
  16. SYS_CHDIR = 12 // { int chdir(char *path); }
  17. SYS_FCHDIR = 13 // { int fchdir(int fd); }
  18. SYS_MKNOD = 14 // { int mknod(char *path, int mode, int dev); }
  19. SYS_CHMOD = 15 // { int chmod(char *path, int mode); }
  20. SYS_CHOWN = 16 // { int chown(char *path, int uid, int gid); }
  21. SYS_OBREAK = 17 // { int obreak(char *nsize); } break \
  22. SYS_GETPID = 20 // { pid_t getpid(void); }
  23. SYS_MOUNT = 21 // { int mount(char *type, char *path, \
  24. SYS_UNMOUNT = 22 // { int unmount(char *path, int flags); }
  25. SYS_SETUID = 23 // { int setuid(uid_t uid); }
  26. SYS_GETUID = 24 // { uid_t getuid(void); }
  27. SYS_GETEUID = 25 // { uid_t geteuid(void); }
  28. SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, \
  29. SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, \
  30. SYS_SENDMSG = 28 // { int sendmsg(int s, struct msghdr *msg, \
  31. SYS_RECVFROM = 29 // { int recvfrom(int s, caddr_t buf, \
  32. SYS_ACCEPT = 30 // { int accept(int s, \
  33. SYS_GETPEERNAME = 31 // { int getpeername(int fdes, \
  34. SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, \
  35. SYS_ACCESS = 33 // { int access(char *path, int amode); }
  36. SYS_CHFLAGS = 34 // { int chflags(const char *path, u_long flags); }
  37. SYS_FCHFLAGS = 35 // { int fchflags(int fd, u_long flags); }
  38. SYS_SYNC = 36 // { int sync(void); }
  39. SYS_KILL = 37 // { int kill(int pid, int signum); }
  40. SYS_GETPPID = 39 // { pid_t getppid(void); }
  41. SYS_DUP = 41 // { int dup(u_int fd); }
  42. SYS_PIPE = 42 // { int pipe(void); }
  43. SYS_GETEGID = 43 // { gid_t getegid(void); }
  44. SYS_PROFIL = 44 // { int profil(caddr_t samples, size_t size, \
  45. SYS_KTRACE = 45 // { int ktrace(const char *fname, int ops, \
  46. SYS_GETGID = 47 // { gid_t getgid(void); }
  47. SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int \
  48. SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); }
  49. SYS_ACCT = 51 // { int acct(char *path); }
  50. SYS_SIGALTSTACK = 53 // { int sigaltstack(stack_t *ss, \
  51. SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, \
  52. SYS_REBOOT = 55 // { int reboot(int opt); }
  53. SYS_REVOKE = 56 // { int revoke(char *path); }
  54. SYS_SYMLINK = 57 // { int symlink(char *path, char *link); }
  55. SYS_READLINK = 58 // { ssize_t readlink(char *path, char *buf, \
  56. SYS_EXECVE = 59 // { int execve(char *fname, char **argv, \
  57. SYS_UMASK = 60 // { int umask(int newmask); } umask umask_args \
  58. SYS_CHROOT = 61 // { int chroot(char *path); }
  59. SYS_MSYNC = 65 // { int msync(void *addr, size_t len, \
  60. SYS_VFORK = 66 // { int vfork(void); }
  61. SYS_SBRK = 69 // { int sbrk(int incr); }
  62. SYS_SSTK = 70 // { int sstk(int incr); }
  63. SYS_OVADVISE = 72 // { int ovadvise(int anom); } vadvise \
  64. SYS_MUNMAP = 73 // { int munmap(void *addr, size_t len); }
  65. SYS_MPROTECT = 74 // { int mprotect(const void *addr, size_t len, \
  66. SYS_MADVISE = 75 // { int madvise(void *addr, size_t len, \
  67. SYS_MINCORE = 78 // { int mincore(const void *addr, size_t len, \
  68. SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, \
  69. SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, \
  70. SYS_GETPGRP = 81 // { int getpgrp(void); }
  71. SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); }
  72. SYS_SETITIMER = 83 // { int setitimer(u_int which, struct \
  73. SYS_SWAPON = 85 // { int swapon(char *name); }
  74. SYS_GETITIMER = 86 // { int getitimer(u_int which, \
  75. SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); }
  76. SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); }
  77. SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); }
  78. SYS_SELECT = 93 // { int select(int nd, fd_set *in, fd_set *ou, \
  79. SYS_FSYNC = 95 // { int fsync(int fd); }
  80. SYS_SETPRIORITY = 96 // { int setpriority(int which, int who, \
  81. SYS_SOCKET = 97 // { int socket(int domain, int type, \
  82. SYS_CONNECT = 98 // { int connect(int s, caddr_t name, \
  83. SYS_GETPRIORITY = 100 // { int getpriority(int which, int who); }
  84. SYS_BIND = 104 // { int bind(int s, caddr_t name, \
  85. SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, \
  86. SYS_LISTEN = 106 // { int listen(int s, int backlog); }
  87. SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, \
  88. SYS_GETRUSAGE = 117 // { int getrusage(int who, \
  89. SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, \
  90. SYS_READV = 120 // { int readv(int fd, struct iovec *iovp, \
  91. SYS_WRITEV = 121 // { int writev(int fd, struct iovec *iovp, \
  92. SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, \
  93. SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); }
  94. SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); }
  95. SYS_SETREUID = 126 // { int setreuid(int ruid, int euid); }
  96. SYS_SETREGID = 127 // { int setregid(int rgid, int egid); }
  97. SYS_RENAME = 128 // { int rename(char *from, char *to); }
  98. SYS_FLOCK = 131 // { int flock(int fd, int how); }
  99. SYS_MKFIFO = 132 // { int mkfifo(char *path, int mode); }
  100. SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, \
  101. SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); }
  102. SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, \
  103. SYS_MKDIR = 136 // { int mkdir(char *path, int mode); }
  104. SYS_RMDIR = 137 // { int rmdir(char *path); }
  105. SYS_UTIMES = 138 // { int utimes(char *path, \
  106. SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, \
  107. SYS_SETSID = 147 // { int setsid(void); }
  108. SYS_QUOTACTL = 148 // { int quotactl(char *path, int cmd, int uid, \
  109. SYS_LGETFH = 160 // { int lgetfh(char *fname, \
  110. SYS_GETFH = 161 // { int getfh(char *fname, \
  111. SYS_SYSARCH = 165 // { int sysarch(int op, char *parms); }
  112. SYS_RTPRIO = 166 // { int rtprio(int function, pid_t pid, \
  113. SYS_FREEBSD6_PREAD = 173 // { ssize_t freebsd6_pread(int fd, void *buf, \
  114. SYS_FREEBSD6_PWRITE = 174 // { ssize_t freebsd6_pwrite(int fd, \
  115. SYS_SETFIB = 175 // { int setfib(int fibnum); }
  116. SYS_NTP_ADJTIME = 176 // { int ntp_adjtime(struct timex *tp); }
  117. SYS_SETGID = 181 // { int setgid(gid_t gid); }
  118. SYS_SETEGID = 182 // { int setegid(gid_t egid); }
  119. SYS_SETEUID = 183 // { int seteuid(uid_t euid); }
  120. SYS_STAT = 188 // { int stat(char *path, struct stat *ub); }
  121. SYS_FSTAT = 189 // { int fstat(int fd, struct stat *sb); }
  122. SYS_LSTAT = 190 // { int lstat(char *path, struct stat *ub); }
  123. SYS_PATHCONF = 191 // { int pathconf(char *path, int name); }
  124. SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); }
  125. SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, \
  126. SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, \
  127. SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, \
  128. SYS_FREEBSD6_MMAP = 197 // { caddr_t freebsd6_mmap(caddr_t addr, \
  129. SYS_FREEBSD6_LSEEK = 199 // { off_t freebsd6_lseek(int fd, int pad, \
  130. SYS_FREEBSD6_TRUNCATE = 200 // { int freebsd6_truncate(char *path, int pad, \
  131. SYS_FREEBSD6_FTRUNCATE = 201 // { int freebsd6_ftruncate(int fd, int pad, \
  132. SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, \
  133. SYS_MLOCK = 203 // { int mlock(const void *addr, size_t len); }
  134. SYS_MUNLOCK = 204 // { int munlock(const void *addr, size_t len); }
  135. SYS_UNDELETE = 205 // { int undelete(char *path); }
  136. SYS_FUTIMES = 206 // { int futimes(int fd, struct timeval *tptr); }
  137. SYS_GETPGID = 207 // { int getpgid(pid_t pid); }
  138. SYS_POLL = 209 // { int poll(struct pollfd *fds, u_int nfds, \
  139. SYS_CLOCK_GETTIME = 232 // { int clock_gettime(clockid_t clock_id, \
  140. SYS_CLOCK_SETTIME = 233 // { int clock_settime( \
  141. SYS_CLOCK_GETRES = 234 // { int clock_getres(clockid_t clock_id, \
  142. SYS_KTIMER_CREATE = 235 // { int ktimer_create(clockid_t clock_id, \
  143. SYS_KTIMER_DELETE = 236 // { int ktimer_delete(int timerid); }
  144. SYS_KTIMER_SETTIME = 237 // { int ktimer_settime(int timerid, int flags, \
  145. SYS_KTIMER_GETTIME = 238 // { int ktimer_gettime(int timerid, struct \
  146. SYS_KTIMER_GETOVERRUN = 239 // { int ktimer_getoverrun(int timerid); }
  147. SYS_NANOSLEEP = 240 // { int nanosleep(const struct timespec *rqtp, \
  148. SYS_FFCLOCK_GETCOUNTER = 241 // { int ffclock_getcounter(ffcounter *ffcount); }
  149. SYS_FFCLOCK_SETESTIMATE = 242 // { int ffclock_setestimate( \
  150. SYS_FFCLOCK_GETESTIMATE = 243 // { int ffclock_getestimate( \
  151. SYS_CLOCK_GETCPUCLOCKID2 = 247 // { int clock_getcpuclockid2(id_t id,\
  152. SYS_NTP_GETTIME = 248 // { int ntp_gettime(struct ntptimeval *ntvp); }
  153. SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, \
  154. SYS_RFORK = 251 // { int rfork(int flags); }
  155. SYS_OPENBSD_POLL = 252 // { int openbsd_poll(struct pollfd *fds, \
  156. SYS_ISSETUGID = 253 // { int issetugid(void); }
  157. SYS_LCHOWN = 254 // { int lchown(char *path, int uid, int gid); }
  158. SYS_GETDENTS = 272 // { int getdents(int fd, char *buf, \
  159. SYS_LCHMOD = 274 // { int lchmod(char *path, mode_t mode); }
  160. SYS_LUTIMES = 276 // { int lutimes(char *path, \
  161. SYS_NSTAT = 278 // { int nstat(char *path, struct nstat *ub); }
  162. SYS_NFSTAT = 279 // { int nfstat(int fd, struct nstat *sb); }
  163. SYS_NLSTAT = 280 // { int nlstat(char *path, struct nstat *ub); }
  164. SYS_PREADV = 289 // { ssize_t preadv(int fd, struct iovec *iovp, \
  165. SYS_PWRITEV = 290 // { ssize_t pwritev(int fd, struct iovec *iovp, \
  166. SYS_FHOPEN = 298 // { int fhopen(const struct fhandle *u_fhp, \
  167. SYS_FHSTAT = 299 // { int fhstat(const struct fhandle *u_fhp, \
  168. SYS_MODNEXT = 300 // { int modnext(int modid); }
  169. SYS_MODSTAT = 301 // { int modstat(int modid, \
  170. SYS_MODFNEXT = 302 // { int modfnext(int modid); }
  171. SYS_MODFIND = 303 // { int modfind(const char *name); }
  172. SYS_KLDLOAD = 304 // { int kldload(const char *file); }
  173. SYS_KLDUNLOAD = 305 // { int kldunload(int fileid); }
  174. SYS_KLDFIND = 306 // { int kldfind(const char *file); }
  175. SYS_KLDNEXT = 307 // { int kldnext(int fileid); }
  176. SYS_KLDSTAT = 308 // { int kldstat(int fileid, struct \
  177. SYS_KLDFIRSTMOD = 309 // { int kldfirstmod(int fileid); }
  178. SYS_GETSID = 310 // { int getsid(pid_t pid); }
  179. SYS_SETRESUID = 311 // { int setresuid(uid_t ruid, uid_t euid, \
  180. SYS_SETRESGID = 312 // { int setresgid(gid_t rgid, gid_t egid, \
  181. SYS_YIELD = 321 // { int yield(void); }
  182. SYS_MLOCKALL = 324 // { int mlockall(int how); }
  183. SYS_MUNLOCKALL = 325 // { int munlockall(void); }
  184. SYS___GETCWD = 326 // { int __getcwd(char *buf, u_int buflen); }
  185. SYS_SCHED_SETPARAM = 327 // { int sched_setparam (pid_t pid, \
  186. SYS_SCHED_GETPARAM = 328 // { int sched_getparam (pid_t pid, struct \
  187. SYS_SCHED_SETSCHEDULER = 329 // { int sched_setscheduler (pid_t pid, int \
  188. SYS_SCHED_GETSCHEDULER = 330 // { int sched_getscheduler (pid_t pid); }
  189. SYS_SCHED_YIELD = 331 // { int sched_yield (void); }
  190. SYS_SCHED_GET_PRIORITY_MAX = 332 // { int sched_get_priority_max (int policy); }
  191. SYS_SCHED_GET_PRIORITY_MIN = 333 // { int sched_get_priority_min (int policy); }
  192. SYS_SCHED_RR_GET_INTERVAL = 334 // { int sched_rr_get_interval (pid_t pid, \
  193. SYS_UTRACE = 335 // { int utrace(const void *addr, size_t len); }
  194. SYS_KLDSYM = 337 // { int kldsym(int fileid, int cmd, \
  195. SYS_JAIL = 338 // { int jail(struct jail *jail); }
  196. SYS_SIGPROCMASK = 340 // { int sigprocmask(int how, \
  197. SYS_SIGSUSPEND = 341 // { int sigsuspend(const sigset_t *sigmask); }
  198. SYS_SIGPENDING = 343 // { int sigpending(sigset_t *set); }
  199. SYS_SIGTIMEDWAIT = 345 // { int sigtimedwait(const sigset_t *set, \
  200. SYS_SIGWAITINFO = 346 // { int sigwaitinfo(const sigset_t *set, \
  201. SYS___ACL_GET_FILE = 347 // { int __acl_get_file(const char *path, \
  202. SYS___ACL_SET_FILE = 348 // { int __acl_set_file(const char *path, \
  203. SYS___ACL_GET_FD = 349 // { int __acl_get_fd(int filedes, \
  204. SYS___ACL_SET_FD = 350 // { int __acl_set_fd(int filedes, \
  205. SYS___ACL_DELETE_FILE = 351 // { int __acl_delete_file(const char *path, \
  206. SYS___ACL_DELETE_FD = 352 // { int __acl_delete_fd(int filedes, \
  207. SYS___ACL_ACLCHECK_FILE = 353 // { int __acl_aclcheck_file(const char *path, \
  208. SYS___ACL_ACLCHECK_FD = 354 // { int __acl_aclcheck_fd(int filedes, \
  209. SYS_EXTATTRCTL = 355 // { int extattrctl(const char *path, int cmd, \
  210. SYS_EXTATTR_SET_FILE = 356 // { ssize_t extattr_set_file( \
  211. SYS_EXTATTR_GET_FILE = 357 // { ssize_t extattr_get_file( \
  212. SYS_EXTATTR_DELETE_FILE = 358 // { int extattr_delete_file(const char *path, \
  213. SYS_GETRESUID = 360 // { int getresuid(uid_t *ruid, uid_t *euid, \
  214. SYS_GETRESGID = 361 // { int getresgid(gid_t *rgid, gid_t *egid, \
  215. SYS_KQUEUE = 362 // { int kqueue(void); }
  216. SYS_KEVENT = 363 // { int kevent(int fd, \
  217. SYS_EXTATTR_SET_FD = 371 // { ssize_t extattr_set_fd(int fd, \
  218. SYS_EXTATTR_GET_FD = 372 // { ssize_t extattr_get_fd(int fd, \
  219. SYS_EXTATTR_DELETE_FD = 373 // { int extattr_delete_fd(int fd, \
  220. SYS___SETUGID = 374 // { int __setugid(int flag); }
  221. SYS_EACCESS = 376 // { int eaccess(char *path, int amode); }
  222. SYS_NMOUNT = 378 // { int nmount(struct iovec *iovp, \
  223. SYS___MAC_GET_PROC = 384 // { int __mac_get_proc(struct mac *mac_p); }
  224. SYS___MAC_SET_PROC = 385 // { int __mac_set_proc(struct mac *mac_p); }
  225. SYS___MAC_GET_FD = 386 // { int __mac_get_fd(int fd, \
  226. SYS___MAC_GET_FILE = 387 // { int __mac_get_file(const char *path_p, \
  227. SYS___MAC_SET_FD = 388 // { int __mac_set_fd(int fd, \
  228. SYS___MAC_SET_FILE = 389 // { int __mac_set_file(const char *path_p, \
  229. SYS_KENV = 390 // { int kenv(int what, const char *name, \
  230. SYS_LCHFLAGS = 391 // { int lchflags(const char *path, \
  231. SYS_UUIDGEN = 392 // { int uuidgen(struct uuid *store, \
  232. SYS_SENDFILE = 393 // { int sendfile(int fd, int s, off_t offset, \
  233. SYS_MAC_SYSCALL = 394 // { int mac_syscall(const char *policy, \
  234. SYS_GETFSSTAT = 395 // { int getfsstat(struct statfs *buf, \
  235. SYS_STATFS = 396 // { int statfs(char *path, \
  236. SYS_FSTATFS = 397 // { int fstatfs(int fd, struct statfs *buf); }
  237. SYS_FHSTATFS = 398 // { int fhstatfs(const struct fhandle *u_fhp, \
  238. SYS___MAC_GET_PID = 409 // { int __mac_get_pid(pid_t pid, \
  239. SYS___MAC_GET_LINK = 410 // { int __mac_get_link(const char *path_p, \
  240. SYS___MAC_SET_LINK = 411 // { int __mac_set_link(const char *path_p, \
  241. SYS_EXTATTR_SET_LINK = 412 // { ssize_t extattr_set_link( \
  242. SYS_EXTATTR_GET_LINK = 413 // { ssize_t extattr_get_link( \
  243. SYS_EXTATTR_DELETE_LINK = 414 // { int extattr_delete_link( \
  244. SYS___MAC_EXECVE = 415 // { int __mac_execve(char *fname, char **argv, \
  245. SYS_SIGACTION = 416 // { int sigaction(int sig, \
  246. SYS_SIGRETURN = 417 // { int sigreturn( \
  247. SYS_GETCONTEXT = 421 // { int getcontext(struct __ucontext *ucp); }
  248. SYS_SETCONTEXT = 422 // { int setcontext( \
  249. SYS_SWAPCONTEXT = 423 // { int swapcontext(struct __ucontext *oucp, \
  250. SYS_SWAPOFF = 424 // { int swapoff(const char *name); }
  251. SYS___ACL_GET_LINK = 425 // { int __acl_get_link(const char *path, \
  252. SYS___ACL_SET_LINK = 426 // { int __acl_set_link(const char *path, \
  253. SYS___ACL_DELETE_LINK = 427 // { int __acl_delete_link(const char *path, \
  254. SYS___ACL_ACLCHECK_LINK = 428 // { int __acl_aclcheck_link(const char *path, \
  255. SYS_SIGWAIT = 429 // { int sigwait(const sigset_t *set, \
  256. SYS_THR_CREATE = 430 // { int thr_create(ucontext_t *ctx, long *id, \
  257. SYS_THR_EXIT = 431 // { void thr_exit(long *state); }
  258. SYS_THR_SELF = 432 // { int thr_self(long *id); }
  259. SYS_THR_KILL = 433 // { int thr_kill(long id, int sig); }
  260. SYS__UMTX_LOCK = 434 // { int _umtx_lock(struct umtx *umtx); }
  261. SYS__UMTX_UNLOCK = 435 // { int _umtx_unlock(struct umtx *umtx); }
  262. SYS_JAIL_ATTACH = 436 // { int jail_attach(int jid); }
  263. SYS_EXTATTR_LIST_FD = 437 // { ssize_t extattr_list_fd(int fd, \
  264. SYS_EXTATTR_LIST_FILE = 438 // { ssize_t extattr_list_file( \
  265. SYS_EXTATTR_LIST_LINK = 439 // { ssize_t extattr_list_link( \
  266. SYS_THR_SUSPEND = 442 // { int thr_suspend( \
  267. SYS_THR_WAKE = 443 // { int thr_wake(long id); }
  268. SYS_KLDUNLOADF = 444 // { int kldunloadf(int fileid, int flags); }
  269. SYS_AUDIT = 445 // { int audit(const void *record, \
  270. SYS_AUDITON = 446 // { int auditon(int cmd, void *data, \
  271. SYS_GETAUID = 447 // { int getauid(uid_t *auid); }
  272. SYS_SETAUID = 448 // { int setauid(uid_t *auid); }
  273. SYS_GETAUDIT = 449 // { int getaudit(struct auditinfo *auditinfo); }
  274. SYS_SETAUDIT = 450 // { int setaudit(struct auditinfo *auditinfo); }
  275. SYS_GETAUDIT_ADDR = 451 // { int getaudit_addr( \
  276. SYS_SETAUDIT_ADDR = 452 // { int setaudit_addr( \
  277. SYS_AUDITCTL = 453 // { int auditctl(char *path); }
  278. SYS__UMTX_OP = 454 // { int _umtx_op(void *obj, int op, \
  279. SYS_THR_NEW = 455 // { int thr_new(struct thr_param *param, \
  280. SYS_SIGQUEUE = 456 // { int sigqueue(pid_t pid, int signum, void *value); }
  281. SYS_ABORT2 = 463 // { int abort2(const char *why, int nargs, void **args); }
  282. SYS_THR_SET_NAME = 464 // { int thr_set_name(long id, const char *name); }
  283. SYS_RTPRIO_THREAD = 466 // { int rtprio_thread(int function, \
  284. SYS_SCTP_PEELOFF = 471 // { int sctp_peeloff(int sd, uint32_t name); }
  285. SYS_SCTP_GENERIC_SENDMSG = 472 // { int sctp_generic_sendmsg(int sd, caddr_t msg, int mlen, \
  286. SYS_SCTP_GENERIC_SENDMSG_IOV = 473 // { int sctp_generic_sendmsg_iov(int sd, struct iovec *iov, int iovlen, \
  287. SYS_SCTP_GENERIC_RECVMSG = 474 // { int sctp_generic_recvmsg(int sd, struct iovec *iov, int iovlen, \
  288. SYS_PREAD = 475 // { ssize_t pread(int fd, void *buf, \
  289. SYS_PWRITE = 476 // { ssize_t pwrite(int fd, const void *buf, \
  290. SYS_MMAP = 477 // { caddr_t mmap(caddr_t addr, size_t len, \
  291. SYS_LSEEK = 478 // { off_t lseek(int fd, off_t offset, \
  292. SYS_TRUNCATE = 479 // { int truncate(char *path, off_t length); }
  293. SYS_FTRUNCATE = 480 // { int ftruncate(int fd, off_t length); }
  294. SYS_THR_KILL2 = 481 // { int thr_kill2(pid_t pid, long id, int sig); }
  295. SYS_SHM_OPEN = 482 // { int shm_open(const char *path, int flags, \
  296. SYS_SHM_UNLINK = 483 // { int shm_unlink(const char *path); }
  297. SYS_CPUSET = 484 // { int cpuset(cpusetid_t *setid); }
  298. SYS_CPUSET_SETID = 485 // { int cpuset_setid(cpuwhich_t which, id_t id, \
  299. SYS_CPUSET_GETID = 486 // { int cpuset_getid(cpulevel_t level, \
  300. SYS_CPUSET_GETAFFINITY = 487 // { int cpuset_getaffinity(cpulevel_t level, \
  301. SYS_CPUSET_SETAFFINITY = 488 // { int cpuset_setaffinity(cpulevel_t level, \
  302. SYS_FACCESSAT = 489 // { int faccessat(int fd, char *path, int amode, \
  303. SYS_FCHMODAT = 490 // { int fchmodat(int fd, char *path, mode_t mode, \
  304. SYS_FCHOWNAT = 491 // { int fchownat(int fd, char *path, uid_t uid, \
  305. SYS_FEXECVE = 492 // { int fexecve(int fd, char **argv, \
  306. SYS_FSTATAT = 493 // { int fstatat(int fd, char *path, \
  307. SYS_FUTIMESAT = 494 // { int futimesat(int fd, char *path, \
  308. SYS_LINKAT = 495 // { int linkat(int fd1, char *path1, int fd2, \
  309. SYS_MKDIRAT = 496 // { int mkdirat(int fd, char *path, mode_t mode); }
  310. SYS_MKFIFOAT = 497 // { int mkfifoat(int fd, char *path, mode_t mode); }
  311. SYS_MKNODAT = 498 // { int mknodat(int fd, char *path, mode_t mode, \
  312. SYS_OPENAT = 499 // { int openat(int fd, char *path, int flag, \
  313. SYS_READLINKAT = 500 // { int readlinkat(int fd, char *path, char *buf, \
  314. SYS_RENAMEAT = 501 // { int renameat(int oldfd, char *old, int newfd, \
  315. SYS_SYMLINKAT = 502 // { int symlinkat(char *path1, int fd, \
  316. SYS_UNLINKAT = 503 // { int unlinkat(int fd, char *path, int flag); }
  317. SYS_POSIX_OPENPT = 504 // { int posix_openpt(int flags); }
  318. SYS_JAIL_GET = 506 // { int jail_get(struct iovec *iovp, \
  319. SYS_JAIL_SET = 507 // { int jail_set(struct iovec *iovp, \
  320. SYS_JAIL_REMOVE = 508 // { int jail_remove(int jid); }
  321. SYS_CLOSEFROM = 509 // { int closefrom(int lowfd); }
  322. SYS_LPATHCONF = 513 // { int lpathconf(char *path, int name); }
  323. SYS_CAP_NEW = 514 // { int cap_new(int fd, uint64_t rights); }
  324. SYS_CAP_GETRIGHTS = 515 // { int cap_getrights(int fd, \
  325. SYS_CAP_ENTER = 516 // { int cap_enter(void); }
  326. SYS_CAP_GETMODE = 517 // { int cap_getmode(u_int *modep); }
  327. SYS_PDFORK = 518 // { int pdfork(int *fdp, int flags); }
  328. SYS_PDKILL = 519 // { int pdkill(int fd, int signum); }
  329. SYS_PDGETPID = 520 // { int pdgetpid(int fd, pid_t *pidp); }
  330. SYS_PSELECT = 522 // { int pselect(int nd, fd_set *in, \
  331. SYS_GETLOGINCLASS = 523 // { int getloginclass(char *namebuf, \
  332. SYS_SETLOGINCLASS = 524 // { int setloginclass(const char *namebuf); }
  333. SYS_RCTL_GET_RACCT = 525 // { int rctl_get_racct(const void *inbufp, \
  334. SYS_RCTL_GET_RULES = 526 // { int rctl_get_rules(const void *inbufp, \
  335. SYS_RCTL_GET_LIMITS = 527 // { int rctl_get_limits(const void *inbufp, \
  336. SYS_RCTL_ADD_RULE = 528 // { int rctl_add_rule(const void *inbufp, \
  337. SYS_RCTL_REMOVE_RULE = 529 // { int rctl_remove_rule(const void *inbufp, \
  338. SYS_POSIX_FALLOCATE = 530 // { int posix_fallocate(int fd, \
  339. SYS_POSIX_FADVISE = 531 // { int posix_fadvise(int fd, off_t offset, \
  340. SYS_WAIT6 = 532 // { int wait6(idtype_t idtype, id_t id, \
  341. SYS_BINDAT = 538 // { int bindat(int fd, int s, caddr_t name, \
  342. SYS_CONNECTAT = 539 // { int connectat(int fd, int s, caddr_t name, \
  343. SYS_CHFLAGSAT = 540 // { int chflagsat(int fd, const char *path, \
  344. SYS_ACCEPT4 = 541 // { int accept4(int s, \
  345. SYS_PIPE2 = 542 // { int pipe2(int *fildes, int flags); }
  346. SYS_PROCCTL = 544 // { int procctl(idtype_t idtype, id_t id, \
  347. SYS_PPOLL = 545 // { int ppoll(struct pollfd *fds, u_int nfds, \
  348. )