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 varargs.
129 _Out_opt_ int *status,
131 _Out_opt_ struct rusage *rusage
136 _In_z_ const char *path,
142 _In_z_ const char *path,
143 _In_z_ const char *link
148 _In_z_ const char *path
151 11 AUE_NULL OBSOL execv
154 _In_z_ const char *path
162 14 AUE_MKNOD COMPAT11 {
164 _In_z_ const char *path,
171 _In_z_ const char *path,
177 _In_z_ const char *path,
187 18 AUE_GETFSSTAT COMPAT4 {
189 _Out_writes_bytes_opt_(bufsize) struct ostatfs *buf,
194 19 AUE_LSEEK COMPAT {
206 _In_z_ const char *type,
207 _In_z_ const char *path,
214 _In_z_ const char *path,
233 _Inout_opt_ caddr_t addr,
240 _Inout_ struct msghdr *msg,
247 _In_ struct msghdr *msg,
251 29 AUE_RECVFROM STD {
254 _Out_writes_bytes_(len) void *buf,
257 _Out_writes_bytes_opt_(*fromlenaddr) struct sockaddr *from,
258 _Inout_opt_ __socklen_t *fromlenaddr
264 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
265 _Inout_opt_ __socklen_t *anamelen
268 31 AUE_GETPEERNAME STD {
271 _Out_writes_bytes_(*alen) struct sockaddr *asa,
272 _Inout_opt_ __socklen_t *alen
275 32 AUE_GETSOCKNAME STD {
278 _Out_writes_bytes_(*alen) struct sockaddr *asa,
279 _Inout_ __socklen_t *alen
284 _In_z_ const char *path,
290 _In_z_ const char *path,
294 35 AUE_FCHFLAGS STD {
311 _In_z_ const char *path,
312 _Out_ struct ostat *ub
318 40 AUE_LSTAT COMPAT {
320 _In_z_ const char *path,
321 _Out_ struct ostat *ub
329 42 AUE_PIPE COMPAT10 {
337 _Out_writes_bytes_(size) char *samples,
345 _In_z_ const char *fname,
351 46 AUE_SIGACTION COMPAT {
354 _In_opt_ struct osigaction *nsa,
355 _Out_opt_ struct osigaction *osa
361 48 AUE_SIGPROCMASK COMPAT {
367 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
368 ; us the mask, not a pointer to it, and we return the old mask as the
369 ; (int) return value.
370 49 AUE_GETLOGIN STD {
372 _Out_writes_z_(namelen) char *namebuf,
376 50 AUE_SETLOGIN STD {
378 _In_z_ const char *namebuf
383 _In_z_ const char *path
386 52 AUE_SIGPENDING COMPAT {
387 int sigpending(void);
389 53 AUE_SIGALTSTACK STD {
391 _In_opt_ stack_t *ss,
392 _Out_opt_ stack_t *oss
399 _Inout_opt_ char *data
409 _In_z_ const char *path
414 _In_z_ const char *path,
415 _In_z_ const char *link
418 58 AUE_READLINK STD {
420 _In_z_ const char *path,
421 _Out_writes_z_(count) char *buf,
427 _In_z_ const char *fname,
439 _In_z_ const char *path
442 62 AUE_FSTAT COMPAT {
445 _Out_ struct ostat *sb
451 _Out_writes_bytes_opt(
453 _Inout_opt_ size_t *size,
458 int getpagesize(void);
470 67 AUE_NULL OBSOL vread
471 68 AUE_NULL OBSOL vwrite
492 72 AUE_O_VADVISE COMPAT11 {
503 74 AUE_MPROTECT STD {
517 76 AUE_NULL OBSOL vhangup
518 77 AUE_NULL OBSOL vlimit
521 _In_ const void *addr,
523 _Out_writes_bytes_(len/PAGE_SIZE) char *vec
526 79 AUE_GETGROUPS STD {
529 _Out_writes_opt_(gidsetsize) gid_t *gidset
532 80 AUE_SETGROUPS STD {
535 _In_reads_(gidsetsize) gid_t *gidset
547 83 AUE_SETITIMER STD {
550 _In_ struct itimerval *itv,
551 _Out_opt_ struct itimerval *oitv
554 84 AUE_WAIT4 COMPAT {
559 _In_z_ const char *name
562 86 AUE_GETITIMER STD {
565 _Out_ struct itimerval *itv
568 87 AUE_SYSCTL COMPAT {
570 _Out_writes_z_(len) char *hostname,
574 88 AUE_SYSCTL COMPAT {
576 _In_reads_z_(len) char *hostname,
580 89 AUE_GETDTABLESIZE STD {
581 int getdtablesize(void);
589 91 AUE_NULL UNIMPL getdopt
597 ; XXX should be { int fcntl(int fd, int cmd, ...); }
598 ; but we're not ready for varargs.
602 _Inout_opt_ fd_set *in,
603 _Inout_opt_ fd_set *ou,
604 _Inout_opt_ fd_set *ex,
605 _In_opt_ struct timeval *tv
608 94 AUE_NULL UNIMPL setdopt
614 96 AUE_SETPRIORITY STD {
631 _In_reads_bytes_(namelen) const struct sockaddr *name,
635 99 AUE_ACCEPT COMPAT {
638 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
642 100 AUE_GETPRIORITY STD {
648 101 AUE_SEND COMPAT {
651 _In_reads_bytes_(len) const void *buf,
656 102 AUE_RECV COMPAT {
659 _Out_writes_bytes_(len) void *buf,
664 103 AUE_SIGRETURN COMPAT {
666 _In_ struct osigcontext *sigcntxp
672 _In_reads_bytes_(namelen) const struct sockaddr *name,
676 105 AUE_SETSOCKOPT STD {
681 _In_reads_bytes_opt_(valsize) const void *val,
691 107 AUE_NULL OBSOL vtimes
692 108 AUE_NULL COMPAT {
695 _In_opt_ struct sigvec *nsv,
696 _Out_opt_ struct sigvec *osv
699 109 AUE_NULL COMPAT {
704 110 AUE_NULL COMPAT {
709 111 AUE_NULL COMPAT {
714 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
715 ; us the mask, not a pointer to it.
716 112 AUE_NULL COMPAT {
718 _In_opt_ struct sigstack *nss,
719 _Out_opt_ struct sigstack *oss
722 113 AUE_RECVMSG COMPAT {
725 _Inout_ struct omsghdr *msg,
729 114 AUE_SENDMSG COMPAT {
732 _In_ const void *msg,
736 115 AUE_NULL OBSOL vtrace
737 116 AUE_GETTIMEOFDAY STD {
739 _Out_ struct timeval *tp,
740 _Out_opt_ struct timezone *tzp
743 117 AUE_GETRUSAGE STD {
746 _Out_ struct rusage *rusage
749 118 AUE_GETSOCKOPT STD {
754 _Out_writes_bytes_opt_(*avalsize) void *val,
755 _Inout_ int *avalsize
758 119 AUE_NULL UNIMPL resuba (BSD/OS 2.x)
762 _Inout_updates_(iovcnt) struct iovec *iovp,
769 _In_reads_opt_(iovcnt) struct iovec *iovp,
773 122 AUE_SETTIMEOFDAY STD {
775 _In_ struct timeval *tv,
776 _In_opt_ struct timezone *tzp
792 125 AUE_RECVFROM COMPAT|NOARGS {
795 _Out_writes_(len) void *buf,
798 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
799 _Inout_ int *fromlenaddr
801 } recvfrom recvfrom_args int
802 126 AUE_SETREUID STD {
808 127 AUE_SETREGID STD {
816 _In_z_ const char *from,
817 _In_z_ const char *to
820 129 AUE_TRUNCATE COMPAT {
822 _In_z_ const char *path,
826 130 AUE_FTRUNCATE COMPAT {
840 _In_z_ const char *path,
847 _In_reads_bytes_(len) const void *buf,
850 _In_reads_bytes_opt_(tolen) const struct sockaddr *to,
854 134 AUE_SHUTDOWN STD {
860 135 AUE_SOCKETPAIR STD {
865 _Out_writes_(2) int *rsv
870 _In_z_ const char *path,
876 _In_z_ const char *path
881 _In_z_ const char *path,
882 _In_ struct timeval *tptr
885 139 AUE_NULL OBSOL 4.2 sigreturn
886 140 AUE_ADJTIME STD {
888 _In_ struct timeval *delta,
889 _Out_opt_ struct timeval *olddelta
892 141 AUE_GETPEERNAME COMPAT {
895 _Out_writes_bytes_(*alen) struct sockaddr *asa,
896 _Inout_opt_ int *alen
899 142 AUE_SYSCTL COMPAT {
900 long gethostid(void);
902 143 AUE_SYSCTL COMPAT {
907 144 AUE_GETRLIMIT COMPAT {
910 _Out_ struct orlimit *rlp
913 145 AUE_SETRLIMIT COMPAT {
916 _Out_ struct orlimit *rlp
919 146 AUE_KILLPG COMPAT {
928 148 AUE_QUOTACTL STD {
930 _In_z_ const char *path,
936 149 AUE_O_QUOTA COMPAT {
939 150 AUE_GETSOCKNAME COMPAT|NOARGS {
942 _Out_writes_bytes_(*alen) struct sockaddr *asa,
945 } getsockname getsockname_args int
947 ; Syscalls 151-180 inclusive are reserved for vendor-specific
948 ; system calls. (This includes various calls added for compatibity
949 ; with other Unix variants.)
950 ; Some of these calls are now supported by BSD...
951 151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
952 152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
953 153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
954 ; 154 is initialised by the NLM code, if present.
960 _In_reads_(addr_count) char **addrs
963 ; 155 is initialized by the NFS code, if present.
964 155 AUE_NFS_SVC NOSTD {
970 156 AUE_GETDIRENTRIES COMPAT {
973 _Out_writes_bytes_(count) char *buf,
978 157 AUE_STATFS COMPAT4 {
980 _In_z_ const char *path,
981 _Out_ struct ostatfs *buf
984 158 AUE_FSTATFS COMPAT4 {
987 _Out_ struct ostatfs *buf
990 159 AUE_NULL UNIMPL nosys
993 _In_z_ const char *fname,
994 _Out_ struct fhandle *fhp
997 161 AUE_NFS_GETFH STD {
999 _In_z_ const char *fname,
1000 _Out_ struct fhandle *fhp
1003 162 AUE_SYSCTL COMPAT4 {
1005 _Out_writes_z_(len) char *domainname,
1009 163 AUE_SYSCTL COMPAT4 {
1011 _In_reads_z_(len) char *domainname,
1015 164 AUE_NULL COMPAT4 {
1017 _Out_ struct utsname *name
1020 165 AUE_SYSARCH STD {
1026 166 AUE_RTPRIO STD {
1030 _Inout_ struct rtprio *rtp
1033 167 AUE_NULL UNIMPL nosys
1034 168 AUE_NULL UNIMPL nosys
1035 169 AUE_SEMSYS NOSTD {
1044 ; XXX should be { int semsys(int which, ...); }
1045 170 AUE_MSGSYS NOSTD {
1055 ; XXX should be { int msgsys(int which, ...); }
1056 171 AUE_SHMSYS NOSTD {
1064 ; XXX should be { int shmsys(int which, ...); }
1065 172 AUE_NULL UNIMPL nosys
1066 173 AUE_PREAD COMPAT6 {
1069 _Out_writes_bytes_(nbyte) void *buf,
1075 174 AUE_PWRITE COMPAT6 {
1078 _In_reads_bytes_(nbyte) const void *buf,
1084 175 AUE_SETFIB STD {
1089 176 AUE_NTP_ADJTIME STD {
1091 _Inout_ struct timex *tp
1094 177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
1095 178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
1096 179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
1097 180 AUE_NULL UNIMPL nosys
1099 ; Syscalls 181-199 are used by/reserved for BSD
1100 181 AUE_SETGID STD {
1105 182 AUE_SETEGID STD {
1110 183 AUE_SETEUID STD {
1115 184 AUE_NULL OBSOL lfs_bmapv
1116 185 AUE_NULL OBSOL lfs_markv
1117 186 AUE_NULL OBSOL lfs_segclean
1118 187 AUE_NULL OBSOL lfs_segwait
1119 188 AUE_STAT COMPAT11 {
1121 _In_z_ const char *path,
1122 _Out_ struct freebsd11_stat *ub
1125 189 AUE_FSTAT COMPAT11 {
1128 _Out_ struct freebsd11_stat *sb
1131 190 AUE_LSTAT COMPAT11 {
1133 _In_z_ const char *path,
1134 _Out_ struct freebsd11_stat *ub
1137 191 AUE_PATHCONF STD {
1139 _In_z_ const char *path,
1143 192 AUE_FPATHCONF STD {
1149 193 AUE_NULL UNIMPL nosys
1150 194 AUE_GETRLIMIT STD {
1153 _Out_ struct rlimit *rlp
1155 } getrlimit __getrlimit_args int
1156 195 AUE_SETRLIMIT STD {
1159 _In_ struct rlimit *rlp
1161 } setrlimit __setrlimit_args int
1162 196 AUE_GETDIRENTRIES COMPAT11 {
1165 _Out_writes_bytes_(count) char *buf,
1170 197 AUE_MMAP COMPAT6 {
1181 198 AUE_NULL NOPROTO {
1183 } __syscall __syscall_args int
1184 199 AUE_LSEEK COMPAT6 {
1192 200 AUE_TRUNCATE COMPAT6 {
1194 _In_z_ const char *path,
1199 201 AUE_FTRUNCATE COMPAT6 {
1206 202 AUE_SYSCTL STD {
1208 _In_reads_(namelen) int *name,
1210 _Out_writes_bytes_opt_(*oldlenp) void *old,
1211 _Inout_opt_ size_t *oldlenp,
1212 _In_reads_bytes_opt_(newlen) const void *new,
1215 } __sysctl sysctl_args int
1218 _In_ const void *addr,
1222 204 AUE_MUNLOCK STD {
1224 _In_ const void *addr,
1228 205 AUE_UNDELETE STD {
1230 _In_z_ const char *path
1233 206 AUE_FUTIMES STD {
1236 _In_reads_(2) struct timeval *tptr
1239 207 AUE_GETPGID STD {
1244 208 AUE_NULL UNIMPL nosys
1247 _Inout_updates_(nfds) struct pollfd *fds,
1253 ; The following are reserved for loadable syscalls
1255 210 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1256 211 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1257 212 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1258 213 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1259 214 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1260 215 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1261 216 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1262 217 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1263 218 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1264 219 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1266 220 AUE_SEMCTL COMPAT7|NOSTD {
1271 union semun_old *arg
1274 221 AUE_SEMGET NOSTD {
1281 222 AUE_SEMOP NOSTD {
1284 _In_reads_(nsops) struct sembuf *sops,
1288 223 AUE_NULL OBSOL semconfig
1289 224 AUE_MSGCTL COMPAT7|NOSTD {
1293 struct msqid_ds_old *buf
1296 225 AUE_MSGGET NOSTD {
1302 226 AUE_MSGSND NOSTD {
1305 _In_reads_bytes_(msgsz) const void *msgp,
1310 227 AUE_MSGRCV NOSTD {
1313 _Out_writes_bytes_(msgsz) void *msgp,
1319 228 AUE_SHMAT NOSTD {
1322 _In_ const void *shmaddr,
1326 229 AUE_SHMCTL COMPAT7|NOSTD {
1330 struct shmid_ds_old *buf
1333 230 AUE_SHMDT NOSTD {
1335 _In_ const void *shmaddr
1338 231 AUE_SHMGET NOSTD {
1348 _Out_ struct timespec *tp
1351 233 AUE_CLOCK_SETTIME STD {
1354 _In_ const struct timespec *tp
1360 _Out_ struct timespec *tp
1366 _In_ struct sigevent *evp,
1379 _In_ const struct itimerspec *value,
1380 _Out_opt_ struct itimerspec *ovalue
1386 _Out_ struct itimerspec *value
1390 int ktimer_getoverrun(
1396 _In_ const struct timespec *rqtp,
1397 _Out_opt_ struct timespec *rmtp
1401 int ffclock_getcounter(
1402 _Out_ ffcounter *ffcount
1406 int ffclock_setestimate(
1407 _In_ struct ffclock_estimate *cest
1411 int ffclock_getestimate(
1412 _Out_ struct ffclock_estimate *cest
1416 int clock_nanosleep(
1419 _In_ const struct timespec *rqtp,
1420 _Out_opt_ struct timespec *rmtp
1423 245-246 AUE_NULL UNIMPL nosys
1425 int clock_getcpuclockid2(
1428 _Out_ clockid_t *clock_id
1433 _Out_ struct ntptimeval *ntvp
1436 249 AUE_NULL UNIMPL nosys
1437 ; syscall numbers initially used in OpenBSD
1438 250 AUE_MINHERIT STD {
1450 252 AUE_POLL OBSOL openbsd_poll
1451 253 AUE_ISSETUGID STD {
1452 int issetugid(void);
1454 254 AUE_LCHOWN STD {
1456 _In_z_ const char *path,
1461 255 AUE_AIO_READ STD {
1463 _Inout_ struct aiocb *aiocbp
1466 256 AUE_AIO_WRITE STD {
1468 _Inout_ struct aiocb *aiocbp
1471 257 AUE_LIO_LISTIO STD {
1474 _Inout_updates_(nent) struct aiocb* const *acb_list,
1476 _In_opt_ struct sigevent *sig
1479 258-271 AUE_NULL UNIMPL nosys
1480 272 AUE_O_GETDENTS COMPAT11 {
1483 _Out_writes_bytes_(count) char *buf,
1487 273 AUE_NULL UNIMPL nosys
1488 274 AUE_LCHMOD STD {
1490 _In_z_ const char *path,
1494 275 AUE_NULL OBSOL netbsd_lchown
1495 276 AUE_LUTIMES STD {
1497 _In_z_ const char *path,
1498 _In_ struct timeval *tptr
1501 277 AUE_NULL OBSOL netbsd_msync
1502 278 AUE_STAT COMPAT11 {
1504 _In_z_ const char *path,
1505 _Out_ struct nstat *ub
1508 279 AUE_FSTAT COMPAT11 {
1511 _Out_ struct nstat *sb
1514 280 AUE_LSTAT COMPAT11 {
1516 _In_z_ const char *path,
1517 _Out_ struct nstat *ub
1520 281-288 AUE_NULL UNIMPL nosys
1521 289 AUE_PREADV STD {
1524 _In_reads_(iovcnt) struct iovec *iovp,
1529 290 AUE_PWRITEV STD {
1532 _In_reads_(iovcnt) struct iovec *iovp,
1537 291-296 AUE_NULL UNIMPL nosys
1538 297 AUE_FHSTATFS COMPAT4 {
1540 _In_ const struct fhandle *u_fhp,
1541 _Out_ struct ostatfs *buf
1544 298 AUE_FHOPEN STD {
1546 _In_ const struct fhandle *u_fhp,
1550 299 AUE_FHSTAT COMPAT11 {
1552 _In_ const struct fhandle *u_fhp,
1553 _Out_ struct freebsd11_stat *sb
1564 _Out_ struct module_stat* stat
1574 _In_z_ const char *name
1577 304 AUE_MODLOAD STD {
1579 _In_z_ const char *file
1582 305 AUE_MODUNLOAD STD {
1589 _In_z_ const char *file
1600 _Out_ struct kld_file_stat *stat
1608 310 AUE_GETSID STD {
1613 311 AUE_SETRESUID STD {
1620 312 AUE_SETRESGID STD {
1627 313 AUE_NULL OBSOL signanosleep
1628 314 AUE_AIO_RETURN STD {
1630 _Inout_ struct aiocb *aiocbp
1633 315 AUE_AIO_SUSPEND STD {
1635 _Inout_updates_(nent) struct aiocb * const * aiocbp,
1637 _In_opt_ const struct timespec *timeout
1640 316 AUE_AIO_CANCEL STD {
1643 _In_opt_ struct aiocb *aiocbp
1646 317 AUE_AIO_ERROR STD {
1648 _In_ struct aiocb *aiocbp
1651 318 AUE_AIO_READ COMPAT6 {
1653 _Inout_ struct oaiocb *aiocbp
1656 319 AUE_AIO_WRITE COMPAT6 {
1658 _Inout_ struct oaiocb *aiocbp
1661 320 AUE_LIO_LISTIO COMPAT6 {
1664 _Inout_updates_(nent) struct oaiocb * const *acb_list,
1666 _In_opt_ struct osigevent *sig
1672 322 AUE_NULL OBSOL thr_sleep
1673 323 AUE_NULL OBSOL thr_wakeup
1674 324 AUE_MLOCKALL STD {
1679 325 AUE_MUNLOCKALL STD {
1680 int munlockall(void); }
1681 326 AUE_GETCWD STD {
1683 _Out_writes_z_(buflen) char *buf,
1690 _In_ const struct sched_param *param
1696 _Out_ struct sched_param *param
1700 int sched_setscheduler(
1703 _In_ const struct sched_param *param
1707 int sched_getscheduler(
1712 int sched_yield(void);
1715 int sched_get_priority_max(
1720 int sched_get_priority_min(
1725 int sched_rr_get_interval(
1727 _Out_ struct timespec *interval
1732 _In_reads_bytes_(len) const void *addr,
1736 336 AUE_SENDFILE COMPAT4 {
1742 _In_opt_ struct sf_hdtr *hdtr,
1743 _Out_opt_ off_t *sbytes,
1756 _In_ struct jail *jail
1759 339 AUE_NULL NOSTD|NOTSTATIC {
1765 int a_followSymlinks
1768 340 AUE_SIGPROCMASK STD {
1771 _In_opt_ const sigset_t *set,
1772 _Out_opt_ sigset_t *oset
1775 341 AUE_SIGSUSPEND STD {
1777 _In_ const sigset_t *sigmask
1780 342 AUE_SIGACTION COMPAT4 {
1783 _In_opt_ const struct sigaction *act,
1784 _Out_opt_ struct sigaction *oact
1787 343 AUE_SIGPENDING STD {
1792 344 AUE_SIGRETURN COMPAT4 {
1794 _In_ const struct ucontext4 *sigcntxp
1797 345 AUE_SIGWAIT STD {
1799 _In_ const sigset_t *set,
1800 _Out_opt_ siginfo_t *info,
1801 _In_opt_ const struct timespec *timeout
1806 _In_ const sigset_t *set,
1807 _Out_opt_ siginfo_t *info
1810 347 AUE_ACL_GET_FILE STD {
1812 _In_z_ const char *path,
1814 _Out_ struct acl *aclp
1817 348 AUE_ACL_SET_FILE STD {
1819 _In_z_ const char *path,
1821 _In_ struct acl *aclp
1824 349 AUE_ACL_GET_FD STD {
1828 _Out_ struct acl *aclp
1831 350 AUE_ACL_SET_FD STD {
1835 _In_ struct acl *aclp
1838 351 AUE_ACL_DELETE_FILE STD {
1839 int __acl_delete_file(
1840 _In_z_ const char *path,
1844 352 AUE_ACL_DELETE_FD STD {
1845 int __acl_delete_fd(
1850 353 AUE_ACL_CHECK_FILE STD {
1851 int __acl_aclcheck_file(
1852 _In_z_ const char *path,
1854 _In_ struct acl *aclp
1857 354 AUE_ACL_CHECK_FD STD {
1858 int __acl_aclcheck_fd(
1861 _In_ struct acl *aclp
1864 355 AUE_EXTATTRCTL STD {
1866 _In_z_ const char *path,
1868 _In_z_opt_ const char *filename,
1870 _In_z_ const char *attrname
1873 356 AUE_EXTATTR_SET_FILE STD {
1874 ssize_t extattr_set_file(
1875 _In_z_ const char *path,
1877 _In_z_ const char *attrname,
1878 _In_reads_bytes_(nbytes) void *data,
1882 357 AUE_EXTATTR_GET_FILE STD {
1883 ssize_t extattr_get_file(
1884 _In_z_ const char *path,
1886 _In_z_ const char *attrname,
1887 _Out_writes_bytes_(nbytes) void *data,
1891 358 AUE_EXTATTR_DELETE_FILE STD {
1892 int extattr_delete_file(
1893 _In_z_ const char *path,
1895 _In_z_ const char *attrname
1898 359 AUE_AIO_WAITCOMPLETE STD {
1899 ssize_t aio_waitcomplete(
1900 _Outptr_result_maybenull_ struct aiocb **aiocbp,
1901 _In_opt_ struct timespec *timeout
1904 360 AUE_GETRESUID STD {
1906 _Out_opt_ uid_t *ruid,
1907 _Out_opt_ uid_t *euid,
1908 _Out_opt_ uid_t *suid
1911 361 AUE_GETRESGID STD {
1913 _Out_opt_ gid_t *rgid,
1914 _Out_opt_ gid_t *egid,
1915 _Out_opt_ gid_t *sgid
1918 362 AUE_KQUEUE STD {
1921 363 AUE_KEVENT COMPAT11 {
1924 _In_reads_opt_(nchanges) struct kevent_freebsd11 *changelist,
1926 _Out_writes_opt_(nevents) struct kevent_freebsd11 *eventlist,
1928 _In_opt_ const struct timespec *timeout
1931 364 AUE_NULL OBSOL __cap_get_proc
1932 365 AUE_NULL OBSOL __cap_set_proc
1933 366 AUE_NULL OBSOL __cap_get_fd
1934 367 AUE_NULL OBSOL __cap_get_file
1935 368 AUE_NULL OBSOL __cap_set_fd
1936 369 AUE_NULL OBSOL __cap_set_file
1937 370 AUE_NULL UNIMPL nosys
1938 371 AUE_EXTATTR_SET_FD STD {
1939 ssize_t extattr_set_fd(
1942 _In_z_ const char *attrname,
1943 _In_reads_bytes_(nbytes) void *data,
1947 372 AUE_EXTATTR_GET_FD STD {
1948 ssize_t extattr_get_fd(
1951 _In_z_ const char *attrname,
1952 _Out_writes_bytes_(nbytes) void *data,
1956 373 AUE_EXTATTR_DELETE_FD STD {
1957 int extattr_delete_fd(
1960 _In_z_ const char *attrname
1963 374 AUE_SETUGID STD {
1968 375 AUE_NULL OBSOL nfsclnt
1969 376 AUE_EACCESS STD {
1971 _In_z_ const char *path,
1975 377 AUE_NULL NOSTD|NOTSTATIC {
1986 378 AUE_NMOUNT STD {
1988 _In_reads_(iovcnt) struct iovec *iovp,
1989 unsigned int iovcnt,
1993 379 AUE_NULL OBSOL kse_exit
1994 380 AUE_NULL OBSOL kse_wakeup
1995 381 AUE_NULL OBSOL kse_create
1996 382 AUE_NULL OBSOL kse_thr_interrupt
1997 383 AUE_NULL OBSOL kse_release
2000 _In_ struct mac *mac_p
2005 _In_ struct mac *mac_p
2011 _In_ struct mac *mac_p
2016 _In_z_ const char *path_p,
2017 _In_ struct mac *mac_p
2023 _In_ struct mac *mac_p
2028 _In_z_ const char *path_p,
2029 _In_ struct mac *mac_p
2035 _In_z_opt_ const char *name,
2036 _Inout_updates_opt_(len) char *value,
2040 391 AUE_LCHFLAGS STD {
2042 _In_z_ const char *path,
2048 _Out_writes_(count) struct uuid *store,
2052 393 AUE_SENDFILE STD {
2058 _In_opt_ struct sf_hdtr *hdtr,
2059 _Out_opt_ off_t *sbytes,
2065 _In_z_ const char *policy,
2070 395 AUE_GETFSSTAT COMPAT11 {
2072 _Out_writes_bytes_opt_(bufsize) struct freebsd11_statfs *buf,
2077 396 AUE_STATFS COMPAT11 {
2079 _In_z_ const char *path,
2080 _Out_ struct freebsd11_statfs *buf
2083 397 AUE_FSTATFS COMPAT11 {
2086 _Out_ struct freebsd11_statfs *buf
2089 398 AUE_FHSTATFS COMPAT11 {
2091 _In_ const struct fhandle *u_fhp,
2092 _Out_ struct freebsd11_statfs *buf
2095 399 AUE_NULL UNIMPL nosys
2096 400 AUE_SEMCLOSE NOSTD {
2101 401 AUE_SEMPOST NOSTD {
2106 402 AUE_SEMWAIT NOSTD {
2111 403 AUE_SEMTRYWAIT NOSTD {
2116 404 AUE_SEMINIT NOSTD {
2122 405 AUE_SEMOPEN NOSTD {
2125 _In_z_ const char *name,
2131 406 AUE_SEMUNLINK NOSTD {
2133 _In_z_ const char *name
2136 407 AUE_SEMGETVALUE NOSTD {
2142 408 AUE_SEMDESTROY NOSTD {
2150 _In_ struct mac *mac_p
2155 _In_z_ const char *path_p,
2156 _In_ struct mac *mac_p
2161 _In_z_ const char *path_p,
2162 _In_ struct mac *mac_p
2165 412 AUE_EXTATTR_SET_LINK STD {
2166 ssize_t extattr_set_link(
2167 _In_z_ const char *path,
2169 _In_z_ const char *attrname,
2170 _In_reads_bytes_(nbytes) void *data,
2174 413 AUE_EXTATTR_GET_LINK STD {
2175 ssize_t extattr_get_link(
2176 _In_z_ const char *path,
2178 _In_z_ const char *attrname,
2179 _Out_writes_bytes_(nbytes) void *data,
2183 414 AUE_EXTATTR_DELETE_LINK STD {
2184 int extattr_delete_link(
2185 _In_z_ const char *path,
2187 _In_z_ const char *attrname
2192 _In_z_ const char *fname,
2195 _In_ struct mac *mac_p
2198 416 AUE_SIGACTION STD {
2201 _In_opt_ const struct sigaction *act,
2202 _Out_opt_ struct sigaction *oact
2205 417 AUE_SIGRETURN STD {
2207 _In_ const struct __ucontext *sigcntxp
2210 418 AUE_NULL UNIMPL __xstat
2211 419 AUE_NULL UNIMPL __xfstat
2212 420 AUE_NULL UNIMPL __xlstat
2215 _Out_ struct __ucontext *ucp
2220 _In_ const struct __ucontext *ucp
2225 _Out_ struct __ucontext *oucp,
2226 _In_ const struct __ucontext *ucp
2229 424 AUE_SWAPOFF STD {
2231 _In_z_ const char *name
2234 425 AUE_ACL_GET_LINK STD {
2236 _In_z_ const char *path,
2238 _Out_ struct acl *aclp
2241 426 AUE_ACL_SET_LINK STD {
2243 _In_z_ const char *path,
2245 _In_ struct acl *aclp
2248 427 AUE_ACL_DELETE_LINK STD {
2249 int __acl_delete_link(
2250 _In_z_ const char *path,
2254 428 AUE_ACL_CHECK_LINK STD {
2255 int __acl_aclcheck_link(
2256 _In_z_ const char *path,
2258 _In_ struct acl *aclp
2261 429 AUE_SIGWAIT STD {
2263 _In_ const sigset_t *set,
2267 430 AUE_THR_CREATE STD {
2269 _In_ ucontext_t *ctx,
2274 431 AUE_THR_EXIT STD {
2276 _Out_opt_ long *state
2284 433 AUE_THR_KILL STD {
2290 434-435 AUE_NULL UNIMPL nosys
2291 436 AUE_JAIL_ATTACH STD {
2296 437 AUE_EXTATTR_LIST_FD STD {
2297 ssize_t extattr_list_fd(
2300 _Out_writes_bytes_opt_(nbytes) void *data,
2304 438 AUE_EXTATTR_LIST_FILE STD {
2305 ssize_t extattr_list_file(
2306 _In_z_ const char *path,
2308 _Out_writes_bytes_opt_(nbytes) void *data,
2312 439 AUE_EXTATTR_LIST_LINK STD {
2313 ssize_t extattr_list_link(
2314 _In_z_ const char *path,
2316 _Out_writes_bytes_opt_(nbytes)
2321 440 AUE_NULL OBSOL kse_switchin
2322 441 AUE_SEMWAIT NOSTD {
2325 _In_opt_ const struct timespec *abstime
2330 _In_opt_ const struct timespec *timeout
2338 444 AUE_MODUNLOAD STD {
2346 _In_reads_bytes_(length) const void *record,
2350 446 AUE_AUDITON STD {
2353 _In_opt_ void *data,
2357 447 AUE_GETAUID STD {
2362 448 AUE_SETAUID STD {
2367 449 AUE_GETAUDIT STD {
2369 _Out_ struct auditinfo *auditinfo
2372 450 AUE_SETAUDIT STD {
2374 _In_ struct auditinfo *auditinfo
2377 451 AUE_GETAUDIT_ADDR STD {
2379 _Out_writes_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2383 452 AUE_SETAUDIT_ADDR STD {
2385 _In_reads_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2389 453 AUE_AUDITCTL STD {
2391 _In_z_ const char *path
2403 455 AUE_THR_NEW STD {
2405 _In_ struct thr_param *param,
2417 457 AUE_MQ_OPEN NOSTD {
2419 _In_z_ const char *path,
2422 _In_opt_ const struct mq_attr *attr
2425 458 AUE_MQ_SETATTR NOSTD {
2428 _In_opt_ const struct mq_attr *attr,
2429 _Out_opt_ struct mq_attr *oattr
2432 459 AUE_MQ_TIMEDRECEIVE NOSTD {
2433 int kmq_timedreceive(
2435 _Out_writes_bytes_(msg_len) char *msg_ptr,
2437 _Out_opt_ unsigned *msg_prio,
2438 _In_opt_ const struct timespec *abs_timeout
2441 460 AUE_MQ_TIMEDSEND NOSTD {
2444 _In_reads_bytes_(msg_len) const char *msg_ptr,
2447 _In_opt_ const struct timespec *abs_timeout
2450 461 AUE_MQ_NOTIFY NOSTD {
2453 _In_opt_ const struct sigevent *sigev
2456 462 AUE_MQ_UNLINK NOSTD {
2458 _In_z_ const char *path
2463 _In_z_ const char *why,
2465 _In_reads_(nargs) void **args
2471 _In_z_ const char *name
2474 465 AUE_AIO_FSYNC STD {
2477 _In_ struct aiocb *aiocbp
2480 466 AUE_RTPRIO STD {
2484 _Inout_ struct rtprio *rtp
2487 467-468 AUE_NULL UNIMPL nosys
2488 469 AUE_NULL UNIMPL __getpath_fromfd
2489 470 AUE_NULL UNIMPL __getpath_fromaddr
2490 471 AUE_SCTP_PEELOFF NOSTD {
2496 472 AUE_SCTP_GENERIC_SENDMSG NOSTD {
2497 int sctp_generic_sendmsg(
2499 _In_reads_bytes_(mlen) void *msg,
2501 _In_reads_bytes_(tolen) struct sockaddr *to,
2503 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2507 473 AUE_SCTP_GENERIC_SENDMSG_IOV NOSTD {
2508 int sctp_generic_sendmsg_iov(
2510 _In_reads_(iovlen) struct iovec *iov,
2512 _In_reads_bytes_(tolen) struct sockaddr *to,
2514 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2518 474 AUE_SCTP_GENERIC_RECVMSG NOSTD {
2519 int sctp_generic_recvmsg(
2521 _In_reads_(iovlen) struct iovec *iov,
2523 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
2524 _Out_ __socklen_t *fromlenaddr,
2525 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2526 _Out_opt_ int *msg_flags
2532 _Out_writes_bytes_(nbyte) void *buf,
2537 476 AUE_PWRITE STD {
2540 _In_reads_bytes_(nbyte) const void *buf,
2562 479 AUE_TRUNCATE STD {
2564 _In_z_ const char *path,
2568 480 AUE_FTRUNCATE STD {
2574 481 AUE_THR_KILL2 STD {
2581 482 AUE_SHMOPEN STD {
2583 _In_z_ const char *path,
2588 483 AUE_SHMUNLINK STD {
2590 _In_z_ const char *path
2595 _Out_ cpusetid_t *setid
2610 _Out_ cpusetid_t *setid
2614 int cpuset_getaffinity(
2619 _Out_ cpuset_t *mask
2623 int cpuset_setaffinity(
2628 _Out_ const cpuset_t *mask
2631 489 AUE_FACCESSAT STD {
2634 _In_z_ const char *path,
2639 490 AUE_FCHMODAT STD {
2642 _In_z_ const char *path,
2647 491 AUE_FCHOWNAT STD {
2650 _In_z_ const char *path,
2656 492 AUE_FEXECVE STD {
2663 493 AUE_FSTATAT COMPAT11 {
2666 _In_z_ const char *path,
2667 _Out_ struct freebsd11_stat *buf,
2671 494 AUE_FUTIMESAT STD {
2674 _In_z_ const char *path,
2675 _In_reads_(2) struct timeval *times
2678 495 AUE_LINKAT STD {
2681 _In_z_ const char *path1,
2683 _In_z_ const char *path2,
2687 496 AUE_MKDIRAT STD {
2690 _In_z_ const char *path,
2694 497 AUE_MKFIFOAT STD {
2697 _In_z_ const char *path,
2701 498 AUE_MKNODAT COMPAT11 {
2704 _In_z_ const char *path,
2709 ; XXX: see the comment for open
2710 499 AUE_OPENAT_RWTC STD {
2713 _In_z_ const char *path,
2718 500 AUE_READLINKAT STD {
2721 _In_z_ const char *path,
2722 _Out_writes_bytes_(bufsize) char *buf,
2726 501 AUE_RENAMEAT STD {
2729 _In_z_ const char *old,
2731 _In_z_ const char *new
2734 502 AUE_SYMLINKAT STD {
2736 _In_z_ const char *path1,
2738 _In_z_ const char *path2
2741 503 AUE_UNLINKAT STD {
2744 _In_z_ const char *path,
2748 504 AUE_POSIX_OPENPT STD {
2753 ; 505 is initialised by the kgssapi code, if present.
2754 505 AUE_NULL NOSTD {
2756 _In_z_ const char *path
2759 506 AUE_JAIL_GET STD {
2761 _In_reads_(iovcnt) struct iovec *iovp,
2762 unsigned int iovcnt,
2766 507 AUE_JAIL_SET STD {
2768 _In_reads_(iovcnt) struct iovec *iovp,
2769 unsigned int iovcnt,
2773 508 AUE_JAIL_REMOVE STD {
2778 509 AUE_CLOSEFROM STD {
2783 510 AUE_SEMCTL NOSTD {
2788 _Inout_ union semun *arg
2791 511 AUE_MSGCTL NOSTD {
2795 _Inout_opt_ struct msqid_ds *buf
2798 512 AUE_SHMCTL NOSTD {
2802 _Inout_opt_ struct shmid_ds *buf
2805 513 AUE_LPATHCONF STD {
2807 _In_z_ const char *path,
2811 514 AUE_NULL OBSOL cap_new
2812 515 AUE_CAP_RIGHTS_GET STD {
2813 int __cap_rights_get(
2816 _Out_ cap_rights_t *rightsp
2819 516 AUE_CAP_ENTER STD {
2820 int cap_enter(void);
2822 517 AUE_CAP_GETMODE STD {
2827 518 AUE_PDFORK STD {
2833 519 AUE_PDKILL STD {
2839 520 AUE_PDGETPID STD {
2845 521 AUE_PDWAIT UNIMPL pdwait4
2846 522 AUE_SELECT STD {
2849 _Inout_opt_ fd_set *in,
2850 _Inout_opt_ fd_set *ou,
2851 _Inout_opt_ fd_set *ex,
2852 _In_opt_ const struct timespec *ts,
2853 _In_opt_ const sigset_t *sm
2856 523 AUE_GETLOGINCLASS STD {
2858 _Out_writes_z_(namelen) char *namebuf,
2862 524 AUE_SETLOGINCLASS STD {
2864 _In_z_ const char *namebuf
2869 _In_reads_bytes_(inbuflen) const void *inbufp,
2871 _Out_writes_bytes_(outbuflen) void *outbufp,
2877 _In_reads_bytes_(inbuflen) const void *inbufp,
2879 _Out_writes_bytes_(outbuflen) void *outbufp,
2884 int rctl_get_limits(
2885 _In_reads_bytes_(inbuflen) const void *inbufp,
2887 _Out_writes_bytes_(outbuflen) void *outbufp,
2893 _In_reads_bytes_(inbuflen) const void *inbufp,
2895 _Out_writes_bytes_(outbuflen) void *outbufp,
2900 int rctl_remove_rule(
2901 _In_reads_bytes_(inbuflen) const void *inbufp,
2903 _Out_writes_bytes_(outbuflen) void *outbufp,
2907 530 AUE_POSIX_FALLOCATE STD {
2908 int posix_fallocate(
2914 531 AUE_POSIX_FADVISE STD {
2926 _Out_opt_ int *status,
2928 _Out_opt_ struct __wrusage *wrusage,
2929 _Out_opt_ siginfo_t *info
2932 533 AUE_CAP_RIGHTS_LIMIT STD {
2933 int cap_rights_limit(
2935 _In_ cap_rights_t *rightsp
2938 534 AUE_CAP_IOCTLS_LIMIT STD {
2939 int cap_ioctls_limit(
2941 _In_reads_(ncmds) const u_long *cmds,
2945 535 AUE_CAP_IOCTLS_GET STD {
2946 ssize_t cap_ioctls_get(
2948 _Out_writes_(maxcmds) u_long *cmds,
2952 536 AUE_CAP_FCNTLS_LIMIT STD {
2953 int cap_fcntls_limit(
2955 uint32_t fcntlrights
2958 537 AUE_CAP_FCNTLS_GET STD {
2961 _Out_ uint32_t *fcntlrightsp
2964 538 AUE_BINDAT STD {
2968 _In_reads_bytes_(namelen) const struct sockaddr *name,
2972 539 AUE_CONNECTAT STD {
2976 _In_reads_bytes_(namelen) const struct sockaddr *name,
2980 540 AUE_CHFLAGSAT STD {
2983 _In_z_ const char *path,
2988 541 AUE_ACCEPT STD {
2991 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
2992 _Inout_opt_ __socklen_t *anamelen,
2998 _Out_writes_(2) int *fildes,
3002 543 AUE_AIO_MLOCK STD {
3004 _In_ struct aiocb *aiocbp
3007 544 AUE_PROCCTL STD {
3017 _Inout_updates_(nfds) struct pollfd *fds,
3019 _In_opt_ const struct timespec *ts,
3020 _In_opt_ const sigset_t *set
3023 546 AUE_FUTIMES STD {
3026 _In_reads_(2) struct timespec *times
3029 547 AUE_FUTIMESAT STD {
3032 _In_z_ const char *path,
3033 _In_reads_(2) struct timespec *times,
3037 548 AUE_NULL OBSOL numa_getaffinity
3038 549 AUE_NULL OBSOL numa_setaffinity
3047 _Out_ struct stat *sb
3050 552 AUE_FSTATAT STD {
3053 _In_z_ const char *path,
3054 _Out_ struct stat *buf,
3058 553 AUE_FHSTAT STD {
3060 _In_ const struct fhandle *u_fhp,
3061 _Out_ struct stat *sb
3064 554 AUE_GETDIRENTRIES STD {
3065 ssize_t getdirentries(
3067 _Out_writes_bytes_(count) char *buf,
3072 555 AUE_STATFS STD {
3074 _In_z_ const char *path,
3075 _Out_ struct statfs *buf
3078 556 AUE_FSTATFS STD {
3081 _Out_ struct statfs *buf
3084 557 AUE_GETFSSTAT STD {
3086 _Out_writes_bytes_opt_(bufsize) struct statfs *buf,
3091 558 AUE_FHSTATFS STD {
3093 _In_ const struct fhandle *u_fhp,
3094 _Out_ struct statfs *buf
3097 559 AUE_MKNODAT STD {
3100 _In_z_ const char *path,
3105 560 AUE_KEVENT STD {
3108 _In_reads_opt_(nchanges) struct kevent *changelist,
3110 _Out_writes_opt_(nevents) struct kevent *eventlist,
3112 _In_opt_ const struct timespec *timeout
3116 int cpuset_getdomain(
3120 size_t domainsetsize,
3121 _Out_writes_bytes_(domainsetsize) domainset_t *mask,
3126 int cpuset_setdomain(
3130 size_t domainsetsize,
3131 _In_ domainset_t *mask,
3137 _Out_writes_bytes_(buflen) void *buf,
3146 _Out_ struct fhandle *fhp,
3152 _In_ struct fhandle *fhp,
3153 _In_z_ const char *to
3158 _In_ struct fhandle *fhp,
3160 _In_z_ const char *to,
3165 _In_ struct fhandle *fhp,
3166 _Out_writes_(bufsize) char *buf,
3170 568 AUE_UNLINKAT STD {
3173 _In_z_ const char *path,
3179 ; Please copy any additions and changes to the following compatability tables:
3180 ; sys/compat/freebsd32/syscalls.master