OLD | NEW |
1 // mksysnum_darwin.sh /home/rsc/pub/xnu-1228/bsd/kern/syscalls.master | 1 // mksysnum_darwin.pl /usr/include/sys/syscall.h |
2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT | 2 // MACHINE GENERATED BY THE ABOVE COMMAND; DO NOT EDIT |
3 | 3 |
4 package syscall | 4 package syscall |
5 | 5 |
6 const ( | 6 const ( |
7 // SYS_NOSYS = 0; // { int nosys(void); } { indirect syscall } | 7 SYS_SYSCALL = 0 |
8 SYS_EXIT = 1 // { void exit(int rval); } | 8 SYS_EXIT = 1 |
9 SYS_FORK = 2 // { int fork(void); } | 9 SYS_FORK = 2 |
10 SYS_READ = 3 // { user_ssize_t read(int fd, user_addr_t cbuf, user_size
_t nbyte); } | 10 SYS_READ = 3 |
11 SYS_WRITE = 4 // { user_ssize_t write(int fd, user_addr_t cbuf, user_siz
e_t nbyte); } | 11 SYS_WRITE = 4 |
12 SYS_OPEN = 5 // { int open(user_addr_t path, int flags, int mode); } | 12 SYS_OPEN = 5 |
13 SYS_CLOSE = 6 // { int close(int fd); } | 13 SYS_CLOSE = 6 |
14 SYS_WAIT4 = 7 // { int wait4(int pid, user_addr_t status, int options, u
ser_addr_t rusage); } | 14 SYS_WAIT4 = 7 |
15 // SYS_NOSYS = 8; // { int nosys(void); } { old creat } | 15 SYS_LINK = 9 |
16 SYS_LINK = 9 // { int link(user_addr_t path, user_addr_t link); } | 16 SYS_UNLINK = 10 |
17 SYS_UNLINK = 10 // { int unlink(user_addr_t path); } | 17 SYS_CHDIR = 12 |
18 // SYS_NOSYS = 11; // { int nosys(void); } { old execv } | 18 SYS_FCHDIR = 13 |
19 SYS_CHDIR = 12 // { int chdir(user_addr_t path); } | 19 SYS_MKNOD = 14 |
20 SYS_FCHDIR = 13 // { int fchdir(int fd); } | 20 SYS_CHMOD = 15 |
21 SYS_MKNOD = 14 // { int mknod(user_addr_t path, int mode, int dev);
} | 21 SYS_CHOWN = 16 |
22 SYS_CHMOD = 15 // { int chmod(user_addr_t path, int mode); } | 22 SYS_GETFSSTAT = 18 |
23 SYS_CHOWN = 16 // { int chown(user_addr_t path, int uid, int gid);
} | 23 SYS_GETPID = 20 |
24 SYS_OGETFSSTAT = 18 // { int ogetfsstat(user_addr_t buf, int bufsize, in
t flags); } | 24 SYS_SETUID = 23 |
25 SYS_GETFSSTAT = 18 // { int getfsstat(user_addr_t buf, int bufsize, int
flags); } | 25 SYS_GETUID = 24 |
26 // SYS_NOSYS = 19; // { int nosys(void); } { old lseek } | 26 SYS_GETEUID = 25 |
27 SYS_GETPID = 20 // { int getpid(void); } | 27 SYS_PTRACE = 26 |
28 // SYS_NOSYS = 21; // { int nosys(void); } { old mount } | 28 SYS_RECVMSG = 27 |
29 // SYS_NOSYS = 22; // { int nosys(void); } { old umount } | 29 SYS_SENDMSG = 28 |
30 SYS_SETUID = 23 // { int setuid(uid_t uid); } | 30 SYS_RECVFROM = 29 |
31 SYS_GETUID = 24 // { int getuid(void); } | 31 SYS_ACCEPT = 30 |
32 SYS_GETEUID = 25 // { int geteuid(void); } | 32 SYS_GETPEERNAME = 31 |
33 SYS_PTRACE = 26 // { int ptrace(int req, pid_t pid, caddr_t addr, i
nt data); } | 33 SYS_GETSOCKNAME = 32 |
34 SYS_RECVMSG = 27 // { int recvmsg(int s, struct msghdr *msg, int fla
gs); } | 34 SYS_ACCESS = 33 |
35 SYS_SENDMSG = 28 // { int sendmsg(int s, caddr_t msg, int flags); } | 35 SYS_CHFLAGS = 34 |
36 SYS_RECVFROM = 29 // { int recvfrom(int s, void *buf, size_t len, int
flags, struct sockaddr *from, int *fromlenaddr); } | 36 SYS_FCHFLAGS = 35 |
37 SYS_ACCEPT = 30 // { int accept(int s, caddr_t name, socklen_t
*anamelen); } | 37 SYS_SYNC = 36 |
38 SYS_GETPEERNAME = 31 // { int getpeername(int fdes, caddr_t asa, socklen
_t *alen); } | 38 SYS_KILL = 37 |
39 SYS_GETSOCKNAME = 32 // { int getsockname(int fdes, caddr_t asa, socklen
_t *alen); } | 39 SYS_GETPPID = 39 |
40 // SYS_NOSYS = 27; // { int nosys(void); } | 40 SYS_DUP = 41 |
41 // SYS_NOSYS = 28; // { int nosys(void); } | 41 SYS_PIPE = 42 |
42 // SYS_NOSYS = 29; // { int nosys(void); } | 42 SYS_GETEGID = 43 |
43 // SYS_NOSYS = 30; // { int nosys(void); } | 43 SYS_PROFIL = 44 |
44 // SYS_NOSYS = 31; // { int nosys(void); } | 44 SYS_SIGACTION = 46 |
45 // SYS_NOSYS = 32; // { int nosys(void); } | 45 SYS_GETGID = 47 |
46 SYS_ACCESS = 33 // { int access(user_addr_t path, int flags); } | 46 SYS_SIGPROCMASK = 48 |
47 SYS_CHFLAGS = 34 // { int chflags(char *path, int flags); } | 47 SYS_GETLOGIN = 49 |
48 SYS_FCHFLAGS = 35 // { int fchflags(int fd, int flags); } | 48 SYS_SETLOGIN = 50 |
49 SYS_SYNC = 36 // { int sync(void); } | 49 SYS_ACCT = 51 |
50 SYS_KILL = 37 // { int kill(int pid, int signum, int posix); } | 50 SYS_SIGPENDING = 52 |
51 // SYS_NOSYS = 38; // { int nosys(void); } { old stat } | 51 SYS_SIGALTSTACK = 53 |
52 SYS_GETPPID = 39 // { int getppid(void); } | 52 SYS_IOCTL = 54 |
53 // SYS_NOSYS = 40; // { int nosys(void); } { old lstat } | 53 SYS_REBOOT = 55 |
54 SYS_DUP = 41 // { int dup(u_int fd); } | 54 SYS_REVOKE = 56 |
55 SYS_PIPE = 42 // { int pipe(void); } | 55 SYS_SYMLINK = 57 |
56 SYS_GETEGID = 43 // { int getegid(void); } | 56 SYS_READLINK = 58 |
57 SYS_PROFIL = 44 // { int profil(short *bufbase, size_t bufsize, u_long
pcoffset, u_int pcscale); } | 57 SYS_EXECVE = 59 |
58 // SYS_NOSYS = 45; // { int nosys(void); } { old ktrace } | 58 SYS_UMASK = 60 |
59 SYS_SIGACTION = 46 // { int sigaction(int signum, struct __sigaction *
nsa, struct sigaction *osa); } | 59 SYS_CHROOT = 61 |
60 SYS_GETGID = 47 // { int getgid(void); } | 60 SYS_MSYNC = 65 |
61 SYS_SIGPROCMASK = 48 // { int sigprocmask(int how, user_addr_t mask, use
r_addr_t omask); } | 61 SYS_VFORK = 66 |
62 SYS_GETLOGIN = 49 // { int getlogin(char *namebuf, u_int namelen); } | 62 SYS_MUNMAP = 73 |
63 SYS_SETLOGIN = 50 // { int setlogin(char *namebuf); } | 63 SYS_MPROTECT = 74 |
64 SYS_ACCT = 51 // { int acct(char *path); } | 64 SYS_MADVISE = 75 |
65 SYS_SIGPENDING = 52 // { int sigpending(struct sigvec *osv); } | 65 SYS_MINCORE = 78 |
66 SYS_SIGALTSTACK = 53 // { int sigaltstack(struct sigaltstack *nss, struc
t sigaltstack *oss); } | 66 SYS_GETGROUPS = 79 |
67 SYS_IOCTL = 54 // { int ioctl(int fd, u_long com, caddr_t data); } | 67 SYS_SETGROUPS = 80 |
68 SYS_REBOOT = 55 // { int reboot(int opt, char *command); } | 68 SYS_GETPGRP = 81 |
69 SYS_REVOKE = 56 // { int revoke(char *path); } | 69 SYS_SETPGID = 82 |
70 SYS_SYMLINK = 57 // { int symlink(char *path, char *link); } | 70 SYS_SETITIMER = 83 |
71 SYS_READLINK = 58 // { int readlink(char *path, char *buf, int count)
; } | 71 SYS_SWAPON = 85 |
72 SYS_EXECVE = 59 // { int execve(char *fname, char **argp, char **en
vp); } | 72 SYS_GETITIMER = 86 |
73 SYS_UMASK = 60 // { int umask(int newmask); } | 73 SYS_GETDTABLESIZE = 89 |
74 SYS_CHROOT = 61 // { int chroot(user_addr_t path); } | 74 SYS_DUP2 = 90 |
75 // SYS_NOSYS = 62; // { int nosys(void); } { old fstat } | 75 SYS_FCNTL = 92 |
76 // SYS_NOSYS = 63; // { int nosys(void); } { used internally, reserve
d } | 76 SYS_SELECT = 93 |
77 // SYS_NOSYS = 64; // { int nosys(void); } { old getpagesize } | 77 SYS_FSYNC = 95 |
78 SYS_MSYNC = 65 // { int msync(caddr_t addr, size_t len, int flags); } | 78 SYS_SETPRIORITY = 96 |
79 SYS_VFORK = 66 // { int vfork(void); } | 79 SYS_SOCKET = 97 |
80 // SYS_NOSYS = 67; // { int nosys(void); } { old vread } | 80 SYS_CONNECT = 98 |
81 // SYS_NOSYS = 68; // { int nosys(void); } { old vwrite } | 81 SYS_GETPRIORITY = 100 |
82 SYS_SBRK = 69 // { int sbrk(int incr) NO_SYSCALL_STUB; } | 82 SYS_BIND = 104 |
83 SYS_SSTK = 70 // { int sstk(int incr) NO_SYSCALL_STUB; } | 83 SYS_SETSOCKOPT = 105 |
84 // SYS_NOSYS = 71; // { int nosys(void); } { old mmap } | 84 SYS_LISTEN = 106 |
85 SYS_OVADVISE = 72 // { int ovadvise(void) NO_SYSCALL_STUB; } { old vad
vise } | 85 SYS_SIGSUSPEND = 111 |
86 SYS_MUNMAP = 73 // { int munmap(caddr_t addr, size_t len); } | 86 SYS_GETTIMEOFDAY = 116 |
87 SYS_MPROTECT = 74 // { int mprotect(caddr_t addr, size_t len, int prot);
} | 87 SYS_GETRUSAGE = 117 |
88 SYS_MADVISE = 75 // { int madvise(caddr_t addr, size_t len, int behav);
} | 88 SYS_GETSOCKOPT = 118 |
89 // SYS_NOSYS = 76; // { int nosys(void); } { old vhangup } | 89 SYS_READV = 120 |
90 // SYS_NOSYS = 77; // { int nosys(void); } { old vlimit } | 90 SYS_WRITEV = 121 |
91 SYS_MINCORE = 78 // { int mincore(user_addr_t addr, user_size_t len, u
ser_addr_t vec); } | 91 SYS_SETTIMEOFDAY = 122 |
92 SYS_GETGROUPS = 79 // { int getgroups(u_int gidsetsize, gid_t *gidset);
} | 92 SYS_FCHOWN = 123 |
93 SYS_SETGROUPS = 80 // { int setgroups(u_int gidsetsize, gid_t *gidset);
} | 93 SYS_FCHMOD = 124 |
94 SYS_GETPGRP = 81 // { int getpgrp(void); } | 94 SYS_SETREUID = 126 |
95 SYS_SETPGID = 82 // { int setpgid(int pid, int pgid); } | 95 SYS_SETREGID = 127 |
96 SYS_SETITIMER = 83 // { int setitimer(u_int which, struct itimerval *itv
, struct itimerval *oitv); } | 96 SYS_RENAME = 128 |
97 // SYS_NOSYS = 84; // { int nosys(void); } { old wait } | 97 SYS_FLOCK = 131 |
98 SYS_SWAPON = 85 // { int swapon(void); } | 98 SYS_MKFIFO = 132 |
99 SYS_GETITIMER = 86 // { int getitimer(u_int which, struct itimerval *itv
); } | 99 SYS_SENDTO = 133 |
100 // SYS_NOSYS = 87; // { int nosys(void); } { old gethostname } | 100 SYS_SHUTDOWN = 134 |
101 // SYS_NOSYS = 88; // { int nosys(void); } { old sethostname } | 101 SYS_SOCKETPAIR = 135 |
102 SYS_GETDTABLESIZE = 89 // { int getdtablesize(void); } | 102 SYS_MKDIR = 136 |
103 SYS_DUP2 = 90 // { int dup2(u_int from, u_int to); } | 103 SYS_RMDIR = 137 |
104 // SYS_NOSYS = 91; // { int nosys(void); } { old getdopt } | 104 SYS_UTIMES = 138 |
105 SYS_FCNTL = 92 // { int fcntl(int fd, int cmd, long arg); } | 105 SYS_FUTIMES = 139 |
106 SYS_SELECT = 93 // { int select(int nd, u_int32_t *in, u_int32_t *ou, u_
int32_t *ex, struct timeval *tv); } | 106 SYS_ADJTIME = 140 |
107 // SYS_NOSYS = 94; // { int nosys(void); } { old setdopt } | 107 SYS_GETHOSTUUID = 142 |
108 SYS_FSYNC = 95 // { int fsync(int fd); } | 108 SYS_SETSID = 147 |
109 SYS_SETPRIORITY = 96 // { int setpriority(int which, id_t who, int prio)
; } | 109 SYS_GETPGID = 151 |
110 SYS_SOCKET = 97 // { int socket(int domain, int type, int protocol)
; } | 110 SYS_SETPRIVEXEC = 152 |
111 SYS_CONNECT = 98 // { int connect(int s, caddr_t name, socklen_t nam
elen); } | 111 SYS_PREAD = 153 |
112 // SYS_NOSYS = 97; // { int nosys(void); } | 112 SYS_PWRITE = 154 |
113 // SYS_NOSYS = 98; // { int nosys(void); } | 113 SYS_NFSSVC = 155 |
114 // SYS_NOSYS = 99; // { int nosys(void); } { old accept } | 114 SYS_STATFS = 157 |
115 SYS_GETPRIORITY = 100 // { int getpriority(int which, id_t who); } | 115 SYS_FSTATFS = 158 |
116 // SYS_NOSYS = 101; // { int nosys(void); } { old send } | 116 SYS_UNMOUNT = 159 |
117 // SYS_NOSYS = 102; // { int nosys(void); } { old recv } | 117 SYS_GETFH = 161 |
118 // SYS_NOSYS = 103; // { int nosys(void); } { old sigreturn } | 118 SYS_QUOTACTL = 165 |
119 SYS_BIND = 104 // { int bind(int s, caddr_t name, socklen_t namele
n); } | 119 SYS_MOUNT = 167 |
120 SYS_SETSOCKOPT = 105 // { int setsockopt(int s, int level, int name, cad
dr_t val, socklen_t valsize); } | 120 SYS_CSOPS = 169 |
121 SYS_LISTEN = 106 // { int listen(int s, int backlog); } | 121 SYS_WAITID = 173 |
122 // SYS_NOSYS = 104; // { int nosys(void); } | 122 SYS_ADD_PROFIL = 176 |
123 // SYS_NOSYS = 105; // { int nosys(void); } | 123 SYS_KDEBUG_TRACE = 180 |
124 // SYS_NOSYS = 106; // { int nosys(void); } | 124 SYS_SETGID = 181 |
125 // SYS_NOSYS = 107; // { int nosys(void); } { old vtimes } | 125 SYS_SETEGID = 182 |
126 // SYS_NOSYS = 108; // { int nosys(void); } { old sigvec } | 126 SYS_SETEUID = 183 |
127 // SYS_NOSYS = 109; // { int nosys(void); } { old sigblock } | 127 SYS_SIGRETURN = 184 |
128 // SYS_NOSYS = 110; // { int nosys(void); } { old sigsetmask } | 128 SYS_CHUD = 185 |
129 SYS_SIGSUSPEND = 111 // { int sigsuspend(sigset_t mask); } | 129 SYS_FDATASYNC = 187 |
130 // SYS_NOSYS = 112; // { int nosys(void); } { old sigstack } | 130 SYS_STAT = 188 |
131 // SYS_NOSYS = 113; // { int nosys(void); } { old recvmsg } | 131 SYS_FSTAT = 189 |
132 // SYS_NOSYS = 114; // { int nosys(void); } { old sendmsg } | 132 SYS_LSTAT = 190 |
133 // SYS_NOSYS = 113; // { int nosys(void); } | 133 SYS_PATHCONF = 191 |
134 // SYS_NOSYS = 114; // { int nosys(void); } | 134 SYS_FPATHCONF = 192 |
135 // SYS_NOSYS = 115; // { int nosys(void); } { old vtrace } | 135 SYS_GETRLIMIT = 194 |
136 SYS_GETTIMEOFDAY = 116 // { int gettimeofday(struct timeval *tp, struct
timezone *tzp); } | 136 SYS_SETRLIMIT = 195 |
137 SYS_GETRUSAGE = 117 // { int getrusage(int who, struct rusage *rusage
); } | 137 SYS_GETDIRENTRIES = 196 |
138 SYS_GETSOCKOPT = 118 // { int getsockopt(int s, int level, int name, c
addr_t val, socklen_t *avalsize); } | 138 SYS_MMAP = 197 |
139 // SYS_NOSYS = 118; // { int nosys(void); } | 139 SYS_LSEEK = 199 |
140 // SYS_NOSYS = 119; // { int nosys(void); } { old resuba } | 140 SYS_TRUNCATE = 200 |
141 SYS_READV = 120 // { user_ssize_t readv(int fd, struct iovec *iov
p, u_int iovcnt); } | 141 SYS_FTRUNCATE = 201 |
142 SYS_WRITEV = 121 // { user_ssize_t writev(int fd, struct iovec *io
vp, u_int iovcnt); } | 142 SYS___SYSCTL = 202 |
143 SYS_SETTIMEOFDAY = 122 // { int settimeofday(struct timeval *tv, struct
timezone *tzp); } | 143 SYS_MLOCK = 203 |
144 SYS_FCHOWN = 123 // { int fchown(int fd, int uid, int gid); } | 144 SYS_MUNLOCK = 204 |
145 SYS_FCHMOD = 124 // { int fchmod(int fd, int mode); } | 145 SYS_UNDELETE = 205 |
146 // SYS_NOSYS = 125; // { int nosys(void); } { old recvfrom } | 146 SYS_ATSOCKET = 206 |
147 SYS_SETREUID = 126 // { int setreuid(uid_t ruid, uid_t euid); } | 147 SYS_ATGETMSG = 207 |
148 SYS_SETREGID = 127 // { int setregid(gid_t rgid, gid_t egid); } | 148 SYS_ATPUTMSG = 208 |
149 SYS_RENAME = 128 // { int rename(char *from, char *to); } | 149 SYS_ATPSNDREQ = 209 |
150 // SYS_NOSYS = 129; // { int nosys(void); } { old truncate } | 150 SYS_ATPSNDRSP = 210 |
151 // SYS_NOSYS = 130; // { int nosys(void); } { old ftruncate } | 151 SYS_ATPGETREQ = 211 |
152 SYS_FLOCK = 131 // { int flock(int fd, int how); } | 152 SYS_ATPGETRSP = 212 |
153 SYS_MKFIFO = 132 // { int mkfifo(user_addr_t path, int mode); } | 153 SYS_MKCOMPLEX = 216 |
154 SYS_SENDTO = 133 // { int sendto(int s, caddr_t buf, size_t len, int
flags, caddr_t to, socklen_t tolen); } | 154 SYS_STATV = 217 |
155 SYS_SHUTDOWN = 134 // { int shutdown(int s, int how); } | 155 SYS_LSTATV = 218 |
156 SYS_SOCKETPAIR = 135 // { int socketpair(int domain, int type, int proto
col, int *rsv); } | 156 SYS_FSTATV = 219 |
157 // SYS_NOSYS = 133; // { int nosys(void); } | 157 SYS_GETATTRLIST = 220 |
158 // SYS_NOSYS = 134; // { int nosys(void); } | 158 SYS_SETATTRLIST = 221 |
159 // SYS_NOSYS = 135; // { int nosys(void); } | 159 SYS_GETDIRENTRIESATTR = 222 |
160 SYS_MKDIR = 136 // { int mkdir(user_addr_t path, int mode); } | 160 SYS_EXCHANGEDATA = 223 |
161 SYS_RMDIR = 137 // { int rmdir(char *path); } | 161 SYS_SEARCHFS = 225 |
162 SYS_UTIMES = 138 // { int utimes(char *path, struct timeval *tptr); } | 162 SYS_DELETE = 226 |
163 SYS_FUTIMES = 139 // { int futimes(int fd, struct timeval *tptr); } | 163 SYS_COPYFILE = 227 |
164 SYS_ADJTIME = 140 // { int adjtime(struct timeval *delta, struct timeval
*olddelta); } | 164 SYS_FGETATTRLIST = 228 |
165 // SYS_NOSYS = 141; // { int nosys(void); } { old getpeername } | 165 SYS_FSETATTRLIST = 229 |
166 SYS_GETHOSTUUID = 142 // { int gethostuuid(unsigned char *uuid_buf, cons
t struct timespec *timeoutp); } | 166 SYS_POLL = 230 |
167 // SYS_NOSYS = 143; // { int nosys(void); } { old sethostid } | 167 SYS_WATCHEVENT = 231 |
168 // SYS_NOSYS = 144; // { int nosys(void); } { old getrlimit } | 168 SYS_WAITEVENT = 232 |
169 // SYS_NOSYS = 145; // { int nosys(void); } { old setrlimit } | 169 SYS_MODWATCH = 233 |
170 // SYS_NOSYS = 146; // { int nosys(void); } { old killpg } | 170 SYS_GETXATTR = 234 |
171 SYS_SETSID = 147 // { int setsid(void); } | 171 SYS_FGETXATTR = 235 |
172 // SYS_NOSYS = 148; // { int nosys(void); } { old setquota } | 172 SYS_SETXATTR = 236 |
173 // SYS_NOSYS = 149; // { int nosys(void); } { old qquota } | 173 SYS_FSETXATTR = 237 |
174 // SYS_NOSYS = 150; // { int nosys(void); } { old getsockname } | 174 SYS_REMOVEXATTR = 238 |
175 SYS_GETPGID = 151 // { int getpgid(pid_t pid); } | 175 SYS_FREMOVEXATTR = 239 |
176 SYS_SETPRIVEXEC = 152 // { int setprivexec(int flag); } | 176 SYS_LISTXATTR = 240 |
177 SYS_PREAD = 153 // { user_ssize_t pread(int fd, user_addr_t buf, u
ser_size_t nbyte, off_t offset); } | 177 SYS_FLISTXATTR = 241 |
178 SYS_PWRITE = 154 // { user_ssize_t pwrite(int fd, user_addr_t buf,
user_size_t nbyte, off_t offset); } | 178 SYS_FSCTL = 242 |
179 SYS_NFSSVC = 155 // { int nfssvc(int flag, caddr_t argp); } | 179 SYS_INITGROUPS = 243 |
180 // SYS_NOSYS = 155; // { int nosys(void); } | 180 SYS_POSIX_SPAWN = 244 |
181 // SYS_NOSYS = 156; // { int nosys(void); } { old getdirentries } | 181 SYS_FFSCTL = 245 |
182 SYS_STATFS = 157 // { int statfs(char *path, struct statfs *buf); } | 182 SYS_NFSCLNT = 247 |
183 SYS_FSTATFS = 158 // { int fstatfs(int fd, struct statfs *buf); } | 183 SYS_FHOPEN = 248 |
184 SYS_UNMOUNT = 159 // { int unmount(user_addr_t path, int flags); } | 184 SYS_MINHERIT = 250 |
185 // SYS_NOSYS = 160; // { int nosys(void); } { old async_daemon } | 185 SYS_SEMSYS = 251 |
186 SYS_GETFH = 161 // { int getfh(char *fname, fhandle_t *fhp); } | 186 SYS_MSGSYS = 252 |
187 // SYS_NOSYS = 161; // { int nosys(void); } | 187 SYS_SHMSYS = 253 |
188 // SYS_NOSYS = 162; // { int nosys(void); } { old getdomainname } | 188 SYS_SEMCTL = 254 |
189 // SYS_NOSYS = 163; // { int nosys(void); } { old setdomainname } | 189 SYS_SEMGET = 255 |
190 // SYS_NOSYS = 164; // { int nosys(void); } | 190 SYS_SEMOP = 256 |
191 SYS_QUOTACTL = 165 // { int quotactl(const char *path, int cmd, int uid,
caddr_t arg); } | 191 SYS_MSGCTL = 258 |
192 // SYS_NOSYS = 166; // { int nosys(void); } { old exportfs } | 192 SYS_MSGGET = 259 |
193 SYS_MOUNT = 167 // { int mount(char *type, char *path, int flags, caddr_
t data); } | 193 SYS_MSGSND = 260 |
194 // SYS_NOSYS = 168; // { int nosys(void); } { old ustat } | 194 SYS_MSGRCV = 261 |
195 SYS_CSOPS = 169 // { int csops(pid_t pid, uint32_t ops, user_addr_t user
addr, user_size_t usersize); } | 195 SYS_SHMAT = 262 |
196 // SYS_NOSYS = 171; // { int nosys(void); } { old wait3 } | 196 SYS_SHMCTL = 263 |
197 // SYS_NOSYS = 172; // { int nosys(void); } { old rpause } | 197 SYS_SHMDT = 264 |
198 SYS_WAITID = 173 // { int waitid(idtype_t idtype, id_t id, siginfo_t *in
fop, int options); } | 198 SYS_SHMGET = 265 |
199 // SYS_NOSYS = 174; // { int nosys(void); } { old getdents } | 199 SYS_SHM_OPEN = 266 |
200 // SYS_NOSYS = 175; // { int nosys(void); } { old gc_control } | 200 SYS_SHM_UNLINK = 267 |
201 SYS_ADD_PROFIL = 176 // { int add_profil(short *bufbase, size_t bufsize,
u_long pcoffset, u_int pcscale); } | 201 SYS_SEM_OPEN = 268 |
202 // SYS_NOSYS = 177; // { int nosys(void); } | 202 SYS_SEM_CLOSE = 269 |
203 // SYS_NOSYS = 178; // { int nosys(void); } | 203 SYS_SEM_UNLINK = 270 |
204 // SYS_NOSYS = 179; // { int nosys(void); } | 204 SYS_SEM_WAIT = 271 |
205 SYS_KDEBUG_TRACE = 180 // { int kdebug_trace(int code, int arg1, int arg
2, int arg3, int arg4, int arg5) NO_SYSCALL_STUB; } | 205 SYS_SEM_TRYWAIT = 272 |
206 SYS_SETGID = 181 // { int setgid(gid_t gid); } | 206 SYS_SEM_POST = 273 |
207 SYS_SETEGID = 182 // { int setegid(gid_t egid); } | 207 SYS_SEM_GETVALUE = 274 |
208 SYS_SETEUID = 183 // { int seteuid(uid_t euid); } | 208 SYS_SEM_INIT = 275 |
209 SYS_SIGRETURN = 184 // { int sigreturn(struct ucontext *uctx, int inf
ostyle); } | 209 SYS_SEM_DESTROY = 276 |
210 // SYS_NOSYS = 186; // { int nosys(void); } | 210 SYS_OPEN_EXTENDED = 277 |
211 // SYS_NOSYS = 187; // { int nosys(void); } | 211 SYS_UMASK_EXTENDED = 278 |
212 SYS_STAT = 188 // { int stat(user_addr_t path, user_addr_t ub); } | 212 SYS_STAT_EXTENDED = 279 |
213 SYS_FSTAT = 189 // { int fstat(int fd, user_addr_t ub); } | 213 SYS_LSTAT_EXTENDED = 280 |
214 SYS_LSTAT = 190 // { int lstat(user_addr_t path, user_addr_t ub); } | 214 SYS_FSTAT_EXTENDED = 281 |
215 SYS_PATHCONF = 191 // { int pathconf(char *path, int name); } | 215 SYS_CHMOD_EXTENDED = 282 |
216 SYS_FPATHCONF = 192 // { int fpathconf(int fd, int name); } | 216 SYS_FCHMOD_EXTENDED = 283 |
217 // SYS_NOSYS = 193; // { int nosys(void); } | 217 SYS_ACCESS_EXTENDED = 284 |
218 SYS_GETRLIMIT = 194 // { int getrlimit(u_int which, struct rlimit *r
lp); } | 218 SYS_SETTID = 285 |
219 SYS_SETRLIMIT = 195 // { int setrlimit(u_int which, struct rlimit *r
lp); } | 219 SYS_GETTID = 286 |
220 SYS_GETDIRENTRIES = 196 // { int getdirentries(int fd, char *buf, u_int
count, long *basep); } | 220 SYS_SETSGROUPS = 287 |
221 SYS_MMAP = 197 // { user_addr_t mmap(caddr_t addr, size_t len,
int prot, int flags, int fd, off_t pos); } | 221 SYS_GETSGROUPS = 288 |
222 // SYS_NOSYS = 198; // { int nosys(void); } { __syscall } | 222 SYS_SETWGROUPS = 289 |
223 SYS_LSEEK = 199 // { off_t lseek(int fd, off_t offset, int whence);
} | 223 SYS_GETWGROUPS = 290 |
224 SYS_TRUNCATE = 200 // { int truncate(char *path, off_t length); } | 224 SYS_MKFIFO_EXTENDED = 291 |
225 SYS_FTRUNCATE = 201 // { int ftruncate(int fd, off_t length); } | 225 SYS_MKDIR_EXTENDED = 292 |
226 SYS___SYSCTL = 202 // { int __sysctl(int *name, u_int namelen, void *ol
d, size_t *oldlenp, void *new, size_t newlen); } | 226 SYS_IDENTITYSVC = 293 |
227 SYS_MLOCK = 203 // { int mlock(caddr_t addr, size_t len); } | 227 SYS_SHARED_REGION_CHECK_NP = 294 |
228 SYS_MUNLOCK = 204 // { int munlock(caddr_t addr, size_t len); } | 228 SYS_SHARED_REGION_MAP_NP = 295 |
229 SYS_UNDELETE = 205 // { int undelete(user_addr_t path); } | 229 SYS_VM_PRESSURE_MONITOR = 296 |
230 SYS_ATSOCKET = 206 // { int ATsocket(int proto); } | 230 SYS_PSYNCH_RW_LONGRDLOCK = 297 |
231 // SYS_NOSYS = 213; // { int nosys(void); } { Reserved for AppleTalk
} | 231 SYS_PSYNCH_RW_YIELDWRLOCK = 298 |
232 // SYS_NOSYS = 206; // { int nosys(void); } | 232 SYS_PSYNCH_RW_DOWNGRADE = 299 |
233 // SYS_NOSYS = 207; // { int nosys(void); } | 233 SYS_PSYNCH_RW_UPGRADE = 300 |
234 // SYS_NOSYS = 208; // { int nosys(void); } | 234 SYS_PSYNCH_MUTEXWAIT = 301 |
235 // SYS_NOSYS = 209; // { int nosys(void); } | 235 SYS_PSYNCH_MUTEXDROP = 302 |
236 // SYS_NOSYS = 210; // { int nosys(void); } | 236 SYS_PSYNCH_CVBROAD = 303 |
237 // SYS_NOSYS = 211; // { int nosys(void); } | 237 SYS_PSYNCH_CVSIGNAL = 304 |
238 // SYS_NOSYS = 212; // { int nosys(void); } | 238 SYS_PSYNCH_CVWAIT = 305 |
239 // SYS_NOSYS = 213; // { int nosys(void); } { Reserved for AppleTalk
} | 239 SYS_PSYNCH_RW_RDLOCK = 306 |
240 SYS_KQUEUE_FROM_PORTSET_NP = 214 // { int kqueue_from_portset_np(int por
tset); } | 240 SYS_PSYNCH_RW_WRLOCK = 307 |
241 SYS_KQUEUE_PORTSET_NP = 215 // { int kqueue_portset_np(int fd); } | 241 SYS_PSYNCH_RW_UNLOCK = 308 |
242 SYS_GETATTRLIST = 220 // { int getattrlist(const char *path,
struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options
); } | 242 SYS_PSYNCH_RW_UNLOCK2 = 309 |
243 SYS_SETATTRLIST = 221 // { int setattrlist(const char *path,
struct attrlist *alist, void *attributeBuffer, size_t bufferSize, u_long options
); } | 243 SYS_GETSID = 310 |
244 SYS_GETDIRENTRIESATTR = 222 // { int getdirentriesattr(int fd, stru
ct attrlist *alist, void *buffer, size_t buffersize, u_long *count, u_long *base
p, u_long *newstate, u_long options); } | 244 SYS_SETTID_WITH_PID = 311 |
245 SYS_EXCHANGEDATA = 223 // { int exchangedata(const char *path1
, const char *path2, u_long options); } | 245 SYS_AIO_FSYNC = 313 |
246 // SYS_NOSYS = 224; // { int nosys(void); } { was checkuseraccess } | 246 SYS_AIO_RETURN = 314 |
247 SYS_SEARCHFS = 225 // { int searchfs(const char *path, struct fssearchbl
ock *searchblock, u_long *nummatches, u_long scriptcode, u_long options, struct
searchstate *state); } | 247 SYS_AIO_SUSPEND = 315 |
248 SYS_DELETE = 226 // { int delete(user_addr_t path) NO_SYSCALL_STUB; }
{ private delete (Carbon semantics) } | 248 SYS_AIO_CANCEL = 316 |
249 SYS_COPYFILE = 227 // { int copyfile(char *from, char *to, int mode, int
flags) NO_SYSCALL_STUB; } | 249 SYS_AIO_ERROR = 317 |
250 // SYS_NOSYS = 228; // { int nosys(void); } | 250 SYS_AIO_READ = 318 |
251 // SYS_NOSYS = 229; // { int nosys(void); } | 251 SYS_AIO_WRITE = 319 |
252 SYS_POLL = 230 // { int poll(struct pollfd *fds, u_int nfds, int
timeout); } | 252 SYS_LIO_LISTIO = 320 |
253 SYS_WATCHEVENT = 231 // { int watchevent(struct eventreq *u_req, int u
_eventmask); } | 253 SYS_IOPOLICYSYS = 322 |
254 SYS_WAITEVENT = 232 // { int waitevent(struct eventreq *u_req, struct
timeval *tv); } | 254 SYS_MLOCKALL = 324 |
255 SYS_MODWATCH = 233 // { int modwatch(struct eventreq *u_req, int u_e
ventmask); } | 255 SYS_MUNLOCKALL = 325 |
256 SYS_GETXATTR = 234 // { user_ssize_t getxattr(user_addr_t path, user
_addr_t attrname, user_addr_t value, size_t size, uint32_t position, int options
); } | 256 SYS_ISSETUGID = 327 |
257 SYS_FGETXATTR = 235 // { user_ssize_t fgetxattr(int fd, user_addr_t a
ttrname, user_addr_t value, size_t size, uint32_t position, int options); } | 257 SYS___PTHREAD_KILL = 328 |
258 SYS_SETXATTR = 236 // { int setxattr(user_addr_t path, user_addr_t a
ttrname, user_addr_t value, size_t size, uint32_t position, int options); } | 258 SYS___PTHREAD_SIGMASK = 329 |
259 SYS_FSETXATTR = 237 // { int fsetxattr(int fd, user_addr_t attrname,
user_addr_t value, size_t size, uint32_t position, int options); } | 259 SYS___SIGWAIT = 330 |
260 SYS_REMOVEXATTR = 238 // { int removexattr(user_addr_t path, user_addr_
t attrname, int options); } | 260 SYS___DISABLE_THREADSIGNAL = 331 |
261 SYS_FREMOVEXATTR = 239 // { int fremovexattr(int fd, user_addr_t attrnam
e, int options); } | 261 SYS___PTHREAD_MARKCANCEL = 332 |
262 SYS_LISTXATTR = 240 // { user_ssize_t listxattr(user_addr_t path, use
r_addr_t namebuf, size_t bufsize, int options); } | 262 SYS___PTHREAD_CANCELED = 333 |
263 SYS_FLISTXATTR = 241 // { user_ssize_t flistxattr(int fd, user_addr_t
namebuf, size_t bufsize, int options); } | 263 SYS___SEMWAIT_SIGNAL = 334 |
264 SYS_FSCTL = 242 // { int fsctl(const char *path, u_long cmd, cadd
r_t data, u_long options); } | 264 SYS_PROC_INFO = 336 |
265 SYS_INITGROUPS = 243 // { int initgroups(u_int gidsetsize, gid_t *gids
et, int gmuid); } | 265 SYS_SENDFILE = 337 |
266 SYS_POSIX_SPAWN = 244 // { int posix_spawn(pid_t *pid, const char *path
, const struct _posix_spawn_args_desc *adesc, char **argv, char **envp); } | 266 SYS_STAT64 = 338 |
267 // SYS_NOSYS = 245; // { int nosys(void); } | 267 SYS_FSTAT64 = 339 |
268 // SYS_NOSYS = 246; // { int nosys(void); } | 268 SYS_LSTAT64 = 340 |
269 SYS_NFSCLNT = 247 // { int nfsclnt(int flag, caddr_t argp); } | 269 SYS_STAT64_EXTENDED = 341 |
270 // SYS_NOSYS = 247; // { int nosys(void); } | 270 SYS_LSTAT64_EXTENDED = 342 |
271 SYS_FHOPEN = 248 // { int fhopen(const struct fhandle *u_fhp, int flags)
; } | 271 SYS_FSTAT64_EXTENDED = 343 |
272 // SYS_NOSYS = 248; // { int nosys(void); } | 272 SYS_GETDIRENTRIES64 = 344 |
273 // SYS_NOSYS = 249; // { int nosys(void); } | 273 SYS_STATFS64 = 345 |
274 SYS_MINHERIT = 250 // { int minherit(void *addr, size_t len, int inherit
); } | 274 SYS_FSTATFS64 = 346 |
275 SYS_SEMSYS = 251 // { int semsys(u_int which, int a2, int a3, int a4,
int a5); } | 275 SYS_GETFSSTAT64 = 347 |
276 // SYS_NOSYS = 251; // { int nosys(void); } | 276 SYS___PTHREAD_CHDIR = 348 |
277 SYS_MSGSYS = 252 // { int msgsys(u_int which, int a2, int a3, int a4, in
t a5); } | 277 SYS___PTHREAD_FCHDIR = 349 |
278 // SYS_NOSYS = 252; // { int nosys(void); } | 278 SYS_AUDIT = 350 |
279 SYS_SHMSYS = 253 // { int shmsys(u_int which, int a2, int a3, int a4); } | 279 SYS_AUDITON = 351 |
280 // SYS_NOSYS = 253; // { int nosys(void); } | 280 SYS_GETAUID = 353 |
281 SYS_SEMCTL = 254 // { int semctl(int semid, int semnum, int cmd, semun_t
arg); } | 281 SYS_SETAUID = 354 |
282 SYS_SEMGET = 255 // { int semget(key_t key, int nsems, int semflg); } | 282 SYS_GETAUDIT = 355 |
283 SYS_SEMOP = 256 // { int semop(int semid, struct sembuf *sops, int nsop
s); } | 283 SYS_SETAUDIT = 356 |
284 // SYS_NOSYS = 257; // { int nosys(void); } | 284 SYS_GETAUDIT_ADDR = 357 |
285 // SYS_NOSYS = 254; // { int nosys(void); } | 285 SYS_SETAUDIT_ADDR = 358 |
286 // SYS_NOSYS = 255; // { int nosys(void); } | 286 SYS_AUDITCTL = 359 |
287 // SYS_NOSYS = 256; // { int nosys(void); } | 287 SYS_BSDTHREAD_CREATE = 360 |
288 // SYS_NOSYS = 257; // { int nosys(void); } | 288 SYS_BSDTHREAD_TERMINATE = 361 |
289 SYS_MSGCTL = 258 // { int msgctl(int msqid, int cmd, struct msqid_ds
*buf); } | 289 SYS_KQUEUE = 362 |
290 SYS_MSGGET = 259 // { int msgget(key_t key, int msgflg); } | 290 SYS_KEVENT = 363 |
291 SYS_MSGSND = 260 // { int msgsnd(int msqid, void *msgp, size_t msgsz, in
t msgflg); } | 291 SYS_LCHOWN = 364 |
292 SYS_MSGRCV = 261 // { user_ssize_t msgrcv(int msqid, void *msgp, size_t
msgsz, long msgtyp, int msgflg); } | 292 SYS_STACK_SNAPSHOT = 365 |
293 // SYS_NOSYS = 258; // { int nosys(void); } | 293 SYS_BSDTHREAD_REGISTER = 366 |
294 // SYS_NOSYS = 259; // { int nosys(void); } | 294 SYS_WORKQ_OPEN = 367 |
295 // SYS_NOSYS = 260; // { int nosys(void); } | 295 SYS_WORKQ_KERNRETURN = 368 |
296 // SYS_NOSYS = 261; // { int nosys(void); } | 296 SYS_KEVENT64 = 369 |
297 SYS_SHMAT = 262 // { user_addr_t shmat(int shmid, void *shmaddr, int sh
mflg); } | 297 SYS___OLD_SEMWAIT_SIGNAL = 370 |
298 SYS_SHMCTL = 263 // { int shmctl(int shmid, int cmd, struct shmid_ds *bu
f); } | 298 SYS___OLD_SEMWAIT_SIGNAL_NOCANCEL = 371 |
299 SYS_SHMDT = 264 // { int shmdt(void *shmaddr); } | 299 SYS_THREAD_SELFID = 372 |
300 SYS_SHMGET = 265 // { int shmget(key_t key, size_t size, int shmflg); } | 300 SYS___MAC_EXECVE = 380 |
301 // SYS_NOSYS = 262; // { int nosys(void); } | 301 SYS___MAC_SYSCALL = 381 |
302 // SYS_NOSYS = 263; // { int nosys(void); } | 302 SYS___MAC_GET_FILE = 382 |
303 // SYS_NOSYS = 264; // { int nosys(void); } | 303 SYS___MAC_SET_FILE = 383 |
304 // SYS_NOSYS = 265; // { int nosys(void); } | 304 SYS___MAC_GET_LINK = 384 |
305 SYS_SHM_OPEN = 266 // { int shm_open(const char *name, int
oflag, int mode); } | 305 SYS___MAC_SET_LINK = 385 |
306 SYS_SHM_UNLINK = 267 // { int shm_unlink(const char *name);
} | 306 SYS___MAC_GET_PROC = 386 |
307 SYS_SEM_OPEN = 268 // { user_addr_t sem_open(const char *n
ame, int oflag, int mode, int value); } | 307 SYS___MAC_SET_PROC = 387 |
308 SYS_SEM_CLOSE = 269 // { int sem_close(sem_t *sem); } | 308 SYS___MAC_GET_FD = 388 |
309 SYS_SEM_UNLINK = 270 // { int sem_unlink(const char *name);
} | 309 SYS___MAC_SET_FD = 389 |
310 SYS_SEM_WAIT = 271 // { int sem_wait(sem_t *sem); } | 310 SYS___MAC_GET_PID = 390 |
311 SYS_SEM_TRYWAIT = 272 // { int sem_trywait(sem_t *sem); } | 311 SYS___MAC_GET_LCID = 391 |
312 SYS_SEM_POST = 273 // { int sem_post(sem_t *sem); } | 312 SYS___MAC_GET_LCTX = 392 |
313 SYS_SEM_GETVALUE = 274 // { int sem_getvalue(sem_t *sem, int *
sval); } | 313 SYS___MAC_SET_LCTX = 393 |
314 SYS_SEM_INIT = 275 // { int sem_init(sem_t *sem, int phsar
ed, u_int value); } | 314 SYS_SETLCID = 394 |
315 SYS_SEM_DESTROY = 276 // { int sem_destroy(sem_t *sem); } | 315 SYS_GETLCID = 395 |
316 SYS_OPEN_EXTENDED = 277 // { int open_extended(user_addr_t path
, int flags, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_S
TUB; } | 316 SYS_READ_NOCANCEL = 396 |
317 SYS_UMASK_EXTENDED = 278 // { int umask_extended(int newmask, us
er_addr_t xsecurity) NO_SYSCALL_STUB; } | 317 SYS_WRITE_NOCANCEL = 397 |
318 SYS_STAT_EXTENDED = 279 // { int stat_extended(user_addr_t path
, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_
STUB; } | 318 SYS_OPEN_NOCANCEL = 398 |
319 SYS_LSTAT_EXTENDED = 280 // { int lstat_extended(user_addr_t pat
h, user_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL
_STUB; } | 319 SYS_CLOSE_NOCANCEL = 399 |
320 SYS_FSTAT_EXTENDED = 281 // { int fstat_extended(int fd, user_ad
dr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } | 320 SYS_WAIT4_NOCANCEL = 400 |
321 SYS_CHMOD_EXTENDED = 282 // { int chmod_extended(user_addr_t pat
h, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } | 321 SYS_RECVMSG_NOCANCEL = 401 |
322 SYS_FCHMOD_EXTENDED = 283 // { int fchmod_extended(int fd, uid_t
uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } | 322 SYS_SENDMSG_NOCANCEL = 402 |
323 SYS_ACCESS_EXTENDED = 284 // { int access_extended(user_addr_t en
tries, size_t size, user_addr_t results, uid_t uid) NO_SYSCALL_STUB; } | 323 SYS_RECVFROM_NOCANCEL = 403 |
324 SYS_SETTID = 285 // { int settid(uid_t uid, gid_t gid) N
O_SYSCALL_STUB; } | 324 SYS_ACCEPT_NOCANCEL = 404 |
325 SYS_GETTID = 286 // { int gettid(uid_t *uidp, gid_t *gid
p) NO_SYSCALL_STUB; } | 325 SYS_MSYNC_NOCANCEL = 405 |
326 SYS_SETSGROUPS = 287 // { int setsgroups(int setlen, user_ad
dr_t guidset) NO_SYSCALL_STUB; } | 326 SYS_FCNTL_NOCANCEL = 406 |
327 SYS_GETSGROUPS = 288 // { int getsgroups(user_addr_t setlen,
user_addr_t guidset) NO_SYSCALL_STUB; } | 327 SYS_SELECT_NOCANCEL = 407 |
328 SYS_SETWGROUPS = 289 // { int setwgroups(int setlen, user_ad
dr_t guidset) NO_SYSCALL_STUB; } | 328 SYS_FSYNC_NOCANCEL = 408 |
329 SYS_GETWGROUPS = 290 // { int getwgroups(user_addr_t setlen,
user_addr_t guidset) NO_SYSCALL_STUB; } | 329 SYS_CONNECT_NOCANCEL = 409 |
330 SYS_MKFIFO_EXTENDED = 291 // { int mkfifo_extended(user_addr_t pa
th, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } | 330 SYS_SIGSUSPEND_NOCANCEL = 410 |
331 SYS_MKDIR_EXTENDED = 292 // { int mkdir_extended(user_addr_t pat
h, uid_t uid, gid_t gid, int mode, user_addr_t xsecurity) NO_SYSCALL_STUB; } | 331 SYS_READV_NOCANCEL = 411 |
332 SYS_IDENTITYSVC = 293 // { int identitysvc(int opcode, user_a
ddr_t message) NO_SYSCALL_STUB; } | 332 SYS_WRITEV_NOCANCEL = 412 |
333 SYS_SHARED_REGION_CHECK_NP = 294 // { int shared_region_check_np(uint64_
t *start_address) NO_SYSCALL_STUB; } | 333 SYS_SENDTO_NOCANCEL = 413 |
334 SYS_SHARED_REGION_MAP_NP = 295 // { int shared_region_map_np(int fd, u
int32_t count, const struct shared_file_mapping_np *mappings) NO_SYSCALL_STUB; } | 334 SYS_PREAD_NOCANCEL = 414 |
335 // SYS_NOSYS = 296; // { int nosys(void); } { old load_shared_file } | 335 SYS_PWRITE_NOCANCEL = 415 |
336 // SYS_NOSYS = 297; // { int nosys(void); } { old reset_shared_file } | 336 SYS_WAITID_NOCANCEL = 416 |
337 // SYS_NOSYS = 298; // { int nosys(void); } { old new_system_shared_reg
ions } | 337 SYS_POLL_NOCANCEL = 417 |
338 // SYS_ENOSYS = 299; // { int enosys(void); } { old shared_region_map_f
ile_np } | 338 SYS_MSGSND_NOCANCEL = 418 |
339 // SYS_ENOSYS = 300; // { int enosys(void); } { old shared_region_make_
private_np } | 339 SYS_MSGRCV_NOCANCEL = 419 |
340 SYS___PTHREAD_MUTEX_DESTROY = 301 // { int __pthread_mutex_destroy(int
mutexid); } | 340 SYS_SEM_WAIT_NOCANCEL = 420 |
341 SYS___PTHREAD_MUTEX_INIT = 302 // { int __pthread_mutex_init(user_ad
dr_t mutex, user_addr_t attr); } | 341 SYS_AIO_SUSPEND_NOCANCEL = 421 |
342 SYS___PTHREAD_MUTEX_LOCK = 303 // { int __pthread_mutex_lock(int mut
exid); } | 342 SYS___SIGWAIT_NOCANCEL = 422 |
343 SYS___PTHREAD_MUTEX_TRYLOCK = 304 // { int __pthread_mutex_trylock(int
mutexid); } | 343 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423 |
344 SYS___PTHREAD_MUTEX_UNLOCK = 305 // { int __pthread_mutex_unlock(int m
utexid); } | 344 SYS___MAC_MOUNT = 424 |
345 SYS___PTHREAD_COND_INIT = 306 // { int __pthread_cond_init(user_add
r_t cond, user_addr_t attr); } | 345 SYS___MAC_GET_MOUNT = 425 |
346 SYS___PTHREAD_COND_DESTROY = 307 // { int __pthread_cond_destroy(int c
ondid); } | 346 SYS___MAC_GETFSSTAT = 426 |
347 SYS___PTHREAD_COND_BROADCAST = 308 // { int __pthread_cond_broadcast(int
condid); } | 347 SYS_FSGETPATH = 427 |
348 SYS___PTHREAD_COND_SIGNAL = 309 // { int __pthread_cond_signal(int co
ndid); } | 348 SYS_AUDIT_SESSION_SELF = 428 |
349 SYS_GETSID = 310 // { int getsid(pid_t pid); } | 349 SYS_AUDIT_SESSION_JOIN = 429 |
350 SYS_SETTID_WITH_PID = 311 // { int settid_with_pid(pid_t pid, i
nt assume) NO_SYSCALL_STUB; } | 350 SYS_PID_SUSPEND = 430 |
351 SYS___PTHREAD_COND_TIMEDWAIT = 312 // { int __pthread_cond_timedwait(int
condid, int mutexid, user_addr_t abstime); } | 351 SYS_PID_RESUME = 431 |
352 SYS_AIO_FSYNC = 313 // { int aio_fsync(int op, user_addr_
t aiocbp); } | 352 SYS_FILEPORT_MAKEPORT = 432 |
353 SYS_AIO_RETURN = 314 // { user_ssize_t aio_return(user_add
r_t aiocbp); } | 353 SYS_FILEPORT_MAKEFD = 433 |
354 SYS_AIO_SUSPEND = 315 // { int aio_suspend(user_addr_t aioc
blist, int nent, user_addr_t timeoutp); } | 354 SYS_MAXSYSCALL = 434 |
355 SYS_AIO_CANCEL = 316 // { int aio_cancel(int fd, user_addr
_t aiocbp); } | |
356 SYS_AIO_ERROR = 317 // { int aio_error(user_addr_t aiocbp
); } | |
357 SYS_AIO_READ = 318 // { int aio_read(user_addr_t aiocbp)
; } | |
358 SYS_AIO_WRITE = 319 // { int aio_write(user_addr_t aiocbp
); } | |
359 SYS_LIO_LISTIO = 320 // { int lio_listio(int mode, user_ad
dr_t aiocblist, int nent, user_addr_t sigp); } | |
360 SYS___PTHREAD_COND_WAIT = 321 // { int __pthread_cond_wait(int cond
id, int mutexid); } | |
361 SYS_IOPOLICYSYS = 322 // { int iopolicysys(int cmd, void *a
rg) NO_SYSCALL_STUB; } | |
362 // SYS_NOSYS = 323; // { int nosys(void); } | |
363 SYS_MLOCKALL = 324 // { int mlockall(int how); } | |
364 SYS_MUNLOCKALL = 325 // { int munlockall(int how); } | |
365 // SYS_NOSYS = 326; // { int nosys(void); } | |
366 SYS_ISSETUGID = 327 // { int issetugid(void); } | |
367 SYS___PTHREAD_KILL = 328 // { int __pthread_kill(int thread_port
, int sig); } | |
368 SYS___PTHREAD_SIGMASK = 329 // { int __pthread_sigmask(int how, use
r_addr_t set, user_addr_t oset); } | |
369 SYS___SIGWAIT = 330 // { int __sigwait(user_addr_t set, use
r_addr_t sig); } | |
370 SYS___DISABLE_THREADSIGNAL = 331 // { int __disable_threadsignal(int val
ue); } | |
371 SYS___PTHREAD_MARKCANCEL = 332 // { int __pthread_markcancel(int threa
d_port); } | |
372 SYS___PTHREAD_CANCELED = 333 // { int __pthread_canceled(int action
); } | |
373 SYS___SEMWAIT_SIGNAL = 334 // { int __semwait_signal(int cond_sem,
int mutex_sem, int timeout, int relative, time_t tv_sec, int32_t tv_nsec); } | |
374 // SYS_NOSYS = 335; // { int nosys(void); } { old utrace } | |
375 SYS_PROC_INFO = 336 // { int proc_info(int32_t callnum,int32_t pid,uint3
2_t flavor, uint64_t arg,user_addr_t buffer,int32_t buffersize) NO_SYSCALL_STUB;
} | |
376 SYS_SENDFILE = 337 // { int sendfile(int fd, int s, off_t offset, off_t
*nbytes, struct sf_hdtr *hdtr, int flags); } | |
377 // SYS_NOSYS = 337; // { int nosys(void); } | |
378 SYS_STAT64 = 338 // { int stat64(user_addr_t path, user_addr_t
ub); } | |
379 SYS_FSTAT64 = 339 // { int fstat64(int fd, user_addr_t ub); } | |
380 SYS_LSTAT64 = 340 // { int lstat64(user_addr_t path, user_addr_
t ub); } | |
381 SYS_STAT64_EXTENDED = 341 // { int stat64_extended(user_addr_t path, us
er_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB
; } | |
382 SYS_LSTAT64_EXTENDED = 342 // { int lstat64_extended(user_addr_t path, u
ser_addr_t ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STU
B; } | |
383 SYS_FSTAT64_EXTENDED = 343 // { int fstat64_extended(int fd, user_addr_t
ub, user_addr_t xsecurity, user_addr_t xsecurity_size) NO_SYSCALL_STUB; } | |
384 SYS_GETDIRENTRIES64 = 344 // { user_ssize_t getdirentries64(int fd, voi
d *buf, user_size_t bufsize, off_t *position) NO_SYSCALL_STUB; } | |
385 SYS_STATFS64 = 345 // { int statfs64(char *path, struct statfs64
*buf); } | |
386 SYS_FSTATFS64 = 346 // { int fstatfs64(int fd, struct statfs64 *b
uf); } | |
387 SYS_GETFSSTAT64 = 347 // { int getfsstat64(user_addr_t buf, int buf
size, int flags); } | |
388 SYS___PTHREAD_CHDIR = 348 // { int __pthread_chdir(user_addr_t path); } | |
389 SYS___PTHREAD_FCHDIR = 349 // { int __pthread_fchdir(int fd); } | |
390 SYS_AUDIT = 350 // { int audit(void *record, int length); } | |
391 SYS_AUDITON = 351 // { int auditon(int cmd, void *data, int len
gth); } | |
392 // SYS_NOSYS = 352; // { int nosys(void); } | |
393 SYS_GETAUID = 353 // { int getauid(au_id_t *auid); } | |
394 SYS_SETAUID = 354 // { int setauid(au_id_t *auid); } | |
395 SYS_GETAUDIT = 355 // { int getaudit(struct auditinfo *auditinfo);
} | |
396 SYS_SETAUDIT = 356 // { int setaudit(struct auditinfo *auditinfo);
} | |
397 SYS_GETAUDIT_ADDR = 357 // { int getaudit_addr(struct auditinfo_addr *au
ditinfo_addr, int length); } | |
398 SYS_SETAUDIT_ADDR = 358 // { int setaudit_addr(struct auditinfo_addr *au
ditinfo_addr, int length); } | |
399 SYS_AUDITCTL = 359 // { int auditctl(char *path); } | |
400 // SYS_NOSYS = 350; // { int nosys(void); } | |
401 // SYS_NOSYS = 351; // { int nosys(void); } | |
402 // SYS_NOSYS = 352; // { int nosys(void); } | |
403 // SYS_NOSYS = 353; // { int nosys(void); } | |
404 // SYS_NOSYS = 354; // { int nosys(void); } | |
405 // SYS_NOSYS = 355; // { int nosys(void); } | |
406 // SYS_NOSYS = 356; // { int nosys(void); } | |
407 // SYS_NOSYS = 357; // { int nosys(void); } | |
408 // SYS_NOSYS = 358; // { int nosys(void); } | |
409 // SYS_NOSYS = 359; // { int nosys(void); } | |
410 SYS_BSDTHREAD_CREATE = 360 // { user_addr_t bsdthread_create(user_add
r_t func, user_addr_t func_arg, user_addr_t stack, user_addr_t pthread, uint32_t
flags) NO_SYSCALL_STUB; } | |
411 SYS_BSDTHREAD_TERMINATE = 361 // { int bsdthread_terminate(user_addr_t s
tackaddr, size_t freesize, uint32_t port, uint32_t sem) NO_SYSCALL_STUB; } | |
412 SYS_KQUEUE = 362 // { int kqueue(void); } | |
413 SYS_KEVENT = 363 // { int kevent(int fd, const struct keven
t *changelist, int nchanges, struct kevent *eventlist, int nevents, const struct
timespec *timeout); } | |
414 SYS_LCHOWN = 364 // { int lchown(user_addr_t path, uid_t ow
ner, gid_t group); } | |
415 SYS_STACK_SNAPSHOT = 365 // { int stack_snapshot(pid_t pid, user_ad
dr_t tracebuf, uint32_t tracebuf_size, uint32_t options) NO_SYSCALL_STUB; } | |
416 SYS_BSDTHREAD_REGISTER = 366 // { int bsdthread_register(user_addr_t th
readstart, user_addr_t wqthread, int pthsize) NO_SYSCALL_STUB; } | |
417 SYS_WORKQ_OPEN = 367 // { int workq_open(void) NO_SYSCALL_STUB;
} | |
418 SYS_WORKQ_OPS = 368 // { int workq_ops(int options, user_addr_
t item, int prio) NO_SYSCALL_STUB; } | |
419 // SYS_NOSYS = 369; // { int nosys(void); } | |
420 // SYS_NOSYS = 370; // { int nosys(void); } | |
421 // SYS_NOSYS = 371; // { int nosys(void); } | |
422 // SYS_NOSYS = 372; // { int nosys(void); } | |
423 // SYS_NOSYS = 373; // { int nosys(void); } | |
424 // SYS_NOSYS = 374; // { int nosys(void); } | |
425 // SYS_NOSYS = 375; // { int nosys(void); } | |
426 // SYS_NOSYS = 376; // { int nosys(void); } | |
427 // SYS_NOSYS = 377; // { int nosys(void); } | |
428 // SYS_NOSYS = 378; // { int nosys(void); } | |
429 // SYS_NOSYS = 379; // { int nosys(void); } | |
430 SYS___MAC_EXECVE = 380 // { int __mac_execve(char *fname, char **ar
gp, char **envp, struct mac *mac_p); } | |
431 SYS___MAC_SYSCALL = 381 // { int __mac_syscall(char *policy, int cal
l, user_addr_t arg); } | |
432 SYS___MAC_GET_FILE = 382 // { int __mac_get_file(char *path_p, struct
mac *mac_p); } | |
433 SYS___MAC_SET_FILE = 383 // { int __mac_set_file(char *path_p, struct
mac *mac_p); } | |
434 SYS___MAC_GET_LINK = 384 // { int __mac_get_link(char *path_p, struct
mac *mac_p); } | |
435 SYS___MAC_SET_LINK = 385 // { int __mac_set_link(char *path_p, struct
mac *mac_p); } | |
436 SYS___MAC_GET_PROC = 386 // { int __mac_get_proc(struct mac *mac_p);
} | |
437 SYS___MAC_SET_PROC = 387 // { int __mac_set_proc(struct mac *mac_p);
} | |
438 SYS___MAC_GET_FD = 388 // { int __mac_get_fd(int fd, struct mac *ma
c_p); } | |
439 SYS___MAC_SET_FD = 389 // { int __mac_set_fd(int fd, struct mac *ma
c_p); } | |
440 SYS___MAC_GET_PID = 390 // { int __mac_get_pid(pid_t pid, struct mac
*mac_p); } | |
441 SYS___MAC_GET_LCID = 391 // { int __mac_get_lcid(pid_t lcid, struct m
ac *mac_p); } | |
442 SYS___MAC_GET_LCTX = 392 // { int __mac_get_lctx(struct mac *mac_p);
} | |
443 SYS___MAC_SET_LCTX = 393 // { int __mac_set_lctx(struct mac *mac_p);
} | |
444 SYS_SETLCID = 394 // { int setlcid(pid_t pid, pid_t lcid) NO_S
YSCALL_STUB; } | |
445 SYS_GETLCID = 395 // { int getlcid(pid_t pid) NO_SYSCALL_STUB;
} | |
446 SYS_READ_NOCANCEL = 396 // { user_ssize_t read_nocancel(int fd, user
_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; } | |
447 SYS_WRITE_NOCANCEL = 397 // { user_ssize_t write_nocancel(int fd, use
r_addr_t cbuf, user_size_t nbyte) NO_SYSCALL_STUB; } | |
448 SYS_OPEN_NOCANCEL = 398 // { int open_nocancel(user_addr_t path, int
flags, int mode) NO_SYSCALL_STUB; } | |
449 SYS_CLOSE_NOCANCEL = 399 // { int close_nocancel(int fd) NO_SYSCALL_S
TUB; } | |
450 SYS_WAIT4_NOCANCEL = 400 // { int wait4_nocancel(int pid, user_addr_t
status, int options, user_addr_t rusage) NO_SYSCALL_STUB; } | |
451 SYS_RECVMSG_NOCANCEL = 401 // { int recvmsg_nocancel(int s, struct msgh
dr *msg, int flags) NO_SYSCALL_STUB; } | |
452 SYS_SENDMSG_NOCANCEL = 402 // { int sendmsg_nocancel(int s, caddr_t msg
, int flags) NO_SYSCALL_STUB; } | |
453 SYS_RECVFROM_NOCANCEL = 403 // { int recvfrom_nocancel(int s, void *buf,
size_t len, int flags, struct sockaddr *from, int *fromlenaddr) NO_SYSCALL_STUB
; } | |
454 SYS_ACCEPT_NOCANCEL = 404 // { int accept_nocancel(int s, caddr_t name
, socklen_t *anamelen) NO_SYSCALL_STUB; } | |
455 // SYS_NOSYS = 401; // { int nosys(void); } | |
456 // SYS_NOSYS = 402; // { int nosys(void); } | |
457 // SYS_NOSYS = 403; // { int nosys(void); } | |
458 // SYS_NOSYS = 404; // { int nosys(void); } | |
459 SYS_MSYNC_NOCANCEL = 405 // { int msync_nocancel(caddr_t addr, size_t
len, int flags) NO_SYSCALL_STUB; } | |
460 SYS_FCNTL_NOCANCEL = 406 // { int fcntl_nocancel(int fd, int cmd, long
arg) NO_SYSCALL_STUB; } | |
461 SYS_SELECT_NOCANCEL = 407 // { int select_nocancel(int nd, u_int32_t *i
n, u_int32_t *ou, u_int32_t *ex, struct timeval *tv) NO_SYSCALL_STUB; } | |
462 SYS_FSYNC_NOCANCEL = 408 // { int fsync_nocancel(int fd) NO_SYSCALL_ST
UB; } | |
463 SYS_CONNECT_NOCANCEL = 409 // { int connect_nocancel(int s, caddr_t name
, socklen_t namelen) NO_SYSCALL_STUB; } | |
464 // SYS_NOSYS = 409; // { int nosys(void); } | |
465 SYS_SIGSUSPEND_NOCANCEL = 410 // { int sigsuspend_nocancel(sigset_t mask
) NO_SYSCALL_STUB; } | |
466 SYS_READV_NOCANCEL = 411 // { user_ssize_t readv_nocancel(int fd, s
truct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; } | |
467 SYS_WRITEV_NOCANCEL = 412 // { user_ssize_t writev_nocancel(int fd,
struct iovec *iovp, u_int iovcnt) NO_SYSCALL_STUB; } | |
468 SYS_SENDTO_NOCANCEL = 413 // { int sendto_nocancel(int s, caddr_t bu
f, size_t len, int flags, caddr_t to, socklen_t tolen) NO_SYSCALL_STUB; } | |
469 // SYS_NOSYS = 413; // { int nosys(void); } | |
470 SYS_PREAD_NOCANCEL = 414 // { user_ssize_t pread_nocancel(int fd, user_
addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; } | |
471 SYS_PWRITE_NOCANCEL = 415 // { user_ssize_t pwrite_nocancel(int fd, user
_addr_t buf, user_size_t nbyte, off_t offset) NO_SYSCALL_STUB; } | |
472 SYS_WAITID_NOCANCEL = 416 // { int waitid_nocancel(idtype_t idtype, id_t
id, siginfo_t *infop, int options) NO_SYSCALL_STUB; } | |
473 SYS_POLL_NOCANCEL = 417 // { int poll_nocancel(struct pollfd *fds, u_i
nt nfds, int timeout) NO_SYSCALL_STUB; } | |
474 SYS_MSGSND_NOCANCEL = 418 // { int msgsnd_nocancel(int msqid, void *msgp
, size_t msgsz, int msgflg) NO_SYSCALL_STUB; } | |
475 SYS_MSGRCV_NOCANCEL = 419 // { user_ssize_t msgrcv_nocancel(int msqid, v
oid *msgp, size_t msgsz, long msgtyp, int msgflg) NO_SYSCALL_STUB; } | |
476 // SYS_NOSYS = 418; // { int nosys(void); } | |
477 // SYS_NOSYS = 419; // { int nosys(void); } | |
478 SYS_SEM_WAIT_NOCANCEL = 420 // { int sem_wait_nocancel(sem_t *se
m) NO_SYSCALL_STUB; } | |
479 SYS_AIO_SUSPEND_NOCANCEL = 421 // { int aio_suspend_nocancel(user_a
ddr_t aiocblist, int nent, user_addr_t timeoutp) NO_SYSCALL_STUB; } | |
480 SYS___SIGWAIT_NOCANCEL = 422 // { int __sigwait_nocancel(user_add
r_t set, user_addr_t sig) NO_SYSCALL_STUB; } | |
481 SYS___SEMWAIT_SIGNAL_NOCANCEL = 423 // { int __semwait_signal_nocancel(i
nt cond_sem, int mutex_sem, int timeout, int relative, time_t tv_sec, int32_t tv
_nsec) NO_SYSCALL_STUB; } | |
482 SYS___MAC_MOUNT = 424 // { int __mac_mount(char *type, cha
r *path, int flags, caddr_t data, struct mac *mac_p); } | |
483 SYS___MAC_GET_MOUNT = 425 // { int __mac_get_mount(char *path,
struct mac *mac_p); } | |
484 SYS___MAC_GETFSSTAT = 426 // { int __mac_getfsstat(user_addr_t
buf, int bufsize, user_addr_t mac, int macsize, int flags); } | |
485 ) | 355 ) |
OLD | NEW |