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 AUE_AIO_WRITEV STD {
1482 _Inout_ struct aiocb *aiocbp
1485 259 AUE_AIO_READV STD {
1487 _Inout_ struct aiocb *aiocbp
1490 260-271 AUE_NULL UNIMPL nosys
1491 272 AUE_O_GETDENTS COMPAT11 {
1494 _Out_writes_bytes_(count) char *buf,
1498 273 AUE_NULL UNIMPL nosys
1499 274 AUE_LCHMOD STD {
1501 _In_z_ const char *path,
1505 275 AUE_NULL OBSOL netbsd_lchown
1506 276 AUE_LUTIMES STD {
1508 _In_z_ const char *path,
1509 _In_ struct timeval *tptr
1512 277 AUE_NULL OBSOL netbsd_msync
1513 278 AUE_STAT COMPAT11 {
1515 _In_z_ const char *path,
1516 _Out_ struct nstat *ub
1519 279 AUE_FSTAT COMPAT11 {
1522 _Out_ struct nstat *sb
1525 280 AUE_LSTAT COMPAT11 {
1527 _In_z_ const char *path,
1528 _Out_ struct nstat *ub
1531 281-288 AUE_NULL UNIMPL nosys
1532 289 AUE_PREADV STD {
1535 _In_reads_(iovcnt) struct iovec *iovp,
1540 290 AUE_PWRITEV STD {
1543 _In_reads_(iovcnt) struct iovec *iovp,
1548 291-296 AUE_NULL UNIMPL nosys
1549 297 AUE_FHSTATFS COMPAT4 {
1551 _In_ const struct fhandle *u_fhp,
1552 _Out_ struct ostatfs *buf
1555 298 AUE_FHOPEN STD {
1557 _In_ const struct fhandle *u_fhp,
1561 299 AUE_FHSTAT COMPAT11 {
1563 _In_ const struct fhandle *u_fhp,
1564 _Out_ struct freebsd11_stat *sb
1575 _Out_ struct module_stat *stat
1585 _In_z_ const char *name
1588 304 AUE_MODLOAD STD {
1590 _In_z_ const char *file
1593 305 AUE_MODUNLOAD STD {
1600 _In_z_ const char *file
1611 _Out_ struct kld_file_stat *stat
1619 310 AUE_GETSID STD {
1624 311 AUE_SETRESUID STD {
1631 312 AUE_SETRESGID STD {
1638 313 AUE_NULL OBSOL signanosleep
1639 314 AUE_AIO_RETURN STD {
1641 _Inout_ struct aiocb *aiocbp
1644 315 AUE_AIO_SUSPEND STD {
1646 _Inout_updates_(nent) struct aiocb * const * aiocbp,
1648 _In_opt_ const struct timespec *timeout
1651 316 AUE_AIO_CANCEL STD {
1654 _In_opt_ struct aiocb *aiocbp
1657 317 AUE_AIO_ERROR STD {
1659 _In_ struct aiocb *aiocbp
1662 318 AUE_AIO_READ COMPAT6 {
1664 _Inout_ struct oaiocb *aiocbp
1667 319 AUE_AIO_WRITE COMPAT6 {
1669 _Inout_ struct oaiocb *aiocbp
1672 320 AUE_LIO_LISTIO COMPAT6 {
1675 _Inout_updates_(nent) struct oaiocb * const *acb_list,
1677 _In_opt_ struct osigevent *sig
1683 322 AUE_NULL OBSOL thr_sleep
1684 323 AUE_NULL OBSOL thr_wakeup
1685 324 AUE_MLOCKALL STD {
1690 325 AUE_MUNLOCKALL STD {
1691 int munlockall(void); }
1692 326 AUE_GETCWD STD {
1694 _Out_writes_z_(buflen) char *buf,
1701 _In_ const struct sched_param *param
1707 _Out_ struct sched_param *param
1711 int sched_setscheduler(
1714 _In_ const struct sched_param *param
1718 int sched_getscheduler(
1723 int sched_yield(void);
1726 int sched_get_priority_max(
1731 int sched_get_priority_min(
1736 int sched_rr_get_interval(
1738 _Out_ struct timespec *interval
1743 _In_reads_bytes_(len) const void *addr,
1747 336 AUE_SENDFILE COMPAT4 {
1753 _In_opt_ struct sf_hdtr *hdtr,
1754 _Out_opt_ off_t *sbytes,
1767 _In_ struct jail *jail
1770 339 AUE_NULL NOSTD|NOTSTATIC {
1776 int a_followSymlinks
1779 340 AUE_SIGPROCMASK STD {
1782 _In_opt_ const sigset_t *set,
1783 _Out_opt_ sigset_t *oset
1786 341 AUE_SIGSUSPEND STD {
1788 _In_ const sigset_t *sigmask
1791 342 AUE_SIGACTION COMPAT4 {
1794 _In_opt_ const struct sigaction *act,
1795 _Out_opt_ struct sigaction *oact
1798 343 AUE_SIGPENDING STD {
1803 344 AUE_SIGRETURN COMPAT4 {
1805 _In_ const struct ucontext4 *sigcntxp
1808 345 AUE_SIGWAIT STD {
1810 _In_ const sigset_t *set,
1811 _Out_opt_ siginfo_t *info,
1812 _In_opt_ const struct timespec *timeout
1817 _In_ const sigset_t *set,
1818 _Out_opt_ siginfo_t *info
1821 347 AUE_ACL_GET_FILE STD {
1823 _In_z_ const char *path,
1825 _Out_ struct acl *aclp
1828 348 AUE_ACL_SET_FILE STD {
1830 _In_z_ const char *path,
1832 _In_ struct acl *aclp
1835 349 AUE_ACL_GET_FD STD {
1839 _Out_ struct acl *aclp
1842 350 AUE_ACL_SET_FD STD {
1846 _In_ struct acl *aclp
1849 351 AUE_ACL_DELETE_FILE STD {
1850 int __acl_delete_file(
1851 _In_z_ const char *path,
1855 352 AUE_ACL_DELETE_FD STD {
1856 int __acl_delete_fd(
1861 353 AUE_ACL_CHECK_FILE STD {
1862 int __acl_aclcheck_file(
1863 _In_z_ const char *path,
1865 _In_ struct acl *aclp
1868 354 AUE_ACL_CHECK_FD STD {
1869 int __acl_aclcheck_fd(
1872 _In_ struct acl *aclp
1875 355 AUE_EXTATTRCTL STD {
1877 _In_z_ const char *path,
1879 _In_z_opt_ const char *filename,
1881 _In_z_ const char *attrname
1884 356 AUE_EXTATTR_SET_FILE STD {
1885 ssize_t extattr_set_file(
1886 _In_z_ const char *path,
1888 _In_z_ const char *attrname,
1889 _In_reads_bytes_(nbytes) void *data,
1893 357 AUE_EXTATTR_GET_FILE STD {
1894 ssize_t extattr_get_file(
1895 _In_z_ const char *path,
1897 _In_z_ const char *attrname,
1898 _Out_writes_bytes_(nbytes) void *data,
1902 358 AUE_EXTATTR_DELETE_FILE STD {
1903 int extattr_delete_file(
1904 _In_z_ const char *path,
1906 _In_z_ const char *attrname
1909 359 AUE_AIO_WAITCOMPLETE STD {
1910 ssize_t aio_waitcomplete(
1911 _Outptr_result_maybenull_ struct aiocb **aiocbp,
1912 _In_opt_ struct timespec *timeout
1915 360 AUE_GETRESUID STD {
1917 _Out_opt_ uid_t *ruid,
1918 _Out_opt_ uid_t *euid,
1919 _Out_opt_ uid_t *suid
1922 361 AUE_GETRESGID STD {
1924 _Out_opt_ gid_t *rgid,
1925 _Out_opt_ gid_t *egid,
1926 _Out_opt_ gid_t *sgid
1929 362 AUE_KQUEUE STD {
1932 363 AUE_KEVENT COMPAT11 {
1935 _In_reads_opt_(nchanges) struct kevent_freebsd11 *changelist,
1937 _Out_writes_opt_(nevents) struct kevent_freebsd11 *eventlist,
1939 _In_opt_ const struct timespec *timeout
1942 364 AUE_NULL OBSOL __cap_get_proc
1943 365 AUE_NULL OBSOL __cap_set_proc
1944 366 AUE_NULL OBSOL __cap_get_fd
1945 367 AUE_NULL OBSOL __cap_get_file
1946 368 AUE_NULL OBSOL __cap_set_fd
1947 369 AUE_NULL OBSOL __cap_set_file
1948 370 AUE_NULL UNIMPL nosys
1949 371 AUE_EXTATTR_SET_FD STD {
1950 ssize_t extattr_set_fd(
1953 _In_z_ const char *attrname,
1954 _In_reads_bytes_(nbytes) void *data,
1958 372 AUE_EXTATTR_GET_FD STD {
1959 ssize_t extattr_get_fd(
1962 _In_z_ const char *attrname,
1963 _Out_writes_bytes_(nbytes) void *data,
1967 373 AUE_EXTATTR_DELETE_FD STD {
1968 int extattr_delete_fd(
1971 _In_z_ const char *attrname
1974 374 AUE_SETUGID STD {
1979 375 AUE_NULL OBSOL nfsclnt
1980 376 AUE_EACCESS STD {
1982 _In_z_ const char *path,
1986 377 AUE_NULL NOSTD|NOTSTATIC {
1997 378 AUE_NMOUNT STD {
1999 _In_reads_(iovcnt) struct iovec *iovp,
2000 unsigned int iovcnt,
2004 379 AUE_NULL OBSOL kse_exit
2005 380 AUE_NULL OBSOL kse_wakeup
2006 381 AUE_NULL OBSOL kse_create
2007 382 AUE_NULL OBSOL kse_thr_interrupt
2008 383 AUE_NULL OBSOL kse_release
2011 _In_ struct mac *mac_p
2016 _In_ struct mac *mac_p
2022 _In_ struct mac *mac_p
2027 _In_z_ const char *path_p,
2028 _In_ struct mac *mac_p
2034 _In_ struct mac *mac_p
2039 _In_z_ const char *path_p,
2040 _In_ struct mac *mac_p
2046 _In_z_opt_ const char *name,
2047 _Inout_updates_opt_(len) char *value,
2051 391 AUE_LCHFLAGS STD {
2053 _In_z_ const char *path,
2059 _Out_writes_(count) struct uuid *store,
2063 393 AUE_SENDFILE STD {
2069 _In_opt_ struct sf_hdtr *hdtr,
2070 _Out_opt_ off_t *sbytes,
2076 _In_z_ const char *policy,
2081 395 AUE_GETFSSTAT COMPAT11 {
2083 _Out_writes_bytes_opt_(bufsize) struct freebsd11_statfs *buf,
2088 396 AUE_STATFS COMPAT11 {
2090 _In_z_ const char *path,
2091 _Out_ struct freebsd11_statfs *buf
2094 397 AUE_FSTATFS COMPAT11 {
2097 _Out_ struct freebsd11_statfs *buf
2100 398 AUE_FHSTATFS COMPAT11 {
2102 _In_ const struct fhandle *u_fhp,
2103 _Out_ struct freebsd11_statfs *buf
2106 399 AUE_NULL UNIMPL nosys
2107 400 AUE_SEMCLOSE NOSTD {
2112 401 AUE_SEMPOST NOSTD {
2117 402 AUE_SEMWAIT NOSTD {
2122 403 AUE_SEMTRYWAIT NOSTD {
2127 404 AUE_SEMINIT NOSTD {
2133 405 AUE_SEMOPEN NOSTD {
2136 _In_z_ const char *name,
2142 406 AUE_SEMUNLINK NOSTD {
2144 _In_z_ const char *name
2147 407 AUE_SEMGETVALUE NOSTD {
2153 408 AUE_SEMDESTROY NOSTD {
2161 _In_ struct mac *mac_p
2166 _In_z_ const char *path_p,
2167 _In_ struct mac *mac_p
2172 _In_z_ const char *path_p,
2173 _In_ struct mac *mac_p
2176 412 AUE_EXTATTR_SET_LINK STD {
2177 ssize_t extattr_set_link(
2178 _In_z_ const char *path,
2180 _In_z_ const char *attrname,
2181 _In_reads_bytes_(nbytes) void *data,
2185 413 AUE_EXTATTR_GET_LINK STD {
2186 ssize_t extattr_get_link(
2187 _In_z_ const char *path,
2189 _In_z_ const char *attrname,
2190 _Out_writes_bytes_(nbytes) void *data,
2194 414 AUE_EXTATTR_DELETE_LINK STD {
2195 int extattr_delete_link(
2196 _In_z_ const char *path,
2198 _In_z_ const char *attrname
2203 _In_z_ const char *fname,
2206 _In_ struct mac *mac_p
2209 416 AUE_SIGACTION STD {
2212 _In_opt_ const struct sigaction *act,
2213 _Out_opt_ struct sigaction *oact
2216 417 AUE_SIGRETURN STD {
2218 _In_ const struct __ucontext *sigcntxp
2221 418 AUE_NULL UNIMPL __xstat
2222 419 AUE_NULL UNIMPL __xfstat
2223 420 AUE_NULL UNIMPL __xlstat
2226 _Out_ struct __ucontext *ucp
2231 _In_ const struct __ucontext *ucp
2236 _Out_ struct __ucontext *oucp,
2237 _In_ const struct __ucontext *ucp
2240 424 AUE_SWAPOFF STD {
2242 _In_z_ const char *name
2245 425 AUE_ACL_GET_LINK STD {
2247 _In_z_ const char *path,
2249 _Out_ struct acl *aclp
2252 426 AUE_ACL_SET_LINK STD {
2254 _In_z_ const char *path,
2256 _In_ struct acl *aclp
2259 427 AUE_ACL_DELETE_LINK STD {
2260 int __acl_delete_link(
2261 _In_z_ const char *path,
2265 428 AUE_ACL_CHECK_LINK STD {
2266 int __acl_aclcheck_link(
2267 _In_z_ const char *path,
2269 _In_ struct acl *aclp
2272 429 AUE_SIGWAIT STD {
2274 _In_ const sigset_t *set,
2278 430 AUE_THR_CREATE STD {
2280 _In_ ucontext_t *ctx,
2285 431 AUE_THR_EXIT STD {
2287 _Out_opt_ long *state
2295 433 AUE_THR_KILL STD {
2301 434-435 AUE_NULL UNIMPL nosys
2302 436 AUE_JAIL_ATTACH STD {
2307 437 AUE_EXTATTR_LIST_FD STD {
2308 ssize_t extattr_list_fd(
2311 _Out_writes_bytes_opt_(nbytes) void *data,
2315 438 AUE_EXTATTR_LIST_FILE STD {
2316 ssize_t extattr_list_file(
2317 _In_z_ const char *path,
2319 _Out_writes_bytes_opt_(nbytes) void *data,
2323 439 AUE_EXTATTR_LIST_LINK STD {
2324 ssize_t extattr_list_link(
2325 _In_z_ const char *path,
2327 _Out_writes_bytes_opt_(nbytes)
2332 440 AUE_NULL OBSOL kse_switchin
2333 441 AUE_SEMWAIT NOSTD {
2336 _In_opt_ const struct timespec *abstime
2341 _In_opt_ const struct timespec *timeout
2349 444 AUE_MODUNLOAD STD {
2357 _In_reads_bytes_(length) const void *record,
2361 446 AUE_AUDITON STD {
2364 _In_opt_ void *data,
2368 447 AUE_GETAUID STD {
2373 448 AUE_SETAUID STD {
2378 449 AUE_GETAUDIT STD {
2380 _Out_ struct auditinfo *auditinfo
2383 450 AUE_SETAUDIT STD {
2385 _In_ struct auditinfo *auditinfo
2388 451 AUE_GETAUDIT_ADDR STD {
2390 _Out_writes_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2394 452 AUE_SETAUDIT_ADDR STD {
2396 _In_reads_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2400 453 AUE_AUDITCTL STD {
2402 _In_z_ const char *path
2414 455 AUE_THR_NEW STD {
2416 _In_ struct thr_param *param,
2428 457 AUE_MQ_OPEN NOSTD {
2430 _In_z_ const char *path,
2433 _In_opt_ const struct mq_attr *attr
2436 458 AUE_MQ_SETATTR NOSTD {
2439 _In_opt_ const struct mq_attr *attr,
2440 _Out_opt_ struct mq_attr *oattr
2443 459 AUE_MQ_TIMEDRECEIVE NOSTD {
2444 int kmq_timedreceive(
2446 _Out_writes_bytes_(msg_len) char *msg_ptr,
2448 _Out_opt_ unsigned *msg_prio,
2449 _In_opt_ const struct timespec *abs_timeout
2452 460 AUE_MQ_TIMEDSEND NOSTD {
2455 _In_reads_bytes_(msg_len) const char *msg_ptr,
2458 _In_opt_ const struct timespec *abs_timeout
2461 461 AUE_MQ_NOTIFY NOSTD {
2464 _In_opt_ const struct sigevent *sigev
2467 462 AUE_MQ_UNLINK NOSTD {
2469 _In_z_ const char *path
2474 _In_z_ const char *why,
2476 _In_reads_(nargs) void **args
2482 _In_z_ const char *name
2485 465 AUE_AIO_FSYNC STD {
2488 _In_ struct aiocb *aiocbp
2491 466 AUE_RTPRIO STD {
2495 _Inout_ struct rtprio *rtp
2498 467-468 AUE_NULL UNIMPL nosys
2499 469 AUE_NULL UNIMPL __getpath_fromfd
2500 470 AUE_NULL UNIMPL __getpath_fromaddr
2501 471 AUE_SCTP_PEELOFF NOSTD {
2507 472 AUE_SCTP_GENERIC_SENDMSG NOSTD {
2508 int sctp_generic_sendmsg(
2510 _In_reads_bytes_(mlen) void *msg,
2512 _In_reads_bytes_(tolen) struct sockaddr *to,
2514 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2518 473 AUE_SCTP_GENERIC_SENDMSG_IOV NOSTD {
2519 int sctp_generic_sendmsg_iov(
2521 _In_reads_(iovlen) struct iovec *iov,
2523 _In_reads_bytes_(tolen) struct sockaddr *to,
2525 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2529 474 AUE_SCTP_GENERIC_RECVMSG NOSTD {
2530 int sctp_generic_recvmsg(
2532 _In_reads_(iovlen) struct iovec *iov,
2534 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
2535 _Out_ __socklen_t *fromlenaddr,
2536 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2537 _Out_opt_ int *msg_flags
2543 _Out_writes_bytes_(nbyte) void *buf,
2548 476 AUE_PWRITE STD {
2551 _In_reads_bytes_(nbyte) const void *buf,
2573 479 AUE_TRUNCATE STD {
2575 _In_z_ const char *path,
2579 480 AUE_FTRUNCATE STD {
2585 481 AUE_THR_KILL2 STD {
2592 482 AUE_SHMOPEN COMPAT12 {
2594 _In_z_ const char *path,
2599 483 AUE_SHMUNLINK STD {
2601 _In_z_ const char *path
2606 _Out_ cpusetid_t *setid
2621 _Out_ cpusetid_t *setid
2625 int cpuset_getaffinity(
2630 _Out_ cpuset_t *mask
2634 int cpuset_setaffinity(
2639 _Out_ const cpuset_t *mask
2642 489 AUE_FACCESSAT STD {
2645 _In_z_ const char *path,
2650 490 AUE_FCHMODAT STD {
2653 _In_z_ const char *path,
2658 491 AUE_FCHOWNAT STD {
2661 _In_z_ const char *path,
2667 492 AUE_FEXECVE STD {
2674 493 AUE_FSTATAT COMPAT11 {
2677 _In_z_ const char *path,
2678 _Out_ struct freebsd11_stat *buf,
2682 494 AUE_FUTIMESAT STD {
2685 _In_z_ const char *path,
2686 _In_reads_(2) struct timeval *times
2689 495 AUE_LINKAT STD {
2692 _In_z_ const char *path1,
2694 _In_z_ const char *path2,
2698 496 AUE_MKDIRAT STD {
2701 _In_z_ const char *path,
2705 497 AUE_MKFIFOAT STD {
2708 _In_z_ const char *path,
2712 498 AUE_MKNODAT COMPAT11 {
2715 _In_z_ const char *path,
2720 ; XXX: see the comment for open
2721 499 AUE_OPENAT_RWTC STD {
2724 _In_z_ const char *path,
2729 500 AUE_READLINKAT STD {
2732 _In_z_ const char *path,
2733 _Out_writes_bytes_(bufsize) char *buf,
2737 501 AUE_RENAMEAT STD {
2740 _In_z_ const char *old,
2742 _In_z_ const char *new
2745 502 AUE_SYMLINKAT STD {
2747 _In_z_ const char *path1,
2749 _In_z_ const char *path2
2752 503 AUE_UNLINKAT STD {
2755 _In_z_ const char *path,
2759 504 AUE_POSIX_OPENPT STD {
2764 ; 505 is initialised by the kgssapi code, if present.
2765 505 AUE_NULL NOSTD {
2767 _In_z_ const char *path
2770 506 AUE_JAIL_GET STD {
2772 _In_reads_(iovcnt) struct iovec *iovp,
2773 unsigned int iovcnt,
2777 507 AUE_JAIL_SET STD {
2779 _In_reads_(iovcnt) struct iovec *iovp,
2780 unsigned int iovcnt,
2784 508 AUE_JAIL_REMOVE STD {
2789 509 AUE_CLOSEFROM COMPAT12 {
2794 510 AUE_SEMCTL NOSTD {
2799 _Inout_ union semun *arg
2802 511 AUE_MSGCTL NOSTD {
2806 _Inout_opt_ struct msqid_ds *buf
2809 512 AUE_SHMCTL NOSTD {
2813 _Inout_opt_ struct shmid_ds *buf
2816 513 AUE_LPATHCONF STD {
2818 _In_z_ const char *path,
2822 514 AUE_NULL OBSOL cap_new
2823 515 AUE_CAP_RIGHTS_GET STD {
2824 int __cap_rights_get(
2827 _Out_ cap_rights_t *rightsp
2830 516 AUE_CAP_ENTER STD {
2831 int cap_enter(void);
2833 517 AUE_CAP_GETMODE STD {
2838 518 AUE_PDFORK STD {
2844 519 AUE_PDKILL STD {
2850 520 AUE_PDGETPID STD {
2856 521 AUE_PDWAIT UNIMPL pdwait4
2857 522 AUE_SELECT STD {
2860 _Inout_opt_ fd_set *in,
2861 _Inout_opt_ fd_set *ou,
2862 _Inout_opt_ fd_set *ex,
2863 _In_opt_ const struct timespec *ts,
2864 _In_opt_ const sigset_t *sm
2867 523 AUE_GETLOGINCLASS STD {
2869 _Out_writes_z_(namelen) char *namebuf,
2873 524 AUE_SETLOGINCLASS STD {
2875 _In_z_ const char *namebuf
2880 _In_reads_bytes_(inbuflen) const void *inbufp,
2882 _Out_writes_bytes_(outbuflen) void *outbufp,
2888 _In_reads_bytes_(inbuflen) const void *inbufp,
2890 _Out_writes_bytes_(outbuflen) void *outbufp,
2895 int rctl_get_limits(
2896 _In_reads_bytes_(inbuflen) const void *inbufp,
2898 _Out_writes_bytes_(outbuflen) void *outbufp,
2904 _In_reads_bytes_(inbuflen) const void *inbufp,
2906 _Out_writes_bytes_(outbuflen) void *outbufp,
2911 int rctl_remove_rule(
2912 _In_reads_bytes_(inbuflen) const void *inbufp,
2914 _Out_writes_bytes_(outbuflen) void *outbufp,
2918 530 AUE_POSIX_FALLOCATE STD {
2919 int posix_fallocate(
2925 531 AUE_POSIX_FADVISE STD {
2937 _Out_opt_ int *status,
2939 _Out_opt_ struct __wrusage *wrusage,
2940 _Out_opt_ siginfo_t *info
2943 533 AUE_CAP_RIGHTS_LIMIT STD {
2944 int cap_rights_limit(
2946 _In_ cap_rights_t *rightsp
2949 534 AUE_CAP_IOCTLS_LIMIT STD {
2950 int cap_ioctls_limit(
2952 _In_reads_(ncmds) const u_long *cmds,
2956 535 AUE_CAP_IOCTLS_GET STD {
2957 ssize_t cap_ioctls_get(
2959 _Out_writes_(maxcmds) u_long *cmds,
2963 536 AUE_CAP_FCNTLS_LIMIT STD {
2964 int cap_fcntls_limit(
2966 uint32_t fcntlrights
2969 537 AUE_CAP_FCNTLS_GET STD {
2972 _Out_ uint32_t *fcntlrightsp
2975 538 AUE_BINDAT STD {
2979 _In_reads_bytes_(namelen) const struct sockaddr *name,
2983 539 AUE_CONNECTAT STD {
2987 _In_reads_bytes_(namelen) const struct sockaddr *name,
2991 540 AUE_CHFLAGSAT STD {
2994 _In_z_ const char *path,
2999 541 AUE_ACCEPT STD {
3002 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
3003 _Inout_opt_ __socklen_t *anamelen,
3009 _Out_writes_(2) int *fildes,
3013 543 AUE_AIO_MLOCK STD {
3015 _In_ struct aiocb *aiocbp
3018 544 AUE_PROCCTL STD {
3028 _Inout_updates_(nfds) struct pollfd *fds,
3030 _In_opt_ const struct timespec *ts,
3031 _In_opt_ const sigset_t *set
3034 546 AUE_FUTIMES STD {
3037 _In_reads_(2) struct timespec *times
3040 547 AUE_FUTIMESAT STD {
3043 _In_z_ const char *path,
3044 _In_reads_(2) struct timespec *times,
3048 548 AUE_NULL OBSOL numa_getaffinity
3049 549 AUE_NULL OBSOL numa_setaffinity
3058 _Out_ struct stat *sb
3061 552 AUE_FSTATAT STD {
3064 _In_z_ const char *path,
3065 _Out_ struct stat *buf,
3069 553 AUE_FHSTAT STD {
3071 _In_ const struct fhandle *u_fhp,
3072 _Out_ struct stat *sb
3075 554 AUE_GETDIRENTRIES STD {
3076 ssize_t getdirentries(
3078 _Out_writes_bytes_(count) char *buf,
3083 555 AUE_STATFS STD {
3085 _In_z_ const char *path,
3086 _Out_ struct statfs *buf
3089 556 AUE_FSTATFS STD {
3092 _Out_ struct statfs *buf
3095 557 AUE_GETFSSTAT STD {
3097 _Out_writes_bytes_opt_(bufsize) struct statfs *buf,
3102 558 AUE_FHSTATFS STD {
3104 _In_ const struct fhandle *u_fhp,
3105 _Out_ struct statfs *buf
3108 559 AUE_MKNODAT STD {
3111 _In_z_ const char *path,
3116 560 AUE_KEVENT STD {
3119 _In_reads_opt_(nchanges) struct kevent *changelist,
3121 _Out_writes_opt_(nevents) struct kevent *eventlist,
3123 _In_opt_ const struct timespec *timeout
3127 int cpuset_getdomain(
3131 size_t domainsetsize,
3132 _Out_writes_bytes_(domainsetsize) domainset_t *mask,
3137 int cpuset_setdomain(
3141 size_t domainsetsize,
3142 _In_ domainset_t *mask,
3148 _Out_writes_bytes_(buflen) void *buf,
3157 _Out_ struct fhandle *fhp,
3163 _In_ struct fhandle *fhp,
3164 _In_z_ const char *to
3169 _In_ struct fhandle *fhp,
3171 _In_z_ const char *to,
3176 _In_ struct fhandle *fhp,
3177 _Out_writes_(bufsize) char *buf,
3181 568 AUE_UNLINKAT STD {
3184 _In_z_ const char *path,
3190 ssize_t copy_file_range(
3192 _Inout_opt_ off_t *inoffp,
3194 _Inout_opt_ off_t *outoffp,
3199 570 AUE_SYSCTL STD {
3201 _In_reads_(namelen) const char *name,
3203 _Out_writes_bytes_opt_(*oldlenp) void *old,
3204 _Inout_opt_ size_t *oldlenp,
3205 _In_reads_bytes_opt_(newlen) void *new,
3209 571 AUE_SHMOPEN STD {
3211 _In_z_ const char *path,
3215 _In_z_ const char *name
3218 572 AUE_SHMRENAME STD {
3220 _In_z_ const char *path_from,
3221 _In_z_ const char *path_to,
3228 _Inout_opt_ uint32_t *ptr
3231 574 AUE_REALPATHAT STD {
3234 _In_z_ const char *path,
3235 _Out_writes_z_(size) char *buf,
3240 575 AUE_CLOSERANGE STD {
3247 ; 576 is initialised by the krpc code, if present.
3248 576 AUE_NULL NOSTD {
3251 _In_z_ const char *path
3254 577 AUE_SPECIALFD STD {
3257 _In_reads_bytes_(len) const void *req,
3262 ; Please copy any additions and changes to the following compatability tables:
3263 ; sys/compat/freebsd32/syscalls.master