2 ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
4 ; System call name/number master file.
5 ; Processed to created init_sysent.c, syscalls.c and syscall.h.
7 ; Columns: number audit type name alt{name,tag,rtyp}/comments
8 ; number system call number, must be in order
9 ; audit the audit event associated with the system call
10 ; A value of AUE_NULL means no auditing, but it also means that
11 ; there is no audit event for the call at this time. For the
12 ; case where the event exists, but we don't want auditing, the
13 ; event should be #defined to AUE_NULL in audit_kevents.h.
14 ; type one of STD, OBSOL, UNIMPL, COMPAT, COMPAT4, COMPAT6,
15 ; COMPAT7, COMPAT11, COMPAT12, NODEF, NOARGS, NOPROTO, NOSTD
16 ; The COMPAT* options may be combined with one or more NO*
17 ; options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
18 ; name pseudo-prototype of syscall routine
19 ; If one of the following alts is different, then all appear:
20 ; altname name of system call if different
21 ; alttag name of args struct tag if different from [o]`name'"_args"
22 ; altrtyp return type if not int (bogus - syscalls always return int)
23 ; for UNIMPL/OBSOL, name continues with comments
27 ; COMPAT included on COMPAT #ifdef
28 ; COMPAT4 included on COMPAT_FREEBSD4 #ifdef (FreeBSD 4 compat)
29 ; COMPAT6 included on COMPAT_FREEBSD6 #ifdef (FreeBSD 6 compat)
30 ; COMPAT7 included on COMPAT_FREEBSD7 #ifdef (FreeBSD 7 compat)
31 ; COMPAT10 included on COMPAT_FREEBSD10 #ifdef (FreeBSD 10 compat)
32 ; COMPAT11 included on COMPAT_FREEBSD11 #ifdef (FreeBSD 11 compat)
33 ; COMPAT12 included on COMPAT_FREEBSD12 #ifdef (FreeBSD 12 compat)
34 ; OBSOL obsolete, not included in system, only specifies name
35 ; UNIMPL not implemented, placeholder only
36 ; NOSTD implemented but as a lkm that can be statically
37 ; compiled in; sysent entry will be filled with lkmressys
38 ; so the SYSCALL_MODULE macro works
39 ; NOARGS same as STD except do not create structure in sys/sysproto.h
40 ; NODEF same as STD except only have the entry in the syscall table
41 ; added. Meaning - do not create structure or function
42 ; prototype in sys/sysproto.h
43 ; NOPROTO same as STD except do not create structure or
44 ; function prototype in sys/sysproto.h. Does add a
45 ; definition to syscall.h besides adding a sysent.
46 ; NOTSTATIC syscall is loadable
49 ; SAL 2.0 annotations are used to specify how system calls treat
50 ; arguments that are passed using pointers. There are three basic
53 ; _In_ Object pointed to will be read and not modified.
54 ; _Out_ Object pointed to will be written and not read.
55 ; _Inout_ Object pointed to will be written and read.
57 ; These annotations are used alone when the pointer refers to a single
58 ; object i.e. scalar types, structs, and pointers, and not NULL. Adding
59 ; the _opt_ suffix, e.g. _In_opt_, implies that the pointer may also
62 ; For pointers to arrays, additional suffixes are added:
64 ; _In_z_, _Out_z_, _Inout_z_:
65 ; for a NUL terminated array e.g. a string.
66 ; _In_reads_z_(n),_Out_writes_z_(n), _Inout_updates_z_(n):
67 ; for a NUL terminated array e.g. a string, of known length n bytes.
68 ; _In_reads_(n),_Out_writes_(n),_Inout_updates_(n):
69 ; for an array of n elements.
70 ; _In_reads_bytes_(n), _Out_writes_bytes_(n), _Inout_updates_bytes(n):
71 ; for a buffer of n-bytes.
73 ; Please copy any additions and changes to the following compatability tables:
74 ; sys/compat/freebsd32/syscalls.master
76 ; #ifdef's, etc. may be included, and are copied to the output files.
78 #include <sys/param.h>
79 #include <sys/sysent.h>
80 #include <sys/sysproto.h>
82 ; Reserved/unimplemented system calls in the range 0-150 inclusive
83 ; are reserved for use in future Berkeley releases.
84 ; Additional system calls implemented in vendor and other
85 ; redistributions should be placed in the reserved range at the end
86 ; of the current calls.
90 } syscall nosys_args int
95 } exit sys_exit_args void
102 _Out_writes_bytes_(nbyte) void *buf,
109 _In_reads_bytes_(nbyte) const void *buf,
113 5 AUE_OPEN_RWTC STD {
115 _In_z_ const char *path,
120 ; XXX should be { int open(const char *path, int flags, ...); }
121 ; but we're not ready for varargs.
130 _Out_opt_ int *status,
132 _Out_opt_ struct rusage *rusage
137 _In_z_ const char *path,
143 _In_z_ const char *path,
144 _In_z_ const char *link
149 _In_z_ const char *path
152 11 AUE_NULL OBSOL execv
155 _In_z_ const char *path
163 14 AUE_MKNOD COMPAT11 {
165 _In_z_ const char *path,
172 _In_z_ const char *path,
178 _In_z_ const char *path,
188 18 AUE_GETFSSTAT COMPAT4 {
190 _Out_writes_bytes_opt_(bufsize) struct ostatfs *buf,
195 19 AUE_LSEEK COMPAT {
207 _In_z_ const char *type,
208 _In_z_ const char *path,
215 _In_z_ const char *path,
234 _Inout_opt_ caddr_t addr,
241 _Inout_ struct msghdr *msg,
248 _In_ struct msghdr *msg,
252 29 AUE_RECVFROM STD {
255 _Out_writes_bytes_(len) void *buf,
258 _Out_writes_bytes_opt_(*fromlenaddr) struct sockaddr *from,
259 _Inout_opt_ __socklen_t *fromlenaddr
265 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
266 _Inout_opt_ __socklen_t *anamelen
269 31 AUE_GETPEERNAME STD {
272 _Out_writes_bytes_(*alen) struct sockaddr *asa,
273 _Inout_opt_ __socklen_t *alen
276 32 AUE_GETSOCKNAME STD {
279 _Out_writes_bytes_(*alen) struct sockaddr *asa,
280 _Inout_ __socklen_t *alen
285 _In_z_ const char *path,
291 _In_z_ const char *path,
295 35 AUE_FCHFLAGS STD {
312 _In_z_ const char *path,
313 _Out_ struct ostat *ub
319 40 AUE_LSTAT COMPAT {
321 _In_z_ const char *path,
322 _Out_ struct ostat *ub
330 42 AUE_PIPE COMPAT10 {
338 _Out_writes_bytes_(size) char *samples,
346 _In_z_ const char *fname,
352 46 AUE_SIGACTION COMPAT {
355 _In_opt_ struct osigaction *nsa,
356 _Out_opt_ struct osigaction *osa
362 48 AUE_SIGPROCMASK COMPAT {
368 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
369 ; us the mask, not a pointer to it, and we return the old mask as the
370 ; (int) return value.
371 49 AUE_GETLOGIN STD {
373 _Out_writes_z_(namelen) char *namebuf,
377 50 AUE_SETLOGIN STD {
379 _In_z_ const char *namebuf
384 _In_z_ const char *path
387 52 AUE_SIGPENDING COMPAT {
388 int sigpending(void);
390 53 AUE_SIGALTSTACK STD {
392 _In_opt_ stack_t *ss,
393 _Out_opt_ stack_t *oss
400 _Inout_opt_ char *data
410 _In_z_ const char *path
415 _In_z_ const char *path,
416 _In_z_ const char *link
419 58 AUE_READLINK STD {
421 _In_z_ const char *path,
422 _Out_writes_z_(count) char *buf,
428 _In_z_ const char *fname,
440 _In_z_ const char *path
443 62 AUE_FSTAT COMPAT {
446 _Out_ struct ostat *sb
452 _Out_writes_bytes_opt(
454 _Inout_opt_ size_t *size,
459 int getpagesize(void);
471 67 AUE_NULL OBSOL vread
472 68 AUE_NULL OBSOL vwrite
493 72 AUE_O_VADVISE COMPAT11 {
504 74 AUE_MPROTECT STD {
518 76 AUE_NULL OBSOL vhangup
519 77 AUE_NULL OBSOL vlimit
522 _In_ const void *addr,
524 _Out_writes_bytes_(len/PAGE_SIZE) char *vec
527 79 AUE_GETGROUPS STD {
530 _Out_writes_opt_(gidsetsize) gid_t *gidset
533 80 AUE_SETGROUPS STD {
536 _In_reads_(gidsetsize) gid_t *gidset
548 83 AUE_SETITIMER STD {
551 _In_ struct itimerval *itv,
552 _Out_opt_ struct itimerval *oitv
555 84 AUE_WAIT4 COMPAT {
560 _In_z_ const char *name
563 86 AUE_GETITIMER STD {
566 _Out_ struct itimerval *itv
569 87 AUE_SYSCTL COMPAT {
571 _Out_writes_z_(len) char *hostname,
575 88 AUE_SYSCTL COMPAT {
577 _In_reads_z_(len) char *hostname,
581 89 AUE_GETDTABLESIZE STD {
582 int getdtablesize(void);
590 91 AUE_NULL UNIMPL getdopt
598 ; XXX should be { int fcntl(int fd, int cmd, ...); }
599 ; but we're not ready for varargs.
603 _Inout_opt_ fd_set *in,
604 _Inout_opt_ fd_set *ou,
605 _Inout_opt_ fd_set *ex,
606 _In_opt_ struct timeval *tv
609 94 AUE_NULL UNIMPL setdopt
615 96 AUE_SETPRIORITY STD {
632 _In_reads_bytes_(namelen) const struct sockaddr *name,
636 99 AUE_ACCEPT COMPAT {
639 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
643 100 AUE_GETPRIORITY STD {
649 101 AUE_SEND COMPAT {
652 _In_reads_bytes_(len) const void *buf,
657 102 AUE_RECV COMPAT {
660 _Out_writes_bytes_(len) void *buf,
665 103 AUE_SIGRETURN COMPAT {
667 _In_ struct osigcontext *sigcntxp
673 _In_reads_bytes_(namelen) const struct sockaddr *name,
677 105 AUE_SETSOCKOPT STD {
682 _In_reads_bytes_opt_(valsize) const void *val,
692 107 AUE_NULL OBSOL vtimes
693 108 AUE_NULL COMPAT {
696 _In_opt_ struct sigvec *nsv,
697 _Out_opt_ struct sigvec *osv
700 109 AUE_NULL COMPAT {
705 110 AUE_NULL COMPAT {
710 111 AUE_NULL COMPAT {
715 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
716 ; us the mask, not a pointer to it.
717 112 AUE_NULL COMPAT {
719 _In_opt_ struct sigstack *nss,
720 _Out_opt_ struct sigstack *oss
723 113 AUE_RECVMSG COMPAT {
726 _Inout_ struct omsghdr *msg,
730 114 AUE_SENDMSG COMPAT {
733 _In_ const void *msg,
737 115 AUE_NULL OBSOL vtrace
738 116 AUE_GETTIMEOFDAY STD {
740 _Out_ struct timeval *tp,
741 _Out_opt_ struct timezone *tzp
744 117 AUE_GETRUSAGE STD {
747 _Out_ struct rusage *rusage
750 118 AUE_GETSOCKOPT STD {
755 _Out_writes_bytes_opt_(*avalsize) void *val,
756 _Inout_ int *avalsize
759 119 AUE_NULL UNIMPL resuba (BSD/OS 2.x)
763 _Inout_updates_(iovcnt) struct iovec *iovp,
770 _In_reads_opt_(iovcnt) struct iovec *iovp,
774 122 AUE_SETTIMEOFDAY STD {
776 _In_ struct timeval *tv,
777 _In_opt_ struct timezone *tzp
793 125 AUE_RECVFROM COMPAT|NOARGS {
796 _Out_writes_(len) void *buf,
799 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
800 _Inout_ int *fromlenaddr
802 } recvfrom recvfrom_args int
803 126 AUE_SETREUID STD {
809 127 AUE_SETREGID STD {
817 _In_z_ const char *from,
818 _In_z_ const char *to
821 129 AUE_TRUNCATE COMPAT {
823 _In_z_ const char *path,
827 130 AUE_FTRUNCATE COMPAT {
841 _In_z_ const char *path,
848 _In_reads_bytes_(len) const void *buf,
851 _In_reads_bytes_opt_(tolen) const struct sockaddr *to,
855 134 AUE_SHUTDOWN STD {
861 135 AUE_SOCKETPAIR STD {
866 _Out_writes_(2) int *rsv
871 _In_z_ const char *path,
877 _In_z_ const char *path
882 _In_z_ const char *path,
883 _In_ struct timeval *tptr
886 139 AUE_NULL OBSOL 4.2 sigreturn
887 140 AUE_ADJTIME STD {
889 _In_ struct timeval *delta,
890 _Out_opt_ struct timeval *olddelta
893 141 AUE_GETPEERNAME COMPAT {
896 _Out_writes_bytes_(*alen) struct sockaddr *asa,
897 _Inout_opt_ int *alen
900 142 AUE_SYSCTL COMPAT {
901 long gethostid(void);
903 143 AUE_SYSCTL COMPAT {
908 144 AUE_GETRLIMIT COMPAT {
911 _Out_ struct orlimit *rlp
914 145 AUE_SETRLIMIT COMPAT {
917 _Out_ struct orlimit *rlp
920 146 AUE_KILLPG COMPAT {
929 148 AUE_QUOTACTL STD {
931 _In_z_ const char *path,
937 149 AUE_O_QUOTA COMPAT {
940 150 AUE_GETSOCKNAME COMPAT|NOARGS {
943 _Out_writes_bytes_(*alen) struct sockaddr *asa,
946 } getsockname getsockname_args int
948 ; Syscalls 151-180 inclusive are reserved for vendor-specific
949 ; system calls. (This includes various calls added for compatibity
950 ; with other Unix variants.)
951 ; Some of these calls are now supported by BSD.
952 151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
953 152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
954 153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
955 ; 154 is initialised by the NLM code, if present.
961 _In_reads_(addr_count) char **addrs
964 ; 155 is initialized by the NFS code, if present.
965 155 AUE_NFS_SVC NOSTD {
971 156 AUE_GETDIRENTRIES COMPAT {
974 _Out_writes_bytes_(count) char *buf,
979 157 AUE_STATFS COMPAT4 {
981 _In_z_ const char *path,
982 _Out_ struct ostatfs *buf
985 158 AUE_FSTATFS COMPAT4 {
988 _Out_ struct ostatfs *buf
991 159 AUE_NULL UNIMPL nosys
994 _In_z_ const char *fname,
995 _Out_ struct fhandle *fhp
998 161 AUE_NFS_GETFH STD {
1000 _In_z_ const char *fname,
1001 _Out_ struct fhandle *fhp
1004 162 AUE_SYSCTL COMPAT4 {
1006 _Out_writes_z_(len) char *domainname,
1010 163 AUE_SYSCTL COMPAT4 {
1012 _In_reads_z_(len) char *domainname,
1016 164 AUE_NULL COMPAT4 {
1018 _Out_ struct utsname *name
1021 165 AUE_SYSARCH STD {
1027 166 AUE_RTPRIO STD {
1031 _Inout_ struct rtprio *rtp
1034 167 AUE_NULL UNIMPL nosys
1035 168 AUE_NULL UNIMPL nosys
1036 169 AUE_SEMSYS NOSTD {
1045 ; XXX should be { int semsys(int which, ...); }
1046 170 AUE_MSGSYS NOSTD {
1056 ; XXX should be { int msgsys(int which, ...); }
1057 171 AUE_SHMSYS NOSTD {
1065 ; XXX should be { int shmsys(int which, ...); }
1066 172 AUE_NULL UNIMPL nosys
1067 173 AUE_PREAD COMPAT6 {
1070 _Out_writes_bytes_(nbyte) void *buf,
1076 174 AUE_PWRITE COMPAT6 {
1079 _In_reads_bytes_(nbyte) const void *buf,
1085 175 AUE_SETFIB STD {
1090 176 AUE_NTP_ADJTIME STD {
1092 _Inout_ struct timex *tp
1095 177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
1096 178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
1097 179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
1098 180 AUE_NULL UNIMPL nosys
1100 ; Syscalls 181-199 are used by/reserved for BSD
1101 181 AUE_SETGID STD {
1106 182 AUE_SETEGID STD {
1111 183 AUE_SETEUID STD {
1116 184 AUE_NULL OBSOL lfs_bmapv
1117 185 AUE_NULL OBSOL lfs_markv
1118 186 AUE_NULL OBSOL lfs_segclean
1119 187 AUE_NULL OBSOL lfs_segwait
1120 188 AUE_STAT COMPAT11 {
1122 _In_z_ const char *path,
1123 _Out_ struct freebsd11_stat *ub
1126 189 AUE_FSTAT COMPAT11 {
1129 _Out_ struct freebsd11_stat *sb
1132 190 AUE_LSTAT COMPAT11 {
1134 _In_z_ const char *path,
1135 _Out_ struct freebsd11_stat *ub
1138 191 AUE_PATHCONF STD {
1140 _In_z_ const char *path,
1144 192 AUE_FPATHCONF STD {
1150 193 AUE_NULL UNIMPL nosys
1151 194 AUE_GETRLIMIT STD {
1154 _Out_ struct rlimit *rlp
1156 } getrlimit __getrlimit_args int
1157 195 AUE_SETRLIMIT STD {
1160 _In_ struct rlimit *rlp
1162 } setrlimit __setrlimit_args int
1163 196 AUE_GETDIRENTRIES COMPAT11 {
1166 _Out_writes_bytes_(count) char *buf,
1171 197 AUE_MMAP COMPAT6 {
1182 198 AUE_NULL NOPROTO {
1184 } __syscall __syscall_args int
1185 199 AUE_LSEEK COMPAT6 {
1193 200 AUE_TRUNCATE COMPAT6 {
1195 _In_z_ const char *path,
1200 201 AUE_FTRUNCATE COMPAT6 {
1207 202 AUE_SYSCTL STD {
1209 _In_reads_(namelen) int *name,
1211 _Out_writes_bytes_opt_(*oldlenp) void *old,
1212 _Inout_opt_ size_t *oldlenp,
1213 _In_reads_bytes_opt_(newlen) const void *new,
1216 } __sysctl sysctl_args int
1219 _In_ const void *addr,
1223 204 AUE_MUNLOCK STD {
1225 _In_ const void *addr,
1229 205 AUE_UNDELETE STD {
1231 _In_z_ const char *path
1234 206 AUE_FUTIMES STD {
1237 _In_reads_(2) struct timeval *tptr
1240 207 AUE_GETPGID STD {
1245 208 AUE_NULL UNIMPL nosys
1248 _Inout_updates_(nfds) struct pollfd *fds,
1254 ; The following are reserved for loadable syscalls
1256 210 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1257 211 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1258 212 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1259 213 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1260 214 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1261 215 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1262 216 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1263 217 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1264 218 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1265 219 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1267 220 AUE_SEMCTL COMPAT7|NOSTD {
1272 union semun_old *arg
1275 221 AUE_SEMGET NOSTD {
1282 222 AUE_SEMOP NOSTD {
1285 _In_reads_(nsops) struct sembuf *sops,
1289 223 AUE_NULL OBSOL semconfig
1290 224 AUE_MSGCTL COMPAT7|NOSTD {
1294 struct msqid_ds_old *buf
1297 225 AUE_MSGGET NOSTD {
1303 226 AUE_MSGSND NOSTD {
1306 _In_reads_bytes_(msgsz) const void *msgp,
1311 227 AUE_MSGRCV NOSTD {
1314 _Out_writes_bytes_(msgsz) void *msgp,
1320 228 AUE_SHMAT NOSTD {
1323 _In_ const void *shmaddr,
1327 229 AUE_SHMCTL COMPAT7|NOSTD {
1331 struct shmid_ds_old *buf
1334 230 AUE_SHMDT NOSTD {
1336 _In_ const void *shmaddr
1339 231 AUE_SHMGET NOSTD {
1349 _Out_ struct timespec *tp
1352 233 AUE_CLOCK_SETTIME STD {
1355 _In_ const struct timespec *tp
1361 _Out_ struct timespec *tp
1367 _In_ struct sigevent *evp,
1380 _In_ const struct itimerspec *value,
1381 _Out_opt_ struct itimerspec *ovalue
1387 _Out_ struct itimerspec *value
1391 int ktimer_getoverrun(
1397 _In_ const struct timespec *rqtp,
1398 _Out_opt_ struct timespec *rmtp
1402 int ffclock_getcounter(
1403 _Out_ ffcounter *ffcount
1407 int ffclock_setestimate(
1408 _In_ struct ffclock_estimate *cest
1412 int ffclock_getestimate(
1413 _Out_ struct ffclock_estimate *cest
1417 int clock_nanosleep(
1420 _In_ const struct timespec *rqtp,
1421 _Out_opt_ struct timespec *rmtp
1424 245-246 AUE_NULL UNIMPL nosys
1426 int clock_getcpuclockid2(
1429 _Out_ clockid_t *clock_id
1434 _Out_ struct ntptimeval *ntvp
1437 249 AUE_NULL UNIMPL nosys
1438 ; syscall numbers initially used in OpenBSD
1439 250 AUE_MINHERIT STD {
1451 252 AUE_POLL OBSOL openbsd_poll
1452 253 AUE_ISSETUGID STD {
1453 int issetugid(void);
1455 254 AUE_LCHOWN STD {
1457 _In_z_ const char *path,
1462 255 AUE_AIO_READ STD {
1464 _Inout_ struct aiocb *aiocbp
1467 256 AUE_AIO_WRITE STD {
1469 _Inout_ struct aiocb *aiocbp
1472 257 AUE_LIO_LISTIO STD {
1475 _Inout_updates_(nent) struct aiocb * const *acb_list,
1477 _In_opt_ struct sigevent *sig
1480 258-271 AUE_NULL UNIMPL nosys
1481 272 AUE_O_GETDENTS COMPAT11 {
1484 _Out_writes_bytes_(count) char *buf,
1488 273 AUE_NULL UNIMPL nosys
1489 274 AUE_LCHMOD STD {
1491 _In_z_ const char *path,
1495 275 AUE_NULL OBSOL netbsd_lchown
1496 276 AUE_LUTIMES STD {
1498 _In_z_ const char *path,
1499 _In_ struct timeval *tptr
1502 277 AUE_NULL OBSOL netbsd_msync
1503 278 AUE_STAT COMPAT11 {
1505 _In_z_ const char *path,
1506 _Out_ struct nstat *ub
1509 279 AUE_FSTAT COMPAT11 {
1512 _Out_ struct nstat *sb
1515 280 AUE_LSTAT COMPAT11 {
1517 _In_z_ const char *path,
1518 _Out_ struct nstat *ub
1521 281-288 AUE_NULL UNIMPL nosys
1522 289 AUE_PREADV STD {
1525 _In_reads_(iovcnt) struct iovec *iovp,
1530 290 AUE_PWRITEV STD {
1533 _In_reads_(iovcnt) struct iovec *iovp,
1538 291-296 AUE_NULL UNIMPL nosys
1539 297 AUE_FHSTATFS COMPAT4 {
1541 _In_ const struct fhandle *u_fhp,
1542 _Out_ struct ostatfs *buf
1545 298 AUE_FHOPEN STD {
1547 _In_ const struct fhandle *u_fhp,
1551 299 AUE_FHSTAT COMPAT11 {
1553 _In_ const struct fhandle *u_fhp,
1554 _Out_ struct freebsd11_stat *sb
1565 _Out_ struct module_stat *stat
1575 _In_z_ const char *name
1578 304 AUE_MODLOAD STD {
1580 _In_z_ const char *file
1583 305 AUE_MODUNLOAD STD {
1590 _In_z_ const char *file
1601 _Out_ struct kld_file_stat *stat
1609 310 AUE_GETSID STD {
1614 311 AUE_SETRESUID STD {
1621 312 AUE_SETRESGID STD {
1628 313 AUE_NULL OBSOL signanosleep
1629 314 AUE_AIO_RETURN STD {
1631 _Inout_ struct aiocb *aiocbp
1634 315 AUE_AIO_SUSPEND STD {
1636 _Inout_updates_(nent) struct aiocb * const * aiocbp,
1638 _In_opt_ const struct timespec *timeout
1641 316 AUE_AIO_CANCEL STD {
1644 _In_opt_ struct aiocb *aiocbp
1647 317 AUE_AIO_ERROR STD {
1649 _In_ struct aiocb *aiocbp
1652 318 AUE_AIO_READ COMPAT6 {
1654 _Inout_ struct oaiocb *aiocbp
1657 319 AUE_AIO_WRITE COMPAT6 {
1659 _Inout_ struct oaiocb *aiocbp
1662 320 AUE_LIO_LISTIO COMPAT6 {
1665 _Inout_updates_(nent) struct oaiocb * const *acb_list,
1667 _In_opt_ struct osigevent *sig
1673 322 AUE_NULL OBSOL thr_sleep
1674 323 AUE_NULL OBSOL thr_wakeup
1675 324 AUE_MLOCKALL STD {
1680 325 AUE_MUNLOCKALL STD {
1681 int munlockall(void); }
1682 326 AUE_GETCWD STD {
1684 _Out_writes_z_(buflen) char *buf,
1691 _In_ const struct sched_param *param
1697 _Out_ struct sched_param *param
1701 int sched_setscheduler(
1704 _In_ const struct sched_param *param
1708 int sched_getscheduler(
1713 int sched_yield(void);
1716 int sched_get_priority_max(
1721 int sched_get_priority_min(
1726 int sched_rr_get_interval(
1728 _Out_ struct timespec *interval
1733 _In_reads_bytes_(len) const void *addr,
1737 336 AUE_SENDFILE COMPAT4 {
1743 _In_opt_ struct sf_hdtr *hdtr,
1744 _Out_opt_ off_t *sbytes,
1757 _In_ struct jail *jail
1760 339 AUE_NULL NOSTD|NOTSTATIC {
1766 int a_followSymlinks
1769 340 AUE_SIGPROCMASK STD {
1772 _In_opt_ const sigset_t *set,
1773 _Out_opt_ sigset_t *oset
1776 341 AUE_SIGSUSPEND STD {
1778 _In_ const sigset_t *sigmask
1781 342 AUE_SIGACTION COMPAT4 {
1784 _In_opt_ const struct sigaction *act,
1785 _Out_opt_ struct sigaction *oact
1788 343 AUE_SIGPENDING STD {
1793 344 AUE_SIGRETURN COMPAT4 {
1795 _In_ const struct ucontext4 *sigcntxp
1798 345 AUE_SIGWAIT STD {
1800 _In_ const sigset_t *set,
1801 _Out_opt_ siginfo_t *info,
1802 _In_opt_ const struct timespec *timeout
1807 _In_ const sigset_t *set,
1808 _Out_opt_ siginfo_t *info
1811 347 AUE_ACL_GET_FILE STD {
1813 _In_z_ const char *path,
1815 _Out_ struct acl *aclp
1818 348 AUE_ACL_SET_FILE STD {
1820 _In_z_ const char *path,
1822 _In_ struct acl *aclp
1825 349 AUE_ACL_GET_FD STD {
1829 _Out_ struct acl *aclp
1832 350 AUE_ACL_SET_FD STD {
1836 _In_ struct acl *aclp
1839 351 AUE_ACL_DELETE_FILE STD {
1840 int __acl_delete_file(
1841 _In_z_ const char *path,
1845 352 AUE_ACL_DELETE_FD STD {
1846 int __acl_delete_fd(
1851 353 AUE_ACL_CHECK_FILE STD {
1852 int __acl_aclcheck_file(
1853 _In_z_ const char *path,
1855 _In_ struct acl *aclp
1858 354 AUE_ACL_CHECK_FD STD {
1859 int __acl_aclcheck_fd(
1862 _In_ struct acl *aclp
1865 355 AUE_EXTATTRCTL STD {
1867 _In_z_ const char *path,
1869 _In_z_opt_ const char *filename,
1871 _In_z_ const char *attrname
1874 356 AUE_EXTATTR_SET_FILE STD {
1875 ssize_t extattr_set_file(
1876 _In_z_ const char *path,
1878 _In_z_ const char *attrname,
1879 _In_reads_bytes_(nbytes) void *data,
1883 357 AUE_EXTATTR_GET_FILE STD {
1884 ssize_t extattr_get_file(
1885 _In_z_ const char *path,
1887 _In_z_ const char *attrname,
1888 _Out_writes_bytes_(nbytes) void *data,
1892 358 AUE_EXTATTR_DELETE_FILE STD {
1893 int extattr_delete_file(
1894 _In_z_ const char *path,
1896 _In_z_ const char *attrname
1899 359 AUE_AIO_WAITCOMPLETE STD {
1900 ssize_t aio_waitcomplete(
1901 _Outptr_result_maybenull_ struct aiocb **aiocbp,
1902 _In_opt_ struct timespec *timeout
1905 360 AUE_GETRESUID STD {
1907 _Out_opt_ uid_t *ruid,
1908 _Out_opt_ uid_t *euid,
1909 _Out_opt_ uid_t *suid
1912 361 AUE_GETRESGID STD {
1914 _Out_opt_ gid_t *rgid,
1915 _Out_opt_ gid_t *egid,
1916 _Out_opt_ gid_t *sgid
1919 362 AUE_KQUEUE STD {
1922 363 AUE_KEVENT COMPAT11 {
1925 _In_reads_opt_(nchanges) struct kevent_freebsd11 *changelist,
1927 _Out_writes_opt_(nevents) struct kevent_freebsd11 *eventlist,
1929 _In_opt_ const struct timespec *timeout
1932 364 AUE_NULL OBSOL __cap_get_proc
1933 365 AUE_NULL OBSOL __cap_set_proc
1934 366 AUE_NULL OBSOL __cap_get_fd
1935 367 AUE_NULL OBSOL __cap_get_file
1936 368 AUE_NULL OBSOL __cap_set_fd
1937 369 AUE_NULL OBSOL __cap_set_file
1938 370 AUE_NULL UNIMPL nosys
1939 371 AUE_EXTATTR_SET_FD STD {
1940 ssize_t extattr_set_fd(
1943 _In_z_ const char *attrname,
1944 _In_reads_bytes_(nbytes) void *data,
1948 372 AUE_EXTATTR_GET_FD STD {
1949 ssize_t extattr_get_fd(
1952 _In_z_ const char *attrname,
1953 _Out_writes_bytes_(nbytes) void *data,
1957 373 AUE_EXTATTR_DELETE_FD STD {
1958 int extattr_delete_fd(
1961 _In_z_ const char *attrname
1964 374 AUE_SETUGID STD {
1969 375 AUE_NULL OBSOL nfsclnt
1970 376 AUE_EACCESS STD {
1972 _In_z_ const char *path,
1976 377 AUE_NULL NOSTD|NOTSTATIC {
1987 378 AUE_NMOUNT STD {
1989 _In_reads_(iovcnt) struct iovec *iovp,
1990 unsigned int iovcnt,
1994 379 AUE_NULL OBSOL kse_exit
1995 380 AUE_NULL OBSOL kse_wakeup
1996 381 AUE_NULL OBSOL kse_create
1997 382 AUE_NULL OBSOL kse_thr_interrupt
1998 383 AUE_NULL OBSOL kse_release
2001 _In_ struct mac *mac_p
2006 _In_ struct mac *mac_p
2012 _In_ struct mac *mac_p
2017 _In_z_ const char *path_p,
2018 _In_ struct mac *mac_p
2024 _In_ struct mac *mac_p
2029 _In_z_ const char *path_p,
2030 _In_ struct mac *mac_p
2036 _In_z_opt_ const char *name,
2037 _Inout_updates_opt_(len) char *value,
2041 391 AUE_LCHFLAGS STD {
2043 _In_z_ const char *path,
2049 _Out_writes_(count) struct uuid *store,
2053 393 AUE_SENDFILE STD {
2059 _In_opt_ struct sf_hdtr *hdtr,
2060 _Out_opt_ off_t *sbytes,
2066 _In_z_ const char *policy,
2071 395 AUE_GETFSSTAT COMPAT11 {
2073 _Out_writes_bytes_opt_(bufsize) struct freebsd11_statfs *buf,
2078 396 AUE_STATFS COMPAT11 {
2080 _In_z_ const char *path,
2081 _Out_ struct freebsd11_statfs *buf
2084 397 AUE_FSTATFS COMPAT11 {
2087 _Out_ struct freebsd11_statfs *buf
2090 398 AUE_FHSTATFS COMPAT11 {
2092 _In_ const struct fhandle *u_fhp,
2093 _Out_ struct freebsd11_statfs *buf
2096 399 AUE_NULL UNIMPL nosys
2097 400 AUE_SEMCLOSE NOSTD {
2102 401 AUE_SEMPOST NOSTD {
2107 402 AUE_SEMWAIT NOSTD {
2112 403 AUE_SEMTRYWAIT NOSTD {
2117 404 AUE_SEMINIT NOSTD {
2123 405 AUE_SEMOPEN NOSTD {
2126 _In_z_ const char *name,
2132 406 AUE_SEMUNLINK NOSTD {
2134 _In_z_ const char *name
2137 407 AUE_SEMGETVALUE NOSTD {
2143 408 AUE_SEMDESTROY NOSTD {
2151 _In_ struct mac *mac_p
2156 _In_z_ const char *path_p,
2157 _In_ struct mac *mac_p
2162 _In_z_ const char *path_p,
2163 _In_ struct mac *mac_p
2166 412 AUE_EXTATTR_SET_LINK STD {
2167 ssize_t extattr_set_link(
2168 _In_z_ const char *path,
2170 _In_z_ const char *attrname,
2171 _In_reads_bytes_(nbytes) void *data,
2175 413 AUE_EXTATTR_GET_LINK STD {
2176 ssize_t extattr_get_link(
2177 _In_z_ const char *path,
2179 _In_z_ const char *attrname,
2180 _Out_writes_bytes_(nbytes) void *data,
2184 414 AUE_EXTATTR_DELETE_LINK STD {
2185 int extattr_delete_link(
2186 _In_z_ const char *path,
2188 _In_z_ const char *attrname
2193 _In_z_ const char *fname,
2196 _In_ struct mac *mac_p
2199 416 AUE_SIGACTION STD {
2202 _In_opt_ const struct sigaction *act,
2203 _Out_opt_ struct sigaction *oact
2206 417 AUE_SIGRETURN STD {
2208 _In_ const struct __ucontext *sigcntxp
2211 418 AUE_NULL UNIMPL __xstat
2212 419 AUE_NULL UNIMPL __xfstat
2213 420 AUE_NULL UNIMPL __xlstat
2216 _Out_ struct __ucontext *ucp
2221 _In_ const struct __ucontext *ucp
2226 _Out_ struct __ucontext *oucp,
2227 _In_ const struct __ucontext *ucp
2230 424 AUE_SWAPOFF STD {
2232 _In_z_ const char *name
2235 425 AUE_ACL_GET_LINK STD {
2237 _In_z_ const char *path,
2239 _Out_ struct acl *aclp
2242 426 AUE_ACL_SET_LINK STD {
2244 _In_z_ const char *path,
2246 _In_ struct acl *aclp
2249 427 AUE_ACL_DELETE_LINK STD {
2250 int __acl_delete_link(
2251 _In_z_ const char *path,
2255 428 AUE_ACL_CHECK_LINK STD {
2256 int __acl_aclcheck_link(
2257 _In_z_ const char *path,
2259 _In_ struct acl *aclp
2262 429 AUE_SIGWAIT STD {
2264 _In_ const sigset_t *set,
2268 430 AUE_THR_CREATE STD {
2270 _In_ ucontext_t *ctx,
2275 431 AUE_THR_EXIT STD {
2277 _Out_opt_ long *state
2285 433 AUE_THR_KILL STD {
2291 434-435 AUE_NULL UNIMPL nosys
2292 436 AUE_JAIL_ATTACH STD {
2297 437 AUE_EXTATTR_LIST_FD STD {
2298 ssize_t extattr_list_fd(
2301 _Out_writes_bytes_opt_(nbytes) void *data,
2305 438 AUE_EXTATTR_LIST_FILE STD {
2306 ssize_t extattr_list_file(
2307 _In_z_ const char *path,
2309 _Out_writes_bytes_opt_(nbytes) void *data,
2313 439 AUE_EXTATTR_LIST_LINK STD {
2314 ssize_t extattr_list_link(
2315 _In_z_ const char *path,
2317 _Out_writes_bytes_opt_(nbytes)
2322 440 AUE_NULL OBSOL kse_switchin
2323 441 AUE_SEMWAIT NOSTD {
2326 _In_opt_ const struct timespec *abstime
2331 _In_opt_ const struct timespec *timeout
2339 444 AUE_MODUNLOAD STD {
2347 _In_reads_bytes_(length) const void *record,
2351 446 AUE_AUDITON STD {
2354 _In_opt_ void *data,
2358 447 AUE_GETAUID STD {
2363 448 AUE_SETAUID STD {
2368 449 AUE_GETAUDIT STD {
2370 _Out_ struct auditinfo *auditinfo
2373 450 AUE_SETAUDIT STD {
2375 _In_ struct auditinfo *auditinfo
2378 451 AUE_GETAUDIT_ADDR STD {
2380 _Out_writes_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2384 452 AUE_SETAUDIT_ADDR STD {
2386 _In_reads_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2390 453 AUE_AUDITCTL STD {
2392 _In_z_ const char *path
2404 455 AUE_THR_NEW STD {
2406 _In_ struct thr_param *param,
2418 457 AUE_MQ_OPEN NOSTD {
2420 _In_z_ const char *path,
2423 _In_opt_ const struct mq_attr *attr
2426 458 AUE_MQ_SETATTR NOSTD {
2429 _In_opt_ const struct mq_attr *attr,
2430 _Out_opt_ struct mq_attr *oattr
2433 459 AUE_MQ_TIMEDRECEIVE NOSTD {
2434 int kmq_timedreceive(
2436 _Out_writes_bytes_(msg_len) char *msg_ptr,
2438 _Out_opt_ unsigned *msg_prio,
2439 _In_opt_ const struct timespec *abs_timeout
2442 460 AUE_MQ_TIMEDSEND NOSTD {
2445 _In_reads_bytes_(msg_len) const char *msg_ptr,
2448 _In_opt_ const struct timespec *abs_timeout
2451 461 AUE_MQ_NOTIFY NOSTD {
2454 _In_opt_ const struct sigevent *sigev
2457 462 AUE_MQ_UNLINK NOSTD {
2459 _In_z_ const char *path
2464 _In_z_ const char *why,
2466 _In_reads_(nargs) void **args
2472 _In_z_ const char *name
2475 465 AUE_AIO_FSYNC STD {
2478 _In_ struct aiocb *aiocbp
2481 466 AUE_RTPRIO STD {
2485 _Inout_ struct rtprio *rtp
2488 467-468 AUE_NULL UNIMPL nosys
2489 469 AUE_NULL UNIMPL __getpath_fromfd
2490 470 AUE_NULL UNIMPL __getpath_fromaddr
2491 471 AUE_SCTP_PEELOFF NOSTD {
2497 472 AUE_SCTP_GENERIC_SENDMSG NOSTD {
2498 int sctp_generic_sendmsg(
2500 _In_reads_bytes_(mlen) void *msg,
2502 _In_reads_bytes_(tolen) struct sockaddr *to,
2504 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2508 473 AUE_SCTP_GENERIC_SENDMSG_IOV NOSTD {
2509 int sctp_generic_sendmsg_iov(
2511 _In_reads_(iovlen) struct iovec *iov,
2513 _In_reads_bytes_(tolen) struct sockaddr *to,
2515 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2519 474 AUE_SCTP_GENERIC_RECVMSG NOSTD {
2520 int sctp_generic_recvmsg(
2522 _In_reads_(iovlen) struct iovec *iov,
2524 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
2525 _Out_ __socklen_t *fromlenaddr,
2526 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2527 _Out_opt_ int *msg_flags
2533 _Out_writes_bytes_(nbyte) void *buf,
2538 476 AUE_PWRITE STD {
2541 _In_reads_bytes_(nbyte) const void *buf,
2563 479 AUE_TRUNCATE STD {
2565 _In_z_ const char *path,
2569 480 AUE_FTRUNCATE STD {
2575 481 AUE_THR_KILL2 STD {
2582 482 AUE_SHMOPEN COMPAT12 {
2584 _In_z_ const char *path,
2589 483 AUE_SHMUNLINK STD {
2591 _In_z_ const char *path
2596 _Out_ cpusetid_t *setid
2611 _Out_ cpusetid_t *setid
2615 int cpuset_getaffinity(
2620 _Out_ cpuset_t *mask
2624 int cpuset_setaffinity(
2629 _Out_ const cpuset_t *mask
2632 489 AUE_FACCESSAT STD {
2635 _In_z_ const char *path,
2640 490 AUE_FCHMODAT STD {
2643 _In_z_ const char *path,
2648 491 AUE_FCHOWNAT STD {
2651 _In_z_ const char *path,
2657 492 AUE_FEXECVE STD {
2664 493 AUE_FSTATAT COMPAT11 {
2667 _In_z_ const char *path,
2668 _Out_ struct freebsd11_stat *buf,
2672 494 AUE_FUTIMESAT STD {
2675 _In_z_ const char *path,
2676 _In_reads_(2) struct timeval *times
2679 495 AUE_LINKAT STD {
2682 _In_z_ const char *path1,
2684 _In_z_ const char *path2,
2688 496 AUE_MKDIRAT STD {
2691 _In_z_ const char *path,
2695 497 AUE_MKFIFOAT STD {
2698 _In_z_ const char *path,
2702 498 AUE_MKNODAT COMPAT11 {
2705 _In_z_ const char *path,
2710 ; XXX: see the comment for open
2711 499 AUE_OPENAT_RWTC STD {
2714 _In_z_ const char *path,
2719 500 AUE_READLINKAT STD {
2722 _In_z_ const char *path,
2723 _Out_writes_bytes_(bufsize) char *buf,
2727 501 AUE_RENAMEAT STD {
2730 _In_z_ const char *old,
2732 _In_z_ const char *new
2735 502 AUE_SYMLINKAT STD {
2737 _In_z_ const char *path1,
2739 _In_z_ const char *path2
2742 503 AUE_UNLINKAT STD {
2745 _In_z_ const char *path,
2749 504 AUE_POSIX_OPENPT STD {
2754 ; 505 is initialised by the kgssapi code, if present.
2755 505 AUE_NULL NOSTD {
2757 _In_z_ const char *path
2760 506 AUE_JAIL_GET STD {
2762 _In_reads_(iovcnt) struct iovec *iovp,
2763 unsigned int iovcnt,
2767 507 AUE_JAIL_SET STD {
2769 _In_reads_(iovcnt) struct iovec *iovp,
2770 unsigned int iovcnt,
2774 508 AUE_JAIL_REMOVE STD {
2779 509 AUE_CLOSEFROM COMPAT12 {
2784 510 AUE_SEMCTL NOSTD {
2789 _Inout_ union semun *arg
2792 511 AUE_MSGCTL NOSTD {
2796 _Inout_opt_ struct msqid_ds *buf
2799 512 AUE_SHMCTL NOSTD {
2803 _Inout_opt_ struct shmid_ds *buf
2806 513 AUE_LPATHCONF STD {
2808 _In_z_ const char *path,
2812 514 AUE_NULL OBSOL cap_new
2813 515 AUE_CAP_RIGHTS_GET STD {
2814 int __cap_rights_get(
2817 _Out_ cap_rights_t *rightsp
2820 516 AUE_CAP_ENTER STD {
2821 int cap_enter(void);
2823 517 AUE_CAP_GETMODE STD {
2828 518 AUE_PDFORK STD {
2834 519 AUE_PDKILL STD {
2840 520 AUE_PDGETPID STD {
2846 521 AUE_PDWAIT UNIMPL pdwait4
2847 522 AUE_SELECT STD {
2850 _Inout_opt_ fd_set *in,
2851 _Inout_opt_ fd_set *ou,
2852 _Inout_opt_ fd_set *ex,
2853 _In_opt_ const struct timespec *ts,
2854 _In_opt_ const sigset_t *sm
2857 523 AUE_GETLOGINCLASS STD {
2859 _Out_writes_z_(namelen) char *namebuf,
2863 524 AUE_SETLOGINCLASS STD {
2865 _In_z_ const char *namebuf
2870 _In_reads_bytes_(inbuflen) const void *inbufp,
2872 _Out_writes_bytes_(outbuflen) void *outbufp,
2878 _In_reads_bytes_(inbuflen) const void *inbufp,
2880 _Out_writes_bytes_(outbuflen) void *outbufp,
2885 int rctl_get_limits(
2886 _In_reads_bytes_(inbuflen) const void *inbufp,
2888 _Out_writes_bytes_(outbuflen) void *outbufp,
2894 _In_reads_bytes_(inbuflen) const void *inbufp,
2896 _Out_writes_bytes_(outbuflen) void *outbufp,
2901 int rctl_remove_rule(
2902 _In_reads_bytes_(inbuflen) const void *inbufp,
2904 _Out_writes_bytes_(outbuflen) void *outbufp,
2908 530 AUE_POSIX_FALLOCATE STD {
2909 int posix_fallocate(
2915 531 AUE_POSIX_FADVISE STD {
2927 _Out_opt_ int *status,
2929 _Out_opt_ struct __wrusage *wrusage,
2930 _Out_opt_ siginfo_t *info
2933 533 AUE_CAP_RIGHTS_LIMIT STD {
2934 int cap_rights_limit(
2936 _In_ cap_rights_t *rightsp
2939 534 AUE_CAP_IOCTLS_LIMIT STD {
2940 int cap_ioctls_limit(
2942 _In_reads_(ncmds) const u_long *cmds,
2946 535 AUE_CAP_IOCTLS_GET STD {
2947 ssize_t cap_ioctls_get(
2949 _Out_writes_(maxcmds) u_long *cmds,
2953 536 AUE_CAP_FCNTLS_LIMIT STD {
2954 int cap_fcntls_limit(
2956 uint32_t fcntlrights
2959 537 AUE_CAP_FCNTLS_GET STD {
2962 _Out_ uint32_t *fcntlrightsp
2965 538 AUE_BINDAT STD {
2969 _In_reads_bytes_(namelen) const struct sockaddr *name,
2973 539 AUE_CONNECTAT STD {
2977 _In_reads_bytes_(namelen) const struct sockaddr *name,
2981 540 AUE_CHFLAGSAT STD {
2984 _In_z_ const char *path,
2989 541 AUE_ACCEPT STD {
2992 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
2993 _Inout_opt_ __socklen_t *anamelen,
2999 _Out_writes_(2) int *fildes,
3003 543 AUE_AIO_MLOCK STD {
3005 _In_ struct aiocb *aiocbp
3008 544 AUE_PROCCTL STD {
3018 _Inout_updates_(nfds) struct pollfd *fds,
3020 _In_opt_ const struct timespec *ts,
3021 _In_opt_ const sigset_t *set
3024 546 AUE_FUTIMES STD {
3027 _In_reads_(2) struct timespec *times
3030 547 AUE_FUTIMESAT STD {
3033 _In_z_ const char *path,
3034 _In_reads_(2) struct timespec *times,
3038 548 AUE_NULL OBSOL numa_getaffinity
3039 549 AUE_NULL OBSOL numa_setaffinity
3048 _Out_ struct stat *sb
3051 552 AUE_FSTATAT STD {
3054 _In_z_ const char *path,
3055 _Out_ struct stat *buf,
3059 553 AUE_FHSTAT STD {
3061 _In_ const struct fhandle *u_fhp,
3062 _Out_ struct stat *sb
3065 554 AUE_GETDIRENTRIES STD {
3066 ssize_t getdirentries(
3068 _Out_writes_bytes_(count) char *buf,
3073 555 AUE_STATFS STD {
3075 _In_z_ const char *path,
3076 _Out_ struct statfs *buf
3079 556 AUE_FSTATFS STD {
3082 _Out_ struct statfs *buf
3085 557 AUE_GETFSSTAT STD {
3087 _Out_writes_bytes_opt_(bufsize) struct statfs *buf,
3092 558 AUE_FHSTATFS STD {
3094 _In_ const struct fhandle *u_fhp,
3095 _Out_ struct statfs *buf
3098 559 AUE_MKNODAT STD {
3101 _In_z_ const char *path,
3106 560 AUE_KEVENT STD {
3109 _In_reads_opt_(nchanges) struct kevent *changelist,
3111 _Out_writes_opt_(nevents) struct kevent *eventlist,
3113 _In_opt_ const struct timespec *timeout
3117 int cpuset_getdomain(
3121 size_t domainsetsize,
3122 _Out_writes_bytes_(domainsetsize) domainset_t *mask,
3127 int cpuset_setdomain(
3131 size_t domainsetsize,
3132 _In_ domainset_t *mask,
3138 _Out_writes_bytes_(buflen) void *buf,
3147 _Out_ struct fhandle *fhp,
3153 _In_ struct fhandle *fhp,
3154 _In_z_ const char *to
3159 _In_ struct fhandle *fhp,
3161 _In_z_ const char *to,
3166 _In_ struct fhandle *fhp,
3167 _Out_writes_(bufsize) char *buf,
3171 568 AUE_UNLINKAT STD {
3174 _In_z_ const char *path,
3180 ssize_t copy_file_range(
3182 _Inout_opt_ off_t *inoffp,
3184 _Inout_opt_ off_t *outoffp,
3189 570 AUE_SYSCTL STD {
3191 _In_reads_(namelen) const char *name,
3193 _Out_writes_bytes_opt_(*oldlenp) void *old,
3194 _Inout_opt_ size_t *oldlenp,
3195 _In_reads_bytes_opt_(newlen) void *new,
3199 571 AUE_SHMOPEN STD {
3201 _In_z_ const char *path,
3205 _In_z_ const char *name
3208 572 AUE_SHMRENAME STD {
3210 _In_z_ const char *path_from,
3211 _In_z_ const char *path_to,
3218 _Inout_opt_ uint32_t *ptr
3221 574 AUE_REALPATHAT STD {
3224 _In_z_ const char *path,
3225 _Out_writes_z_(size) char *buf,
3230 575 AUE_CLOSERANGE STD {
3237 ; 576 is initialised by the krpc code, if present.
3238 576 AUE_NULL NOSTD {
3241 _In_z_ const char *path
3245 ; Please copy any additions and changes to the following compatability tables:
3246 ; sys/compat/freebsd32/syscalls.master