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, RESERVED, 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 ; The CAPENABLED option may be ORed into a type.
19 ; name pseudo-prototype of syscall routine
20 ; If one of the following alts is different, then all appear:
21 ; altname name of system call if different
22 ; alttag name of args struct tag if different from [o]`name'"_args"
23 ; altrtyp return type if not int (bogus - syscalls always return int)
24 ; for UNIMPL/OBSOL, name continues with comments
28 ; COMPAT included on COMPAT #ifdef
29 ; COMPAT4 included on COMPAT_FREEBSD4 #ifdef (FreeBSD 4 compat)
30 ; COMPAT6 included on COMPAT_FREEBSD6 #ifdef (FreeBSD 6 compat)
31 ; COMPAT7 included on COMPAT_FREEBSD7 #ifdef (FreeBSD 7 compat)
32 ; COMPAT10 included on COMPAT_FREEBSD10 #ifdef (FreeBSD 10 compat)
33 ; COMPAT11 included on COMPAT_FREEBSD11 #ifdef (FreeBSD 11 compat)
34 ; COMPAT12 included on COMPAT_FREEBSD12 #ifdef (FreeBSD 12 compat)
35 ; OBSOL obsolete, not included in system, only specifies name
36 ; RESERVED reserved for local or vendor use
37 ; UNIMPL not implemented, placeholder only
38 ; NOSTD implemented but as a lkm that can be statically
39 ; compiled in; sysent entry will be filled with lkmressys
40 ; so the SYSCALL_MODULE macro works
41 ; NOARGS same as STD except do not create structure in sys/sysproto.h
42 ; NODEF same as STD except only have the entry in the syscall table
43 ; added. Meaning - do not create structure or function
44 ; prototype in sys/sysproto.h
45 ; NOPROTO same as STD except do not create structure or
46 ; function prototype in sys/sysproto.h. Does add a
47 ; definition to syscall.h besides adding a sysent.
48 ; NOTSTATIC syscall is loadable
49 ; CAPENABLED syscall is allowed in capability mode
52 ; SAL 2.0 annotations are used to specify how system calls treat
53 ; arguments that are passed using pointers. There are three basic
56 ; _In_ Object pointed to will be read and not modified.
57 ; _Out_ Object pointed to will be written and not read.
58 ; _Inout_ Object pointed to will be written and read.
60 ; These annotations are used alone when the pointer refers to a single
61 ; object i.e. scalar types, structs, and pointers, and not NULL. Adding
62 ; the _opt_ suffix, e.g. _In_opt_, implies that the pointer may also
65 ; For pointers to arrays, additional suffixes are added:
67 ; _In_z_, _Out_z_, _Inout_z_:
68 ; for a NUL terminated array e.g. a string.
69 ; _In_reads_z_(n),_Out_writes_z_(n), _Inout_updates_z_(n):
70 ; for a NUL terminated array e.g. a string, of known length n bytes.
71 ; _In_reads_(n),_Out_writes_(n),_Inout_updates_(n):
72 ; for an array of n elements.
73 ; _In_reads_bytes_(n), _Out_writes_bytes_(n), _Inout_updates_bytes(n):
74 ; for a buffer of n-bytes.
76 ; Please copy any additions and changes to the following compatability tables:
77 ; sys/compat/freebsd32/syscalls.master
79 ; #ifdef's, etc. may be included, and are copied to the output files.
81 #include <sys/param.h>
82 #include <sys/sysent.h>
83 #include <sys/sysproto.h>
85 ; Reserved/unimplemented system calls in the range 0-150 inclusive
86 ; are reserved for use in future Berkeley releases.
87 ; Additional system calls implemented in vendor and other
88 ; redistributions should be placed in the reserved range at the end
89 ; of the current calls.
93 } syscall nosys_args int
98 } exit sys_exit_args void
105 _Out_writes_bytes_(nbyte) void *buf,
112 _In_reads_bytes_(nbyte) const void *buf,
116 5 AUE_OPEN_RWTC STD {
118 _In_z_ const char *path,
123 ; XXX should be { int open(const char *path, int flags, ...); }
124 ; but we're not ready for varargs.
133 _Out_opt_ int *status,
135 _Out_opt_ struct rusage *rusage
140 _In_z_ const char *path,
146 _In_z_ const char *path,
147 _In_z_ const char *link
152 _In_z_ const char *path
155 11 AUE_NULL OBSOL execv
158 _In_z_ const char *path
166 14 AUE_MKNOD COMPAT11 {
168 _In_z_ const char *path,
175 _In_z_ const char *path,
181 _In_z_ const char *path,
191 18 AUE_GETFSSTAT COMPAT4 {
193 _Out_writes_bytes_opt_(bufsize) struct ostatfs *buf,
198 19 AUE_LSEEK COMPAT {
210 _In_z_ const char *type,
211 _In_z_ const char *path,
218 _In_z_ const char *path,
237 _Inout_opt_ caddr_t addr,
244 _Inout_ struct msghdr *msg,
251 _In_ struct msghdr *msg,
255 29 AUE_RECVFROM STD {
258 _Out_writes_bytes_(len) void *buf,
261 _Out_writes_bytes_opt_(*fromlenaddr) struct sockaddr *from,
262 _Inout_opt_ __socklen_t *fromlenaddr
268 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
269 _Inout_opt_ __socklen_t *anamelen
272 31 AUE_GETPEERNAME STD {
275 _Out_writes_bytes_(*alen) struct sockaddr *asa,
276 _Inout_opt_ __socklen_t *alen
279 32 AUE_GETSOCKNAME STD {
282 _Out_writes_bytes_(*alen) struct sockaddr *asa,
283 _Inout_ __socklen_t *alen
288 _In_z_ const char *path,
294 _In_z_ const char *path,
298 35 AUE_FCHFLAGS STD {
315 _In_z_ const char *path,
316 _Out_ struct ostat *ub
322 40 AUE_LSTAT COMPAT {
324 _In_z_ const char *path,
325 _Out_ struct ostat *ub
333 42 AUE_PIPE COMPAT10 {
341 _Out_writes_bytes_(size) char *samples,
349 _In_z_ const char *fname,
355 46 AUE_SIGACTION COMPAT {
358 _In_opt_ struct osigaction *nsa,
359 _Out_opt_ struct osigaction *osa
365 48 AUE_SIGPROCMASK COMPAT {
371 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
372 ; us the mask, not a pointer to it, and we return the old mask as the
373 ; (int) return value.
374 49 AUE_GETLOGIN STD {
376 _Out_writes_z_(namelen) char *namebuf,
380 50 AUE_SETLOGIN STD {
382 _In_z_ const char *namebuf
387 _In_z_ const char *path
390 52 AUE_SIGPENDING COMPAT {
391 int sigpending(void);
393 53 AUE_SIGALTSTACK STD {
395 _In_opt_ stack_t *ss,
396 _Out_opt_ stack_t *oss
403 _Inout_opt_ char *data
413 _In_z_ const char *path
418 _In_z_ const char *path,
419 _In_z_ const char *link
422 58 AUE_READLINK STD {
424 _In_z_ const char *path,
425 _Out_writes_z_(count) char *buf,
431 _In_z_ const char *fname,
443 _In_z_ const char *path
446 62 AUE_FSTAT COMPAT {
449 _Out_ struct ostat *sb
455 _Out_writes_bytes_opt(
457 _Inout_opt_ size_t *size,
462 int getpagesize(void);
474 67 AUE_NULL OBSOL vread
475 68 AUE_NULL OBSOL vwrite
496 72 AUE_O_VADVISE COMPAT11 {
507 74 AUE_MPROTECT STD {
521 76 AUE_NULL OBSOL vhangup
522 77 AUE_NULL OBSOL vlimit
525 _In_ const void *addr,
527 _Out_writes_bytes_(len/PAGE_SIZE) char *vec
530 79 AUE_GETGROUPS STD {
533 _Out_writes_opt_(gidsetsize) gid_t *gidset
536 80 AUE_SETGROUPS STD {
539 _In_reads_(gidsetsize) gid_t *gidset
551 83 AUE_SETITIMER STD {
554 _In_ struct itimerval *itv,
555 _Out_opt_ struct itimerval *oitv
558 84 AUE_WAIT4 COMPAT {
563 _In_z_ const char *name
566 86 AUE_GETITIMER STD {
569 _Out_ struct itimerval *itv
572 87 AUE_SYSCTL COMPAT {
574 _Out_writes_z_(len) char *hostname,
578 88 AUE_SYSCTL COMPAT {
580 _In_reads_z_(len) char *hostname,
584 89 AUE_GETDTABLESIZE STD {
585 int getdtablesize(void);
593 91 AUE_NULL UNIMPL getdopt
601 ; XXX should be { int fcntl(int fd, int cmd, ...); }
602 ; but we're not ready for varargs.
606 _Inout_opt_ fd_set *in,
607 _Inout_opt_ fd_set *ou,
608 _Inout_opt_ fd_set *ex,
609 _In_opt_ struct timeval *tv
612 94 AUE_NULL UNIMPL setdopt
618 96 AUE_SETPRIORITY STD {
635 _In_reads_bytes_(namelen) const struct sockaddr *name,
639 99 AUE_ACCEPT COMPAT {
642 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
646 100 AUE_GETPRIORITY STD {
652 101 AUE_SEND COMPAT {
655 _In_reads_bytes_(len) const void *buf,
660 102 AUE_RECV COMPAT {
663 _Out_writes_bytes_(len) void *buf,
668 103 AUE_SIGRETURN COMPAT {
670 _In_ struct osigcontext *sigcntxp
676 _In_reads_bytes_(namelen) const struct sockaddr *name,
680 105 AUE_SETSOCKOPT STD {
685 _In_reads_bytes_opt_(valsize) const void *val,
695 107 AUE_NULL OBSOL vtimes
696 108 AUE_NULL COMPAT {
699 _In_opt_ struct sigvec *nsv,
700 _Out_opt_ struct sigvec *osv
703 109 AUE_NULL COMPAT {
708 110 AUE_NULL COMPAT {
713 111 AUE_NULL COMPAT {
718 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
719 ; us the mask, not a pointer to it.
720 112 AUE_NULL COMPAT {
722 _In_opt_ struct sigstack *nss,
723 _Out_opt_ struct sigstack *oss
726 113 AUE_RECVMSG COMPAT {
729 _Inout_ struct omsghdr *msg,
733 114 AUE_SENDMSG COMPAT {
736 _In_ const void *msg,
740 115 AUE_NULL OBSOL vtrace
741 116 AUE_GETTIMEOFDAY STD {
743 _Out_ struct timeval *tp,
744 _Out_opt_ struct timezone *tzp
747 117 AUE_GETRUSAGE STD {
750 _Out_ struct rusage *rusage
753 118 AUE_GETSOCKOPT STD {
758 _Out_writes_bytes_opt_(*avalsize) void *val,
759 _Inout_ int *avalsize
762 119 AUE_NULL UNIMPL resuba (BSD/OS 2.x)
766 _Inout_updates_(iovcnt) struct iovec *iovp,
773 _In_reads_opt_(iovcnt) struct iovec *iovp,
777 122 AUE_SETTIMEOFDAY STD {
779 _In_ struct timeval *tv,
780 _In_opt_ struct timezone *tzp
796 125 AUE_RECVFROM COMPAT|NOARGS {
799 _Out_writes_(len) void *buf,
802 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
803 _Inout_ int *fromlenaddr
805 } recvfrom recvfrom_args int
806 126 AUE_SETREUID STD {
812 127 AUE_SETREGID STD {
820 _In_z_ const char *from,
821 _In_z_ const char *to
824 129 AUE_TRUNCATE COMPAT {
826 _In_z_ const char *path,
830 130 AUE_FTRUNCATE COMPAT {
844 _In_z_ const char *path,
851 _In_reads_bytes_(len) const void *buf,
854 _In_reads_bytes_opt_(tolen) const struct sockaddr *to,
858 134 AUE_SHUTDOWN STD {
864 135 AUE_SOCKETPAIR STD {
869 _Out_writes_(2) int *rsv
874 _In_z_ const char *path,
880 _In_z_ const char *path
885 _In_z_ const char *path,
886 _In_ struct timeval *tptr
889 139 AUE_NULL OBSOL 4.2 sigreturn
890 140 AUE_ADJTIME STD {
892 _In_ struct timeval *delta,
893 _Out_opt_ struct timeval *olddelta
896 141 AUE_GETPEERNAME COMPAT {
899 _Out_writes_bytes_(*alen) struct sockaddr *asa,
900 _Inout_opt_ int *alen
903 142 AUE_SYSCTL COMPAT {
904 long gethostid(void);
906 143 AUE_SYSCTL COMPAT {
911 144 AUE_GETRLIMIT COMPAT {
914 _Out_ struct orlimit *rlp
917 145 AUE_SETRLIMIT COMPAT {
920 _Out_ struct orlimit *rlp
923 146 AUE_KILLPG COMPAT {
932 148 AUE_QUOTACTL STD {
934 _In_z_ const char *path,
940 149 AUE_O_QUOTA COMPAT {
943 150 AUE_GETSOCKNAME COMPAT|NOARGS {
946 _Out_writes_bytes_(*alen) struct sockaddr *asa,
949 } getsockname getsockname_args int
951 ; Syscalls 151-180 inclusive are reserved for vendor-specific
952 ; system calls. (This includes various calls added for compatibity
953 ; with other Unix variants.)
954 ; Some of these calls are now supported by BSD.
955 151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
956 152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
957 153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
958 ; 154 is initialised by the NLM code, if present.
964 _In_reads_(addr_count) char **addrs
967 ; 155 is initialized by the NFS code, if present.
968 155 AUE_NFS_SVC NOSTD {
974 156 AUE_GETDIRENTRIES COMPAT {
977 _Out_writes_bytes_(count) char *buf,
982 157 AUE_STATFS COMPAT4 {
984 _In_z_ const char *path,
985 _Out_ struct ostatfs *buf
988 158 AUE_FSTATFS COMPAT4 {
991 _Out_ struct ostatfs *buf
994 159 AUE_NULL UNIMPL nosys
997 _In_z_ const char *fname,
998 _Out_ struct fhandle *fhp
1001 161 AUE_NFS_GETFH STD {
1003 _In_z_ const char *fname,
1004 _Out_ struct fhandle *fhp
1007 162 AUE_SYSCTL COMPAT4 {
1009 _Out_writes_z_(len) char *domainname,
1013 163 AUE_SYSCTL COMPAT4 {
1015 _In_reads_z_(len) char *domainname,
1019 164 AUE_NULL COMPAT4 {
1021 _Out_ struct utsname *name
1024 165 AUE_SYSARCH STD {
1030 166 AUE_RTPRIO STD {
1034 _Inout_ struct rtprio *rtp
1037 167 AUE_NULL UNIMPL nosys
1038 168 AUE_NULL UNIMPL nosys
1039 169 AUE_SEMSYS NOSTD {
1048 ; XXX should be { int semsys(int which, ...); }
1049 170 AUE_MSGSYS NOSTD {
1059 ; XXX should be { int msgsys(int which, ...); }
1060 171 AUE_SHMSYS NOSTD {
1068 ; XXX should be { int shmsys(int which, ...); }
1069 172 AUE_NULL UNIMPL nosys
1070 173 AUE_PREAD COMPAT6 {
1073 _Out_writes_bytes_(nbyte) void *buf,
1079 174 AUE_PWRITE COMPAT6 {
1082 _In_reads_bytes_(nbyte) const void *buf,
1088 175 AUE_SETFIB STD {
1093 176 AUE_NTP_ADJTIME STD {
1095 _Inout_ struct timex *tp
1098 177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
1099 178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
1100 179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
1101 180 AUE_NULL UNIMPL nosys
1103 ; Syscalls 181-199 are used by/reserved for BSD
1104 181 AUE_SETGID STD {
1109 182 AUE_SETEGID STD {
1114 183 AUE_SETEUID STD {
1119 184 AUE_NULL OBSOL lfs_bmapv
1120 185 AUE_NULL OBSOL lfs_markv
1121 186 AUE_NULL OBSOL lfs_segclean
1122 187 AUE_NULL OBSOL lfs_segwait
1123 188 AUE_STAT COMPAT11 {
1125 _In_z_ const char *path,
1126 _Out_ struct freebsd11_stat *ub
1129 189 AUE_FSTAT COMPAT11 {
1132 _Out_ struct freebsd11_stat *sb
1135 190 AUE_LSTAT COMPAT11 {
1137 _In_z_ const char *path,
1138 _Out_ struct freebsd11_stat *ub
1141 191 AUE_PATHCONF STD {
1143 _In_z_ const char *path,
1147 192 AUE_FPATHCONF STD {
1153 193 AUE_NULL UNIMPL nosys
1154 194 AUE_GETRLIMIT STD {
1157 _Out_ struct rlimit *rlp
1159 } getrlimit __getrlimit_args int
1160 195 AUE_SETRLIMIT STD {
1163 _In_ struct rlimit *rlp
1165 } setrlimit __setrlimit_args int
1166 196 AUE_GETDIRENTRIES COMPAT11 {
1169 _Out_writes_bytes_(count) char *buf,
1174 197 AUE_MMAP COMPAT6 {
1185 198 AUE_NULL NOPROTO {
1187 } __syscall __syscall_args int
1188 199 AUE_LSEEK COMPAT6 {
1196 200 AUE_TRUNCATE COMPAT6 {
1198 _In_z_ const char *path,
1203 201 AUE_FTRUNCATE COMPAT6 {
1210 202 AUE_SYSCTL STD {
1212 _In_reads_(namelen) int *name,
1214 _Out_writes_bytes_opt_(*oldlenp) void *old,
1215 _Inout_opt_ size_t *oldlenp,
1216 _In_reads_bytes_opt_(newlen) const void *new,
1219 } __sysctl sysctl_args int
1222 _In_ const void *addr,
1226 204 AUE_MUNLOCK STD {
1228 _In_ const void *addr,
1232 205 AUE_UNDELETE STD {
1234 _In_z_ const char *path
1237 206 AUE_FUTIMES STD {
1240 _In_reads_(2) struct timeval *tptr
1243 207 AUE_GETPGID STD {
1248 208 AUE_NULL UNIMPL nosys
1251 _Inout_updates_(nfds) struct pollfd *fds,
1257 ; The following are reserved for loadable syscalls
1259 210 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1260 211 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1261 212 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1262 213 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1263 214 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1264 215 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1265 216 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1266 217 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1267 218 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1268 219 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1270 220 AUE_SEMCTL COMPAT7|NOSTD {
1275 union semun_old *arg
1278 221 AUE_SEMGET NOSTD {
1285 222 AUE_SEMOP NOSTD {
1288 _In_reads_(nsops) struct sembuf *sops,
1292 223 AUE_NULL OBSOL semconfig
1293 224 AUE_MSGCTL COMPAT7|NOSTD {
1297 struct msqid_ds_old *buf
1300 225 AUE_MSGGET NOSTD {
1306 226 AUE_MSGSND NOSTD {
1309 _In_reads_bytes_(msgsz) const void *msgp,
1314 227 AUE_MSGRCV NOSTD {
1317 _Out_writes_bytes_(msgsz) void *msgp,
1323 228 AUE_SHMAT NOSTD {
1326 _In_ const void *shmaddr,
1330 229 AUE_SHMCTL COMPAT7|NOSTD {
1334 struct shmid_ds_old *buf
1337 230 AUE_SHMDT NOSTD {
1339 _In_ const void *shmaddr
1342 231 AUE_SHMGET NOSTD {
1352 _Out_ struct timespec *tp
1355 233 AUE_CLOCK_SETTIME STD {
1358 _In_ const struct timespec *tp
1364 _Out_ struct timespec *tp
1370 _In_ struct sigevent *evp,
1383 _In_ const struct itimerspec *value,
1384 _Out_opt_ struct itimerspec *ovalue
1390 _Out_ struct itimerspec *value
1394 int ktimer_getoverrun(
1400 _In_ const struct timespec *rqtp,
1401 _Out_opt_ struct timespec *rmtp
1405 int ffclock_getcounter(
1406 _Out_ ffcounter *ffcount
1410 int ffclock_setestimate(
1411 _In_ struct ffclock_estimate *cest
1415 int ffclock_getestimate(
1416 _Out_ struct ffclock_estimate *cest
1420 int clock_nanosleep(
1423 _In_ const struct timespec *rqtp,
1424 _Out_opt_ struct timespec *rmtp
1427 245-246 AUE_NULL UNIMPL nosys
1429 int clock_getcpuclockid2(
1432 _Out_ clockid_t *clock_id
1437 _Out_ struct ntptimeval *ntvp
1440 249 AUE_NULL UNIMPL nosys
1441 ; syscall numbers initially used in OpenBSD
1442 250 AUE_MINHERIT STD {
1454 252 AUE_POLL OBSOL openbsd_poll
1455 253 AUE_ISSETUGID STD {
1456 int issetugid(void);
1458 254 AUE_LCHOWN STD {
1460 _In_z_ const char *path,
1465 255 AUE_AIO_READ STD {
1467 _Inout_ struct aiocb *aiocbp
1470 256 AUE_AIO_WRITE STD {
1472 _Inout_ struct aiocb *aiocbp
1475 257 AUE_LIO_LISTIO STD {
1478 _Inout_updates_(nent) struct aiocb * const *acb_list,
1480 _In_opt_ struct sigevent *sig
1483 258-271 AUE_NULL UNIMPL nosys
1484 272 AUE_O_GETDENTS COMPAT11 {
1487 _Out_writes_bytes_(count) char *buf,
1491 273 AUE_NULL UNIMPL nosys
1492 274 AUE_LCHMOD STD {
1494 _In_z_ const char *path,
1498 275 AUE_NULL OBSOL netbsd_lchown
1499 276 AUE_LUTIMES STD {
1501 _In_z_ const char *path,
1502 _In_ struct timeval *tptr
1505 277 AUE_NULL OBSOL netbsd_msync
1506 278 AUE_STAT COMPAT11 {
1508 _In_z_ const char *path,
1509 _Out_ struct nstat *ub
1512 279 AUE_FSTAT COMPAT11 {
1515 _Out_ struct nstat *sb
1518 280 AUE_LSTAT COMPAT11 {
1520 _In_z_ const char *path,
1521 _Out_ struct nstat *ub
1524 281-288 AUE_NULL UNIMPL nosys
1525 289 AUE_PREADV STD {
1528 _In_reads_(iovcnt) struct iovec *iovp,
1533 290 AUE_PWRITEV STD {
1536 _In_reads_(iovcnt) struct iovec *iovp,
1541 291-296 AUE_NULL UNIMPL nosys
1542 297 AUE_FHSTATFS COMPAT4 {
1544 _In_ const struct fhandle *u_fhp,
1545 _Out_ struct ostatfs *buf
1548 298 AUE_FHOPEN STD {
1550 _In_ const struct fhandle *u_fhp,
1554 299 AUE_FHSTAT COMPAT11 {
1556 _In_ const struct fhandle *u_fhp,
1557 _Out_ struct freebsd11_stat *sb
1568 _Out_ struct module_stat *stat
1578 _In_z_ const char *name
1581 304 AUE_MODLOAD STD {
1583 _In_z_ const char *file
1586 305 AUE_MODUNLOAD STD {
1593 _In_z_ const char *file
1604 _Out_ struct kld_file_stat *stat
1612 310 AUE_GETSID STD {
1617 311 AUE_SETRESUID STD {
1624 312 AUE_SETRESGID STD {
1631 313 AUE_NULL OBSOL signanosleep
1632 314 AUE_AIO_RETURN STD {
1634 _Inout_ struct aiocb *aiocbp
1637 315 AUE_AIO_SUSPEND STD {
1639 _Inout_updates_(nent) struct aiocb * const * aiocbp,
1641 _In_opt_ const struct timespec *timeout
1644 316 AUE_AIO_CANCEL STD {
1647 _In_opt_ struct aiocb *aiocbp
1650 317 AUE_AIO_ERROR STD {
1652 _In_ struct aiocb *aiocbp
1655 318 AUE_AIO_READ COMPAT6 {
1657 _Inout_ struct oaiocb *aiocbp
1660 319 AUE_AIO_WRITE COMPAT6 {
1662 _Inout_ struct oaiocb *aiocbp
1665 320 AUE_LIO_LISTIO COMPAT6 {
1668 _Inout_updates_(nent) struct oaiocb * const *acb_list,
1670 _In_opt_ struct osigevent *sig
1676 322 AUE_NULL OBSOL thr_sleep
1677 323 AUE_NULL OBSOL thr_wakeup
1678 324 AUE_MLOCKALL STD {
1683 325 AUE_MUNLOCKALL STD {
1684 int munlockall(void); }
1685 326 AUE_GETCWD STD {
1687 _Out_writes_z_(buflen) char *buf,
1694 _In_ const struct sched_param *param
1700 _Out_ struct sched_param *param
1704 int sched_setscheduler(
1707 _In_ const struct sched_param *param
1711 int sched_getscheduler(
1716 int sched_yield(void);
1719 int sched_get_priority_max(
1724 int sched_get_priority_min(
1729 int sched_rr_get_interval(
1731 _Out_ struct timespec *interval
1736 _In_reads_bytes_(len) const void *addr,
1740 336 AUE_SENDFILE COMPAT4 {
1746 _In_opt_ struct sf_hdtr *hdtr,
1747 _Out_opt_ off_t *sbytes,
1760 _In_ struct jail *jail
1763 339 AUE_NULL NOSTD|NOTSTATIC {
1769 int a_followSymlinks
1772 340 AUE_SIGPROCMASK STD {
1775 _In_opt_ const sigset_t *set,
1776 _Out_opt_ sigset_t *oset
1779 341 AUE_SIGSUSPEND STD {
1781 _In_ const sigset_t *sigmask
1784 342 AUE_SIGACTION COMPAT4 {
1787 _In_opt_ const struct sigaction *act,
1788 _Out_opt_ struct sigaction *oact
1791 343 AUE_SIGPENDING STD {
1796 344 AUE_SIGRETURN COMPAT4 {
1798 _In_ const struct ucontext4 *sigcntxp
1801 345 AUE_SIGWAIT STD {
1803 _In_ const sigset_t *set,
1804 _Out_opt_ siginfo_t *info,
1805 _In_opt_ const struct timespec *timeout
1810 _In_ const sigset_t *set,
1811 _Out_opt_ siginfo_t *info
1814 347 AUE_ACL_GET_FILE STD {
1816 _In_z_ const char *path,
1818 _Out_ struct acl *aclp
1821 348 AUE_ACL_SET_FILE STD {
1823 _In_z_ const char *path,
1825 _In_ struct acl *aclp
1828 349 AUE_ACL_GET_FD STD {
1832 _Out_ struct acl *aclp
1835 350 AUE_ACL_SET_FD STD {
1839 _In_ struct acl *aclp
1842 351 AUE_ACL_DELETE_FILE STD {
1843 int __acl_delete_file(
1844 _In_z_ const char *path,
1848 352 AUE_ACL_DELETE_FD STD {
1849 int __acl_delete_fd(
1854 353 AUE_ACL_CHECK_FILE STD {
1855 int __acl_aclcheck_file(
1856 _In_z_ const char *path,
1858 _In_ struct acl *aclp
1861 354 AUE_ACL_CHECK_FD STD {
1862 int __acl_aclcheck_fd(
1865 _In_ struct acl *aclp
1868 355 AUE_EXTATTRCTL STD {
1870 _In_z_ const char *path,
1872 _In_z_opt_ const char *filename,
1874 _In_z_ const char *attrname
1877 356 AUE_EXTATTR_SET_FILE STD {
1878 ssize_t extattr_set_file(
1879 _In_z_ const char *path,
1881 _In_z_ const char *attrname,
1882 _In_reads_bytes_(nbytes) void *data,
1886 357 AUE_EXTATTR_GET_FILE STD {
1887 ssize_t extattr_get_file(
1888 _In_z_ const char *path,
1890 _In_z_ const char *attrname,
1891 _Out_writes_bytes_(nbytes) void *data,
1895 358 AUE_EXTATTR_DELETE_FILE STD {
1896 int extattr_delete_file(
1897 _In_z_ const char *path,
1899 _In_z_ const char *attrname
1902 359 AUE_AIO_WAITCOMPLETE STD {
1903 ssize_t aio_waitcomplete(
1904 _Outptr_result_maybenull_ struct aiocb **aiocbp,
1905 _In_opt_ struct timespec *timeout
1908 360 AUE_GETRESUID STD {
1910 _Out_opt_ uid_t *ruid,
1911 _Out_opt_ uid_t *euid,
1912 _Out_opt_ uid_t *suid
1915 361 AUE_GETRESGID STD {
1917 _Out_opt_ gid_t *rgid,
1918 _Out_opt_ gid_t *egid,
1919 _Out_opt_ gid_t *sgid
1922 362 AUE_KQUEUE STD {
1925 363 AUE_KEVENT COMPAT11 {
1928 _In_reads_opt_(nchanges) struct kevent_freebsd11 *changelist,
1930 _Out_writes_opt_(nevents) struct kevent_freebsd11 *eventlist,
1932 _In_opt_ const struct timespec *timeout
1935 364 AUE_NULL OBSOL __cap_get_proc
1936 365 AUE_NULL OBSOL __cap_set_proc
1937 366 AUE_NULL OBSOL __cap_get_fd
1938 367 AUE_NULL OBSOL __cap_get_file
1939 368 AUE_NULL OBSOL __cap_set_fd
1940 369 AUE_NULL OBSOL __cap_set_file
1941 370 AUE_NULL UNIMPL nosys
1942 371 AUE_EXTATTR_SET_FD STD {
1943 ssize_t extattr_set_fd(
1946 _In_z_ const char *attrname,
1947 _In_reads_bytes_(nbytes) void *data,
1951 372 AUE_EXTATTR_GET_FD STD {
1952 ssize_t extattr_get_fd(
1955 _In_z_ const char *attrname,
1956 _Out_writes_bytes_(nbytes) void *data,
1960 373 AUE_EXTATTR_DELETE_FD STD {
1961 int extattr_delete_fd(
1964 _In_z_ const char *attrname
1967 374 AUE_SETUGID STD {
1972 375 AUE_NULL OBSOL nfsclnt
1973 376 AUE_EACCESS STD {
1975 _In_z_ const char *path,
1979 377 AUE_NULL NOSTD|NOTSTATIC {
1990 378 AUE_NMOUNT STD {
1992 _In_reads_(iovcnt) struct iovec *iovp,
1993 unsigned int iovcnt,
1997 379 AUE_NULL OBSOL kse_exit
1998 380 AUE_NULL OBSOL kse_wakeup
1999 381 AUE_NULL OBSOL kse_create
2000 382 AUE_NULL OBSOL kse_thr_interrupt
2001 383 AUE_NULL OBSOL kse_release
2004 _In_ struct mac *mac_p
2009 _In_ struct mac *mac_p
2015 _In_ struct mac *mac_p
2020 _In_z_ const char *path_p,
2021 _In_ struct mac *mac_p
2027 _In_ struct mac *mac_p
2032 _In_z_ const char *path_p,
2033 _In_ struct mac *mac_p
2039 _In_z_opt_ const char *name,
2040 _Inout_updates_opt_(len) char *value,
2044 391 AUE_LCHFLAGS STD {
2046 _In_z_ const char *path,
2052 _Out_writes_(count) struct uuid *store,
2056 393 AUE_SENDFILE STD {
2062 _In_opt_ struct sf_hdtr *hdtr,
2063 _Out_opt_ off_t *sbytes,
2069 _In_z_ const char *policy,
2074 395 AUE_GETFSSTAT COMPAT11 {
2076 _Out_writes_bytes_opt_(bufsize) struct freebsd11_statfs *buf,
2081 396 AUE_STATFS COMPAT11 {
2083 _In_z_ const char *path,
2084 _Out_ struct freebsd11_statfs *buf
2087 397 AUE_FSTATFS COMPAT11 {
2090 _Out_ struct freebsd11_statfs *buf
2093 398 AUE_FHSTATFS COMPAT11 {
2095 _In_ const struct fhandle *u_fhp,
2096 _Out_ struct freebsd11_statfs *buf
2099 399 AUE_NULL UNIMPL nosys
2100 400 AUE_SEMCLOSE NOSTD {
2105 401 AUE_SEMPOST NOSTD {
2110 402 AUE_SEMWAIT NOSTD {
2115 403 AUE_SEMTRYWAIT NOSTD {
2120 404 AUE_SEMINIT NOSTD {
2126 405 AUE_SEMOPEN NOSTD {
2129 _In_z_ const char *name,
2135 406 AUE_SEMUNLINK NOSTD {
2137 _In_z_ const char *name
2140 407 AUE_SEMGETVALUE NOSTD {
2146 408 AUE_SEMDESTROY NOSTD {
2154 _In_ struct mac *mac_p
2159 _In_z_ const char *path_p,
2160 _In_ struct mac *mac_p
2165 _In_z_ const char *path_p,
2166 _In_ struct mac *mac_p
2169 412 AUE_EXTATTR_SET_LINK STD {
2170 ssize_t extattr_set_link(
2171 _In_z_ const char *path,
2173 _In_z_ const char *attrname,
2174 _In_reads_bytes_(nbytes) void *data,
2178 413 AUE_EXTATTR_GET_LINK STD {
2179 ssize_t extattr_get_link(
2180 _In_z_ const char *path,
2182 _In_z_ const char *attrname,
2183 _Out_writes_bytes_(nbytes) void *data,
2187 414 AUE_EXTATTR_DELETE_LINK STD {
2188 int extattr_delete_link(
2189 _In_z_ const char *path,
2191 _In_z_ const char *attrname
2196 _In_z_ const char *fname,
2199 _In_ struct mac *mac_p
2202 416 AUE_SIGACTION STD {
2205 _In_opt_ const struct sigaction *act,
2206 _Out_opt_ struct sigaction *oact
2209 417 AUE_SIGRETURN STD {
2211 _In_ const struct __ucontext *sigcntxp
2214 418 AUE_NULL UNIMPL __xstat
2215 419 AUE_NULL UNIMPL __xfstat
2216 420 AUE_NULL UNIMPL __xlstat
2219 _Out_ struct __ucontext *ucp
2224 _In_ const struct __ucontext *ucp
2229 _Out_ struct __ucontext *oucp,
2230 _In_ const struct __ucontext *ucp
2233 424 AUE_SWAPOFF STD {
2234 int freebsd13_swapoff(
2235 _In_z_ const char *name
2238 425 AUE_ACL_GET_LINK STD {
2240 _In_z_ const char *path,
2242 _Out_ struct acl *aclp
2245 426 AUE_ACL_SET_LINK STD {
2247 _In_z_ const char *path,
2249 _In_ struct acl *aclp
2252 427 AUE_ACL_DELETE_LINK STD {
2253 int __acl_delete_link(
2254 _In_z_ const char *path,
2258 428 AUE_ACL_CHECK_LINK STD {
2259 int __acl_aclcheck_link(
2260 _In_z_ const char *path,
2262 _In_ struct acl *aclp
2265 429 AUE_SIGWAIT STD {
2267 _In_ const sigset_t *set,
2271 430 AUE_THR_CREATE STD {
2273 _In_ ucontext_t *ctx,
2278 431 AUE_THR_EXIT STD {
2280 _Out_opt_ long *state
2288 433 AUE_THR_KILL STD {
2295 434 AUE_NULL COMPAT10 {
2297 _Inout_ struct umtx *umtx
2301 435 AUE_NULL COMPAT10 {
2303 _Inout_ struct umtx *umtx
2307 436 AUE_JAIL_ATTACH STD {
2312 437 AUE_EXTATTR_LIST_FD STD {
2313 ssize_t extattr_list_fd(
2316 _Out_writes_bytes_opt_(nbytes) void *data,
2320 438 AUE_EXTATTR_LIST_FILE STD {
2321 ssize_t extattr_list_file(
2322 _In_z_ const char *path,
2324 _Out_writes_bytes_opt_(nbytes) void *data,
2328 439 AUE_EXTATTR_LIST_LINK STD {
2329 ssize_t extattr_list_link(
2330 _In_z_ const char *path,
2332 _Out_writes_bytes_opt_(nbytes)
2337 440 AUE_NULL OBSOL kse_switchin
2338 441 AUE_SEMWAIT NOSTD {
2341 _In_opt_ const struct timespec *abstime
2346 _In_opt_ const struct timespec *timeout
2354 444 AUE_MODUNLOAD STD {
2362 _In_reads_bytes_(length) const void *record,
2366 446 AUE_AUDITON STD {
2369 _In_opt_ void *data,
2373 447 AUE_GETAUID STD {
2378 448 AUE_SETAUID STD {
2383 449 AUE_GETAUDIT STD {
2385 _Out_ struct auditinfo *auditinfo
2388 450 AUE_SETAUDIT STD {
2390 _In_ struct auditinfo *auditinfo
2393 451 AUE_GETAUDIT_ADDR STD {
2395 _Out_writes_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2399 452 AUE_SETAUDIT_ADDR STD {
2401 _In_reads_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2405 453 AUE_AUDITCTL STD {
2407 _In_z_ const char *path
2419 455 AUE_THR_NEW STD {
2421 _In_ struct thr_param *param,
2433 457 AUE_MQ_OPEN NOSTD {
2435 _In_z_ const char *path,
2438 _In_opt_ const struct mq_attr *attr
2441 458 AUE_MQ_SETATTR NOSTD {
2444 _In_opt_ const struct mq_attr *attr,
2445 _Out_opt_ struct mq_attr *oattr
2448 459 AUE_MQ_TIMEDRECEIVE NOSTD {
2449 int kmq_timedreceive(
2451 _Out_writes_bytes_(msg_len) char *msg_ptr,
2453 _Out_opt_ unsigned *msg_prio,
2454 _In_opt_ const struct timespec *abs_timeout
2457 460 AUE_MQ_TIMEDSEND NOSTD {
2460 _In_reads_bytes_(msg_len) const char *msg_ptr,
2463 _In_opt_ const struct timespec *abs_timeout
2466 461 AUE_MQ_NOTIFY NOSTD {
2469 _In_opt_ const struct sigevent *sigev
2472 462 AUE_MQ_UNLINK NOSTD {
2474 _In_z_ const char *path
2479 _In_z_ const char *why,
2481 _In_reads_(nargs) void **args
2487 _In_z_ const char *name
2490 465 AUE_AIO_FSYNC STD {
2493 _In_ struct aiocb *aiocbp
2496 466 AUE_RTPRIO STD {
2500 _Inout_ struct rtprio *rtp
2503 467-468 AUE_NULL UNIMPL nosys
2504 469 AUE_NULL UNIMPL __getpath_fromfd
2505 470 AUE_NULL UNIMPL __getpath_fromaddr
2506 471 AUE_SCTP_PEELOFF NOSTD {
2512 472 AUE_SCTP_GENERIC_SENDMSG NOSTD {
2513 int sctp_generic_sendmsg(
2515 _In_reads_bytes_(mlen) void *msg,
2517 _In_reads_bytes_(tolen) struct sockaddr *to,
2519 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2523 473 AUE_SCTP_GENERIC_SENDMSG_IOV NOSTD {
2524 int sctp_generic_sendmsg_iov(
2526 _In_reads_(iovlen) struct iovec *iov,
2528 _In_reads_bytes_(tolen) struct sockaddr *to,
2530 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2534 474 AUE_SCTP_GENERIC_RECVMSG NOSTD {
2535 int sctp_generic_recvmsg(
2537 _In_reads_(iovlen) struct iovec *iov,
2539 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
2540 _Out_ __socklen_t *fromlenaddr,
2541 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2542 _Out_opt_ int *msg_flags
2548 _Out_writes_bytes_(nbyte) void *buf,
2553 476 AUE_PWRITE STD {
2556 _In_reads_bytes_(nbyte) const void *buf,
2578 479 AUE_TRUNCATE STD {
2580 _In_z_ const char *path,
2584 480 AUE_FTRUNCATE STD {
2590 481 AUE_THR_KILL2 STD {
2597 482 AUE_SHMOPEN COMPAT12 {
2599 _In_z_ const char *path,
2604 483 AUE_SHMUNLINK STD {
2606 _In_z_ const char *path
2611 _Out_ cpusetid_t *setid
2626 _Out_ cpusetid_t *setid
2630 int cpuset_getaffinity(
2635 _Out_ cpuset_t *mask
2639 int cpuset_setaffinity(
2644 _Out_ const cpuset_t *mask
2647 489 AUE_FACCESSAT STD {
2650 _In_z_ const char *path,
2655 490 AUE_FCHMODAT STD {
2658 _In_z_ const char *path,
2663 491 AUE_FCHOWNAT STD {
2666 _In_z_ const char *path,
2672 492 AUE_FEXECVE STD {
2679 493 AUE_FSTATAT COMPAT11 {
2682 _In_z_ const char *path,
2683 _Out_ struct freebsd11_stat *buf,
2687 494 AUE_FUTIMESAT STD {
2690 _In_z_ const char *path,
2691 _In_reads_(2) struct timeval *times
2694 495 AUE_LINKAT STD {
2697 _In_z_ const char *path1,
2699 _In_z_ const char *path2,
2703 496 AUE_MKDIRAT STD {
2706 _In_z_ const char *path,
2710 497 AUE_MKFIFOAT STD {
2713 _In_z_ const char *path,
2717 498 AUE_MKNODAT COMPAT11 {
2720 _In_z_ const char *path,
2725 ; XXX: see the comment for open
2726 499 AUE_OPENAT_RWTC STD {
2729 _In_z_ const char *path,
2734 500 AUE_READLINKAT STD {
2737 _In_z_ const char *path,
2738 _Out_writes_bytes_(bufsize) char *buf,
2742 501 AUE_RENAMEAT STD {
2745 _In_z_ const char *old,
2747 _In_z_ const char *new
2750 502 AUE_SYMLINKAT STD {
2752 _In_z_ const char *path1,
2754 _In_z_ const char *path2
2757 503 AUE_UNLINKAT STD {
2760 _In_z_ const char *path,
2764 504 AUE_POSIX_OPENPT STD {
2769 ; 505 is initialised by the kgssapi code, if present.
2770 505 AUE_NULL NOSTD {
2772 _In_z_ const char *path
2775 506 AUE_JAIL_GET STD {
2777 _In_reads_(iovcnt) struct iovec *iovp,
2778 unsigned int iovcnt,
2782 507 AUE_JAIL_SET STD {
2784 _In_reads_(iovcnt) struct iovec *iovp,
2785 unsigned int iovcnt,
2789 508 AUE_JAIL_REMOVE STD {
2794 509 AUE_CLOSEFROM COMPAT12 {
2799 510 AUE_SEMCTL NOSTD {
2804 _Inout_ union semun *arg
2807 511 AUE_MSGCTL NOSTD {
2811 _Inout_opt_ struct msqid_ds *buf
2814 512 AUE_SHMCTL NOSTD {
2818 _Inout_opt_ struct shmid_ds *buf
2821 513 AUE_LPATHCONF STD {
2823 _In_z_ const char *path,
2827 514 AUE_NULL OBSOL cap_new
2828 515 AUE_CAP_RIGHTS_GET STD {
2829 int __cap_rights_get(
2832 _Out_ cap_rights_t *rightsp
2835 516 AUE_CAP_ENTER STD {
2836 int cap_enter(void);
2838 517 AUE_CAP_GETMODE STD {
2843 518 AUE_PDFORK STD {
2849 519 AUE_PDKILL STD {
2855 520 AUE_PDGETPID STD {
2861 521 AUE_PDWAIT UNIMPL pdwait4
2862 522 AUE_SELECT STD {
2865 _Inout_opt_ fd_set *in,
2866 _Inout_opt_ fd_set *ou,
2867 _Inout_opt_ fd_set *ex,
2868 _In_opt_ const struct timespec *ts,
2869 _In_opt_ const sigset_t *sm
2872 523 AUE_GETLOGINCLASS STD {
2874 _Out_writes_z_(namelen) char *namebuf,
2878 524 AUE_SETLOGINCLASS STD {
2880 _In_z_ const char *namebuf
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_get_limits(
2901 _In_reads_bytes_(inbuflen) const void *inbufp,
2903 _Out_writes_bytes_(outbuflen) void *outbufp,
2909 _In_reads_bytes_(inbuflen) const void *inbufp,
2911 _Out_writes_bytes_(outbuflen) void *outbufp,
2916 int rctl_remove_rule(
2917 _In_reads_bytes_(inbuflen) const void *inbufp,
2919 _Out_writes_bytes_(outbuflen) void *outbufp,
2923 530 AUE_POSIX_FALLOCATE STD {
2924 int posix_fallocate(
2930 531 AUE_POSIX_FADVISE STD|CAPENABLED {
2942 _Out_opt_ int *status,
2944 _Out_opt_ struct __wrusage *wrusage,
2945 _Out_opt_ siginfo_t *info
2948 533 AUE_CAP_RIGHTS_LIMIT STD {
2949 int cap_rights_limit(
2951 _In_ cap_rights_t *rightsp
2954 534 AUE_CAP_IOCTLS_LIMIT STD {
2955 int cap_ioctls_limit(
2957 _In_reads_(ncmds) const u_long *cmds,
2961 535 AUE_CAP_IOCTLS_GET STD {
2962 ssize_t cap_ioctls_get(
2964 _Out_writes_(maxcmds) u_long *cmds,
2968 536 AUE_CAP_FCNTLS_LIMIT STD {
2969 int cap_fcntls_limit(
2971 uint32_t fcntlrights
2974 537 AUE_CAP_FCNTLS_GET STD {
2977 _Out_ uint32_t *fcntlrightsp
2980 538 AUE_BINDAT STD {
2984 _In_reads_bytes_(namelen) const struct sockaddr *name,
2988 539 AUE_CONNECTAT STD {
2992 _In_reads_bytes_(namelen) const struct sockaddr *name,
2996 540 AUE_CHFLAGSAT STD {
2999 _In_z_ const char *path,
3004 541 AUE_ACCEPT STD {
3007 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
3008 _Inout_opt_ __socklen_t *anamelen,
3014 _Out_writes_(2) int *fildes,
3018 543 AUE_AIO_MLOCK STD {
3020 _In_ struct aiocb *aiocbp
3023 544 AUE_PROCCTL STD {
3033 _Inout_updates_(nfds) struct pollfd *fds,
3035 _In_opt_ const struct timespec *ts,
3036 _In_opt_ const sigset_t *set
3039 546 AUE_FUTIMES STD {
3042 _In_reads_(2) struct timespec *times
3045 547 AUE_FUTIMESAT STD {
3048 _In_z_ const char *path,
3049 _In_reads_(2) struct timespec *times,
3053 548 AUE_NULL OBSOL numa_getaffinity
3054 549 AUE_NULL OBSOL numa_setaffinity
3063 _Out_ struct stat *sb
3066 552 AUE_FSTATAT STD {
3069 _In_z_ const char *path,
3070 _Out_ struct stat *buf,
3074 553 AUE_FHSTAT STD {
3076 _In_ const struct fhandle *u_fhp,
3077 _Out_ struct stat *sb
3080 554 AUE_GETDIRENTRIES STD {
3081 ssize_t getdirentries(
3083 _Out_writes_bytes_(count) char *buf,
3088 555 AUE_STATFS STD {
3090 _In_z_ const char *path,
3091 _Out_ struct statfs *buf
3094 556 AUE_FSTATFS STD {
3097 _Out_ struct statfs *buf
3100 557 AUE_GETFSSTAT STD {
3102 _Out_writes_bytes_opt_(bufsize) struct statfs *buf,
3107 558 AUE_FHSTATFS STD {
3109 _In_ const struct fhandle *u_fhp,
3110 _Out_ struct statfs *buf
3113 559 AUE_MKNODAT STD {
3116 _In_z_ const char *path,
3121 560 AUE_KEVENT STD {
3124 _In_reads_opt_(nchanges) struct kevent *changelist,
3126 _Out_writes_opt_(nevents) struct kevent *eventlist,
3128 _In_opt_ const struct timespec *timeout
3132 int cpuset_getdomain(
3136 size_t domainsetsize,
3137 _Out_writes_bytes_(domainsetsize) domainset_t *mask,
3142 int cpuset_setdomain(
3146 size_t domainsetsize,
3147 _In_ domainset_t *mask,
3153 _Out_writes_bytes_(buflen) void *buf,
3162 _Out_ struct fhandle *fhp,
3168 _In_ struct fhandle *fhp,
3169 _In_z_ const char *to
3174 _In_ struct fhandle *fhp,
3176 _In_z_ const char *to,
3181 _In_ struct fhandle *fhp,
3182 _Out_writes_(bufsize) char *buf,
3186 568 AUE_UNLINKAT STD {
3189 _In_z_ const char *path,
3195 ssize_t copy_file_range(
3197 _Inout_opt_ off_t *inoffp,
3199 _Inout_opt_ off_t *outoffp,
3204 570 AUE_SYSCTL STD {
3206 _In_reads_(namelen) const char *name,
3208 _Out_writes_bytes_opt_(*oldlenp) void *old,
3209 _Inout_opt_ size_t *oldlenp,
3210 _In_reads_bytes_opt_(newlen) void *new,
3214 571 AUE_SHMOPEN STD {
3216 _In_z_ const char *path,
3220 _In_z_ const char *name
3223 572 AUE_SHMRENAME STD {
3225 _In_z_ const char *path_from,
3226 _In_z_ const char *path_to,
3233 _Inout_opt_ uint32_t *ptr
3236 574 AUE_REALPATHAT STD {
3239 _In_z_ const char *path,
3240 _Out_writes_z_(size) char *buf,
3245 575 AUE_CLOSERANGE STD {
3252 ; 576 is initialised by the krpc code, if present.
3253 576 AUE_NULL NOSTD {
3256 _In_z_ const char *path
3259 577 AUE_SPECIALFD STD {
3262 _In_reads_bytes_(len) const void *req,
3266 578 AUE_AIO_WRITEV STD {
3268 _Inout_ struct aiocb *aiocbp
3271 579 AUE_AIO_READV STD {
3273 _Inout_ struct aiocb *aiocbp
3276 580 AUE_NULL UNIMPL fspacectl
3277 581 AUE_NULL STD|CAPENABLED {
3278 int sched_getcpu(void);
3280 582 AUE_SWAPOFF STD {
3282 _In_z_ const char *name,
3287 ; Please copy any additions and changes to the following compatability tables:
3288 ; sys/compat/freebsd32/syscalls.master