1 module syscalld.os.osx_x86_64;
2 
3 // Automatically generated by util/gensyscall.d
4 //  kernel version: 13.4.0
5 version(OSX):
6 
7 enum SYSCALL = 0;
8 enum EXIT = 1;
9 enum FORK = 2;
10 enum READ = 3;
11 enum WRITE = 4;
12 enum OPEN = 5;
13 enum CLOSE = 6;
14 enum WAIT4 = 7;
15 enum LINK = 9;
16 enum UNLINK = 10;
17 enum CHDIR = 12;
18 enum FCHDIR = 13;
19 enum MKNOD = 14;
20 enum CHMOD = 15;
21 enum CHOWN = 16;
22 enum GETFSSTAT = 18;
23 enum GETPID = 20;
24 enum SETUID = 23;
25 enum GETUID = 24;
26 enum GETEUID = 25;
27 enum PTRACE = 26;
28 enum RECVMSG = 27;
29 enum SENDMSG = 28;
30 enum RECVFROM = 29;
31 enum ACCEPT = 30;
32 enum GETPEERNAME = 31;
33 enum GETSOCKNAME = 32;
34 enum ACCESS = 33;
35 enum CHFLAGS = 34;
36 enum FCHFLAGS = 35;
37 enum SYNC = 36;
38 enum KILL = 37;
39 enum GETPPID = 39;
40 enum DUP = 41;
41 enum PIPE = 42;
42 enum GETEGID = 43;
43 enum SIGACTION = 46;
44 enum GETGID = 47;
45 enum SIGPROCMASK = 48;
46 enum GETLOGIN = 49;
47 enum SETLOGIN = 50;
48 enum ACCT = 51;
49 enum SIGPENDING = 52;
50 enum SIGALTSTACK = 53;
51 enum IOCTL = 54;
52 enum REBOOT = 55;
53 enum REVOKE = 56;
54 enum SYMLINK = 57;
55 enum READLINK = 58;
56 enum EXECVE = 59;
57 enum UMASK = 60;
58 enum CHROOT = 61;
59 enum MSYNC = 65;
60 enum VFORK = 66;
61 enum MUNMAP = 73;
62 enum MPROTECT = 74;
63 enum MADVISE = 75;
64 enum MINCORE = 78;
65 enum GETGROUPS = 79;
66 enum SETGROUPS = 80;
67 enum GETPGRP = 81;
68 enum SETPGID = 82;
69 enum SETITIMER = 83;
70 enum SWAPON = 85;
71 enum GETITIMER = 86;
72 enum GETDTABLESIZE = 89;
73 enum DUP2 = 90;
74 enum FCNTL = 92;
75 enum SELECT = 93;
76 enum FSYNC = 95;
77 enum SETPRIORITY = 96;
78 enum SOCKET = 97;
79 enum CONNECT = 98;
80 enum GETPRIORITY = 100;
81 enum BIND = 104;
82 enum SETSOCKOPT = 105;
83 enum LISTEN = 106;
84 enum SIGSUSPEND = 111;
85 enum GETTIMEOFDAY = 116;
86 enum GETRUSAGE = 117;
87 enum GETSOCKOPT = 118;
88 enum READV = 120;
89 enum WRITEV = 121;
90 enum SETTIMEOFDAY = 122;
91 enum FCHOWN = 123;
92 enum FCHMOD = 124;
93 enum SETREUID = 126;
94 enum SETREGID = 127;
95 enum RENAME = 128;
96 enum FLOCK = 131;
97 enum MKFIFO = 132;
98 enum SENDTO = 133;
99 enum SHUTDOWN = 134;
100 enum SOCKETPAIR = 135;
101 enum MKDIR = 136;
102 enum RMDIR = 137;
103 enum UTIMES = 138;
104 enum FUTIMES = 139;
105 enum ADJTIME = 140;
106 enum GETHOSTUUID = 142;
107 enum SETSID = 147;
108 enum GETPGID = 151;
109 enum SETPRIVEXEC = 152;
110 enum PREAD = 153;
111 enum PWRITE = 154;
112 enum NFSSVC = 155;
113 enum STATFS = 157;
114 enum FSTATFS = 158;
115 enum UNMOUNT = 159;
116 enum GETFH = 161;
117 enum QUOTACTL = 165;
118 enum MOUNT = 167;
119 enum CSOPS = 169;
120 enum CSOPS_AUDITTOKEN = 170;
121 enum WAITID = 173;
122 enum KDEBUG_TRACE = 180;
123 enum SETGID = 181;
124 enum SETEGID = 182;
125 enum SETEUID = 183;
126 enum SIGRETURN = 184;
127 enum CHUD = 185;
128 enum FDATASYNC = 187;
129 enum STAT = 188;
130 enum FSTAT = 189;
131 enum LSTAT = 190;
132 enum PATHCONF = 191;
133 enum FPATHCONF = 192;
134 enum GETRLIMIT = 194;
135 enum SETRLIMIT = 195;
136 enum GETDIRENTRIES = 196;
137 enum MMAP = 197;
138 enum LSEEK = 199;
139 enum TRUNCATE = 200;
140 enum FTRUNCATE = 201;
141 enum __SYSCTL = 202;
142 enum MLOCK = 203;
143 enum MUNLOCK = 204;
144 enum UNDELETE = 205;
145 enum OPEN_DPROTECTED_NP = 216;
146 enum GETATTRLIST = 220;
147 enum SETATTRLIST = 221;
148 enum GETDIRENTRIESATTR = 222;
149 enum EXCHANGEDATA = 223;
150 enum SEARCHFS = 225;
151 enum DELETE = 226;
152 enum COPYFILE = 227;
153 enum FGETATTRLIST = 228;
154 enum FSETATTRLIST = 229;
155 enum POLL = 230;
156 enum WATCHEVENT = 231;
157 enum WAITEVENT = 232;
158 enum MODWATCH = 233;
159 enum GETXATTR = 234;
160 enum FGETXATTR = 235;
161 enum SETXATTR = 236;
162 enum FSETXATTR = 237;
163 enum REMOVEXATTR = 238;
164 enum FREMOVEXATTR = 239;
165 enum LISTXATTR = 240;
166 enum FLISTXATTR = 241;
167 enum FSCTL = 242;
168 enum INITGROUPS = 243;
169 enum POSIX_SPAWN = 244;
170 enum FFSCTL = 245;
171 enum NFSCLNT = 247;
172 enum FHOPEN = 248;
173 enum MINHERIT = 250;
174 enum SEMSYS = 251;
175 enum MSGSYS = 252;
176 enum SHMSYS = 253;
177 enum SEMCTL = 254;
178 enum SEMGET = 255;
179 enum SEMOP = 256;
180 enum MSGCTL = 258;
181 enum MSGGET = 259;
182 enum MSGSND = 260;
183 enum MSGRCV = 261;
184 enum SHMAT = 262;
185 enum SHMCTL = 263;
186 enum SHMDT = 264;
187 enum SHMGET = 265;
188 enum SHM_OPEN = 266;
189 enum SHM_UNLINK = 267;
190 enum SEM_OPEN = 268;
191 enum SEM_CLOSE = 269;
192 enum SEM_UNLINK = 270;
193 enum SEM_WAIT = 271;
194 enum SEM_TRYWAIT = 272;
195 enum SEM_POST = 273;
196 enum SEM_GETVALUE = 274;
197 enum SEM_INIT = 275;
198 enum SEM_DESTROY = 276;
199 enum OPEN_EXTENDED = 277;
200 enum UMASK_EXTENDED = 278;
201 enum STAT_EXTENDED = 279;
202 enum LSTAT_EXTENDED = 280;
203 enum FSTAT_EXTENDED = 281;
204 enum CHMOD_EXTENDED = 282;
205 enum FCHMOD_EXTENDED = 283;
206 enum ACCESS_EXTENDED = 284;
207 enum SETTID = 285;
208 enum GETTID = 286;
209 enum SETSGROUPS = 287;
210 enum GETSGROUPS = 288;
211 enum SETWGROUPS = 289;
212 enum GETWGROUPS = 290;
213 enum MKFIFO_EXTENDED = 291;
214 enum MKDIR_EXTENDED = 292;
215 enum IDENTITYSVC = 293;
216 enum SHARED_REGION_CHECK_NP = 294;
217 enum VM_PRESSURE_MONITOR = 296;
218 enum PSYNCH_RW_LONGRDLOCK = 297;
219 enum PSYNCH_RW_YIELDWRLOCK = 298;
220 enum PSYNCH_RW_DOWNGRADE = 299;
221 enum PSYNCH_RW_UPGRADE = 300;
222 enum PSYNCH_MUTEXWAIT = 301;
223 enum PSYNCH_MUTEXDROP = 302;
224 enum PSYNCH_CVBROAD = 303;
225 enum PSYNCH_CVSIGNAL = 304;
226 enum PSYNCH_CVWAIT = 305;
227 enum PSYNCH_RW_RDLOCK = 306;
228 enum PSYNCH_RW_WRLOCK = 307;
229 enum PSYNCH_RW_UNLOCK = 308;
230 enum PSYNCH_RW_UNLOCK2 = 309;
231 enum GETSID = 310;
232 enum SETTID_WITH_PID = 311;
233 enum PSYNCH_CVCLRPREPOST = 312;
234 enum AIO_FSYNC = 313;
235 enum AIO_RETURN = 314;
236 enum AIO_SUSPEND = 315;
237 enum AIO_CANCEL = 316;
238 enum AIO_ERROR = 317;
239 enum AIO_READ = 318;
240 enum AIO_WRITE = 319;
241 enum LIO_LISTIO = 320;
242 enum IOPOLICYSYS = 322;
243 enum PROCESS_POLICY = 323;
244 enum MLOCKALL = 324;
245 enum MUNLOCKALL = 325;
246 enum ISSETUGID = 327;
247 enum __PTHREAD_KILL = 328;
248 enum __PTHREAD_SIGMASK = 329;
249 enum __SIGWAIT = 330;
250 enum __DISABLE_THREADSIGNAL = 331;
251 enum __PTHREAD_MARKCANCEL = 332;
252 enum __PTHREAD_CANCELED = 333;
253 enum __SEMWAIT_SIGNAL = 334;
254 enum PROC_INFO = 336;
255 enum SENDFILE = 337;
256 enum STAT64 = 338;
257 enum FSTAT64 = 339;
258 enum LSTAT64 = 340;
259 enum STAT64_EXTENDED = 341;
260 enum LSTAT64_EXTENDED = 342;
261 enum FSTAT64_EXTENDED = 343;
262 enum GETDIRENTRIES64 = 344;
263 enum STATFS64 = 345;
264 enum FSTATFS64 = 346;
265 enum GETFSSTAT64 = 347;
266 enum __PTHREAD_CHDIR = 348;
267 enum __PTHREAD_FCHDIR = 349;
268 enum AUDIT = 350;
269 enum AUDITON = 351;
270 enum GETAUID = 353;
271 enum SETAUID = 354;
272 enum GETAUDIT_ADDR = 357;
273 enum SETAUDIT_ADDR = 358;
274 enum AUDITCTL = 359;
275 enum BSDTHREAD_CREATE = 360;
276 enum BSDTHREAD_TERMINATE = 361;
277 enum KQUEUE = 362;
278 enum KEVENT = 363;
279 enum LCHOWN = 364;
280 enum STACK_SNAPSHOT = 365;
281 enum BSDTHREAD_REGISTER = 366;
282 enum WORKQ_OPEN = 367;
283 enum WORKQ_KERNRETURN = 368;
284 enum KEVENT64 = 369;
285 enum __OLD_SEMWAIT_SIGNAL = 370;
286 enum __OLD_SEMWAIT_SIGNAL_NOCANCEL = 371;
287 enum THREAD_SELFID = 372;
288 enum LEDGER = 373;
289 enum __MAC_EXECVE = 380;
290 enum __MAC_SYSCALL = 381;
291 enum __MAC_GET_FILE = 382;
292 enum __MAC_SET_FILE = 383;
293 enum __MAC_GET_LINK = 384;
294 enum __MAC_SET_LINK = 385;
295 enum __MAC_GET_PROC = 386;
296 enum __MAC_SET_PROC = 387;
297 enum __MAC_GET_FD = 388;
298 enum __MAC_SET_FD = 389;
299 enum __MAC_GET_PID = 390;
300 enum __MAC_GET_LCID = 391;
301 enum __MAC_GET_LCTX = 392;
302 enum __MAC_SET_LCTX = 393;
303 enum SETLCID = 394;
304 enum GETLCID = 395;
305 enum READ_NOCANCEL = 396;
306 enum WRITE_NOCANCEL = 397;
307 enum OPEN_NOCANCEL = 398;
308 enum CLOSE_NOCANCEL = 399;
309 enum WAIT4_NOCANCEL = 400;
310 enum RECVMSG_NOCANCEL = 401;
311 enum SENDMSG_NOCANCEL = 402;
312 enum RECVFROM_NOCANCEL = 403;
313 enum ACCEPT_NOCANCEL = 404;
314 enum MSYNC_NOCANCEL = 405;
315 enum FCNTL_NOCANCEL = 406;
316 enum SELECT_NOCANCEL = 407;
317 enum FSYNC_NOCANCEL = 408;
318 enum CONNECT_NOCANCEL = 409;
319 enum SIGSUSPEND_NOCANCEL = 410;
320 enum READV_NOCANCEL = 411;
321 enum WRITEV_NOCANCEL = 412;
322 enum SENDTO_NOCANCEL = 413;
323 enum PREAD_NOCANCEL = 414;
324 enum PWRITE_NOCANCEL = 415;
325 enum WAITID_NOCANCEL = 416;
326 enum POLL_NOCANCEL = 417;
327 enum MSGSND_NOCANCEL = 418;
328 enum MSGRCV_NOCANCEL = 419;
329 enum SEM_WAIT_NOCANCEL = 420;
330 enum AIO_SUSPEND_NOCANCEL = 421;
331 enum __SIGWAIT_NOCANCEL = 422;
332 enum __SEMWAIT_SIGNAL_NOCANCEL = 423;
333 enum __MAC_MOUNT = 424;
334 enum __MAC_GET_MOUNT = 425;
335 enum __MAC_GETFSSTAT = 426;
336 enum FSGETPATH = 427;
337 enum AUDIT_SESSION_SELF = 428;
338 enum AUDIT_SESSION_JOIN = 429;
339 enum FILEPORT_MAKEPORT = 430;
340 enum FILEPORT_MAKEFD = 431;
341 enum AUDIT_SESSION_PORT = 432;
342 enum PID_SUSPEND = 433;
343 enum PID_RESUME = 434;
344 enum SHARED_REGION_MAP_AND_SLIDE_NP = 438;
345 enum KAS_INFO = 439;
346 enum MEMORYSTATUS_CONTROL = 440;
347 enum GUARDED_OPEN_NP = 441;
348 enum GUARDED_CLOSE_NP = 442;
349 enum GUARDED_KQUEUE_NP = 443;
350 enum CHANGE_FDGUARD_NP = 444;
351 enum PROC_RLIMIT_CONTROL = 446;
352 enum CONNECTX = 447;
353 enum DISCONNECTX = 448;
354 enum PEELOFF = 449;
355 enum SOCKET_DELEGATE = 450;
356 enum TELEMETRY = 451;
357 enum PROC_UUID_POLICY = 452;
358 enum MEMORYSTATUS_GET_LEVEL = 453;
359 enum SYSTEM_OVERRIDE = 454;
360 enum VFS_PURGE = 455;
361 enum MAXSYSCALL = 456;