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, 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 ; OBSOL obsolete, not included in system, only specifies name
34 ; UNIMPL not implemented, placeholder only
35 ; NOSTD implemented but as a lkm that can be statically
36 ; compiled in; sysent entry will be filled with lkmressys
37 ; so the SYSCALL_MODULE macro works
38 ; NOARGS same as STD except do not create structure in sys/sysproto.h
39 ; NODEF same as STD except only have the entry in the syscall table
40 ; added. Meaning - do not create structure or function
41 ; prototype in sys/sysproto.h
42 ; NOPROTO same as STD except do not create structure or
43 ; function prototype in sys/sysproto.h. Does add a
44 ; definition to syscall.h besides adding a sysent.
45 ; NOTSTATIC syscall is loadable
48 ; SAL 2.0 annotations are used to specify how system calls treat
49 ; arguments that are passed using pointers. There are three basic
52 ; _In_ Object pointed to will be read and not modified.
53 ; _Out_ Object pointed to will be written and not read.
54 ; _Inout_ Object pointed to will be written and read.
56 ; These annotations are used alone when the pointer refers to a single
57 ; object i.e. scalar types, structs, and pointers, and not NULL. Adding
58 ; the _opt_ suffix, e.g. _In_opt_, implies that the pointer may also
61 ; For pointers to arrays, additional suffixes are added:
63 ; _In_z_, _Out_z_, _Inout_z_:
64 ; for a NUL terminated array e.g. a string.
65 ; _In_reads_z_(n),_Out_writes_z_(n), _Inout_updates_z_(n):
66 ; for a NUL terminated array e.g. a string, of known length n bytes.
67 ; _In_reads_(n),_Out_writes_(n),_Inout_updates_(n):
68 ; for an array of n elements.
69 ; _In_reads_bytes_(n), _Out_writes_bytes_(n), _Inout_updates_bytes(n):
70 ; for a buffer of n-bytes.
72 ; Please copy any additions and changes to the following compatability tables:
73 ; sys/compat/freebsd32/syscalls.master
75 ; #ifdef's, etc. may be included, and are copied to the output files.
77 #include <sys/param.h>
78 #include <sys/sysent.h>
79 #include <sys/sysproto.h>
81 ; Reserved/unimplemented system calls in the range 0-150 inclusive
82 ; are reserved for use in future Berkeley releases.
83 ; Additional system calls implemented in vendor and other
84 ; redistributions should be placed in the reserved range at the end
85 ; of the current calls.
89 } syscall nosys_args int
94 } exit sys_exit_args void
101 _Out_writes_bytes_(nbyte) void *buf,
108 _In_reads_bytes_(nbyte) const void *buf,
112 5 AUE_OPEN_RWTC STD {
114 _In_z_ const char *path,
119 ; XXX should be { int open(const char *path, int flags, ...); }
120 ; but we're not ready for `const' or varargs.
121 ; XXX man page says `mode_t mode'.
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,
210 _In_opt_ caddr_t data
213 ; XXX `path' should have type `const char *' but we're not ready for that.
216 _In_z_ const char *path,
235 _Inout_opt_ caddr_t addr,
242 _Inout_ struct msghdr *msg,
249 _In_ struct msghdr *msg,
253 29 AUE_RECVFROM STD {
256 _Out_writes_bytes_(len) caddr_t buf,
259 _Out_writes_bytes_opt_(*fromlenaddr) struct sockaddr *from,
260 _Inout_opt_ __socklen_t *fromlenaddr
266 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
267 _Inout_opt_ __socklen_t *anamelen
270 31 AUE_GETPEERNAME STD {
273 _Out_writes_bytes_(*alen) struct sockaddr *asa,
274 _Inout_opt_ __socklen_t *alen
277 32 AUE_GETSOCKNAME STD {
280 _Out_writes_bytes_(*alen) struct sockaddr *asa,
281 _Inout_ __socklen_t *alen
286 _In_z_ const char *path,
292 _In_z_ const char *path,
296 35 AUE_FCHFLAGS STD {
313 _In_z_ const char *path,
314 _Out_ struct ostat *ub
320 40 AUE_LSTAT COMPAT {
322 _In_z_ const char *path,
323 _Out_ struct ostat *ub
331 42 AUE_PIPE COMPAT10 {
339 _Out_writes_bytes_(size) caddr_t samples,
347 _In_z_ const char *fname,
353 46 AUE_SIGACTION COMPAT {
356 _In_opt_ struct osigaction *nsa,
357 _Out_opt_ struct osigaction *osa
363 48 AUE_SIGPROCMASK COMPAT {
369 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
370 ; us the mask, not a pointer to it, and we return the old mask as the
371 ; (int) return value.
372 49 AUE_GETLOGIN STD {
374 _Out_writes_z_(namelen) char *namebuf,
378 50 AUE_SETLOGIN STD {
380 _In_z_ const char *namebuf
385 _In_z_ const char *path
388 52 AUE_SIGPENDING COMPAT {
389 int sigpending(void);
391 53 AUE_SIGALTSTACK STD {
393 _In_opt_ stack_t *ss,
394 _Out_opt_ stack_t *oss
401 _Inout_opt_ caddr_t data
411 _In_z_ const char *path
416 _In_z_ const char *path,
417 _In_z_ const char *link
420 58 AUE_READLINK STD {
422 _In_z_ const char *path,
423 _Out_writes_z_(count) char *buf,
429 _In_z_ const char *fname,
441 _In_z_ const char *path
444 62 AUE_FSTAT COMPAT {
447 _Out_ struct ostat *sb
453 _Out_writes_bytes_opt(
455 _Inout_opt_ size_t *size,
458 } getkerninfo getkerninfo_args int
460 int getpagesize(void);
461 } getpagesize getpagesize_args int
472 67 AUE_NULL OBSOL vread
473 68 AUE_NULL OBSOL vwrite
494 72 AUE_O_VADVISE COMPAT11 {
505 74 AUE_MPROTECT STD {
519 76 AUE_NULL OBSOL vhangup
520 77 AUE_NULL OBSOL vlimit
523 _In_ const void *addr,
525 _Out_writes_bytes_(len/PAGE_SIZE) char *vec
528 79 AUE_GETGROUPS STD {
531 _Out_writes_opt_(gidsetsize) gid_t *gidset
534 80 AUE_SETGROUPS STD {
537 _In_reads_(gidsetsize) gid_t *gidset
549 83 AUE_SETITIMER STD {
552 _In_ struct itimerval *itv,
553 _Out_opt_ struct itimerval *oitv
556 84 AUE_WAIT4 COMPAT {
561 _In_z_ const char *name
564 86 AUE_GETITIMER STD {
567 _Out_ struct itimerval *itv
570 87 AUE_SYSCTL COMPAT {
572 _Out_writes_z_(len) char *hostname,
575 } gethostname gethostname_args int
576 88 AUE_SYSCTL COMPAT {
578 _In_reads_z_(len) char *hostname,
581 } sethostname sethostname_args int
582 89 AUE_GETDTABLESIZE STD {
583 int getdtablesize(void);
591 91 AUE_NULL UNIMPL getdopt
599 ; XXX should be { int fcntl(int fd, int cmd, ...); }
600 ; but we're not ready for varargs.
604 _Inout_opt_ fd_set *in,
605 _Inout_opt_ fd_set *ou,
606 _Inout_opt_ fd_set *ex,
607 _In_opt_ struct timeval *tv
610 94 AUE_NULL UNIMPL setdopt
616 96 AUE_SETPRIORITY STD {
633 _In_reads_bytes_(namelen) caddr_t name,
637 99 AUE_ACCEPT COMPAT|NOARGS {
640 _Out_writes_bytes_opt_(*anamelen) caddr_t name,
643 } accept accept_args int
644 100 AUE_GETPRIORITY STD {
650 101 AUE_SEND COMPAT {
653 _In_reads_bytes_(len) caddr_t buf,
658 102 AUE_RECV COMPAT {
661 _Out_writes_bytes_(len) caddr_t buf,
666 103 AUE_SIGRETURN COMPAT {
668 _In_ struct osigcontext *sigcntxp
674 _In_reads_bytes_(namelen) caddr_t name,
678 105 AUE_SETSOCKOPT STD {
683 _In_reads_bytes_opt_(valsize) caddr_t val,
693 107 AUE_NULL OBSOL vtimes
694 108 AUE_NULL COMPAT {
697 _In_opt_ struct sigvec *nsv,
698 _Out_opt_ struct sigvec *osv
701 109 AUE_NULL COMPAT {
706 110 AUE_NULL COMPAT {
711 111 AUE_NULL COMPAT {
716 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
717 ; us the mask, not a pointer to it.
718 112 AUE_NULL COMPAT {
720 _In_opt_ struct sigstack *nss,
721 _Out_opt_ struct sigstack *oss
724 113 AUE_RECVMSG COMPAT {
727 _Inout_ struct omsghdr *msg,
731 114 AUE_SENDMSG COMPAT {
738 115 AUE_NULL OBSOL vtrace
739 116 AUE_GETTIMEOFDAY STD {
741 _Out_ struct timeval *tp,
742 _Out_opt_ struct timezone *tzp
745 117 AUE_GETRUSAGE STD {
748 _Out_ struct rusage *rusage
751 118 AUE_GETSOCKOPT STD {
756 _Out_writes_bytes_opt_(*avalsize) caddr_t val,
757 _Inout_ int *avalsize
760 119 AUE_NULL UNIMPL resuba (BSD/OS 2.x)
764 _Inout_updates_(iovcnt) struct iovec *iovp,
771 _In_reads_opt_(iovcnt) struct iovec *iovp,
775 122 AUE_SETTIMEOFDAY STD {
777 _In_ struct timeval *tv,
778 _In_opt_ struct timezone *tzp
794 125 AUE_RECVFROM COMPAT|NOARGS {
797 _Out_writes_(len) caddr_t buf,
800 _Out_writes_bytes_(*fromlenaddr) caddr_t from,
801 _Inout_ int *fromlenaddr
803 } recvfrom recvfrom_args int
804 126 AUE_SETREUID STD {
810 127 AUE_SETREGID STD {
818 _In_z_ const char *from,
819 _In_z_ const char *to
822 129 AUE_TRUNCATE COMPAT {
824 _In_z_ const char *path,
828 130 AUE_FTRUNCATE COMPAT {
842 _In_z_ const char *path,
849 _In_reads_bytes_(len) caddr_t buf,
852 _In_reads_bytes_opt_(tolen) caddr_t to,
856 134 AUE_SHUTDOWN STD {
862 135 AUE_SOCKETPAIR STD {
867 _Out_writes_(2) int *rsv
872 _In_z_ const char *path,
878 _In_z_ const char *path
883 _In_z_ const char *path,
884 _In_ struct timeval *tptr
887 139 AUE_NULL OBSOL 4.2 sigreturn
888 140 AUE_ADJTIME STD {
890 _In_ struct timeval *delta,
891 _Out_opt_ struct timeval *olddelta
894 141 AUE_GETPEERNAME COMPAT {
897 _Out_writes_bytes_(*alen) caddr_t asa,
898 _Inout_opt_ int *alen
901 142 AUE_SYSCTL COMPAT {
902 long gethostid(void);
904 143 AUE_SYSCTL COMPAT {
909 144 AUE_GETRLIMIT COMPAT {
912 _Out_ struct orlimit *rlp
915 145 AUE_SETRLIMIT COMPAT {
918 _Out_ struct orlimit *rlp
921 146 AUE_KILLPG COMPAT {
930 148 AUE_QUOTACTL STD {
932 _In_z_ const char *path,
938 149 AUE_O_QUOTA COMPAT {
941 150 AUE_GETSOCKNAME COMPAT|NOARGS {
944 _Out_writes_bytes_(*alen) caddr_t asa,
947 } getsockname getsockname_args int
949 ; Syscalls 151-180 inclusive are reserved for vendor-specific
950 ; system calls. (This includes various calls added for compatibity
951 ; with other Unix variants.)
952 ; Some of these calls are now supported by BSD...
953 151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
954 152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
955 153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
956 ; 154 is initialised by the NLM code, if present.
962 _In_reads_(addr_count) char **addrs
965 ; 155 is initialized by the NFS code, if present.
966 155 AUE_NFS_SVC NOSTD {
972 156 AUE_GETDIRENTRIES COMPAT {
975 _Out_writes_bytes_(count) char *buf,
980 157 AUE_STATFS COMPAT4 {
982 _In_z_ const char *path,
983 _Out_ struct ostatfs *buf
986 158 AUE_FSTATFS COMPAT4 {
989 _Out_ struct ostatfs *buf
992 159 AUE_NULL UNIMPL nosys
995 _In_z_ const char *fname,
996 _Out_ struct fhandle *fhp
999 161 AUE_NFS_GETFH STD {
1001 _In_z_ const char *fname,
1002 _Out_ struct fhandle *fhp
1005 162 AUE_SYSCTL COMPAT4 {
1007 _Out_writes_z_(len) char *domainname,
1011 163 AUE_SYSCTL COMPAT4 {
1013 _In_reads_z_(len) char *domainname,
1017 164 AUE_NULL COMPAT4 {
1019 _Out_ struct utsname *name
1022 165 AUE_SYSARCH STD {
1028 166 AUE_RTPRIO STD {
1032 _Inout_ struct rtprio *rtp
1035 167 AUE_NULL UNIMPL nosys
1036 168 AUE_NULL UNIMPL nosys
1037 169 AUE_SEMSYS NOSTD {
1046 ; XXX should be { int semsys(int which, ...); }
1047 170 AUE_MSGSYS NOSTD {
1057 ; XXX should be { int msgsys(int which, ...); }
1058 171 AUE_SHMSYS NOSTD {
1066 ; XXX should be { int shmsys(int which, ...); }
1067 172 AUE_NULL UNIMPL nosys
1068 173 AUE_PREAD COMPAT6 {
1071 _Out_writes_bytes_(nbyte) void *buf,
1077 174 AUE_PWRITE COMPAT6 {
1080 _In_reads_bytes_(nbyte) const void *buf,
1086 175 AUE_SETFIB STD {
1091 176 AUE_NTP_ADJTIME STD {
1093 _Inout_ struct timex *tp
1096 177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
1097 178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
1098 179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
1099 180 AUE_NULL UNIMPL nosys
1101 ; Syscalls 181-199 are used by/reserved for BSD
1102 181 AUE_SETGID STD {
1107 182 AUE_SETEGID STD {
1112 183 AUE_SETEUID STD {
1117 184 AUE_NULL OBSOL lfs_bmapv
1118 185 AUE_NULL OBSOL lfs_markv
1119 186 AUE_NULL OBSOL lfs_segclean
1120 187 AUE_NULL OBSOL lfs_segwait
1121 188 AUE_STAT COMPAT11 {
1123 _In_z_ const char *path,
1124 _Out_ struct freebsd11_stat *ub
1127 189 AUE_FSTAT COMPAT11 {
1130 _Out_ struct freebsd11_stat *sb
1133 190 AUE_LSTAT COMPAT11 {
1135 _In_z_ const char *path,
1136 _Out_ struct freebsd11_stat *ub
1139 191 AUE_PATHCONF STD {
1141 _In_z_ const char *path,
1145 192 AUE_FPATHCONF STD {
1151 193 AUE_NULL UNIMPL nosys
1152 194 AUE_GETRLIMIT STD {
1155 _Out_ struct rlimit *rlp
1157 } getrlimit __getrlimit_args int
1158 195 AUE_SETRLIMIT STD {
1161 _In_ struct rlimit *rlp
1163 } setrlimit __setrlimit_args int
1164 196 AUE_GETDIRENTRIES COMPAT11 {
1167 _Out_writes_bytes_(count) char *buf,
1172 197 AUE_MMAP COMPAT6 {
1183 198 AUE_NULL NOPROTO {
1185 } __syscall __syscall_args int
1186 199 AUE_LSEEK COMPAT6 {
1194 200 AUE_TRUNCATE COMPAT6 {
1196 _In_z_ const char *path,
1201 201 AUE_FTRUNCATE COMPAT6 {
1208 202 AUE_SYSCTL STD {
1210 _In_reads_(namelen) int *name,
1212 _Out_writes_bytes_opt_(*oldlenp) void *old,
1213 _Inout_opt_ size_t *oldlenp,
1214 _In_reads_bytes_opt_(newlen) void *new,
1217 } __sysctl sysctl_args int
1220 _In_ const void *addr,
1224 204 AUE_MUNLOCK STD {
1226 _In_ const void *addr,
1230 205 AUE_UNDELETE STD {
1232 _In_z_ const char *path
1235 206 AUE_FUTIMES STD {
1238 _In_reads_(2) struct timeval *tptr
1241 207 AUE_GETPGID STD {
1246 208 AUE_NULL UNIMPL nosys
1249 _Inout_updates_(nfds) struct pollfd *fds,
1255 ; The following are reserved for loadable syscalls
1257 210 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1258 211 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1259 212 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1260 213 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1261 214 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1262 215 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1263 216 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1264 217 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1265 218 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1266 219 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1268 220 AUE_SEMCTL COMPAT7|NOSTD {
1273 union semun_old *arg
1276 221 AUE_SEMGET NOSTD {
1283 222 AUE_SEMOP NOSTD {
1286 _In_reads_(nsops) struct sembuf *sops,
1290 223 AUE_NULL OBSOL semconfig
1291 224 AUE_MSGCTL COMPAT7|NOSTD {
1295 struct msqid_ds_old *buf
1298 225 AUE_MSGGET NOSTD {
1304 226 AUE_MSGSND NOSTD {
1307 _In_reads_bytes_(msgsz) const void *msgp,
1312 227 AUE_MSGRCV NOSTD {
1315 _Out_writes_bytes_(msgsz) void *msgp,
1321 228 AUE_SHMAT NOSTD {
1324 _In_ const void *shmaddr,
1328 229 AUE_SHMCTL COMPAT7|NOSTD {
1332 struct shmid_ds_old *buf
1335 230 AUE_SHMDT NOSTD {
1337 _In_ const void *shmaddr
1340 231 AUE_SHMGET NOSTD {
1350 _Out_ struct timespec *tp
1353 233 AUE_CLOCK_SETTIME STD {
1356 _In_ const struct timespec *tp
1362 _Out_ struct timespec *tp
1368 _In_ struct sigevent *evp,
1381 _In_ const struct itimerspec *value,
1382 _Out_opt_ struct itimerspec *ovalue
1388 _Out_ struct itimerspec *value
1392 int ktimer_getoverrun(
1398 _In_ const struct timespec *rqtp,
1399 _Out_opt_ struct timespec *rmtp
1403 int ffclock_getcounter(
1404 _Out_ ffcounter *ffcount
1408 int ffclock_setestimate(
1409 _In_ struct ffclock_estimate *cest
1413 int ffclock_getestimate(
1414 _Out_ struct ffclock_estimate *cest
1418 int clock_nanosleep(
1421 _In_ const struct timespec *rqtp,
1422 _Out_opt_ struct timespec *rmtp
1425 245-246 AUE_NULL UNIMPL nosys
1427 int clock_getcpuclockid2(
1430 _Out_ clockid_t *clock_id
1435 _Out_ struct ntptimeval *ntvp
1438 249 AUE_NULL UNIMPL nosys
1439 ; syscall numbers initially used in OpenBSD
1440 250 AUE_MINHERIT STD {
1452 252 AUE_POLL OBSOL openbsd_poll
1453 253 AUE_ISSETUGID STD {
1454 int issetugid(void);
1456 254 AUE_LCHOWN STD {
1458 _In_z_ const char *path,
1463 255 AUE_AIO_READ STD {
1465 _Inout_ struct aiocb *aiocbp
1468 256 AUE_AIO_WRITE STD {
1470 _Inout_ struct aiocb *aiocbp
1473 257 AUE_LIO_LISTIO STD {
1476 _Inout_updates_(nent) struct aiocb* const *acb_list,
1478 _In_opt_ struct sigevent *sig
1481 258-271 AUE_NULL UNIMPL nosys
1482 272 AUE_O_GETDENTS COMPAT11 {
1485 _Out_writes_bytes_(count) char *buf,
1489 273 AUE_NULL UNIMPL nosys
1490 274 AUE_LCHMOD STD {
1492 _In_z_ const char *path,
1496 275 AUE_NULL OBSOL netbsd_lchown
1497 276 AUE_LUTIMES STD {
1499 _In_z_ const char *path,
1500 _In_ struct timeval *tptr
1503 277 AUE_NULL OBSOL netbsd_msync
1504 278 AUE_STAT COMPAT11 {
1506 _In_z_ const char *path,
1507 _Out_ struct nstat *ub
1510 279 AUE_FSTAT COMPAT11 {
1513 _Out_ struct nstat *sb
1516 280 AUE_LSTAT COMPAT11 {
1518 _In_z_ const char *path,
1519 _Out_ struct nstat *ub
1522 281-288 AUE_NULL UNIMPL nosys
1523 289 AUE_PREADV STD {
1526 _In_reads_(iovcnt) struct iovec *iovp,
1531 290 AUE_PWRITEV STD {
1534 _In_reads_(iovcnt) struct iovec *iovp,
1539 291-296 AUE_NULL UNIMPL nosys
1540 297 AUE_FHSTATFS COMPAT4 {
1542 _In_ const struct fhandle *u_fhp,
1543 _Out_ struct ostatfs *buf
1546 298 AUE_FHOPEN STD {
1548 _In_ const struct fhandle *u_fhp,
1552 299 AUE_FHSTAT COMPAT11 {
1554 _In_ const struct fhandle *u_fhp,
1555 _Out_ struct freebsd11_stat *sb
1566 _Out_ struct module_stat* stat
1576 _In_z_ const char *name
1579 304 AUE_MODLOAD STD {
1581 _In_z_ const char *file
1584 305 AUE_MODUNLOAD STD {
1591 _In_z_ const char *file
1602 _Out_ struct kld_file_stat *stat
1610 310 AUE_GETSID STD {
1615 311 AUE_SETRESUID STD {
1622 312 AUE_SETRESGID STD {
1629 313 AUE_NULL OBSOL signanosleep
1630 314 AUE_AIO_RETURN STD {
1632 _Inout_ struct aiocb *aiocbp
1635 315 AUE_AIO_SUSPEND STD {
1637 _Inout_updates_(nent) struct aiocb * const * aiocbp,
1639 _In_opt_ const struct timespec *timeout
1642 316 AUE_AIO_CANCEL STD {
1645 _In_opt_ struct aiocb *aiocbp
1648 317 AUE_AIO_ERROR STD {
1650 _In_ struct aiocb *aiocbp
1653 318 AUE_AIO_READ COMPAT6 {
1655 _Inout_ struct oaiocb *aiocbp
1658 319 AUE_AIO_WRITE COMPAT6 {
1660 _Inout_ struct oaiocb *aiocbp
1663 320 AUE_LIO_LISTIO COMPAT6 {
1666 _Inout_updates_(nent) struct oaiocb * const *acb_list,
1668 _In_opt_ struct osigevent *sig
1674 322 AUE_NULL OBSOL thr_sleep
1675 323 AUE_NULL OBSOL thr_wakeup
1676 324 AUE_MLOCKALL STD {
1681 325 AUE_MUNLOCKALL STD {
1682 int munlockall(void); }
1683 326 AUE_GETCWD STD {
1685 _Out_writes_z_(buflen) char *buf,
1692 _In_ const struct sched_param *param
1698 _Out_ struct sched_param *param
1702 int sched_setscheduler(
1705 _In_ const struct sched_param *param
1709 int sched_getscheduler(
1714 int sched_yield(void);
1717 int sched_get_priority_max(
1722 int sched_get_priority_min(
1727 int sched_rr_get_interval(
1729 _Out_ struct timespec *interval
1734 _In_reads_bytes_(len) const void *addr,
1738 336 AUE_SENDFILE COMPAT4 {
1744 _In_opt_ struct sf_hdtr *hdtr,
1745 _Out_opt_ off_t *sbytes,
1758 _In_ struct jail *jail
1761 339 AUE_NULL NOSTD|NOTSTATIC {
1767 int a_followSymlinks
1770 340 AUE_SIGPROCMASK STD {
1773 _In_opt_ const sigset_t *set,
1774 _Out_opt_ sigset_t *oset
1777 341 AUE_SIGSUSPEND STD {
1779 _In_ const sigset_t *sigmask
1782 342 AUE_SIGACTION COMPAT4 {
1785 _In_opt_ const struct sigaction *act,
1786 _Out_opt_ struct sigaction *oact
1789 343 AUE_SIGPENDING STD {
1794 344 AUE_SIGRETURN COMPAT4 {
1796 _In_ const struct ucontext4 *sigcntxp
1799 345 AUE_SIGWAIT STD {
1801 _In_ const sigset_t *set,
1802 _Out_opt_ siginfo_t *info,
1803 _In_opt_ const struct timespec *timeout
1808 _In_ const sigset_t *set,
1809 _Out_opt_ siginfo_t *info
1812 347 AUE_ACL_GET_FILE STD {
1814 _In_z_ const char *path,
1816 _Out_ struct acl *aclp
1819 348 AUE_ACL_SET_FILE STD {
1821 _In_z_ const char *path,
1823 _In_ struct acl *aclp
1826 349 AUE_ACL_GET_FD STD {
1830 _Out_ struct acl *aclp
1833 350 AUE_ACL_SET_FD STD {
1837 _In_ struct acl *aclp
1840 351 AUE_ACL_DELETE_FILE STD {
1841 int __acl_delete_file(
1842 _In_z_ const char *path,
1846 352 AUE_ACL_DELETE_FD STD {
1847 int __acl_delete_fd(
1852 353 AUE_ACL_CHECK_FILE STD {
1853 int __acl_aclcheck_file(
1854 _In_z_ const char *path,
1856 _In_ struct acl *aclp
1859 354 AUE_ACL_CHECK_FD STD {
1860 int __acl_aclcheck_fd(
1863 _In_ struct acl *aclp
1866 355 AUE_EXTATTRCTL STD {
1868 _In_z_ const char *path,
1870 _In_z_opt_ const char *filename,
1872 _In_z_ const char *attrname
1875 356 AUE_EXTATTR_SET_FILE STD {
1876 ssize_t extattr_set_file(
1877 _In_z_ const char *path,
1879 _In_z_ const char *attrname,
1880 _In_reads_bytes_(nbytes) void *data,
1884 357 AUE_EXTATTR_GET_FILE STD {
1885 ssize_t extattr_get_file(
1886 _In_z_ const char *path,
1888 _In_z_ const char *attrname,
1889 _Out_writes_bytes_(nbytes) void *data,
1893 358 AUE_EXTATTR_DELETE_FILE STD {
1894 int extattr_delete_file(
1895 _In_z_ const char *path,
1897 _In_z_ const char *attrname
1900 359 AUE_AIO_WAITCOMPLETE STD {
1901 ssize_t aio_waitcomplete(
1902 _Outptr_result_maybenull_ struct aiocb **aiocbp,
1903 _In_opt_ struct timespec *timeout
1906 360 AUE_GETRESUID STD {
1908 _Out_opt_ uid_t *ruid,
1909 _Out_opt_ uid_t *euid,
1910 _Out_opt_ uid_t *suid
1913 361 AUE_GETRESGID STD {
1915 _Out_opt_ gid_t *rgid,
1916 _Out_opt_ gid_t *egid,
1917 _Out_opt_ gid_t *sgid
1920 362 AUE_KQUEUE STD {
1923 363 AUE_KEVENT COMPAT11 {
1926 _In_reads_opt_(nchanges) struct kevent_freebsd11 *changelist,
1928 _Out_writes_opt_(nevents) struct kevent_freebsd11 *eventlist,
1930 _In_opt_ const struct timespec *timeout
1933 364 AUE_NULL OBSOL __cap_get_proc
1934 365 AUE_NULL OBSOL __cap_set_proc
1935 366 AUE_NULL OBSOL __cap_get_fd
1936 367 AUE_NULL OBSOL __cap_get_file
1937 368 AUE_NULL OBSOL __cap_set_fd
1938 369 AUE_NULL OBSOL __cap_set_file
1939 370 AUE_NULL UNIMPL nosys
1940 371 AUE_EXTATTR_SET_FD STD {
1941 ssize_t extattr_set_fd(
1944 _In_z_ const char *attrname,
1945 _In_reads_bytes_(nbytes) void *data,
1949 372 AUE_EXTATTR_GET_FD STD {
1950 ssize_t extattr_get_fd(
1953 _In_z_ const char *attrname,
1954 _Out_writes_bytes_(nbytes) void *data,
1958 373 AUE_EXTATTR_DELETE_FD STD {
1959 int extattr_delete_fd(
1962 _In_z_ const char *attrname
1965 374 AUE_SETUGID STD {
1970 375 AUE_NULL OBSOL nfsclnt
1971 376 AUE_EACCESS STD {
1973 _In_z_ const char *path,
1977 377 AUE_NULL NOSTD|NOTSTATIC {
1988 378 AUE_NMOUNT STD {
1990 _In_reads_(iovcnt) struct iovec *iovp,
1991 unsigned int iovcnt,
1995 379 AUE_NULL OBSOL kse_exit
1996 380 AUE_NULL OBSOL kse_wakeup
1997 381 AUE_NULL OBSOL kse_create
1998 382 AUE_NULL OBSOL kse_thr_interrupt
1999 383 AUE_NULL OBSOL kse_release
2002 _In_ struct mac *mac_p
2007 _In_ struct mac *mac_p
2013 _In_ struct mac *mac_p
2018 _In_z_ const char *path_p,
2019 _In_ struct mac *mac_p
2025 _In_ struct mac *mac_p
2030 _In_z_ const char *path_p,
2031 _In_ struct mac *mac_p
2037 _In_z_opt_ const char *name,
2038 _Inout_updates_opt_(len) char *value,
2042 391 AUE_LCHFLAGS STD {
2044 _In_z_ const char *path,
2050 _Out_writes_(count) struct uuid *store,
2054 393 AUE_SENDFILE STD {
2060 _In_opt_ struct sf_hdtr *hdtr,
2061 _Out_opt_ off_t *sbytes,
2067 _In_z_ const char *policy,
2072 395 AUE_GETFSSTAT COMPAT11 {
2074 _Out_writes_bytes_opt_(bufsize) struct freebsd11_statfs *buf,
2079 396 AUE_STATFS COMPAT11 {
2081 _In_z_ const char *path,
2082 _Out_ struct freebsd11_statfs *buf
2085 397 AUE_FSTATFS COMPAT11 {
2088 _Out_ struct freebsd11_statfs *buf
2091 398 AUE_FHSTATFS COMPAT11 {
2093 _In_ const struct fhandle *u_fhp,
2094 _Out_ struct freebsd11_statfs *buf
2097 399 AUE_NULL UNIMPL nosys
2098 400 AUE_SEMCLOSE NOSTD {
2103 401 AUE_SEMPOST NOSTD {
2108 402 AUE_SEMWAIT NOSTD {
2113 403 AUE_SEMTRYWAIT NOSTD {
2118 404 AUE_SEMINIT NOSTD {
2124 405 AUE_SEMOPEN NOSTD {
2127 _In_z_ const char *name,
2133 406 AUE_SEMUNLINK NOSTD {
2135 _In_z_ const char *name
2138 407 AUE_SEMGETVALUE NOSTD {
2144 408 AUE_SEMDESTROY NOSTD {
2152 _In_ struct mac *mac_p
2157 _In_z_ const char *path_p,
2158 _In_ struct mac *mac_p
2163 _In_z_ const char *path_p,
2164 _In_ struct mac *mac_p
2167 412 AUE_EXTATTR_SET_LINK STD {
2168 ssize_t extattr_set_link(
2169 _In_z_ const char *path,
2171 _In_z_ const char *attrname,
2172 _In_reads_bytes_(nbytes) void *data,
2176 413 AUE_EXTATTR_GET_LINK STD {
2177 ssize_t extattr_get_link(
2178 _In_z_ const char *path,
2180 _In_z_ const char *attrname,
2181 _Out_writes_bytes_(nbytes) void *data,
2185 414 AUE_EXTATTR_DELETE_LINK STD {
2186 int extattr_delete_link(
2187 _In_z_ const char *path,
2189 _In_z_ const char *attrname
2194 _In_z_ const char *fname,
2197 _In_ struct mac *mac_p
2200 416 AUE_SIGACTION STD {
2203 _In_opt_ const struct sigaction *act,
2204 _Out_opt_ struct sigaction *oact
2207 417 AUE_SIGRETURN STD {
2209 _In_ const struct __ucontext *sigcntxp
2212 418 AUE_NULL UNIMPL __xstat
2213 419 AUE_NULL UNIMPL __xfstat
2214 420 AUE_NULL UNIMPL __xlstat
2217 _Out_ struct __ucontext *ucp
2222 _In_ const struct __ucontext *ucp
2227 _Out_ struct __ucontext *oucp,
2228 _In_ const struct __ucontext *ucp
2231 424 AUE_SWAPOFF STD {
2233 _In_z_ const char *name
2236 425 AUE_ACL_GET_LINK STD {
2238 _In_z_ const char *path,
2240 _Out_ struct acl *aclp
2243 426 AUE_ACL_SET_LINK STD {
2245 _In_z_ const char *path,
2247 _In_ struct acl *aclp
2250 427 AUE_ACL_DELETE_LINK STD {
2251 int __acl_delete_link(
2252 _In_z_ const char *path,
2256 428 AUE_ACL_CHECK_LINK STD {
2257 int __acl_aclcheck_link(
2258 _In_z_ const char *path,
2260 _In_ struct acl *aclp
2263 429 AUE_SIGWAIT STD {
2265 _In_ const sigset_t *set,
2269 430 AUE_THR_CREATE STD {
2271 _In_ ucontext_t *ctx,
2276 431 AUE_THR_EXIT STD {
2278 _Out_opt_ long *state
2286 433 AUE_THR_KILL STD {
2292 434-435 AUE_NULL UNIMPL nosys
2293 436 AUE_JAIL_ATTACH STD {
2298 437 AUE_EXTATTR_LIST_FD STD {
2299 ssize_t extattr_list_fd(
2302 _Out_writes_bytes_opt_(nbytes) void *data,
2306 438 AUE_EXTATTR_LIST_FILE STD {
2307 ssize_t extattr_list_file(
2308 _In_z_ const char *path,
2310 _Out_writes_bytes_opt_(nbytes) void *data,
2314 439 AUE_EXTATTR_LIST_LINK STD {
2315 ssize_t extattr_list_link(
2316 _In_z_ const char *path,
2318 _Out_writes_bytes_opt_(nbytes)
2323 440 AUE_NULL OBSOL kse_switchin
2324 441 AUE_SEMWAIT NOSTD {
2327 _In_opt_ const struct timespec *abstime
2332 _In_opt_ const struct timespec *timeout
2340 444 AUE_MODUNLOAD STD {
2348 _In_reads_bytes_(length) const void *record,
2352 446 AUE_AUDITON STD {
2355 _In_opt_ void *data,
2359 447 AUE_GETAUID STD {
2364 448 AUE_SETAUID STD {
2369 449 AUE_GETAUDIT STD {
2371 _Out_ struct auditinfo *auditinfo
2374 450 AUE_SETAUDIT STD {
2376 _In_ struct auditinfo *auditinfo
2379 451 AUE_GETAUDIT_ADDR STD {
2381 _Out_writes_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2385 452 AUE_SETAUDIT_ADDR STD {
2387 _In_reads_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2391 453 AUE_AUDITCTL STD {
2393 _In_z_ const char *path
2405 455 AUE_THR_NEW STD {
2407 _In_ struct thr_param *param,
2419 457 AUE_MQ_OPEN NOSTD {
2421 _In_z_ const char *path,
2424 _In_opt_ const struct mq_attr *attr
2427 458 AUE_MQ_SETATTR NOSTD {
2430 _In_opt_ const struct mq_attr *attr,
2431 _Out_opt_ struct mq_attr *oattr
2434 459 AUE_MQ_TIMEDRECEIVE NOSTD {
2435 int kmq_timedreceive(
2437 _Out_writes_bytes_(msg_len) char *msg_ptr,
2439 _Out_opt_ unsigned *msg_prio,
2440 _In_opt_ const struct timespec *abs_timeout
2443 460 AUE_MQ_TIMEDSEND NOSTD {
2446 _In_reads_bytes_(msg_len) const char *msg_ptr,
2449 _In_opt_ const struct timespec *abs_timeout
2452 461 AUE_MQ_NOTIFY NOSTD {
2455 _In_opt_ const struct sigevent *sigev
2458 462 AUE_MQ_UNLINK NOSTD {
2460 _In_z_ const char *path
2465 _In_z_ const char *why,
2467 _In_reads_(nargs) void **args
2473 _In_z_ const char *name
2476 465 AUE_AIO_FSYNC STD {
2479 _In_ struct aiocb *aiocbp
2482 466 AUE_RTPRIO STD {
2486 _Inout_ struct rtprio *rtp
2489 467-468 AUE_NULL UNIMPL nosys
2490 469 AUE_NULL UNIMPL __getpath_fromfd
2491 470 AUE_NULL UNIMPL __getpath_fromaddr
2492 471 AUE_SCTP_PEELOFF NOSTD {
2498 472 AUE_SCTP_GENERIC_SENDMSG NOSTD {
2499 int sctp_generic_sendmsg(
2501 _In_reads_bytes_(mlen) caddr_t msg,
2503 _In_reads_bytes_(tolen) caddr_t to,
2505 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2509 473 AUE_SCTP_GENERIC_SENDMSG_IOV NOSTD {
2510 int sctp_generic_sendmsg_iov(
2512 _In_reads_(iovlen) struct iovec *iov,
2514 _In_reads_bytes_(tolen) caddr_t to,
2516 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2520 474 AUE_SCTP_GENERIC_RECVMSG NOSTD {
2521 int sctp_generic_recvmsg(
2523 _In_reads_(iovlen) struct iovec *iov,
2525 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
2526 _Out_ __socklen_t *fromlenaddr,
2527 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2528 _Out_opt_ int *msg_flags
2534 _Out_writes_bytes_(nbyte) void *buf,
2539 476 AUE_PWRITE STD {
2542 _In_reads_bytes_(nbyte) const void *buf,
2564 479 AUE_TRUNCATE STD {
2566 _In_z_ const char *path,
2570 480 AUE_FTRUNCATE STD {
2576 481 AUE_THR_KILL2 STD {
2583 482 AUE_SHMOPEN STD {
2585 _In_z_ const char *path,
2590 483 AUE_SHMUNLINK STD {
2592 _In_z_ const char *path
2597 _Out_ cpusetid_t *setid
2612 _Out_ cpusetid_t *setid
2616 int cpuset_getaffinity(
2621 _Out_ cpuset_t *mask
2625 int cpuset_setaffinity(
2630 _Out_ const cpuset_t *mask
2633 489 AUE_FACCESSAT STD {
2636 _In_z_ const char *path,
2641 490 AUE_FCHMODAT STD {
2644 _In_z_ const char *path,
2649 491 AUE_FCHOWNAT STD {
2652 _In_z_ const char *path,
2658 492 AUE_FEXECVE STD {
2665 493 AUE_FSTATAT COMPAT11 {
2668 _In_z_ const char *path,
2669 _Out_ struct freebsd11_stat *buf,
2673 494 AUE_FUTIMESAT STD {
2676 _In_z_ const char *path,
2677 _In_reads_(2) struct timeval *times
2680 495 AUE_LINKAT STD {
2683 _In_z_ const char *path1,
2685 _In_z_ const char *path2,
2689 496 AUE_MKDIRAT STD {
2692 _In_z_ const char *path,
2696 497 AUE_MKFIFOAT STD {
2699 _In_z_ const char *path,
2703 498 AUE_MKNODAT COMPAT11 {
2706 _In_z_ const char *path,
2711 ; XXX: see the comment for open
2712 499 AUE_OPENAT_RWTC STD {
2715 _In_z_ const char *path,
2720 500 AUE_READLINKAT STD {
2723 _In_z_ const char *path,
2724 _Out_writes_bytes_(bufsize) char *buf,
2728 501 AUE_RENAMEAT STD {
2731 _In_z_ const char *old,
2733 _In_z_ const char *new
2736 502 AUE_SYMLINKAT STD {
2738 _In_z_ const char *path1,
2740 _In_z_ const char *path2
2743 503 AUE_UNLINKAT STD {
2746 _In_z_ const char *path,
2750 504 AUE_POSIX_OPENPT STD {
2755 ; 505 is initialised by the kgssapi code, if present.
2756 505 AUE_NULL NOSTD {
2758 _In_z_ const char *path
2761 506 AUE_JAIL_GET STD {
2763 _In_reads_(iovcnt) struct iovec *iovp,
2764 unsigned int iovcnt,
2768 507 AUE_JAIL_SET STD {
2770 _In_reads_(iovcnt) struct iovec *iovp,
2771 unsigned int iovcnt,
2775 508 AUE_JAIL_REMOVE STD {
2780 509 AUE_CLOSEFROM STD {
2785 510 AUE_SEMCTL NOSTD {
2790 _Inout_ union semun *arg
2793 511 AUE_MSGCTL NOSTD {
2797 _Inout_opt_ struct msqid_ds *buf
2800 512 AUE_SHMCTL NOSTD {
2804 _Inout_opt_ struct shmid_ds *buf
2807 513 AUE_LPATHCONF STD {
2809 _In_z_ const char *path,
2813 514 AUE_NULL OBSOL cap_new
2814 515 AUE_CAP_RIGHTS_GET STD {
2815 int __cap_rights_get(
2818 _Out_ cap_rights_t *rightsp
2821 516 AUE_CAP_ENTER STD {
2822 int cap_enter(void);
2824 517 AUE_CAP_GETMODE STD {
2829 518 AUE_PDFORK STD {
2835 519 AUE_PDKILL STD {
2841 520 AUE_PDGETPID STD {
2847 521 AUE_PDWAIT UNIMPL pdwait4
2848 522 AUE_SELECT STD {
2851 _Inout_opt_ fd_set *in,
2852 _Inout_opt_ fd_set *ou,
2853 _Inout_opt_ fd_set *ex,
2854 _In_opt_ const struct timespec *ts,
2855 _In_opt_ const sigset_t *sm
2858 523 AUE_GETLOGINCLASS STD {
2860 _Out_writes_z_(namelen) char *namebuf,
2864 524 AUE_SETLOGINCLASS STD {
2866 _In_z_ const char *namebuf
2871 _In_reads_bytes_(inbuflen) const void *inbufp,
2873 _Out_writes_bytes_(outbuflen) void *outbufp,
2879 _In_reads_bytes_(inbuflen) const void *inbufp,
2881 _Out_writes_bytes_(outbuflen) void *outbufp,
2886 int rctl_get_limits(
2887 _In_reads_bytes_(inbuflen) const void *inbufp,
2889 _Out_writes_bytes_(outbuflen) void *outbufp,
2895 _In_reads_bytes_(inbuflen) const void *inbufp,
2897 _Out_writes_bytes_(outbuflen) void *outbufp,
2902 int rctl_remove_rule(
2903 _In_reads_bytes_(inbuflen) const void *inbufp,
2905 _Out_writes_bytes_(outbuflen) void *outbufp,
2909 530 AUE_POSIX_FALLOCATE STD {
2910 int posix_fallocate(
2916 531 AUE_POSIX_FADVISE STD {
2928 _Out_opt_ int *status,
2930 _Out_opt_ struct __wrusage *wrusage,
2931 _Out_opt_ siginfo_t *info
2934 533 AUE_CAP_RIGHTS_LIMIT STD {
2935 int cap_rights_limit(
2937 _In_ cap_rights_t *rightsp
2940 534 AUE_CAP_IOCTLS_LIMIT STD {
2941 int cap_ioctls_limit(
2943 _In_reads_(ncmds) const u_long *cmds,
2947 535 AUE_CAP_IOCTLS_GET STD {
2948 ssize_t cap_ioctls_get(
2950 _Out_writes_(maxcmds) u_long *cmds,
2954 536 AUE_CAP_FCNTLS_LIMIT STD {
2955 int cap_fcntls_limit(
2957 uint32_t fcntlrights
2960 537 AUE_CAP_FCNTLS_GET STD {
2963 _Out_ uint32_t *fcntlrightsp
2966 538 AUE_BINDAT STD {
2970 _In_reads_bytes_(namelen) caddr_t name,
2974 539 AUE_CONNECTAT STD {
2978 _In_reads_bytes_(namelen) caddr_t name,
2982 540 AUE_CHFLAGSAT STD {
2985 _In_z_ const char *path,
2990 541 AUE_ACCEPT STD {
2993 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
2994 _Inout_opt_ __socklen_t *anamelen,
3000 _Out_writes_(2) int *fildes,
3004 543 AUE_AIO_MLOCK STD {
3006 _In_ struct aiocb *aiocbp
3009 544 AUE_PROCCTL STD {
3019 _Inout_updates_(nfds) struct pollfd *fds,
3021 _In_opt_ const struct timespec *ts,
3022 _In_opt_ const sigset_t *set
3025 546 AUE_FUTIMES STD {
3028 _In_reads_(2) struct timespec *times
3031 547 AUE_FUTIMESAT STD {
3034 _In_z_ const char *path,
3035 _In_reads_(2) struct timespec *times,
3039 548 AUE_NULL OBSOL numa_getaffinity
3040 549 AUE_NULL OBSOL numa_setaffinity
3049 _Out_ struct stat *sb
3052 552 AUE_FSTATAT STD {
3055 _In_z_ const char *path,
3056 _Out_ struct stat *buf,
3060 553 AUE_FHSTAT STD {
3062 _In_ const struct fhandle *u_fhp,
3063 _Out_ struct stat *sb
3066 554 AUE_GETDIRENTRIES STD {
3067 ssize_t getdirentries(
3069 _Out_writes_bytes_(count) char *buf,
3074 555 AUE_STATFS STD {
3076 _In_z_ const char *path,
3077 _Out_ struct statfs *buf
3080 556 AUE_FSTATFS STD {
3083 _Out_ struct statfs *buf
3086 557 AUE_GETFSSTAT STD {
3088 _Out_writes_bytes_opt_(bufsize) struct statfs *buf,
3093 558 AUE_FHSTATFS STD {
3095 _In_ const struct fhandle *u_fhp,
3096 _Out_ struct statfs *buf
3099 559 AUE_MKNODAT STD {
3102 _In_z_ const char *path,
3107 560 AUE_KEVENT STD {
3110 _In_reads_opt_(nchanges) struct kevent *changelist,
3112 _Out_writes_opt_(nevents) struct kevent *eventlist,
3114 _In_opt_ const struct timespec *timeout
3118 int cpuset_getdomain(
3122 size_t domainsetsize,
3123 _Out_writes_bytes_(domainsetsize) domainset_t *mask,
3128 int cpuset_setdomain(
3132 size_t domainsetsize,
3133 _In_ domainset_t *mask,
3139 _Out_writes_bytes_(buflen) void *buf,
3145 ; Please copy any additions and changes to the following compatability tables:
3146 ; sys/compat/freebsd32/syscalls.master