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 ; New FreeBSD system calls should be added to the bottom of this file.
9 ; Columns: number audit type name alt{name,tag,rtyp}/comments
10 ; number system call number, must be in order
11 ; audit the audit event associated with the system call
12 ; A value of AUE_NULL means no auditing, but it also means that
13 ; there is no audit event for the call at this time. For the
14 ; case where the event exists, but we don't want auditing, the
15 ; event should be #defined to AUE_NULL in audit_kevents.h.
16 ; type one of STD, OBSOL, RESERVED, UNIMPL, COMPAT, COMPAT4, COMPAT6,
17 ; COMPAT7, COMPAT11, COMPAT12, NODEF, NOARGS, NOPROTO, NOSTD
18 ; The COMPAT* options may be combined with one or more NO*
19 ; options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
20 ; name pseudo-prototype of syscall routine
21 ; If one of the following alts is different, then all appear:
22 ; altname name of system call if different
23 ; alttag name of args struct tag if different from [o]`name'"_args"
24 ; altrtyp return type if not int (bogus - syscalls always return int)
25 ; for UNIMPL/OBSOL, name continues with comments
29 ; COMPAT included on COMPAT #ifdef
30 ; COMPAT4 included on COMPAT_FREEBSD4 #ifdef (FreeBSD 4 compat)
31 ; COMPAT6 included on COMPAT_FREEBSD6 #ifdef (FreeBSD 6 compat)
32 ; COMPAT7 included on COMPAT_FREEBSD7 #ifdef (FreeBSD 7 compat)
33 ; COMPAT10 included on COMPAT_FREEBSD10 #ifdef (FreeBSD 10 compat)
34 ; COMPAT11 included on COMPAT_FREEBSD11 #ifdef (FreeBSD 11 compat)
35 ; COMPAT12 included on COMPAT_FREEBSD12 #ifdef (FreeBSD 12 compat)
36 ; OBSOL obsolete, not included in system, only specifies name
37 ; RESERVED reserved for local or vendor use (not for FreeBSD)
38 ; UNIMPL not implemented, placeholder only
39 ; NOSTD implemented but as a lkm that can be statically
40 ; compiled in; sysent entry will be filled with lkmressys
41 ; so the SYSCALL_MODULE macro works
42 ; NOARGS same as STD except do not create structure in sys/sysproto.h
43 ; NODEF same as STD except only have the entry in the syscall table
44 ; added. Meaning - do not create structure or function
45 ; prototype in sys/sysproto.h
46 ; NOPROTO same as STD except do not create structure or
47 ; function prototype in sys/sysproto.h. Does add a
48 ; definition to syscall.h besides adding a sysent.
49 ; NOTSTATIC syscall is loadable
52 ; SAL 2.0 annotations are used to specify how system calls treat
53 ; arguments that are passed using pointers. There are three basic
56 ; _In_ Object pointed to will be read and not modified.
57 ; _Out_ Object pointed to will be written and not read.
58 ; _Inout_ Object pointed to will be written and read.
60 ; These annotations are used alone when the pointer refers to a single
61 ; object i.e. scalar types, structs, and pointers, and not NULL. Adding
62 ; the _opt_ suffix, e.g. _In_opt_, implies that the pointer may also
65 ; For pointers to arrays, additional suffixes are added:
67 ; _In_z_, _Out_z_, _Inout_z_:
68 ; for a NUL terminated array e.g. a string.
69 ; _In_reads_z_(n),_Out_writes_z_(n), _Inout_updates_z_(n):
70 ; for a NUL terminated array e.g. a string, of known length n bytes.
71 ; _In_reads_(n),_Out_writes_(n),_Inout_updates_(n):
72 ; for an array of n elements.
73 ; _In_reads_bytes_(n), _Out_writes_bytes_(n), _Inout_updates_bytes(n):
74 ; for a buffer of n-bytes.
76 ; Please copy any additions and changes to the following compatability tables:
77 ; sys/compat/freebsd32/syscalls.master
79 ; #ifdef's, etc. may be included, and are copied to the output files.
81 #include <sys/param.h>
82 #include <sys/sysent.h>
83 #include <sys/sysproto.h>
87 } syscall nosys_args int
92 } exit sys_exit_args void
99 _Out_writes_bytes_(nbyte) void *buf,
106 _In_reads_bytes_(nbyte) const void *buf,
110 5 AUE_OPEN_RWTC STD {
112 _In_z_ const char *path,
117 ; XXX should be { int open(const char *path, int flags, ...); }
118 ; but we're not ready for varargs.
127 _Out_opt_ int *status,
129 _Out_opt_ struct rusage *rusage
134 _In_z_ const char *path,
140 _In_z_ const char *path,
141 _In_z_ const char *link
146 _In_z_ const char *path
149 11 AUE_NULL OBSOL execv
152 _In_z_ const char *path
160 14 AUE_MKNOD COMPAT11 {
162 _In_z_ const char *path,
169 _In_z_ const char *path,
175 _In_z_ const char *path,
185 18 AUE_GETFSSTAT COMPAT4 {
187 _Out_writes_bytes_opt_(bufsize) struct ostatfs *buf,
192 19 AUE_LSEEK COMPAT {
204 _In_z_ const char *type,
205 _In_z_ const char *path,
212 _In_z_ const char *path,
231 _Inout_opt_ caddr_t addr,
238 _Inout_ struct msghdr *msg,
245 _In_ struct msghdr *msg,
249 29 AUE_RECVFROM STD {
252 _Out_writes_bytes_(len) void *buf,
255 _Out_writes_bytes_opt_(*fromlenaddr) struct sockaddr *from,
256 _Inout_opt_ __socklen_t *fromlenaddr
262 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
263 _Inout_opt_ __socklen_t *anamelen
266 31 AUE_GETPEERNAME STD {
269 _Out_writes_bytes_(*alen) struct sockaddr *asa,
270 _Inout_opt_ __socklen_t *alen
273 32 AUE_GETSOCKNAME STD {
276 _Out_writes_bytes_(*alen) struct sockaddr *asa,
277 _Inout_ __socklen_t *alen
282 _In_z_ const char *path,
288 _In_z_ const char *path,
292 35 AUE_FCHFLAGS STD {
309 _In_z_ const char *path,
310 _Out_ struct ostat *ub
316 40 AUE_LSTAT COMPAT {
318 _In_z_ const char *path,
319 _Out_ struct ostat *ub
327 42 AUE_PIPE COMPAT10 {
335 _Out_writes_bytes_(size) char *samples,
343 _In_z_ const char *fname,
349 46 AUE_SIGACTION COMPAT {
352 _In_opt_ struct osigaction *nsa,
353 _Out_opt_ struct osigaction *osa
359 48 AUE_SIGPROCMASK COMPAT {
365 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
366 ; us the mask, not a pointer to it, and we return the old mask as the
367 ; (int) return value.
368 49 AUE_GETLOGIN STD {
370 _Out_writes_z_(namelen) char *namebuf,
374 50 AUE_SETLOGIN STD {
376 _In_z_ const char *namebuf
381 _In_z_ const char *path
384 52 AUE_SIGPENDING COMPAT {
385 int sigpending(void);
387 53 AUE_SIGALTSTACK STD {
389 _In_opt_ stack_t *ss,
390 _Out_opt_ stack_t *oss
397 _Inout_opt_ char *data
407 _In_z_ const char *path
412 _In_z_ const char *path,
413 _In_z_ const char *link
416 58 AUE_READLINK STD {
418 _In_z_ const char *path,
419 _Out_writes_z_(count) char *buf,
425 _In_z_ const char *fname,
437 _In_z_ const char *path
440 62 AUE_FSTAT COMPAT {
443 _Out_ struct ostat *sb
449 _Out_writes_bytes_opt(
451 _Inout_opt_ size_t *size,
456 int getpagesize(void);
468 67 AUE_NULL OBSOL vread
469 68 AUE_NULL OBSOL vwrite
490 72 AUE_O_VADVISE COMPAT11 {
501 74 AUE_MPROTECT STD {
515 76 AUE_NULL OBSOL vhangup
516 77 AUE_NULL OBSOL vlimit
519 _In_ const void *addr,
521 _Out_writes_bytes_(len/PAGE_SIZE) char *vec
524 79 AUE_GETGROUPS STD {
527 _Out_writes_opt_(gidsetsize) gid_t *gidset
530 80 AUE_SETGROUPS STD {
533 _In_reads_(gidsetsize) gid_t *gidset
545 83 AUE_SETITIMER STD {
548 _In_ struct itimerval *itv,
549 _Out_opt_ struct itimerval *oitv
552 84 AUE_WAIT4 COMPAT {
557 _In_z_ const char *name
560 86 AUE_GETITIMER STD {
563 _Out_ struct itimerval *itv
566 87 AUE_SYSCTL COMPAT {
568 _Out_writes_z_(len) char *hostname,
572 88 AUE_SYSCTL COMPAT {
574 _In_reads_z_(len) char *hostname,
578 89 AUE_GETDTABLESIZE STD {
579 int getdtablesize(void);
595 ; XXX should be { int fcntl(int fd, int cmd, ...); }
596 ; but we're not ready for varargs.
600 _Inout_opt_ fd_set *in,
601 _Inout_opt_ fd_set *ou,
602 _Inout_opt_ fd_set *ex,
603 _In_opt_ struct timeval *tv
612 96 AUE_SETPRIORITY STD {
629 _In_reads_bytes_(namelen) const struct sockaddr *name,
633 99 AUE_ACCEPT COMPAT {
636 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
640 100 AUE_GETPRIORITY STD {
646 101 AUE_SEND COMPAT {
649 _In_reads_bytes_(len) const void *buf,
654 102 AUE_RECV COMPAT {
657 _Out_writes_bytes_(len) void *buf,
662 103 AUE_SIGRETURN COMPAT {
664 _In_ struct osigcontext *sigcntxp
670 _In_reads_bytes_(namelen) const struct sockaddr *name,
674 105 AUE_SETSOCKOPT STD {
679 _In_reads_bytes_opt_(valsize) const void *val,
689 107 AUE_NULL OBSOL vtimes
690 108 AUE_NULL COMPAT {
693 _In_opt_ struct sigvec *nsv,
694 _Out_opt_ struct sigvec *osv
697 109 AUE_NULL COMPAT {
702 110 AUE_NULL COMPAT {
707 111 AUE_NULL COMPAT {
712 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
713 ; us the mask, not a pointer to it.
714 112 AUE_NULL COMPAT {
716 _In_opt_ struct sigstack *nss,
717 _Out_opt_ struct sigstack *oss
720 113 AUE_RECVMSG COMPAT {
723 _Inout_ struct omsghdr *msg,
727 114 AUE_SENDMSG COMPAT {
730 _In_ const void *msg,
734 115 AUE_NULL OBSOL vtrace
735 116 AUE_GETTIMEOFDAY STD {
737 _Out_ struct timeval *tp,
738 _Out_opt_ struct timezone *tzp
741 117 AUE_GETRUSAGE STD {
744 _Out_ struct rusage *rusage
747 118 AUE_GETSOCKOPT STD {
752 _Out_writes_bytes_opt_(*avalsize) void *val,
753 _Inout_ int *avalsize
756 119 AUE_NULL RESERVED
760 _Inout_updates_(iovcnt) struct iovec *iovp,
767 _In_reads_opt_(iovcnt) struct iovec *iovp,
771 122 AUE_SETTIMEOFDAY STD {
773 _In_ struct timeval *tv,
774 _In_opt_ struct timezone *tzp
790 125 AUE_RECVFROM COMPAT|NOARGS {
793 _Out_writes_(len) void *buf,
796 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
797 _Inout_ int *fromlenaddr
799 } recvfrom recvfrom_args int
800 126 AUE_SETREUID STD {
806 127 AUE_SETREGID STD {
814 _In_z_ const char *from,
815 _In_z_ const char *to
818 129 AUE_TRUNCATE COMPAT {
820 _In_z_ const char *path,
824 130 AUE_FTRUNCATE COMPAT {
838 _In_z_ const char *path,
845 _In_reads_bytes_(len) const void *buf,
848 _In_reads_bytes_opt_(tolen) const struct sockaddr *to,
852 134 AUE_SHUTDOWN STD {
858 135 AUE_SOCKETPAIR STD {
863 _Out_writes_(2) int *rsv
868 _In_z_ const char *path,
874 _In_z_ const char *path
879 _In_z_ const char *path,
880 _In_ struct timeval *tptr
883 139 AUE_NULL OBSOL 4.2 sigreturn
884 140 AUE_ADJTIME STD {
886 _In_ struct timeval *delta,
887 _Out_opt_ struct timeval *olddelta
890 141 AUE_GETPEERNAME COMPAT {
893 _Out_writes_bytes_(*alen) struct sockaddr *asa,
894 _Inout_opt_ int *alen
897 142 AUE_SYSCTL COMPAT {
898 long gethostid(void);
900 143 AUE_SYSCTL COMPAT {
905 144 AUE_GETRLIMIT COMPAT {
908 _Out_ struct orlimit *rlp
911 145 AUE_SETRLIMIT COMPAT {
914 _Out_ struct orlimit *rlp
917 146 AUE_KILLPG COMPAT {
926 148 AUE_QUOTACTL STD {
928 _In_z_ const char *path,
934 149 AUE_O_QUOTA COMPAT {
937 150 AUE_GETSOCKNAME COMPAT|NOARGS {
940 _Out_writes_bytes_(*alen) struct sockaddr *asa,
943 } getsockname getsockname_args int
945 151-153 AUE_NULL RESERVED
946 ; 154 is initialised by the NLM code, if present.
952 _In_reads_(addr_count) char **addrs
955 ; 155 is initialized by the NFS code, if present.
956 155 AUE_NFS_SVC NOSTD {
962 156 AUE_GETDIRENTRIES COMPAT {
965 _Out_writes_bytes_(count) char *buf,
970 157 AUE_STATFS COMPAT4 {
972 _In_z_ const char *path,
973 _Out_ struct ostatfs *buf
976 158 AUE_FSTATFS COMPAT4 {
979 _Out_ struct ostatfs *buf
982 159 AUE_NULL RESERVED
985 _In_z_ const char *fname,
986 _Out_ struct fhandle *fhp
989 161 AUE_NFS_GETFH STD {
991 _In_z_ const char *fname,
992 _Out_ struct fhandle *fhp
995 162 AUE_SYSCTL COMPAT4 {
997 _Out_writes_z_(len) char *domainname,
1001 163 AUE_SYSCTL COMPAT4 {
1003 _In_reads_z_(len) char *domainname,
1007 164 AUE_NULL COMPAT4 {
1009 _Out_ struct utsname *name
1012 165 AUE_SYSARCH STD {
1018 166 AUE_RTPRIO STD {
1022 _Inout_ struct rtprio *rtp
1025 167-168 AUE_NULL RESERVED
1026 169 AUE_SEMSYS NOSTD {
1035 ; XXX should be { int semsys(int which, ...); }
1036 170 AUE_MSGSYS NOSTD {
1046 ; XXX should be { int msgsys(int which, ...); }
1047 171 AUE_SHMSYS NOSTD {
1055 ; XXX should be { int shmsys(int which, ...); }
1056 172 AUE_NULL RESERVED
1057 173 AUE_PREAD COMPAT6 {
1060 _Out_writes_bytes_(nbyte) void *buf,
1066 174 AUE_PWRITE COMPAT6 {
1069 _In_reads_bytes_(nbyte) const void *buf,
1075 175 AUE_SETFIB STD {
1080 176 AUE_NTP_ADJTIME STD {
1082 _Inout_ struct timex *tp
1085 177-180 AUE_NULL RESERVED
1086 181 AUE_SETGID STD {
1091 182 AUE_SETEGID STD {
1096 183 AUE_SETEUID STD {
1101 184 AUE_NULL OBSOL lfs_bmapv
1102 185 AUE_NULL OBSOL lfs_markv
1103 186 AUE_NULL OBSOL lfs_segclean
1104 187 AUE_NULL OBSOL lfs_segwait
1105 188 AUE_STAT COMPAT11 {
1107 _In_z_ const char *path,
1108 _Out_ struct freebsd11_stat *ub
1111 189 AUE_FSTAT COMPAT11 {
1114 _Out_ struct freebsd11_stat *sb
1117 190 AUE_LSTAT COMPAT11 {
1119 _In_z_ const char *path,
1120 _Out_ struct freebsd11_stat *ub
1123 191 AUE_PATHCONF STD {
1125 _In_z_ const char *path,
1129 192 AUE_FPATHCONF STD {
1135 193 AUE_NULL RESERVED
1136 194 AUE_GETRLIMIT STD {
1139 _Out_ struct rlimit *rlp
1141 } getrlimit __getrlimit_args int
1142 195 AUE_SETRLIMIT STD {
1145 _In_ struct rlimit *rlp
1147 } setrlimit __setrlimit_args int
1148 196 AUE_GETDIRENTRIES COMPAT11 {
1151 _Out_writes_bytes_(count) char *buf,
1156 197 AUE_MMAP COMPAT6 {
1167 198 AUE_NULL NOPROTO {
1169 } __syscall __syscall_args int
1170 199 AUE_LSEEK COMPAT6 {
1178 200 AUE_TRUNCATE COMPAT6 {
1180 _In_z_ const char *path,
1185 201 AUE_FTRUNCATE COMPAT6 {
1192 202 AUE_SYSCTL STD {
1194 _In_reads_(namelen) int *name,
1196 _Out_writes_bytes_opt_(*oldlenp) void *old,
1197 _Inout_opt_ size_t *oldlenp,
1198 _In_reads_bytes_opt_(newlen) const void *new,
1201 } __sysctl sysctl_args int
1204 _In_ const void *addr,
1208 204 AUE_MUNLOCK STD {
1210 _In_ const void *addr,
1214 205 AUE_UNDELETE STD {
1216 _In_z_ const char *path
1219 206 AUE_FUTIMES STD {
1222 _In_reads_(2) struct timeval *tptr
1225 207 AUE_GETPGID STD {
1230 208 AUE_NULL RESERVED
1233 _Inout_updates_(nfds) struct pollfd *fds,
1239 ; The following are reserved for loadable syscalls
1241 210 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1242 211 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1243 212 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1244 213 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1245 214 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1246 215 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1247 216 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1248 217 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1249 218 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1250 219 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1252 220 AUE_SEMCTL COMPAT7|NOSTD {
1257 union semun_old *arg
1260 221 AUE_SEMGET NOSTD {
1267 222 AUE_SEMOP NOSTD {
1270 _In_reads_(nsops) struct sembuf *sops,
1274 223 AUE_NULL OBSOL semconfig
1275 224 AUE_MSGCTL COMPAT7|NOSTD {
1279 struct msqid_ds_old *buf
1282 225 AUE_MSGGET NOSTD {
1288 226 AUE_MSGSND NOSTD {
1291 _In_reads_bytes_(msgsz) const void *msgp,
1296 227 AUE_MSGRCV NOSTD {
1299 _Out_writes_bytes_(msgsz) void *msgp,
1305 228 AUE_SHMAT NOSTD {
1308 _In_ const void *shmaddr,
1312 229 AUE_SHMCTL COMPAT7|NOSTD {
1316 struct shmid_ds_old *buf
1319 230 AUE_SHMDT NOSTD {
1321 _In_ const void *shmaddr
1324 231 AUE_SHMGET NOSTD {
1334 _Out_ struct timespec *tp
1337 233 AUE_CLOCK_SETTIME STD {
1340 _In_ const struct timespec *tp
1346 _Out_ struct timespec *tp
1352 _In_ struct sigevent *evp,
1365 _In_ const struct itimerspec *value,
1366 _Out_opt_ struct itimerspec *ovalue
1372 _Out_ struct itimerspec *value
1376 int ktimer_getoverrun(
1382 _In_ const struct timespec *rqtp,
1383 _Out_opt_ struct timespec *rmtp
1387 int ffclock_getcounter(
1388 _Out_ ffcounter *ffcount
1392 int ffclock_setestimate(
1393 _In_ struct ffclock_estimate *cest
1397 int ffclock_getestimate(
1398 _Out_ struct ffclock_estimate *cest
1402 int clock_nanosleep(
1405 _In_ const struct timespec *rqtp,
1406 _Out_opt_ struct timespec *rmtp
1409 245-246 AUE_NULL RESERVED
1411 int clock_getcpuclockid2(
1414 _Out_ clockid_t *clock_id
1419 _Out_ struct ntptimeval *ntvp
1422 249 AUE_NULL RESERVED
1423 250 AUE_MINHERIT STD {
1435 252 AUE_POLL OBSOL openbsd_poll
1436 253 AUE_ISSETUGID STD {
1437 int issetugid(void);
1439 254 AUE_LCHOWN STD {
1441 _In_z_ const char *path,
1446 255 AUE_AIO_READ STD {
1448 _Inout_ struct aiocb *aiocbp
1451 256 AUE_AIO_WRITE STD {
1453 _Inout_ struct aiocb *aiocbp
1456 257 AUE_LIO_LISTIO STD {
1459 _Inout_updates_(nent) struct aiocb * const *acb_list,
1461 _In_opt_ struct sigevent *sig
1464 258-271 AUE_NULL RESERVED
1465 272 AUE_O_GETDENTS COMPAT11 {
1468 _Out_writes_bytes_(count) char *buf,
1472 273 AUE_NULL RESERVED
1473 274 AUE_LCHMOD STD {
1475 _In_z_ const char *path,
1479 275 AUE_NULL OBSOL netbsd_lchown
1480 276 AUE_LUTIMES STD {
1482 _In_z_ const char *path,
1483 _In_ struct timeval *tptr
1486 277 AUE_NULL OBSOL netbsd_msync
1487 278 AUE_STAT COMPAT11 {
1489 _In_z_ const char *path,
1490 _Out_ struct nstat *ub
1493 279 AUE_FSTAT COMPAT11 {
1496 _Out_ struct nstat *sb
1499 280 AUE_LSTAT COMPAT11 {
1501 _In_z_ const char *path,
1502 _Out_ struct nstat *ub
1505 281-288 AUE_NULL RESERVED
1506 289 AUE_PREADV STD {
1509 _In_reads_(iovcnt) struct iovec *iovp,
1514 290 AUE_PWRITEV STD {
1517 _In_reads_(iovcnt) struct iovec *iovp,
1522 291-296 AUE_NULL RESERVED
1523 297 AUE_FHSTATFS COMPAT4 {
1525 _In_ const struct fhandle *u_fhp,
1526 _Out_ struct ostatfs *buf
1529 298 AUE_FHOPEN STD {
1531 _In_ const struct fhandle *u_fhp,
1535 299 AUE_FHSTAT COMPAT11 {
1537 _In_ const struct fhandle *u_fhp,
1538 _Out_ struct freebsd11_stat *sb
1549 _Out_ struct module_stat *stat
1559 _In_z_ const char *name
1562 304 AUE_MODLOAD STD {
1564 _In_z_ const char *file
1567 305 AUE_MODUNLOAD STD {
1574 _In_z_ const char *file
1585 _Out_ struct kld_file_stat *stat
1593 310 AUE_GETSID STD {
1598 311 AUE_SETRESUID STD {
1605 312 AUE_SETRESGID STD {
1612 313 AUE_NULL OBSOL signanosleep
1613 314 AUE_AIO_RETURN STD {
1615 _Inout_ struct aiocb *aiocbp
1618 315 AUE_AIO_SUSPEND STD {
1620 _Inout_updates_(nent) struct aiocb * const * aiocbp,
1622 _In_opt_ const struct timespec *timeout
1625 316 AUE_AIO_CANCEL STD {
1628 _In_opt_ struct aiocb *aiocbp
1631 317 AUE_AIO_ERROR STD {
1633 _In_ struct aiocb *aiocbp
1636 318 AUE_AIO_READ COMPAT6 {
1638 _Inout_ struct oaiocb *aiocbp
1641 319 AUE_AIO_WRITE COMPAT6 {
1643 _Inout_ struct oaiocb *aiocbp
1646 320 AUE_LIO_LISTIO COMPAT6 {
1649 _Inout_updates_(nent) struct oaiocb * const *acb_list,
1651 _In_opt_ struct osigevent *sig
1657 322 AUE_NULL OBSOL thr_sleep
1658 323 AUE_NULL OBSOL thr_wakeup
1659 324 AUE_MLOCKALL STD {
1664 325 AUE_MUNLOCKALL STD {
1665 int munlockall(void); }
1666 326 AUE_GETCWD STD {
1668 _Out_writes_z_(buflen) char *buf,
1675 _In_ const struct sched_param *param
1681 _Out_ struct sched_param *param
1685 int sched_setscheduler(
1688 _In_ const struct sched_param *param
1692 int sched_getscheduler(
1697 int sched_yield(void);
1700 int sched_get_priority_max(
1705 int sched_get_priority_min(
1710 int sched_rr_get_interval(
1712 _Out_ struct timespec *interval
1717 _In_reads_bytes_(len) const void *addr,
1721 336 AUE_SENDFILE COMPAT4 {
1727 _In_opt_ struct sf_hdtr *hdtr,
1728 _Out_opt_ off_t *sbytes,
1741 _In_ struct jail *jail
1744 339 AUE_NULL NOSTD|NOTSTATIC {
1750 int a_followSymlinks
1753 340 AUE_SIGPROCMASK STD {
1756 _In_opt_ const sigset_t *set,
1757 _Out_opt_ sigset_t *oset
1760 341 AUE_SIGSUSPEND STD {
1762 _In_ const sigset_t *sigmask
1765 342 AUE_SIGACTION COMPAT4 {
1768 _In_opt_ const struct sigaction *act,
1769 _Out_opt_ struct sigaction *oact
1772 343 AUE_SIGPENDING STD {
1777 344 AUE_SIGRETURN COMPAT4 {
1779 _In_ const struct ucontext4 *sigcntxp
1782 345 AUE_SIGWAIT STD {
1784 _In_ const sigset_t *set,
1785 _Out_opt_ siginfo_t *info,
1786 _In_opt_ const struct timespec *timeout
1791 _In_ const sigset_t *set,
1792 _Out_opt_ siginfo_t *info
1795 347 AUE_ACL_GET_FILE STD {
1797 _In_z_ const char *path,
1799 _Out_ struct acl *aclp
1802 348 AUE_ACL_SET_FILE STD {
1804 _In_z_ const char *path,
1806 _In_ struct acl *aclp
1809 349 AUE_ACL_GET_FD STD {
1813 _Out_ struct acl *aclp
1816 350 AUE_ACL_SET_FD STD {
1820 _In_ struct acl *aclp
1823 351 AUE_ACL_DELETE_FILE STD {
1824 int __acl_delete_file(
1825 _In_z_ const char *path,
1829 352 AUE_ACL_DELETE_FD STD {
1830 int __acl_delete_fd(
1835 353 AUE_ACL_CHECK_FILE STD {
1836 int __acl_aclcheck_file(
1837 _In_z_ const char *path,
1839 _In_ struct acl *aclp
1842 354 AUE_ACL_CHECK_FD STD {
1843 int __acl_aclcheck_fd(
1846 _In_ struct acl *aclp
1849 355 AUE_EXTATTRCTL STD {
1851 _In_z_ const char *path,
1853 _In_z_opt_ const char *filename,
1855 _In_z_ const char *attrname
1858 356 AUE_EXTATTR_SET_FILE STD {
1859 ssize_t extattr_set_file(
1860 _In_z_ const char *path,
1862 _In_z_ const char *attrname,
1863 _In_reads_bytes_(nbytes) void *data,
1867 357 AUE_EXTATTR_GET_FILE STD {
1868 ssize_t extattr_get_file(
1869 _In_z_ const char *path,
1871 _In_z_ const char *attrname,
1872 _Out_writes_bytes_(nbytes) void *data,
1876 358 AUE_EXTATTR_DELETE_FILE STD {
1877 int extattr_delete_file(
1878 _In_z_ const char *path,
1880 _In_z_ const char *attrname
1883 359 AUE_AIO_WAITCOMPLETE STD {
1884 ssize_t aio_waitcomplete(
1885 _Outptr_result_maybenull_ struct aiocb **aiocbp,
1886 _In_opt_ struct timespec *timeout
1889 360 AUE_GETRESUID STD {
1891 _Out_opt_ uid_t *ruid,
1892 _Out_opt_ uid_t *euid,
1893 _Out_opt_ uid_t *suid
1896 361 AUE_GETRESGID STD {
1898 _Out_opt_ gid_t *rgid,
1899 _Out_opt_ gid_t *egid,
1900 _Out_opt_ gid_t *sgid
1903 362 AUE_KQUEUE STD {
1906 363 AUE_KEVENT COMPAT11 {
1909 _In_reads_opt_(nchanges) struct kevent_freebsd11 *changelist,
1911 _Out_writes_opt_(nevents) struct kevent_freebsd11 *eventlist,
1913 _In_opt_ const struct timespec *timeout
1916 364 AUE_NULL OBSOL __cap_get_proc
1917 365 AUE_NULL OBSOL __cap_set_proc
1918 366 AUE_NULL OBSOL __cap_get_fd
1919 367 AUE_NULL OBSOL __cap_get_file
1920 368 AUE_NULL OBSOL __cap_set_fd
1921 369 AUE_NULL OBSOL __cap_set_file
1922 370 AUE_NULL RESERVED
1923 371 AUE_EXTATTR_SET_FD STD {
1924 ssize_t extattr_set_fd(
1927 _In_z_ const char *attrname,
1928 _In_reads_bytes_(nbytes) void *data,
1932 372 AUE_EXTATTR_GET_FD STD {
1933 ssize_t extattr_get_fd(
1936 _In_z_ const char *attrname,
1937 _Out_writes_bytes_(nbytes) void *data,
1941 373 AUE_EXTATTR_DELETE_FD STD {
1942 int extattr_delete_fd(
1945 _In_z_ const char *attrname
1948 374 AUE_SETUGID STD {
1953 375 AUE_NULL OBSOL nfsclnt
1954 376 AUE_EACCESS STD {
1956 _In_z_ const char *path,
1960 377 AUE_NULL NOSTD|NOTSTATIC {
1971 378 AUE_NMOUNT STD {
1973 _In_reads_(iovcnt) struct iovec *iovp,
1974 unsigned int iovcnt,
1978 379 AUE_NULL OBSOL kse_exit
1979 380 AUE_NULL OBSOL kse_wakeup
1980 381 AUE_NULL OBSOL kse_create
1981 382 AUE_NULL OBSOL kse_thr_interrupt
1982 383 AUE_NULL OBSOL kse_release
1985 _In_ struct mac *mac_p
1990 _In_ struct mac *mac_p
1996 _In_ struct mac *mac_p
2001 _In_z_ const char *path_p,
2002 _In_ struct mac *mac_p
2008 _In_ struct mac *mac_p
2013 _In_z_ const char *path_p,
2014 _In_ struct mac *mac_p
2020 _In_z_opt_ const char *name,
2021 _Inout_updates_opt_(len) char *value,
2025 391 AUE_LCHFLAGS STD {
2027 _In_z_ const char *path,
2033 _Out_writes_(count) struct uuid *store,
2037 393 AUE_SENDFILE STD {
2043 _In_opt_ struct sf_hdtr *hdtr,
2044 _Out_opt_ off_t *sbytes,
2050 _In_z_ const char *policy,
2055 395 AUE_GETFSSTAT COMPAT11 {
2057 _Out_writes_bytes_opt_(bufsize) struct freebsd11_statfs *buf,
2062 396 AUE_STATFS COMPAT11 {
2064 _In_z_ const char *path,
2065 _Out_ struct freebsd11_statfs *buf
2068 397 AUE_FSTATFS COMPAT11 {
2071 _Out_ struct freebsd11_statfs *buf
2074 398 AUE_FHSTATFS COMPAT11 {
2076 _In_ const struct fhandle *u_fhp,
2077 _Out_ struct freebsd11_statfs *buf
2080 399 AUE_NULL RESERVED
2081 400 AUE_SEMCLOSE NOSTD {
2086 401 AUE_SEMPOST NOSTD {
2091 402 AUE_SEMWAIT NOSTD {
2096 403 AUE_SEMTRYWAIT NOSTD {
2101 404 AUE_SEMINIT NOSTD {
2107 405 AUE_SEMOPEN NOSTD {
2110 _In_z_ const char *name,
2116 406 AUE_SEMUNLINK NOSTD {
2118 _In_z_ const char *name
2121 407 AUE_SEMGETVALUE NOSTD {
2127 408 AUE_SEMDESTROY NOSTD {
2135 _In_ struct mac *mac_p
2140 _In_z_ const char *path_p,
2141 _In_ struct mac *mac_p
2146 _In_z_ const char *path_p,
2147 _In_ struct mac *mac_p
2150 412 AUE_EXTATTR_SET_LINK STD {
2151 ssize_t extattr_set_link(
2152 _In_z_ const char *path,
2154 _In_z_ const char *attrname,
2155 _In_reads_bytes_(nbytes) void *data,
2159 413 AUE_EXTATTR_GET_LINK STD {
2160 ssize_t extattr_get_link(
2161 _In_z_ const char *path,
2163 _In_z_ const char *attrname,
2164 _Out_writes_bytes_(nbytes) void *data,
2168 414 AUE_EXTATTR_DELETE_LINK STD {
2169 int extattr_delete_link(
2170 _In_z_ const char *path,
2172 _In_z_ const char *attrname
2177 _In_z_ const char *fname,
2180 _In_ struct mac *mac_p
2183 416 AUE_SIGACTION STD {
2186 _In_opt_ const struct sigaction *act,
2187 _Out_opt_ struct sigaction *oact
2190 417 AUE_SIGRETURN STD {
2192 _In_ const struct __ucontext *sigcntxp
2195 418-420 AUE_NULL RESERVED
2198 _Out_ struct __ucontext *ucp
2203 _In_ const struct __ucontext *ucp
2208 _Out_ struct __ucontext *oucp,
2209 _In_ const struct __ucontext *ucp
2212 424 AUE_SWAPOFF STD {
2214 _In_z_ const char *name
2217 425 AUE_ACL_GET_LINK STD {
2219 _In_z_ const char *path,
2221 _Out_ struct acl *aclp
2224 426 AUE_ACL_SET_LINK STD {
2226 _In_z_ const char *path,
2228 _In_ struct acl *aclp
2231 427 AUE_ACL_DELETE_LINK STD {
2232 int __acl_delete_link(
2233 _In_z_ const char *path,
2237 428 AUE_ACL_CHECK_LINK STD {
2238 int __acl_aclcheck_link(
2239 _In_z_ const char *path,
2241 _In_ struct acl *aclp
2244 429 AUE_SIGWAIT STD {
2246 _In_ const sigset_t *set,
2250 430 AUE_THR_CREATE STD {
2252 _In_ ucontext_t *ctx,
2257 431 AUE_THR_EXIT STD {
2259 _Out_opt_ long *state
2267 433 AUE_THR_KILL STD {
2273 434-435 AUE_NULL RESERVED
2274 436 AUE_JAIL_ATTACH STD {
2279 437 AUE_EXTATTR_LIST_FD STD {
2280 ssize_t extattr_list_fd(
2283 _Out_writes_bytes_opt_(nbytes) void *data,
2287 438 AUE_EXTATTR_LIST_FILE STD {
2288 ssize_t extattr_list_file(
2289 _In_z_ const char *path,
2291 _Out_writes_bytes_opt_(nbytes) void *data,
2295 439 AUE_EXTATTR_LIST_LINK STD {
2296 ssize_t extattr_list_link(
2297 _In_z_ const char *path,
2299 _Out_writes_bytes_opt_(nbytes)
2304 440 AUE_NULL OBSOL kse_switchin
2305 441 AUE_SEMWAIT NOSTD {
2308 _In_opt_ const struct timespec *abstime
2313 _In_opt_ const struct timespec *timeout
2321 444 AUE_MODUNLOAD STD {
2329 _In_reads_bytes_(length) const void *record,
2333 446 AUE_AUDITON STD {
2336 _In_opt_ void *data,
2340 447 AUE_GETAUID STD {
2345 448 AUE_SETAUID STD {
2350 449 AUE_GETAUDIT STD {
2352 _Out_ struct auditinfo *auditinfo
2355 450 AUE_SETAUDIT STD {
2357 _In_ struct auditinfo *auditinfo
2360 451 AUE_GETAUDIT_ADDR STD {
2362 _Out_writes_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2366 452 AUE_SETAUDIT_ADDR STD {
2368 _In_reads_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2372 453 AUE_AUDITCTL STD {
2374 _In_z_ const char *path
2386 455 AUE_THR_NEW STD {
2388 _In_ struct thr_param *param,
2400 457 AUE_MQ_OPEN NOSTD {
2402 _In_z_ const char *path,
2405 _In_opt_ const struct mq_attr *attr
2408 458 AUE_MQ_SETATTR NOSTD {
2411 _In_opt_ const struct mq_attr *attr,
2412 _Out_opt_ struct mq_attr *oattr
2415 459 AUE_MQ_TIMEDRECEIVE NOSTD {
2416 int kmq_timedreceive(
2418 _Out_writes_bytes_(msg_len) char *msg_ptr,
2420 _Out_opt_ unsigned *msg_prio,
2421 _In_opt_ const struct timespec *abs_timeout
2424 460 AUE_MQ_TIMEDSEND NOSTD {
2427 _In_reads_bytes_(msg_len) const char *msg_ptr,
2430 _In_opt_ const struct timespec *abs_timeout
2433 461 AUE_MQ_NOTIFY NOSTD {
2436 _In_opt_ const struct sigevent *sigev
2439 462 AUE_MQ_UNLINK NOSTD {
2441 _In_z_ const char *path
2446 _In_z_ const char *why,
2448 _In_reads_(nargs) void **args
2454 _In_z_ const char *name
2457 465 AUE_AIO_FSYNC STD {
2460 _In_ struct aiocb *aiocbp
2463 466 AUE_RTPRIO STD {
2467 _Inout_ struct rtprio *rtp
2470 467-470 AUE_NULL RESERVED
2471 471 AUE_SCTP_PEELOFF NOSTD {
2477 472 AUE_SCTP_GENERIC_SENDMSG NOSTD {
2478 int sctp_generic_sendmsg(
2480 _In_reads_bytes_(mlen) void *msg,
2482 _In_reads_bytes_(tolen) struct sockaddr *to,
2484 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2488 473 AUE_SCTP_GENERIC_SENDMSG_IOV NOSTD {
2489 int sctp_generic_sendmsg_iov(
2491 _In_reads_(iovlen) struct iovec *iov,
2493 _In_reads_bytes_(tolen) struct sockaddr *to,
2495 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2499 474 AUE_SCTP_GENERIC_RECVMSG NOSTD {
2500 int sctp_generic_recvmsg(
2502 _In_reads_(iovlen) struct iovec *iov,
2504 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
2505 _Out_ __socklen_t *fromlenaddr,
2506 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2507 _Out_opt_ int *msg_flags
2513 _Out_writes_bytes_(nbyte) void *buf,
2518 476 AUE_PWRITE STD {
2521 _In_reads_bytes_(nbyte) const void *buf,
2543 479 AUE_TRUNCATE STD {
2545 _In_z_ const char *path,
2549 480 AUE_FTRUNCATE STD {
2555 481 AUE_THR_KILL2 STD {
2562 482 AUE_SHMOPEN COMPAT12 {
2564 _In_z_ const char *path,
2569 483 AUE_SHMUNLINK STD {
2571 _In_z_ const char *path
2576 _Out_ cpusetid_t *setid
2591 _Out_ cpusetid_t *setid
2595 int cpuset_getaffinity(
2600 _Out_ cpuset_t *mask
2604 int cpuset_setaffinity(
2609 _Out_ const cpuset_t *mask
2612 489 AUE_FACCESSAT STD {
2615 _In_z_ const char *path,
2620 490 AUE_FCHMODAT STD {
2623 _In_z_ const char *path,
2628 491 AUE_FCHOWNAT STD {
2631 _In_z_ const char *path,
2637 492 AUE_FEXECVE STD {
2644 493 AUE_FSTATAT COMPAT11 {
2647 _In_z_ const char *path,
2648 _Out_ struct freebsd11_stat *buf,
2652 494 AUE_FUTIMESAT STD {
2655 _In_z_ const char *path,
2656 _In_reads_(2) struct timeval *times
2659 495 AUE_LINKAT STD {
2662 _In_z_ const char *path1,
2664 _In_z_ const char *path2,
2668 496 AUE_MKDIRAT STD {
2671 _In_z_ const char *path,
2675 497 AUE_MKFIFOAT STD {
2678 _In_z_ const char *path,
2682 498 AUE_MKNODAT COMPAT11 {
2685 _In_z_ const char *path,
2690 ; XXX: see the comment for open
2691 499 AUE_OPENAT_RWTC STD {
2694 _In_z_ const char *path,
2699 500 AUE_READLINKAT STD {
2702 _In_z_ const char *path,
2703 _Out_writes_bytes_(bufsize) char *buf,
2707 501 AUE_RENAMEAT STD {
2710 _In_z_ const char *old,
2712 _In_z_ const char *new
2715 502 AUE_SYMLINKAT STD {
2717 _In_z_ const char *path1,
2719 _In_z_ const char *path2
2722 503 AUE_UNLINKAT STD {
2725 _In_z_ const char *path,
2729 504 AUE_POSIX_OPENPT STD {
2734 ; 505 is initialised by the kgssapi code, if present.
2735 505 AUE_NULL NOSTD {
2737 _In_z_ const char *path
2740 506 AUE_JAIL_GET STD {
2742 _In_reads_(iovcnt) struct iovec *iovp,
2743 unsigned int iovcnt,
2747 507 AUE_JAIL_SET STD {
2749 _In_reads_(iovcnt) struct iovec *iovp,
2750 unsigned int iovcnt,
2754 508 AUE_JAIL_REMOVE STD {
2759 509 AUE_CLOSEFROM COMPAT12 {
2764 510 AUE_SEMCTL NOSTD {
2769 _Inout_ union semun *arg
2772 511 AUE_MSGCTL NOSTD {
2776 _Inout_opt_ struct msqid_ds *buf
2779 512 AUE_SHMCTL NOSTD {
2783 _Inout_opt_ struct shmid_ds *buf
2786 513 AUE_LPATHCONF STD {
2788 _In_z_ const char *path,
2792 514 AUE_NULL OBSOL cap_new
2793 515 AUE_CAP_RIGHTS_GET STD {
2794 int __cap_rights_get(
2797 _Out_ cap_rights_t *rightsp
2800 516 AUE_CAP_ENTER STD {
2801 int cap_enter(void);
2803 517 AUE_CAP_GETMODE STD {
2808 518 AUE_PDFORK STD {
2814 519 AUE_PDKILL STD {
2820 520 AUE_PDGETPID STD {
2826 521 AUE_NULL RESERVED
2827 522 AUE_SELECT STD {
2830 _Inout_opt_ fd_set *in,
2831 _Inout_opt_ fd_set *ou,
2832 _Inout_opt_ fd_set *ex,
2833 _In_opt_ const struct timespec *ts,
2834 _In_opt_ const sigset_t *sm
2837 523 AUE_GETLOGINCLASS STD {
2839 _Out_writes_z_(namelen) char *namebuf,
2843 524 AUE_SETLOGINCLASS STD {
2845 _In_z_ const char *namebuf
2850 _In_reads_bytes_(inbuflen) const void *inbufp,
2852 _Out_writes_bytes_(outbuflen) void *outbufp,
2858 _In_reads_bytes_(inbuflen) const void *inbufp,
2860 _Out_writes_bytes_(outbuflen) void *outbufp,
2865 int rctl_get_limits(
2866 _In_reads_bytes_(inbuflen) const void *inbufp,
2868 _Out_writes_bytes_(outbuflen) void *outbufp,
2874 _In_reads_bytes_(inbuflen) const void *inbufp,
2876 _Out_writes_bytes_(outbuflen) void *outbufp,
2881 int rctl_remove_rule(
2882 _In_reads_bytes_(inbuflen) const void *inbufp,
2884 _Out_writes_bytes_(outbuflen) void *outbufp,
2888 530 AUE_POSIX_FALLOCATE STD {
2889 int posix_fallocate(
2895 531 AUE_POSIX_FADVISE STD {
2907 _Out_opt_ int *status,
2909 _Out_opt_ struct __wrusage *wrusage,
2910 _Out_opt_ siginfo_t *info
2913 533 AUE_CAP_RIGHTS_LIMIT STD {
2914 int cap_rights_limit(
2916 _In_ cap_rights_t *rightsp
2919 534 AUE_CAP_IOCTLS_LIMIT STD {
2920 int cap_ioctls_limit(
2922 _In_reads_(ncmds) const u_long *cmds,
2926 535 AUE_CAP_IOCTLS_GET STD {
2927 ssize_t cap_ioctls_get(
2929 _Out_writes_(maxcmds) u_long *cmds,
2933 536 AUE_CAP_FCNTLS_LIMIT STD {
2934 int cap_fcntls_limit(
2936 uint32_t fcntlrights
2939 537 AUE_CAP_FCNTLS_GET STD {
2942 _Out_ uint32_t *fcntlrightsp
2945 538 AUE_BINDAT STD {
2949 _In_reads_bytes_(namelen) const struct sockaddr *name,
2953 539 AUE_CONNECTAT STD {
2957 _In_reads_bytes_(namelen) const struct sockaddr *name,
2961 540 AUE_CHFLAGSAT STD {
2964 _In_z_ const char *path,
2969 541 AUE_ACCEPT STD {
2972 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
2973 _Inout_opt_ __socklen_t *anamelen,
2979 _Out_writes_(2) int *fildes,
2983 543 AUE_AIO_MLOCK STD {
2985 _In_ struct aiocb *aiocbp
2988 544 AUE_PROCCTL STD {
2998 _Inout_updates_(nfds) struct pollfd *fds,
3000 _In_opt_ const struct timespec *ts,
3001 _In_opt_ const sigset_t *set
3004 546 AUE_FUTIMES STD {
3007 _In_reads_(2) struct timespec *times
3010 547 AUE_FUTIMESAT STD {
3013 _In_z_ const char *path,
3014 _In_reads_(2) struct timespec *times,
3018 548 AUE_NULL OBSOL numa_getaffinity
3019 549 AUE_NULL OBSOL numa_setaffinity
3028 _Out_ struct stat *sb
3031 552 AUE_FSTATAT STD {
3034 _In_z_ const char *path,
3035 _Out_ struct stat *buf,
3039 553 AUE_FHSTAT STD {
3041 _In_ const struct fhandle *u_fhp,
3042 _Out_ struct stat *sb
3045 554 AUE_GETDIRENTRIES STD {
3046 ssize_t getdirentries(
3048 _Out_writes_bytes_(count) char *buf,
3053 555 AUE_STATFS STD {
3055 _In_z_ const char *path,
3056 _Out_ struct statfs *buf
3059 556 AUE_FSTATFS STD {
3062 _Out_ struct statfs *buf
3065 557 AUE_GETFSSTAT STD {
3067 _Out_writes_bytes_opt_(bufsize) struct statfs *buf,
3072 558 AUE_FHSTATFS STD {
3074 _In_ const struct fhandle *u_fhp,
3075 _Out_ struct statfs *buf
3078 559 AUE_MKNODAT STD {
3081 _In_z_ const char *path,
3086 560 AUE_KEVENT STD {
3089 _In_reads_opt_(nchanges) struct kevent *changelist,
3091 _Out_writes_opt_(nevents) struct kevent *eventlist,
3093 _In_opt_ const struct timespec *timeout
3097 int cpuset_getdomain(
3101 size_t domainsetsize,
3102 _Out_writes_bytes_(domainsetsize) domainset_t *mask,
3107 int cpuset_setdomain(
3111 size_t domainsetsize,
3112 _In_ domainset_t *mask,
3118 _Out_writes_bytes_(buflen) void *buf,
3127 _Out_ struct fhandle *fhp,
3133 _In_ struct fhandle *fhp,
3134 _In_z_ const char *to
3139 _In_ struct fhandle *fhp,
3141 _In_z_ const char *to,
3146 _In_ struct fhandle *fhp,
3147 _Out_writes_(bufsize) char *buf,
3151 568 AUE_UNLINKAT STD {
3154 _In_z_ const char *path,
3160 ssize_t copy_file_range(
3162 _Inout_opt_ off_t *inoffp,
3164 _Inout_opt_ off_t *outoffp,
3169 570 AUE_SYSCTL STD {
3171 _In_reads_(namelen) const char *name,
3173 _Out_writes_bytes_opt_(*oldlenp) void *old,
3174 _Inout_opt_ size_t *oldlenp,
3175 _In_reads_bytes_opt_(newlen) void *new,
3179 571 AUE_SHMOPEN STD {
3181 _In_z_ const char *path,
3185 _In_z_ const char *name
3188 572 AUE_SHMRENAME STD {
3190 _In_z_ const char *path_from,
3191 _In_z_ const char *path_to,
3198 _Inout_opt_ uint32_t *ptr
3201 574 AUE_REALPATHAT STD {
3204 _In_z_ const char *path,
3205 _Out_writes_z_(size) char *buf,
3210 575 AUE_CLOSERANGE STD {
3217 ; 576 is initialised by the krpc code, if present.
3218 576 AUE_NULL NOSTD {
3221 _In_z_ const char *path
3224 577 AUE_SPECIALFD STD {
3227 _In_reads_bytes_(len) const void *req,
3231 578 AUE_AIO_WRITEV STD {
3233 _Inout_ struct aiocb *aiocbp
3236 579 AUE_AIO_READV STD {
3238 _Inout_ struct aiocb *aiocbp
3242 ; Please copy any additions and changes to the following compatability tables:
3243 ; sys/compat/freebsd32/syscalls.master