1 module syscalld.os.freebsd_x86_64; 2 3 // Automatically generated by util/gensyscall.d 4 // kernel version: 11.0-RELEASE-p2 5 version(FreeBSD): 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 BREAK = 17; 23 enum GETPID = 20; 24 enum MOUNT = 21; 25 enum UNMOUNT = 22; 26 enum SETUID = 23; 27 enum GETUID = 24; 28 enum GETEUID = 25; 29 enum PTRACE = 26; 30 enum RECVMSG = 27; 31 enum SENDMSG = 28; 32 enum RECVFROM = 29; 33 enum ACCEPT = 30; 34 enum GETPEERNAME = 31; 35 enum GETSOCKNAME = 32; 36 enum ACCESS = 33; 37 enum CHFLAGS = 34; 38 enum FCHFLAGS = 35; 39 enum SYNC = 36; 40 enum KILL = 37; 41 enum GETPPID = 39; 42 enum DUP = 41; 43 enum FREEBSD10_PIPE = 42; 44 enum GETEGID = 43; 45 enum PROFIL = 44; 46 enum KTRACE = 45; 47 enum GETGID = 47; 48 enum GETLOGIN = 49; 49 enum SETLOGIN = 50; 50 enum ACCT = 51; 51 enum SIGALTSTACK = 53; 52 enum IOCTL = 54; 53 enum REBOOT = 55; 54 enum REVOKE = 56; 55 enum SYMLINK = 57; 56 enum READLINK = 58; 57 enum EXECVE = 59; 58 enum UMASK = 60; 59 enum CHROOT = 61; 60 enum MSYNC = 65; 61 enum VFORK = 66; 62 enum SBRK = 69; 63 enum SSTK = 70; 64 enum VADVISE = 72; 65 enum MUNMAP = 73; 66 enum MPROTECT = 74; 67 enum MADVISE = 75; 68 enum MINCORE = 78; 69 enum GETGROUPS = 79; 70 enum SETGROUPS = 80; 71 enum GETPGRP = 81; 72 enum SETPGID = 82; 73 enum SETITIMER = 83; 74 enum SWAPON = 85; 75 enum GETITIMER = 86; 76 enum GETDTABLESIZE = 89; 77 enum DUP2 = 90; 78 enum FCNTL = 92; 79 enum SELECT = 93; 80 enum FSYNC = 95; 81 enum SETPRIORITY = 96; 82 enum SOCKET = 97; 83 enum CONNECT = 98; 84 enum GETPRIORITY = 100; 85 enum BIND = 104; 86 enum SETSOCKOPT = 105; 87 enum LISTEN = 106; 88 enum GETTIMEOFDAY = 116; 89 enum GETRUSAGE = 117; 90 enum GETSOCKOPT = 118; 91 enum READV = 120; 92 enum WRITEV = 121; 93 enum SETTIMEOFDAY = 122; 94 enum FCHOWN = 123; 95 enum FCHMOD = 124; 96 enum SETREUID = 126; 97 enum SETREGID = 127; 98 enum RENAME = 128; 99 enum FLOCK = 131; 100 enum MKFIFO = 132; 101 enum SENDTO = 133; 102 enum SHUTDOWN = 134; 103 enum SOCKETPAIR = 135; 104 enum MKDIR = 136; 105 enum RMDIR = 137; 106 enum UTIMES = 138; 107 enum ADJTIME = 140; 108 enum SETSID = 147; 109 enum QUOTACTL = 148; 110 enum NLM_SYSCALL = 154; 111 enum NFSSVC = 155; 112 enum LGETFH = 160; 113 enum GETFH = 161; 114 enum SYSARCH = 165; 115 enum RTPRIO = 166; 116 enum SEMSYS = 169; 117 enum MSGSYS = 170; 118 enum SHMSYS = 171; 119 enum SETFIB = 175; 120 enum NTP_ADJTIME = 176; 121 enum SETGID = 181; 122 enum SETEGID = 182; 123 enum SETEUID = 183; 124 enum STAT = 188; 125 enum FSTAT = 189; 126 enum LSTAT = 190; 127 enum PATHCONF = 191; 128 enum FPATHCONF = 192; 129 enum GETRLIMIT = 194; 130 enum SETRLIMIT = 195; 131 enum GETDIRENTRIES = 196; 132 enum __SYSCALL = 198; 133 enum __SYSCTL = 202; 134 enum MLOCK = 203; 135 enum MUNLOCK = 204; 136 enum UNDELETE = 205; 137 enum FUTIMES = 206; 138 enum GETPGID = 207; 139 enum POLL = 209; 140 enum FREEBSD7___SEMCTL = 220; 141 enum SEMGET = 221; 142 enum SEMOP = 222; 143 enum FREEBSD7_MSGCTL = 224; 144 enum MSGGET = 225; 145 enum MSGSND = 226; 146 enum MSGRCV = 227; 147 enum SHMAT = 228; 148 enum FREEBSD7_SHMCTL = 229; 149 enum SHMDT = 230; 150 enum SHMGET = 231; 151 enum CLOCK_GETTIME = 232; 152 enum CLOCK_SETTIME = 233; 153 enum CLOCK_GETRES = 234; 154 enum KTIMER_CREATE = 235; 155 enum KTIMER_DELETE = 236; 156 enum KTIMER_SETTIME = 237; 157 enum KTIMER_GETTIME = 238; 158 enum KTIMER_GETOVERRUN = 239; 159 enum NANOSLEEP = 240; 160 enum FFCLOCK_GETCOUNTER = 241; 161 enum FFCLOCK_SETESTIMATE = 242; 162 enum FFCLOCK_GETESTIMATE = 243; 163 enum CLOCK_GETCPUCLOCKID2 = 247; 164 enum NTP_GETTIME = 248; 165 enum MINHERIT = 250; 166 enum RFORK = 251; 167 enum OPENBSD_POLL = 252; 168 enum ISSETUGID = 253; 169 enum LCHOWN = 254; 170 enum AIO_READ = 255; 171 enum AIO_WRITE = 256; 172 enum LIO_LISTIO = 257; 173 enum GETDENTS = 272; 174 enum LCHMOD = 274; 175 enum NETBSD_LCHOWN = 275; 176 enum LUTIMES = 276; 177 enum NETBSD_MSYNC = 277; 178 enum NSTAT = 278; 179 enum NFSTAT = 279; 180 enum NLSTAT = 280; 181 enum PREADV = 289; 182 enum PWRITEV = 290; 183 enum FHOPEN = 298; 184 enum FHSTAT = 299; 185 enum MODNEXT = 300; 186 enum MODSTAT = 301; 187 enum MODFNEXT = 302; 188 enum MODFIND = 303; 189 enum KLDLOAD = 304; 190 enum KLDUNLOAD = 305; 191 enum KLDFIND = 306; 192 enum KLDNEXT = 307; 193 enum KLDSTAT = 308; 194 enum KLDFIRSTMOD = 309; 195 enum GETSID = 310; 196 enum SETRESUID = 311; 197 enum SETRESGID = 312; 198 enum AIO_RETURN = 314; 199 enum AIO_SUSPEND = 315; 200 enum AIO_CANCEL = 316; 201 enum AIO_ERROR = 317; 202 enum YIELD = 321; 203 enum MLOCKALL = 324; 204 enum MUNLOCKALL = 325; 205 enum __GETCWD = 326; 206 enum SCHED_SETPARAM = 327; 207 enum SCHED_GETPARAM = 328; 208 enum SCHED_SETSCHEDULER = 329; 209 enum SCHED_GETSCHEDULER = 330; 210 enum SCHED_YIELD = 331; 211 enum SCHED_GET_PRIORITY_MAX = 332; 212 enum SCHED_GET_PRIORITY_MIN = 333; 213 enum SCHED_RR_GET_INTERVAL = 334; 214 enum UTRACE = 335; 215 enum KLDSYM = 337; 216 enum JAIL = 338; 217 enum NNPFS_SYSCALL = 339; 218 enum SIGPROCMASK = 340; 219 enum SIGSUSPEND = 341; 220 enum SIGPENDING = 343; 221 enum SIGTIMEDWAIT = 345; 222 enum SIGWAITINFO = 346; 223 enum __ACL_GET_FILE = 347; 224 enum __ACL_SET_FILE = 348; 225 enum __ACL_GET_FD = 349; 226 enum __ACL_SET_FD = 350; 227 enum __ACL_DELETE_FILE = 351; 228 enum __ACL_DELETE_FD = 352; 229 enum __ACL_ACLCHECK_FILE = 353; 230 enum __ACL_ACLCHECK_FD = 354; 231 enum EXTATTRCTL = 355; 232 enum EXTATTR_SET_FILE = 356; 233 enum EXTATTR_GET_FILE = 357; 234 enum EXTATTR_DELETE_FILE = 358; 235 enum AIO_WAITCOMPLETE = 359; 236 enum GETRESUID = 360; 237 enum GETRESGID = 361; 238 enum KQUEUE = 362; 239 enum KEVENT = 363; 240 enum EXTATTR_SET_FD = 371; 241 enum EXTATTR_GET_FD = 372; 242 enum EXTATTR_DELETE_FD = 373; 243 enum __SETUGID = 374; 244 enum EACCESS = 376; 245 enum AFS3_SYSCALL = 377; 246 enum NMOUNT = 378; 247 enum __MAC_GET_PROC = 384; 248 enum __MAC_SET_PROC = 385; 249 enum __MAC_GET_FD = 386; 250 enum __MAC_GET_FILE = 387; 251 enum __MAC_SET_FD = 388; 252 enum __MAC_SET_FILE = 389; 253 enum KENV = 390; 254 enum LCHFLAGS = 391; 255 enum UUIDGEN = 392; 256 enum SENDFILE = 393; 257 enum MAC_SYSCALL = 394; 258 enum GETFSSTAT = 395; 259 enum STATFS = 396; 260 enum FSTATFS = 397; 261 enum FHSTATFS = 398; 262 enum KSEM_CLOSE = 400; 263 enum KSEM_POST = 401; 264 enum KSEM_WAIT = 402; 265 enum KSEM_TRYWAIT = 403; 266 enum KSEM_INIT = 404; 267 enum KSEM_OPEN = 405; 268 enum KSEM_UNLINK = 406; 269 enum KSEM_GETVALUE = 407; 270 enum KSEM_DESTROY = 408; 271 enum __MAC_GET_PID = 409; 272 enum __MAC_GET_LINK = 410; 273 enum __MAC_SET_LINK = 411; 274 enum EXTATTR_SET_LINK = 412; 275 enum EXTATTR_GET_LINK = 413; 276 enum EXTATTR_DELETE_LINK = 414; 277 enum __MAC_EXECVE = 415; 278 enum SIGACTION = 416; 279 enum SIGRETURN = 417; 280 enum GETCONTEXT = 421; 281 enum SETCONTEXT = 422; 282 enum SWAPCONTEXT = 423; 283 enum SWAPOFF = 424; 284 enum __ACL_GET_LINK = 425; 285 enum __ACL_SET_LINK = 426; 286 enum __ACL_DELETE_LINK = 427; 287 enum __ACL_ACLCHECK_LINK = 428; 288 enum SIGWAIT = 429; 289 enum THR_CREATE = 430; 290 enum THR_EXIT = 431; 291 enum THR_SELF = 432; 292 enum THR_KILL = 433; 293 enum JAIL_ATTACH = 436; 294 enum EXTATTR_LIST_FD = 437; 295 enum EXTATTR_LIST_FILE = 438; 296 enum EXTATTR_LIST_LINK = 439; 297 enum KSEM_TIMEDWAIT = 441; 298 enum THR_SUSPEND = 442; 299 enum THR_WAKE = 443; 300 enum KLDUNLOADF = 444; 301 enum AUDIT = 445; 302 enum AUDITON = 446; 303 enum GETAUID = 447; 304 enum SETAUID = 448; 305 enum GETAUDIT = 449; 306 enum SETAUDIT = 450; 307 enum GETAUDIT_ADDR = 451; 308 enum SETAUDIT_ADDR = 452; 309 enum AUDITCTL = 453; 310 enum _UMTX_OP = 454; 311 enum THR_NEW = 455; 312 enum SIGQUEUE = 456; 313 enum KMQ_OPEN = 457; 314 enum KMQ_SETATTR = 458; 315 enum KMQ_TIMEDRECEIVE = 459; 316 enum KMQ_TIMEDSEND = 460; 317 enum KMQ_NOTIFY = 461; 318 enum KMQ_UNLINK = 462; 319 enum ABORT2 = 463; 320 enum THR_SET_NAME = 464; 321 enum AIO_FSYNC = 465; 322 enum RTPRIO_THREAD = 466; 323 enum SCTP_PEELOFF = 471; 324 enum SCTP_GENERIC_SENDMSG = 472; 325 enum SCTP_GENERIC_SENDMSG_IOV = 473; 326 enum SCTP_GENERIC_RECVMSG = 474; 327 enum PREAD = 475; 328 enum PWRITE = 476; 329 enum MMAP = 477; 330 enum LSEEK = 478; 331 enum TRUNCATE = 479; 332 enum FTRUNCATE = 480; 333 enum THR_KILL2 = 481; 334 enum SHM_OPEN = 482; 335 enum SHM_UNLINK = 483; 336 enum CPUSET = 484; 337 enum CPUSET_SETID = 485; 338 enum CPUSET_GETID = 486; 339 enum CPUSET_GETAFFINITY = 487; 340 enum CPUSET_SETAFFINITY = 488; 341 enum FACCESSAT = 489; 342 enum FCHMODAT = 490; 343 enum FCHOWNAT = 491; 344 enum FEXECVE = 492; 345 enum FSTATAT = 493; 346 enum FUTIMESAT = 494; 347 enum LINKAT = 495; 348 enum MKDIRAT = 496; 349 enum MKFIFOAT = 497; 350 enum MKNODAT = 498; 351 enum OPENAT = 499; 352 enum READLINKAT = 500; 353 enum RENAMEAT = 501; 354 enum SYMLINKAT = 502; 355 enum UNLINKAT = 503; 356 enum POSIX_OPENPT = 504; 357 enum GSSD_SYSCALL = 505; 358 enum JAIL_GET = 506; 359 enum JAIL_SET = 507; 360 enum JAIL_REMOVE = 508; 361 enum CLOSEFROM = 509; 362 enum __SEMCTL = 510; 363 enum MSGCTL = 511; 364 enum SHMCTL = 512; 365 enum LPATHCONF = 513; 366 enum __CAP_RIGHTS_GET = 515; 367 enum CAP_ENTER = 516; 368 enum CAP_GETMODE = 517; 369 enum PDFORK = 518; 370 enum PDKILL = 519; 371 enum PDGETPID = 520; 372 enum PSELECT = 522; 373 enum GETLOGINCLASS = 523; 374 enum SETLOGINCLASS = 524; 375 enum RCTL_GET_RACCT = 525; 376 enum RCTL_GET_RULES = 526; 377 enum RCTL_GET_LIMITS = 527; 378 enum RCTL_ADD_RULE = 528; 379 enum RCTL_REMOVE_RULE = 529; 380 enum POSIX_FALLOCATE = 530; 381 enum POSIX_FADVISE = 531; 382 enum WAIT6 = 532; 383 enum CAP_RIGHTS_LIMIT = 533; 384 enum CAP_IOCTLS_LIMIT = 534; 385 enum CAP_IOCTLS_GET = 535; 386 enum CAP_FCNTLS_LIMIT = 536; 387 enum CAP_FCNTLS_GET = 537; 388 enum BINDAT = 538; 389 enum CONNECTAT = 539; 390 enum CHFLAGSAT = 540; 391 enum ACCEPT4 = 541; 392 enum PIPE2 = 542; 393 enum AIO_MLOCK = 543; 394 enum PROCCTL = 544; 395 enum PPOLL = 545; 396 enum FUTIMENS = 546; 397 enum UTIMENSAT = 547; 398 enum NUMA_GETAFFINITY = 548; 399 enum NUMA_SETAFFINITY = 549; 400 enum MAXSYSCALL = 550;