1 ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94
3 ; System call name/number master file.
4 ; Processed to created init_sysent.c, syscalls.c and syscall.h.
6 ; Columns: number audit type name alt{name,tag,rtyp}/comments
7 ; number system call number, must be in order
8 ; audit the audit event associated with the system call
9 ; A value of AUE_NULL means no auditing, but it also means that
10 ; there is no audit event for the call at this time. For the
11 ; case where the event exists, but we don't want auditing, the
12 ; event should be #defined to AUE_NULL in audit_kevents.h.
13 ; type one of STD, OBSOL, RESERVED, UNIMPL, COMPAT, COMPAT4, COMPAT6,
14 ; COMPAT7, COMPAT11, COMPAT12, NODEF, NOARGS, NOPROTO, NOSTD
15 ; The COMPAT* options may be combined with one or more NO*
16 ; options separated by '|' with no spaces (e.g. COMPAT|NOARGS)
17 ; The CAPENABLED option may be ORed into a type.
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 ; RESERVED reserved for local or vendor use
36 ; UNIMPL not implemented, placeholder only
37 ; NOSTD implemented but as a lkm that can be statically
38 ; compiled in; sysent entry will be filled with lkmressys
39 ; so the SYSCALL_MODULE macro works
40 ; NOARGS same as STD except do not create structure in sys/sysproto.h
41 ; NODEF same as STD except only have the entry in the syscall table
42 ; added. Meaning - do not create structure or function
43 ; prototype in sys/sysproto.h
44 ; NOPROTO same as STD except do not create structure or
45 ; function prototype in sys/sysproto.h. Does add a
46 ; definition to syscall.h besides adding a sysent.
47 ; NOTSTATIC syscall is loadable
48 ; CAPENABLED syscall is allowed in capability mode
51 ; SAL 2.0 annotations are used to specify how system calls treat
52 ; arguments that are passed using pointers. There are three basic
55 ; _In_ Object pointed to will be read and not modified.
56 ; _Out_ Object pointed to will be written and not read.
57 ; _Inout_ Object pointed to will be written and read.
59 ; These annotations are used alone when the pointer refers to a single
60 ; object i.e. scalar types, structs, and pointers, and not NULL. Adding
61 ; the _opt_ suffix, e.g. _In_opt_, implies that the pointer may also
64 ; For pointers to arrays, additional suffixes are added:
66 ; _In_z_, _Out_z_, _Inout_z_:
67 ; for a NUL terminated array e.g. a string.
68 ; _In_reads_z_(n),_Out_writes_z_(n), _Inout_updates_z_(n):
69 ; for a NUL terminated array e.g. a string, of known length n bytes.
70 ; _In_reads_(n),_Out_writes_(n),_Inout_updates_(n):
71 ; for an array of n elements.
72 ; _In_reads_bytes_(n), _Out_writes_bytes_(n), _Inout_updates_bytes(n):
73 ; for a buffer of n-bytes.
75 ; Please copy any additions and changes to the following compatability tables:
76 ; sys/compat/freebsd32/syscalls.master
78 ; #ifdef's, etc. may be included, and are copied to the output files.
80 #include <sys/param.h>
81 #include <sys/sysent.h>
82 #include <sys/sysproto.h>
84 ; Reserved/unimplemented system calls in the range 0-150 inclusive
85 ; are reserved for use in future Berkeley releases.
86 ; Additional system calls implemented in vendor and other
87 ; redistributions should be placed in the reserved range at the end
88 ; of the current calls.
92 } syscall nosys_args int
97 } exit sys_exit_args void
104 _Out_writes_bytes_(nbyte) void *buf,
111 _In_reads_bytes_(nbyte) const void *buf,
115 5 AUE_OPEN_RWTC STD {
117 _In_z_ const char *path,
122 ; XXX should be { int open(const char *path, int flags, ...); }
123 ; but we're not ready for varargs.
132 _Out_opt_ int *status,
134 _Out_opt_ struct rusage *rusage
139 _In_z_ const char *path,
145 _In_z_ const char *path,
146 _In_z_ const char *link
151 _In_z_ const char *path
154 11 AUE_NULL OBSOL execv
157 _In_z_ const char *path
165 14 AUE_MKNOD COMPAT11 {
167 _In_z_ const char *path,
174 _In_z_ const char *path,
180 _In_z_ const char *path,
190 18 AUE_GETFSSTAT COMPAT4 {
192 _Out_writes_bytes_opt_(bufsize) struct ostatfs *buf,
197 19 AUE_LSEEK COMPAT {
209 _In_z_ const char *type,
210 _In_z_ const char *path,
217 _In_z_ const char *path,
236 _Inout_opt_ caddr_t addr,
243 _Inout_ struct msghdr *msg,
250 _In_ struct msghdr *msg,
254 29 AUE_RECVFROM STD {
257 _Out_writes_bytes_(len) void *buf,
260 _Out_writes_bytes_opt_(*fromlenaddr) struct sockaddr *from,
261 _Inout_opt_ __socklen_t *fromlenaddr
267 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
268 _Inout_opt_ __socklen_t *anamelen
271 31 AUE_GETPEERNAME STD {
274 _Out_writes_bytes_(*alen) struct sockaddr *asa,
275 _Inout_opt_ __socklen_t *alen
278 32 AUE_GETSOCKNAME STD {
281 _Out_writes_bytes_(*alen) struct sockaddr *asa,
282 _Inout_ __socklen_t *alen
287 _In_z_ const char *path,
293 _In_z_ const char *path,
297 35 AUE_FCHFLAGS STD {
314 _In_z_ const char *path,
315 _Out_ struct ostat *ub
321 40 AUE_LSTAT COMPAT {
323 _In_z_ const char *path,
324 _Out_ struct ostat *ub
332 42 AUE_PIPE COMPAT10 {
340 _Out_writes_bytes_(size) char *samples,
348 _In_z_ const char *fname,
354 46 AUE_SIGACTION COMPAT {
357 _In_opt_ struct osigaction *nsa,
358 _Out_opt_ struct osigaction *osa
364 48 AUE_SIGPROCMASK COMPAT {
370 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
371 ; us the mask, not a pointer to it, and we return the old mask as the
372 ; (int) return value.
373 49 AUE_GETLOGIN STD {
375 _Out_writes_z_(namelen) char *namebuf,
379 50 AUE_SETLOGIN STD {
381 _In_z_ const char *namebuf
386 _In_z_ const char *path
389 52 AUE_SIGPENDING COMPAT {
390 int sigpending(void);
392 53 AUE_SIGALTSTACK STD {
394 _In_opt_ stack_t *ss,
395 _Out_opt_ stack_t *oss
402 _Inout_opt_ char *data
412 _In_z_ const char *path
417 _In_z_ const char *path,
418 _In_z_ const char *link
421 58 AUE_READLINK STD {
423 _In_z_ const char *path,
424 _Out_writes_z_(count) char *buf,
430 _In_z_ const char *fname,
442 _In_z_ const char *path
445 62 AUE_FSTAT COMPAT {
448 _Out_ struct ostat *sb
454 _Out_writes_bytes_opt(
456 _Inout_opt_ size_t *size,
461 int getpagesize(void);
473 67 AUE_NULL OBSOL vread
474 68 AUE_NULL OBSOL vwrite
495 72 AUE_O_VADVISE COMPAT11 {
506 74 AUE_MPROTECT STD {
520 76 AUE_NULL OBSOL vhangup
521 77 AUE_NULL OBSOL vlimit
524 _In_ const void *addr,
526 _Out_writes_bytes_(len/PAGE_SIZE) char *vec
529 79 AUE_GETGROUPS STD {
532 _Out_writes_opt_(gidsetsize) gid_t *gidset
535 80 AUE_SETGROUPS STD {
538 _In_reads_(gidsetsize) gid_t *gidset
550 83 AUE_SETITIMER STD {
553 _In_ struct itimerval *itv,
554 _Out_opt_ struct itimerval *oitv
557 84 AUE_WAIT4 COMPAT {
562 _In_z_ const char *name
565 86 AUE_GETITIMER STD {
568 _Out_ struct itimerval *itv
571 87 AUE_SYSCTL COMPAT {
573 _Out_writes_z_(len) char *hostname,
577 88 AUE_SYSCTL COMPAT {
579 _In_reads_z_(len) char *hostname,
583 89 AUE_GETDTABLESIZE STD {
584 int getdtablesize(void);
592 91 AUE_NULL UNIMPL getdopt
600 ; XXX should be { int fcntl(int fd, int cmd, ...); }
601 ; but we're not ready for varargs.
605 _Inout_opt_ fd_set *in,
606 _Inout_opt_ fd_set *ou,
607 _Inout_opt_ fd_set *ex,
608 _In_opt_ struct timeval *tv
611 94 AUE_NULL UNIMPL setdopt
617 96 AUE_SETPRIORITY STD {
634 _In_reads_bytes_(namelen) const struct sockaddr *name,
638 99 AUE_ACCEPT COMPAT {
641 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
645 100 AUE_GETPRIORITY STD {
651 101 AUE_SEND COMPAT {
654 _In_reads_bytes_(len) const void *buf,
659 102 AUE_RECV COMPAT {
662 _Out_writes_bytes_(len) void *buf,
667 103 AUE_SIGRETURN COMPAT {
669 _In_ struct osigcontext *sigcntxp
675 _In_reads_bytes_(namelen) const struct sockaddr *name,
679 105 AUE_SETSOCKOPT STD {
684 _In_reads_bytes_opt_(valsize) const void *val,
694 107 AUE_NULL OBSOL vtimes
695 108 AUE_NULL COMPAT {
698 _In_opt_ struct sigvec *nsv,
699 _Out_opt_ struct sigvec *osv
702 109 AUE_NULL COMPAT {
707 110 AUE_NULL COMPAT {
712 111 AUE_NULL COMPAT {
717 ; XXX note nonstandard (bogus) calling convention - the libc stub passes
718 ; us the mask, not a pointer to it.
719 112 AUE_NULL COMPAT {
721 _In_opt_ struct sigstack *nss,
722 _Out_opt_ struct sigstack *oss
725 113 AUE_RECVMSG COMPAT {
728 _Inout_ struct omsghdr *msg,
732 114 AUE_SENDMSG COMPAT {
735 _In_ const void *msg,
739 115 AUE_NULL OBSOL vtrace
740 116 AUE_GETTIMEOFDAY STD {
742 _Out_ struct timeval *tp,
743 _Out_opt_ struct timezone *tzp
746 117 AUE_GETRUSAGE STD {
749 _Out_ struct rusage *rusage
752 118 AUE_GETSOCKOPT STD {
757 _Out_writes_bytes_opt_(*avalsize) void *val,
758 _Inout_ int *avalsize
761 119 AUE_NULL UNIMPL resuba (BSD/OS 2.x)
765 _Inout_updates_(iovcnt) struct iovec *iovp,
772 _In_reads_opt_(iovcnt) struct iovec *iovp,
776 122 AUE_SETTIMEOFDAY STD {
778 _In_ struct timeval *tv,
779 _In_opt_ struct timezone *tzp
795 125 AUE_RECVFROM COMPAT|NOARGS {
798 _Out_writes_(len) void *buf,
801 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
802 _Inout_ int *fromlenaddr
804 } recvfrom recvfrom_args int
805 126 AUE_SETREUID STD {
811 127 AUE_SETREGID STD {
819 _In_z_ const char *from,
820 _In_z_ const char *to
823 129 AUE_TRUNCATE COMPAT {
825 _In_z_ const char *path,
829 130 AUE_FTRUNCATE COMPAT {
843 _In_z_ const char *path,
850 _In_reads_bytes_(len) const void *buf,
853 _In_reads_bytes_opt_(tolen) const struct sockaddr *to,
857 134 AUE_SHUTDOWN STD {
863 135 AUE_SOCKETPAIR STD {
868 _Out_writes_(2) int *rsv
873 _In_z_ const char *path,
879 _In_z_ const char *path
884 _In_z_ const char *path,
885 _In_ struct timeval *tptr
888 139 AUE_NULL OBSOL 4.2 sigreturn
889 140 AUE_ADJTIME STD {
891 _In_ struct timeval *delta,
892 _Out_opt_ struct timeval *olddelta
895 141 AUE_GETPEERNAME COMPAT {
898 _Out_writes_bytes_(*alen) struct sockaddr *asa,
899 _Inout_opt_ int *alen
902 142 AUE_SYSCTL COMPAT {
903 long gethostid(void);
905 143 AUE_SYSCTL COMPAT {
910 144 AUE_GETRLIMIT COMPAT {
913 _Out_ struct orlimit *rlp
916 145 AUE_SETRLIMIT COMPAT {
919 _Out_ struct orlimit *rlp
922 146 AUE_KILLPG COMPAT {
931 148 AUE_QUOTACTL STD {
933 _In_z_ const char *path,
939 149 AUE_O_QUOTA COMPAT {
942 150 AUE_GETSOCKNAME COMPAT|NOARGS {
945 _Out_writes_bytes_(*alen) struct sockaddr *asa,
948 } getsockname getsockname_args int
950 ; Syscalls 151-180 inclusive are reserved for vendor-specific
951 ; system calls. (This includes various calls added for compatibity
952 ; with other Unix variants.)
953 ; Some of these calls are now supported by BSD.
954 151 AUE_NULL UNIMPL sem_lock (BSD/OS 2.x)
955 152 AUE_NULL UNIMPL sem_wakeup (BSD/OS 2.x)
956 153 AUE_NULL UNIMPL asyncdaemon (BSD/OS 2.x)
957 ; 154 is initialised by the NLM code, if present.
963 _In_reads_(addr_count) char **addrs
966 ; 155 is initialized by the NFS code, if present.
967 155 AUE_NFS_SVC NOSTD {
973 156 AUE_GETDIRENTRIES COMPAT {
976 _Out_writes_bytes_(count) char *buf,
981 157 AUE_STATFS COMPAT4 {
983 _In_z_ const char *path,
984 _Out_ struct ostatfs *buf
987 158 AUE_FSTATFS COMPAT4 {
990 _Out_ struct ostatfs *buf
993 159 AUE_NULL UNIMPL nosys
996 _In_z_ const char *fname,
997 _Out_ struct fhandle *fhp
1000 161 AUE_NFS_GETFH STD {
1002 _In_z_ const char *fname,
1003 _Out_ struct fhandle *fhp
1006 162 AUE_SYSCTL COMPAT4 {
1008 _Out_writes_z_(len) char *domainname,
1012 163 AUE_SYSCTL COMPAT4 {
1014 _In_reads_z_(len) char *domainname,
1018 164 AUE_NULL COMPAT4 {
1020 _Out_ struct utsname *name
1023 165 AUE_SYSARCH STD {
1029 166 AUE_RTPRIO STD {
1033 _Inout_ struct rtprio *rtp
1036 167 AUE_NULL UNIMPL nosys
1037 168 AUE_NULL UNIMPL nosys
1038 169 AUE_SEMSYS NOSTD {
1047 ; XXX should be { int semsys(int which, ...); }
1048 170 AUE_MSGSYS NOSTD {
1058 ; XXX should be { int msgsys(int which, ...); }
1059 171 AUE_SHMSYS NOSTD {
1067 ; XXX should be { int shmsys(int which, ...); }
1068 172 AUE_NULL UNIMPL nosys
1069 173 AUE_PREAD COMPAT6 {
1072 _Out_writes_bytes_(nbyte) void *buf,
1078 174 AUE_PWRITE COMPAT6 {
1081 _In_reads_bytes_(nbyte) const void *buf,
1087 175 AUE_SETFIB STD {
1092 176 AUE_NTP_ADJTIME STD {
1094 _Inout_ struct timex *tp
1097 177 AUE_NULL UNIMPL sfork (BSD/OS 2.x)
1098 178 AUE_NULL UNIMPL getdescriptor (BSD/OS 2.x)
1099 179 AUE_NULL UNIMPL setdescriptor (BSD/OS 2.x)
1100 180 AUE_NULL UNIMPL nosys
1102 ; Syscalls 181-199 are used by/reserved for BSD
1103 181 AUE_SETGID STD {
1108 182 AUE_SETEGID STD {
1113 183 AUE_SETEUID STD {
1118 184 AUE_NULL OBSOL lfs_bmapv
1119 185 AUE_NULL OBSOL lfs_markv
1120 186 AUE_NULL OBSOL lfs_segclean
1121 187 AUE_NULL OBSOL lfs_segwait
1122 188 AUE_STAT COMPAT11 {
1124 _In_z_ const char *path,
1125 _Out_ struct freebsd11_stat *ub
1128 189 AUE_FSTAT COMPAT11 {
1131 _Out_ struct freebsd11_stat *sb
1134 190 AUE_LSTAT COMPAT11 {
1136 _In_z_ const char *path,
1137 _Out_ struct freebsd11_stat *ub
1140 191 AUE_PATHCONF STD {
1142 _In_z_ const char *path,
1146 192 AUE_FPATHCONF STD {
1152 193 AUE_NULL UNIMPL nosys
1153 194 AUE_GETRLIMIT STD {
1156 _Out_ struct rlimit *rlp
1158 } getrlimit __getrlimit_args int
1159 195 AUE_SETRLIMIT STD {
1162 _In_ struct rlimit *rlp
1164 } setrlimit __setrlimit_args int
1165 196 AUE_GETDIRENTRIES COMPAT11 {
1168 _Out_writes_bytes_(count) char *buf,
1173 197 AUE_MMAP COMPAT6 {
1184 198 AUE_NULL NOPROTO {
1186 } __syscall __syscall_args int
1187 199 AUE_LSEEK COMPAT6 {
1195 200 AUE_TRUNCATE COMPAT6 {
1197 _In_z_ const char *path,
1202 201 AUE_FTRUNCATE COMPAT6 {
1209 202 AUE_SYSCTL STD {
1211 _In_reads_(namelen) int *name,
1213 _Out_writes_bytes_opt_(*oldlenp) void *old,
1214 _Inout_opt_ size_t *oldlenp,
1215 _In_reads_bytes_opt_(newlen) const void *new,
1218 } __sysctl sysctl_args int
1221 _In_ const void *addr,
1225 204 AUE_MUNLOCK STD {
1227 _In_ const void *addr,
1231 205 AUE_UNDELETE STD {
1233 _In_z_ const char *path
1236 206 AUE_FUTIMES STD {
1239 _In_reads_(2) struct timeval *tptr
1242 207 AUE_GETPGID STD {
1247 208 AUE_NULL UNIMPL nosys
1250 _Inout_updates_(nfds) struct pollfd *fds,
1256 ; The following are reserved for loadable syscalls
1258 210 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1259 211 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1260 212 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1261 213 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1262 214 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1263 215 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1264 216 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1265 217 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1266 218 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1267 219 AUE_NULL NODEF|NOTSTATIC lkmnosys lkmnosys nosys_args int
1269 220 AUE_SEMCTL COMPAT7|NOSTD {
1274 union semun_old *arg
1277 221 AUE_SEMGET NOSTD {
1284 222 AUE_SEMOP NOSTD {
1287 _In_reads_(nsops) struct sembuf *sops,
1291 223 AUE_NULL OBSOL semconfig
1292 224 AUE_MSGCTL COMPAT7|NOSTD {
1296 struct msqid_ds_old *buf
1299 225 AUE_MSGGET NOSTD {
1305 226 AUE_MSGSND NOSTD {
1308 _In_reads_bytes_(msgsz) const void *msgp,
1313 227 AUE_MSGRCV NOSTD {
1316 _Out_writes_bytes_(msgsz) void *msgp,
1322 228 AUE_SHMAT NOSTD {
1325 _In_ const void *shmaddr,
1329 229 AUE_SHMCTL COMPAT7|NOSTD {
1333 struct shmid_ds_old *buf
1336 230 AUE_SHMDT NOSTD {
1338 _In_ const void *shmaddr
1341 231 AUE_SHMGET NOSTD {
1351 _Out_ struct timespec *tp
1354 233 AUE_CLOCK_SETTIME STD {
1357 _In_ const struct timespec *tp
1363 _Out_ struct timespec *tp
1369 _In_ struct sigevent *evp,
1382 _In_ const struct itimerspec *value,
1383 _Out_opt_ struct itimerspec *ovalue
1389 _Out_ struct itimerspec *value
1393 int ktimer_getoverrun(
1399 _In_ const struct timespec *rqtp,
1400 _Out_opt_ struct timespec *rmtp
1404 int ffclock_getcounter(
1405 _Out_ ffcounter *ffcount
1409 int ffclock_setestimate(
1410 _In_ struct ffclock_estimate *cest
1414 int ffclock_getestimate(
1415 _Out_ struct ffclock_estimate *cest
1419 int clock_nanosleep(
1422 _In_ const struct timespec *rqtp,
1423 _Out_opt_ struct timespec *rmtp
1426 245-246 AUE_NULL UNIMPL nosys
1428 int clock_getcpuclockid2(
1431 _Out_ clockid_t *clock_id
1436 _Out_ struct ntptimeval *ntvp
1439 249 AUE_NULL UNIMPL nosys
1440 ; syscall numbers initially used in OpenBSD
1441 250 AUE_MINHERIT STD {
1453 252 AUE_POLL OBSOL openbsd_poll
1454 253 AUE_ISSETUGID STD {
1455 int issetugid(void);
1457 254 AUE_LCHOWN STD {
1459 _In_z_ const char *path,
1464 255 AUE_AIO_READ STD {
1466 _Inout_ struct aiocb *aiocbp
1469 256 AUE_AIO_WRITE STD {
1471 _Inout_ struct aiocb *aiocbp
1474 257 AUE_LIO_LISTIO STD {
1477 _Inout_updates_(nent) struct aiocb * const *acb_list,
1479 _In_opt_ struct sigevent *sig
1482 258-271 AUE_NULL UNIMPL nosys
1483 272 AUE_O_GETDENTS COMPAT11 {
1486 _Out_writes_bytes_(count) char *buf,
1490 273 AUE_NULL UNIMPL nosys
1491 274 AUE_LCHMOD STD {
1493 _In_z_ const char *path,
1497 275 AUE_NULL OBSOL netbsd_lchown
1498 276 AUE_LUTIMES STD {
1500 _In_z_ const char *path,
1501 _In_ struct timeval *tptr
1504 277 AUE_NULL OBSOL netbsd_msync
1505 278 AUE_STAT COMPAT11 {
1507 _In_z_ const char *path,
1508 _Out_ struct nstat *ub
1511 279 AUE_FSTAT COMPAT11 {
1514 _Out_ struct nstat *sb
1517 280 AUE_LSTAT COMPAT11 {
1519 _In_z_ const char *path,
1520 _Out_ struct nstat *ub
1523 281-288 AUE_NULL UNIMPL nosys
1524 289 AUE_PREADV STD {
1527 _In_reads_(iovcnt) struct iovec *iovp,
1532 290 AUE_PWRITEV STD {
1535 _In_reads_(iovcnt) struct iovec *iovp,
1540 291-296 AUE_NULL UNIMPL nosys
1541 297 AUE_FHSTATFS COMPAT4 {
1543 _In_ const struct fhandle *u_fhp,
1544 _Out_ struct ostatfs *buf
1547 298 AUE_FHOPEN STD {
1549 _In_ const struct fhandle *u_fhp,
1553 299 AUE_FHSTAT COMPAT11 {
1555 _In_ const struct fhandle *u_fhp,
1556 _Out_ struct freebsd11_stat *sb
1567 _Out_ struct module_stat *stat
1577 _In_z_ const char *name
1580 304 AUE_MODLOAD STD {
1582 _In_z_ const char *file
1585 305 AUE_MODUNLOAD STD {
1592 _In_z_ const char *file
1603 _Out_ struct kld_file_stat *stat
1611 310 AUE_GETSID STD {
1616 311 AUE_SETRESUID STD {
1623 312 AUE_SETRESGID STD {
1630 313 AUE_NULL OBSOL signanosleep
1631 314 AUE_AIO_RETURN STD {
1633 _Inout_ struct aiocb *aiocbp
1636 315 AUE_AIO_SUSPEND STD {
1638 _Inout_updates_(nent) struct aiocb * const * aiocbp,
1640 _In_opt_ const struct timespec *timeout
1643 316 AUE_AIO_CANCEL STD {
1646 _In_opt_ struct aiocb *aiocbp
1649 317 AUE_AIO_ERROR STD {
1651 _In_ struct aiocb *aiocbp
1654 318 AUE_AIO_READ COMPAT6 {
1656 _Inout_ struct oaiocb *aiocbp
1659 319 AUE_AIO_WRITE COMPAT6 {
1661 _Inout_ struct oaiocb *aiocbp
1664 320 AUE_LIO_LISTIO COMPAT6 {
1667 _Inout_updates_(nent) struct oaiocb * const *acb_list,
1669 _In_opt_ struct osigevent *sig
1675 322 AUE_NULL OBSOL thr_sleep
1676 323 AUE_NULL OBSOL thr_wakeup
1677 324 AUE_MLOCKALL STD {
1682 325 AUE_MUNLOCKALL STD {
1683 int munlockall(void); }
1684 326 AUE_GETCWD STD {
1686 _Out_writes_z_(buflen) char *buf,
1693 _In_ const struct sched_param *param
1699 _Out_ struct sched_param *param
1703 int sched_setscheduler(
1706 _In_ const struct sched_param *param
1710 int sched_getscheduler(
1715 int sched_yield(void);
1718 int sched_get_priority_max(
1723 int sched_get_priority_min(
1728 int sched_rr_get_interval(
1730 _Out_ struct timespec *interval
1735 _In_reads_bytes_(len) const void *addr,
1739 336 AUE_SENDFILE COMPAT4 {
1745 _In_opt_ struct sf_hdtr *hdtr,
1746 _Out_opt_ off_t *sbytes,
1759 _In_ struct jail *jail
1762 339 AUE_NULL NOSTD|NOTSTATIC {
1768 int a_followSymlinks
1771 340 AUE_SIGPROCMASK STD {
1774 _In_opt_ const sigset_t *set,
1775 _Out_opt_ sigset_t *oset
1778 341 AUE_SIGSUSPEND STD {
1780 _In_ const sigset_t *sigmask
1783 342 AUE_SIGACTION COMPAT4 {
1786 _In_opt_ const struct sigaction *act,
1787 _Out_opt_ struct sigaction *oact
1790 343 AUE_SIGPENDING STD {
1795 344 AUE_SIGRETURN COMPAT4 {
1797 _In_ const struct ucontext4 *sigcntxp
1800 345 AUE_SIGWAIT STD {
1802 _In_ const sigset_t *set,
1803 _Out_opt_ siginfo_t *info,
1804 _In_opt_ const struct timespec *timeout
1809 _In_ const sigset_t *set,
1810 _Out_opt_ siginfo_t *info
1813 347 AUE_ACL_GET_FILE STD {
1815 _In_z_ const char *path,
1817 _Out_ struct acl *aclp
1820 348 AUE_ACL_SET_FILE STD {
1822 _In_z_ const char *path,
1824 _In_ struct acl *aclp
1827 349 AUE_ACL_GET_FD STD {
1831 _Out_ struct acl *aclp
1834 350 AUE_ACL_SET_FD STD {
1838 _In_ struct acl *aclp
1841 351 AUE_ACL_DELETE_FILE STD {
1842 int __acl_delete_file(
1843 _In_z_ const char *path,
1847 352 AUE_ACL_DELETE_FD STD {
1848 int __acl_delete_fd(
1853 353 AUE_ACL_CHECK_FILE STD {
1854 int __acl_aclcheck_file(
1855 _In_z_ const char *path,
1857 _In_ struct acl *aclp
1860 354 AUE_ACL_CHECK_FD STD {
1861 int __acl_aclcheck_fd(
1864 _In_ struct acl *aclp
1867 355 AUE_EXTATTRCTL STD {
1869 _In_z_ const char *path,
1871 _In_z_opt_ const char *filename,
1873 _In_z_ const char *attrname
1876 356 AUE_EXTATTR_SET_FILE STD {
1877 ssize_t extattr_set_file(
1878 _In_z_ const char *path,
1880 _In_z_ const char *attrname,
1881 _In_reads_bytes_(nbytes) void *data,
1885 357 AUE_EXTATTR_GET_FILE STD {
1886 ssize_t extattr_get_file(
1887 _In_z_ const char *path,
1889 _In_z_ const char *attrname,
1890 _Out_writes_bytes_(nbytes) void *data,
1894 358 AUE_EXTATTR_DELETE_FILE STD {
1895 int extattr_delete_file(
1896 _In_z_ const char *path,
1898 _In_z_ const char *attrname
1901 359 AUE_AIO_WAITCOMPLETE STD {
1902 ssize_t aio_waitcomplete(
1903 _Outptr_result_maybenull_ struct aiocb **aiocbp,
1904 _In_opt_ struct timespec *timeout
1907 360 AUE_GETRESUID STD {
1909 _Out_opt_ uid_t *ruid,
1910 _Out_opt_ uid_t *euid,
1911 _Out_opt_ uid_t *suid
1914 361 AUE_GETRESGID STD {
1916 _Out_opt_ gid_t *rgid,
1917 _Out_opt_ gid_t *egid,
1918 _Out_opt_ gid_t *sgid
1921 362 AUE_KQUEUE STD {
1924 363 AUE_KEVENT COMPAT11 {
1927 _In_reads_opt_(nchanges) struct kevent_freebsd11 *changelist,
1929 _Out_writes_opt_(nevents) struct kevent_freebsd11 *eventlist,
1931 _In_opt_ const struct timespec *timeout
1934 364 AUE_NULL OBSOL __cap_get_proc
1935 365 AUE_NULL OBSOL __cap_set_proc
1936 366 AUE_NULL OBSOL __cap_get_fd
1937 367 AUE_NULL OBSOL __cap_get_file
1938 368 AUE_NULL OBSOL __cap_set_fd
1939 369 AUE_NULL OBSOL __cap_set_file
1940 370 AUE_NULL UNIMPL nosys
1941 371 AUE_EXTATTR_SET_FD STD {
1942 ssize_t extattr_set_fd(
1945 _In_z_ const char *attrname,
1946 _In_reads_bytes_(nbytes) void *data,
1950 372 AUE_EXTATTR_GET_FD STD {
1951 ssize_t extattr_get_fd(
1954 _In_z_ const char *attrname,
1955 _Out_writes_bytes_(nbytes) void *data,
1959 373 AUE_EXTATTR_DELETE_FD STD {
1960 int extattr_delete_fd(
1963 _In_z_ const char *attrname
1966 374 AUE_SETUGID STD {
1971 375 AUE_NULL OBSOL nfsclnt
1972 376 AUE_EACCESS STD {
1974 _In_z_ const char *path,
1978 377 AUE_NULL NOSTD|NOTSTATIC {
1989 378 AUE_NMOUNT STD {
1991 _In_reads_(iovcnt) struct iovec *iovp,
1992 unsigned int iovcnt,
1996 379 AUE_NULL OBSOL kse_exit
1997 380 AUE_NULL OBSOL kse_wakeup
1998 381 AUE_NULL OBSOL kse_create
1999 382 AUE_NULL OBSOL kse_thr_interrupt
2000 383 AUE_NULL OBSOL kse_release
2003 _In_ struct mac *mac_p
2008 _In_ struct mac *mac_p
2014 _In_ struct mac *mac_p
2019 _In_z_ const char *path_p,
2020 _In_ struct mac *mac_p
2026 _In_ struct mac *mac_p
2031 _In_z_ const char *path_p,
2032 _In_ struct mac *mac_p
2038 _In_z_opt_ const char *name,
2039 _Inout_updates_opt_(len) char *value,
2043 391 AUE_LCHFLAGS STD {
2045 _In_z_ const char *path,
2051 _Out_writes_(count) struct uuid *store,
2055 393 AUE_SENDFILE STD {
2061 _In_opt_ struct sf_hdtr *hdtr,
2062 _Out_opt_ off_t *sbytes,
2068 _In_z_ const char *policy,
2073 395 AUE_GETFSSTAT COMPAT11 {
2075 _Out_writes_bytes_opt_(bufsize) struct freebsd11_statfs *buf,
2080 396 AUE_STATFS COMPAT11 {
2082 _In_z_ const char *path,
2083 _Out_ struct freebsd11_statfs *buf
2086 397 AUE_FSTATFS COMPAT11 {
2089 _Out_ struct freebsd11_statfs *buf
2092 398 AUE_FHSTATFS COMPAT11 {
2094 _In_ const struct fhandle *u_fhp,
2095 _Out_ struct freebsd11_statfs *buf
2098 399 AUE_NULL UNIMPL nosys
2099 400 AUE_SEMCLOSE NOSTD {
2104 401 AUE_SEMPOST NOSTD {
2109 402 AUE_SEMWAIT NOSTD {
2114 403 AUE_SEMTRYWAIT NOSTD {
2119 404 AUE_SEMINIT NOSTD {
2125 405 AUE_SEMOPEN NOSTD {
2128 _In_z_ const char *name,
2134 406 AUE_SEMUNLINK NOSTD {
2136 _In_z_ const char *name
2139 407 AUE_SEMGETVALUE NOSTD {
2145 408 AUE_SEMDESTROY NOSTD {
2153 _In_ struct mac *mac_p
2158 _In_z_ const char *path_p,
2159 _In_ struct mac *mac_p
2164 _In_z_ const char *path_p,
2165 _In_ struct mac *mac_p
2168 412 AUE_EXTATTR_SET_LINK STD {
2169 ssize_t extattr_set_link(
2170 _In_z_ const char *path,
2172 _In_z_ const char *attrname,
2173 _In_reads_bytes_(nbytes) void *data,
2177 413 AUE_EXTATTR_GET_LINK STD {
2178 ssize_t extattr_get_link(
2179 _In_z_ const char *path,
2181 _In_z_ const char *attrname,
2182 _Out_writes_bytes_(nbytes) void *data,
2186 414 AUE_EXTATTR_DELETE_LINK STD {
2187 int extattr_delete_link(
2188 _In_z_ const char *path,
2190 _In_z_ const char *attrname
2195 _In_z_ const char *fname,
2198 _In_ struct mac *mac_p
2201 416 AUE_SIGACTION STD {
2204 _In_opt_ const struct sigaction *act,
2205 _Out_opt_ struct sigaction *oact
2208 417 AUE_SIGRETURN STD {
2210 _In_ const struct __ucontext *sigcntxp
2213 418 AUE_NULL UNIMPL __xstat
2214 419 AUE_NULL UNIMPL __xfstat
2215 420 AUE_NULL UNIMPL __xlstat
2218 _Out_ struct __ucontext *ucp
2223 _In_ const struct __ucontext *ucp
2228 _Out_ struct __ucontext *oucp,
2229 _In_ const struct __ucontext *ucp
2232 424 AUE_SWAPOFF STD {
2233 int freebsd13_swapoff(
2234 _In_z_ const char *name
2237 425 AUE_ACL_GET_LINK STD {
2239 _In_z_ const char *path,
2241 _Out_ struct acl *aclp
2244 426 AUE_ACL_SET_LINK STD {
2246 _In_z_ const char *path,
2248 _In_ struct acl *aclp
2251 427 AUE_ACL_DELETE_LINK STD {
2252 int __acl_delete_link(
2253 _In_z_ const char *path,
2257 428 AUE_ACL_CHECK_LINK STD {
2258 int __acl_aclcheck_link(
2259 _In_z_ const char *path,
2261 _In_ struct acl *aclp
2264 429 AUE_SIGWAIT STD {
2266 _In_ const sigset_t *set,
2270 430 AUE_THR_CREATE STD {
2272 _In_ ucontext_t *ctx,
2277 431 AUE_THR_EXIT STD {
2279 _Out_opt_ long *state
2287 433 AUE_THR_KILL STD {
2294 434 AUE_NULL COMPAT10 {
2296 _Inout_ struct umtx *umtx
2300 435 AUE_NULL COMPAT10 {
2302 _Inout_ struct umtx *umtx
2306 436 AUE_JAIL_ATTACH STD {
2311 437 AUE_EXTATTR_LIST_FD STD {
2312 ssize_t extattr_list_fd(
2315 _Out_writes_bytes_opt_(nbytes) void *data,
2319 438 AUE_EXTATTR_LIST_FILE STD {
2320 ssize_t extattr_list_file(
2321 _In_z_ const char *path,
2323 _Out_writes_bytes_opt_(nbytes) void *data,
2327 439 AUE_EXTATTR_LIST_LINK STD {
2328 ssize_t extattr_list_link(
2329 _In_z_ const char *path,
2331 _Out_writes_bytes_opt_(nbytes)
2336 440 AUE_NULL OBSOL kse_switchin
2337 441 AUE_SEMWAIT NOSTD {
2340 _In_opt_ const struct timespec *abstime
2345 _In_opt_ const struct timespec *timeout
2353 444 AUE_MODUNLOAD STD {
2361 _In_reads_bytes_(length) const void *record,
2365 446 AUE_AUDITON STD {
2368 _In_opt_ void *data,
2372 447 AUE_GETAUID STD {
2377 448 AUE_SETAUID STD {
2382 449 AUE_GETAUDIT STD {
2384 _Out_ struct auditinfo *auditinfo
2387 450 AUE_SETAUDIT STD {
2389 _In_ struct auditinfo *auditinfo
2392 451 AUE_GETAUDIT_ADDR STD {
2394 _Out_writes_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2398 452 AUE_SETAUDIT_ADDR STD {
2400 _In_reads_bytes_(length) struct auditinfo_addr *auditinfo_addr,
2404 453 AUE_AUDITCTL STD {
2406 _In_z_ const char *path
2418 455 AUE_THR_NEW STD {
2420 _In_ struct thr_param *param,
2432 457 AUE_MQ_OPEN NOSTD {
2434 _In_z_ const char *path,
2437 _In_opt_ const struct mq_attr *attr
2440 458 AUE_MQ_SETATTR NOSTD {
2443 _In_opt_ const struct mq_attr *attr,
2444 _Out_opt_ struct mq_attr *oattr
2447 459 AUE_MQ_TIMEDRECEIVE NOSTD {
2448 int kmq_timedreceive(
2450 _Out_writes_bytes_(msg_len) char *msg_ptr,
2452 _Out_opt_ unsigned *msg_prio,
2453 _In_opt_ const struct timespec *abs_timeout
2456 460 AUE_MQ_TIMEDSEND NOSTD {
2459 _In_reads_bytes_(msg_len) const char *msg_ptr,
2462 _In_opt_ const struct timespec *abs_timeout
2465 461 AUE_MQ_NOTIFY NOSTD {
2468 _In_opt_ const struct sigevent *sigev
2471 462 AUE_MQ_UNLINK NOSTD {
2473 _In_z_ const char *path
2478 _In_z_ const char *why,
2480 _In_reads_(nargs) void **args
2486 _In_z_ const char *name
2489 465 AUE_AIO_FSYNC STD {
2492 _In_ struct aiocb *aiocbp
2495 466 AUE_RTPRIO STD {
2499 _Inout_ struct rtprio *rtp
2502 467-468 AUE_NULL UNIMPL nosys
2503 469 AUE_NULL UNIMPL __getpath_fromfd
2504 470 AUE_NULL UNIMPL __getpath_fromaddr
2505 471 AUE_SCTP_PEELOFF NOSTD {
2511 472 AUE_SCTP_GENERIC_SENDMSG NOSTD {
2512 int sctp_generic_sendmsg(
2514 _In_reads_bytes_(mlen) void *msg,
2516 _In_reads_bytes_(tolen) struct sockaddr *to,
2518 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2522 473 AUE_SCTP_GENERIC_SENDMSG_IOV NOSTD {
2523 int sctp_generic_sendmsg_iov(
2525 _In_reads_(iovlen) struct iovec *iov,
2527 _In_reads_bytes_(tolen) struct sockaddr *to,
2529 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2533 474 AUE_SCTP_GENERIC_RECVMSG NOSTD {
2534 int sctp_generic_recvmsg(
2536 _In_reads_(iovlen) struct iovec *iov,
2538 _Out_writes_bytes_(*fromlenaddr) struct sockaddr *from,
2539 _Out_ __socklen_t *fromlenaddr,
2540 _In_opt_ struct sctp_sndrcvinfo *sinfo,
2541 _Out_opt_ int *msg_flags
2547 _Out_writes_bytes_(nbyte) void *buf,
2552 476 AUE_PWRITE STD {
2555 _In_reads_bytes_(nbyte) const void *buf,
2577 479 AUE_TRUNCATE STD {
2579 _In_z_ const char *path,
2583 480 AUE_FTRUNCATE STD {
2589 481 AUE_THR_KILL2 STD {
2596 482 AUE_SHMOPEN COMPAT12 {
2598 _In_z_ const char *path,
2603 483 AUE_SHMUNLINK STD {
2605 _In_z_ const char *path
2610 _Out_ cpusetid_t *setid
2625 _Out_ cpusetid_t *setid
2629 int cpuset_getaffinity(
2634 _Out_ cpuset_t *mask
2638 int cpuset_setaffinity(
2643 _Out_ const cpuset_t *mask
2646 489 AUE_FACCESSAT STD {
2649 _In_z_ const char *path,
2654 490 AUE_FCHMODAT STD {
2657 _In_z_ const char *path,
2662 491 AUE_FCHOWNAT STD {
2665 _In_z_ const char *path,
2671 492 AUE_FEXECVE STD {
2678 493 AUE_FSTATAT COMPAT11 {
2681 _In_z_ const char *path,
2682 _Out_ struct freebsd11_stat *buf,
2686 494 AUE_FUTIMESAT STD {
2689 _In_z_ const char *path,
2690 _In_reads_(2) struct timeval *times
2693 495 AUE_LINKAT STD {
2696 _In_z_ const char *path1,
2698 _In_z_ const char *path2,
2702 496 AUE_MKDIRAT STD {
2705 _In_z_ const char *path,
2709 497 AUE_MKFIFOAT STD {
2712 _In_z_ const char *path,
2716 498 AUE_MKNODAT COMPAT11 {
2719 _In_z_ const char *path,
2724 ; XXX: see the comment for open
2725 499 AUE_OPENAT_RWTC STD {
2728 _In_z_ const char *path,
2733 500 AUE_READLINKAT STD {
2736 _In_z_ const char *path,
2737 _Out_writes_bytes_(bufsize) char *buf,
2741 501 AUE_RENAMEAT STD {
2744 _In_z_ const char *old,
2746 _In_z_ const char *new
2749 502 AUE_SYMLINKAT STD {
2751 _In_z_ const char *path1,
2753 _In_z_ const char *path2
2756 503 AUE_UNLINKAT STD {
2759 _In_z_ const char *path,
2763 504 AUE_POSIX_OPENPT STD {
2768 ; 505 is initialised by the kgssapi code, if present.
2769 505 AUE_NULL NOSTD {
2771 _In_z_ const char *path
2774 506 AUE_JAIL_GET STD {
2776 _In_reads_(iovcnt) struct iovec *iovp,
2777 unsigned int iovcnt,
2781 507 AUE_JAIL_SET STD {
2783 _In_reads_(iovcnt) struct iovec *iovp,
2784 unsigned int iovcnt,
2788 508 AUE_JAIL_REMOVE STD {
2793 509 AUE_CLOSEFROM COMPAT12 {
2798 510 AUE_SEMCTL NOSTD {
2803 _Inout_ union semun *arg
2806 511 AUE_MSGCTL NOSTD {
2810 _Inout_opt_ struct msqid_ds *buf
2813 512 AUE_SHMCTL NOSTD {
2817 _Inout_opt_ struct shmid_ds *buf
2820 513 AUE_LPATHCONF STD {
2822 _In_z_ const char *path,
2826 514 AUE_NULL OBSOL cap_new
2827 515 AUE_CAP_RIGHTS_GET STD {
2828 int __cap_rights_get(
2831 _Out_ cap_rights_t *rightsp
2834 516 AUE_CAP_ENTER STD {
2835 int cap_enter(void);
2837 517 AUE_CAP_GETMODE STD {
2842 518 AUE_PDFORK STD {
2848 519 AUE_PDKILL STD {
2854 520 AUE_PDGETPID STD {
2860 521 AUE_PDWAIT UNIMPL pdwait4
2861 522 AUE_SELECT STD {
2864 _Inout_opt_ fd_set *in,
2865 _Inout_opt_ fd_set *ou,
2866 _Inout_opt_ fd_set *ex,
2867 _In_opt_ const struct timespec *ts,
2868 _In_opt_ const sigset_t *sm
2871 523 AUE_GETLOGINCLASS STD {
2873 _Out_writes_z_(namelen) char *namebuf,
2877 524 AUE_SETLOGINCLASS STD {
2879 _In_z_ const char *namebuf
2884 _In_reads_bytes_(inbuflen) const void *inbufp,
2886 _Out_writes_bytes_(outbuflen) void *outbufp,
2892 _In_reads_bytes_(inbuflen) const void *inbufp,
2894 _Out_writes_bytes_(outbuflen) void *outbufp,
2899 int rctl_get_limits(
2900 _In_reads_bytes_(inbuflen) const void *inbufp,
2902 _Out_writes_bytes_(outbuflen) void *outbufp,
2908 _In_reads_bytes_(inbuflen) const void *inbufp,
2910 _Out_writes_bytes_(outbuflen) void *outbufp,
2915 int rctl_remove_rule(
2916 _In_reads_bytes_(inbuflen) const void *inbufp,
2918 _Out_writes_bytes_(outbuflen) void *outbufp,
2922 530 AUE_POSIX_FALLOCATE STD {
2923 int posix_fallocate(
2929 531 AUE_POSIX_FADVISE STD|CAPENABLED {
2941 _Out_opt_ int *status,
2943 _Out_opt_ struct __wrusage *wrusage,
2944 _Out_opt_ siginfo_t *info
2947 533 AUE_CAP_RIGHTS_LIMIT STD {
2948 int cap_rights_limit(
2950 _In_ cap_rights_t *rightsp
2953 534 AUE_CAP_IOCTLS_LIMIT STD {
2954 int cap_ioctls_limit(
2956 _In_reads_(ncmds) const u_long *cmds,
2960 535 AUE_CAP_IOCTLS_GET STD {
2961 ssize_t cap_ioctls_get(
2963 _Out_writes_(maxcmds) u_long *cmds,
2967 536 AUE_CAP_FCNTLS_LIMIT STD {
2968 int cap_fcntls_limit(
2970 uint32_t fcntlrights
2973 537 AUE_CAP_FCNTLS_GET STD {
2976 _Out_ uint32_t *fcntlrightsp
2979 538 AUE_BINDAT STD {
2983 _In_reads_bytes_(namelen) const struct sockaddr *name,
2987 539 AUE_CONNECTAT STD {
2991 _In_reads_bytes_(namelen) const struct sockaddr *name,
2995 540 AUE_CHFLAGSAT STD {
2998 _In_z_ const char *path,
3003 541 AUE_ACCEPT STD {
3006 _Out_writes_bytes_opt_(*anamelen) struct sockaddr *name,
3007 _Inout_opt_ __socklen_t *anamelen,
3013 _Out_writes_(2) int *fildes,
3017 543 AUE_AIO_MLOCK STD {
3019 _In_ struct aiocb *aiocbp
3022 544 AUE_PROCCTL STD {
3032 _Inout_updates_(nfds) struct pollfd *fds,
3034 _In_opt_ const struct timespec *ts,
3035 _In_opt_ const sigset_t *set
3038 546 AUE_FUTIMES STD {
3041 _In_reads_(2) struct timespec *times
3044 547 AUE_FUTIMESAT STD {
3047 _In_z_ const char *path,
3048 _In_reads_(2) struct timespec *times,
3052 548 AUE_NULL OBSOL numa_getaffinity
3053 549 AUE_NULL OBSOL numa_setaffinity
3062 _Out_ struct stat *sb
3065 552 AUE_FSTATAT STD {
3068 _In_z_ const char *path,
3069 _Out_ struct stat *buf,
3073 553 AUE_FHSTAT STD {
3075 _In_ const struct fhandle *u_fhp,
3076 _Out_ struct stat *sb
3079 554 AUE_GETDIRENTRIES STD {
3080 ssize_t getdirentries(
3082 _Out_writes_bytes_(count) char *buf,
3087 555 AUE_STATFS STD {
3089 _In_z_ const char *path,
3090 _Out_ struct statfs *buf
3093 556 AUE_FSTATFS STD {
3096 _Out_ struct statfs *buf
3099 557 AUE_GETFSSTAT STD {
3101 _Out_writes_bytes_opt_(bufsize) struct statfs *buf,
3106 558 AUE_FHSTATFS STD {
3108 _In_ const struct fhandle *u_fhp,
3109 _Out_ struct statfs *buf
3112 559 AUE_MKNODAT STD {
3115 _In_z_ const char *path,
3120 560 AUE_KEVENT STD {
3123 _In_reads_opt_(nchanges) struct kevent *changelist,
3125 _Out_writes_opt_(nevents) struct kevent *eventlist,
3127 _In_opt_ const struct timespec *timeout
3131 int cpuset_getdomain(
3135 size_t domainsetsize,
3136 _Out_writes_bytes_(domainsetsize) domainset_t *mask,
3141 int cpuset_setdomain(
3145 size_t domainsetsize,
3146 _In_ domainset_t *mask,
3152 _Out_writes_bytes_(buflen) void *buf,
3161 _Out_ struct fhandle *fhp,
3167 _In_ struct fhandle *fhp,
3168 _In_z_ const char *to
3173 _In_ struct fhandle *fhp,
3175 _In_z_ const char *to,
3180 _In_ struct fhandle *fhp,
3181 _Out_writes_(bufsize) char *buf,
3185 568 AUE_UNLINKAT STD {
3188 _In_z_ const char *path,
3194 ssize_t copy_file_range(
3196 _Inout_opt_ off_t *inoffp,
3198 _Inout_opt_ off_t *outoffp,
3203 570 AUE_SYSCTL STD {
3205 _In_reads_(namelen) const char *name,
3207 _Out_writes_bytes_opt_(*oldlenp) void *old,
3208 _Inout_opt_ size_t *oldlenp,
3209 _In_reads_bytes_opt_(newlen) void *new,
3213 571 AUE_SHMOPEN STD {
3215 _In_z_ const char *path,
3219 _In_z_ const char *name
3222 572 AUE_SHMRENAME STD {
3224 _In_z_ const char *path_from,
3225 _In_z_ const char *path_to,
3232 _Inout_opt_ uint32_t *ptr
3235 574 AUE_REALPATHAT STD {
3238 _In_z_ const char *path,
3239 _Out_writes_z_(size) char *buf,
3244 575 AUE_CLOSERANGE STD {
3251 ; 576 is initialised by the krpc code, if present.
3252 576 AUE_NULL NOSTD {
3255 _In_z_ const char *path
3258 577 AUE_SPECIALFD STD {
3261 _In_reads_bytes_(len) const void *req,
3265 578 AUE_AIO_WRITEV STD {
3267 _Inout_ struct aiocb *aiocbp
3270 579 AUE_AIO_READV STD {
3272 _Inout_ struct aiocb *aiocbp
3275 580 AUE_NULL UNIMPL fspacectl
3276 581 AUE_NULL STD|CAPENABLED {
3277 int sched_getcpu(void);
3279 582 AUE_SWAPOFF STD {
3281 _In_z_ const char *name,
3285 583 AUE_KQUEUE STD|CAPENABLED {
3291 ; Please copy any additions and changes to the following compatability tables:
3292 ; sys/compat/freebsd32/syscalls.master