github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/syscall/zsysnum_freebsd_amd64.go (about) 1 // mksysnum_freebsd.pl 2 // Code generated by the command above; DO NOT EDIT. 3 4 //go:build amd64 && freebsd 5 6 package syscall 7 8 const ( 9 // SYS_NOSYS = 0; // { int nosys(void); } syscall nosys_args int 10 SYS_EXIT = 1 11 SYS_FORK = 2 12 SYS_READ = 3 13 SYS_WRITE = 4 14 SYS_OPEN = 5 15 SYS_CLOSE = 6 16 SYS_WAIT4 = 7 17 SYS_LINK = 9 18 SYS_UNLINK = 10 19 SYS_CHDIR = 12 20 SYS_FCHDIR = 13 21 SYS_MKNOD = 14 22 SYS_CHMOD = 15 23 SYS_CHOWN = 16 24 SYS_OBREAK = 17 25 SYS_GETPID = 20 26 SYS_MOUNT = 21 27 SYS_UNMOUNT = 22 28 SYS_SETUID = 23 29 SYS_GETUID = 24 30 SYS_GETEUID = 25 31 SYS_PTRACE = 26 32 SYS_RECVMSG = 27 33 SYS_SENDMSG = 28 34 SYS_RECVFROM = 29 35 SYS_ACCEPT = 30 36 SYS_GETPEERNAME = 31 37 SYS_GETSOCKNAME = 32 38 SYS_ACCESS = 33 39 SYS_CHFLAGS = 34 40 SYS_FCHFLAGS = 35 41 SYS_SYNC = 36 42 SYS_KILL = 37 43 SYS_GETPPID = 39 44 SYS_DUP = 41 45 SYS_PIPE = 42 46 SYS_GETEGID = 43 47 SYS_PROFIL = 44 48 SYS_KTRACE = 45 49 SYS_GETGID = 47 50 SYS_GETLOGIN = 49 51 SYS_SETLOGIN = 50 52 SYS_ACCT = 51 53 SYS_SIGALTSTACK = 53 54 SYS_IOCTL = 54 55 SYS_REBOOT = 55 56 SYS_REVOKE = 56 57 SYS_SYMLINK = 57 58 SYS_READLINK = 58 59 SYS_EXECVE = 59 60 SYS_UMASK = 60 61 SYS_CHROOT = 61 62 SYS_MSYNC = 65 63 SYS_VFORK = 66 64 SYS_SBRK = 69 65 SYS_SSTK = 70 66 SYS_OVADVISE = 72 67 SYS_MUNMAP = 73 68 SYS_MPROTECT = 74 69 SYS_MADVISE = 75 70 SYS_MINCORE = 78 71 SYS_GETGROUPS = 79 72 SYS_SETGROUPS = 80 73 SYS_GETPGRP = 81 74 SYS_SETPGID = 82 75 SYS_SETITIMER = 83 76 SYS_SWAPON = 85 77 SYS_GETITIMER = 86 78 SYS_GETDTABLESIZE = 89 79 SYS_DUP2 = 90 80 SYS_FCNTL = 92 81 SYS_SELECT = 93 82 SYS_FSYNC = 95 83 SYS_SETPRIORITY = 96 84 SYS_SOCKET = 97 85 SYS_CONNECT = 98 86 SYS_GETPRIORITY = 100 87 SYS_BIND = 104 88 SYS_SETSOCKOPT = 105 89 SYS_LISTEN = 106 90 SYS_GETTIMEOFDAY = 116 91 SYS_GETRUSAGE = 117 92 SYS_GETSOCKOPT = 118 93 SYS_READV = 120 94 SYS_WRITEV = 121 95 SYS_SETTIMEOFDAY = 122 96 SYS_FCHOWN = 123 97 SYS_FCHMOD = 124 98 SYS_SETREUID = 126 99 SYS_SETREGID = 127 100 SYS_RENAME = 128 101 SYS_FLOCK = 131 102 SYS_MKFIFO = 132 103 SYS_SENDTO = 133 104 SYS_SHUTDOWN = 134 105 SYS_SOCKETPAIR = 135 106 SYS_MKDIR = 136 107 SYS_RMDIR = 137 108 SYS_UTIMES = 138 109 SYS_ADJTIME = 140 110 SYS_SETSID = 147 111 SYS_QUOTACTL = 148 112 SYS_LGETFH = 160 113 SYS_GETFH = 161 114 SYS_SYSARCH = 165 115 SYS_RTPRIO = 166 116 SYS_FREEBSD6_PREAD = 173 117 SYS_FREEBSD6_PWRITE = 174 118 SYS_SETFIB = 175 119 SYS_NTP_ADJTIME = 176 120 SYS_SETGID = 181 121 SYS_SETEGID = 182 122 SYS_SETEUID = 183 123 SYS_PATHCONF = 191 124 SYS_FPATHCONF = 192 125 SYS_GETRLIMIT = 194 126 SYS_SETRLIMIT = 195 127 SYS_FREEBSD6_MMAP = 197 128 SYS_FREEBSD6_LSEEK = 199 129 SYS_FREEBSD6_TRUNCATE = 200 130 SYS_FREEBSD6_FTRUNCATE = 201 131 SYS___SYSCTL = 202 132 SYS_MLOCK = 203 133 SYS_MUNLOCK = 204 134 SYS_UNDELETE = 205 135 SYS_FUTIMES = 206 136 SYS_GETPGID = 207 137 SYS_POLL = 209 138 SYS_CLOCK_GETTIME = 232 139 SYS_CLOCK_SETTIME = 233 140 SYS_CLOCK_GETRES = 234 141 SYS_KTIMER_CREATE = 235 142 SYS_KTIMER_DELETE = 236 143 SYS_KTIMER_SETTIME = 237 144 SYS_KTIMER_GETTIME = 238 145 SYS_KTIMER_GETOVERRUN = 239 146 SYS_NANOSLEEP = 240 147 SYS_FFCLOCK_GETCOUNTER = 241 148 SYS_FFCLOCK_SETESTIMATE = 242 149 SYS_FFCLOCK_GETESTIMATE = 243 150 SYS_CLOCK_GETCPUCLOCKID2 = 247 151 SYS_NTP_GETTIME = 248 152 SYS_MINHERIT = 250 153 SYS_RFORK = 251 154 SYS_OPENBSD_POLL = 252 155 SYS_ISSETUGID = 253 156 SYS_LCHOWN = 254 157 SYS_GETDENTS = 272 158 SYS_LCHMOD = 274 159 SYS_LUTIMES = 276 160 SYS_NSTAT = 278 161 SYS_NFSTAT = 279 162 SYS_NLSTAT = 280 163 SYS_PREADV = 289 164 SYS_PWRITEV = 290 165 SYS_FHOPEN = 298 166 SYS_FHSTAT = 299 167 SYS_MODNEXT = 300 168 SYS_MODSTAT = 301 169 SYS_MODFNEXT = 302 170 SYS_MODFIND = 303 171 SYS_KLDLOAD = 304 172 SYS_KLDUNLOAD = 305 173 SYS_KLDFIND = 306 174 SYS_KLDNEXT = 307 175 SYS_KLDSTAT = 308 176 SYS_KLDFIRSTMOD = 309 177 SYS_GETSID = 310 178 SYS_SETRESUID = 311 179 SYS_SETRESGID = 312 180 SYS_YIELD = 321 181 SYS_MLOCKALL = 324 182 SYS_MUNLOCKALL = 325 183 SYS___GETCWD = 326 184 SYS_SCHED_SETPARAM = 327 185 SYS_SCHED_GETPARAM = 328 186 SYS_SCHED_SETSCHEDULER = 329 187 SYS_SCHED_GETSCHEDULER = 330 188 SYS_SCHED_YIELD = 331 189 SYS_SCHED_GET_PRIORITY_MAX = 332 190 SYS_SCHED_GET_PRIORITY_MIN = 333 191 SYS_SCHED_RR_GET_INTERVAL = 334 192 SYS_UTRACE = 335 193 SYS_KLDSYM = 337 194 SYS_JAIL = 338 195 SYS_SIGPROCMASK = 340 196 SYS_SIGSUSPEND = 341 197 SYS_SIGPENDING = 343 198 SYS_SIGTIMEDWAIT = 345 199 SYS_SIGWAITINFO = 346 200 SYS___ACL_GET_FILE = 347 201 SYS___ACL_SET_FILE = 348 202 SYS___ACL_GET_FD = 349 203 SYS___ACL_SET_FD = 350 204 SYS___ACL_DELETE_FILE = 351 205 SYS___ACL_DELETE_FD = 352 206 SYS___ACL_ACLCHECK_FILE = 353 207 SYS___ACL_ACLCHECK_FD = 354 208 SYS_EXTATTRCTL = 355 209 SYS_EXTATTR_SET_FILE = 356 210 SYS_EXTATTR_GET_FILE = 357 211 SYS_EXTATTR_DELETE_FILE = 358 212 SYS_GETRESUID = 360 213 SYS_GETRESGID = 361 214 SYS_KQUEUE = 362 215 SYS_KEVENT = 363 216 SYS_EXTATTR_SET_FD = 371 217 SYS_EXTATTR_GET_FD = 372 218 SYS_EXTATTR_DELETE_FD = 373 219 SYS___SETUGID = 374 220 SYS_EACCESS = 376 221 SYS_NMOUNT = 378 222 SYS___MAC_GET_PROC = 384 223 SYS___MAC_SET_PROC = 385 224 SYS___MAC_GET_FD = 386 225 SYS___MAC_GET_FILE = 387 226 SYS___MAC_SET_FD = 388 227 SYS___MAC_SET_FILE = 389 228 SYS_KENV = 390 229 SYS_LCHFLAGS = 391 230 SYS_UUIDGEN = 392 231 SYS_SENDFILE = 393 232 SYS_MAC_SYSCALL = 394 233 SYS_FHSTATFS = 398 234 SYS___MAC_GET_PID = 409 235 SYS___MAC_GET_LINK = 410 236 SYS___MAC_SET_LINK = 411 237 SYS_EXTATTR_SET_LINK = 412 238 SYS_EXTATTR_GET_LINK = 413 239 SYS_EXTATTR_DELETE_LINK = 414 240 SYS___MAC_EXECVE = 415 241 SYS_SIGACTION = 416 242 SYS_SIGRETURN = 417 243 SYS_GETCONTEXT = 421 244 SYS_SETCONTEXT = 422 245 SYS_SWAPCONTEXT = 423 246 SYS_SWAPOFF = 424 247 SYS___ACL_GET_LINK = 425 248 SYS___ACL_SET_LINK = 426 249 SYS___ACL_DELETE_LINK = 427 250 SYS___ACL_ACLCHECK_LINK = 428 251 SYS_SIGWAIT = 429 252 SYS_THR_CREATE = 430 253 SYS_THR_EXIT = 431 254 SYS_THR_SELF = 432 255 SYS_THR_KILL = 433 256 SYS__UMTX_LOCK = 434 257 SYS__UMTX_UNLOCK = 435 258 SYS_JAIL_ATTACH = 436 259 SYS_EXTATTR_LIST_FD = 437 260 SYS_EXTATTR_LIST_FILE = 438 261 SYS_EXTATTR_LIST_LINK = 439 262 SYS_THR_SUSPEND = 442 263 SYS_THR_WAKE = 443 264 SYS_KLDUNLOADF = 444 265 SYS_AUDIT = 445 266 SYS_AUDITON = 446 267 SYS_GETAUID = 447 268 SYS_SETAUID = 448 269 SYS_GETAUDIT = 449 270 SYS_SETAUDIT = 450 271 SYS_GETAUDIT_ADDR = 451 272 SYS_SETAUDIT_ADDR = 452 273 SYS_AUDITCTL = 453 274 SYS__UMTX_OP = 454 275 SYS_THR_NEW = 455 276 SYS_SIGQUEUE = 456 277 SYS_ABORT2 = 463 278 SYS_THR_SET_NAME = 464 279 SYS_RTPRIO_THREAD = 466 280 SYS_SCTP_PEELOFF = 471 281 SYS_SCTP_GENERIC_SENDMSG = 472 282 SYS_SCTP_GENERIC_SENDMSG_IOV = 473 283 SYS_SCTP_GENERIC_RECVMSG = 474 284 SYS_PREAD = 475 285 SYS_PWRITE = 476 286 SYS_MMAP = 477 287 SYS_LSEEK = 478 288 SYS_TRUNCATE = 479 289 SYS_FTRUNCATE = 480 290 SYS_THR_KILL2 = 481 291 SYS_SHM_OPEN = 482 292 SYS_SHM_UNLINK = 483 293 SYS_CPUSET = 484 294 SYS_CPUSET_SETID = 485 295 SYS_CPUSET_GETID = 486 296 SYS_CPUSET_GETAFFINITY = 487 297 SYS_CPUSET_SETAFFINITY = 488 298 SYS_FACCESSAT = 489 299 SYS_FCHMODAT = 490 300 SYS_FCHOWNAT = 491 301 SYS_FEXECVE = 492 302 SYS_FUTIMESAT = 494 303 SYS_LINKAT = 495 304 SYS_MKDIRAT = 496 305 SYS_MKFIFOAT = 497 306 SYS_OPENAT = 499 307 SYS_READLINKAT = 500 308 SYS_RENAMEAT = 501 309 SYS_SYMLINKAT = 502 310 SYS_UNLINKAT = 503 311 SYS_POSIX_OPENPT = 504 312 SYS_JAIL_GET = 506 313 SYS_JAIL_SET = 507 314 SYS_JAIL_REMOVE = 508 315 SYS_CLOSEFROM = 509 316 SYS_LPATHCONF = 513 317 SYS_CAP_NEW = 514 318 SYS_CAP_GETRIGHTS = 515 319 SYS_CAP_ENTER = 516 320 SYS_CAP_GETMODE = 517 321 SYS_PDFORK = 518 322 SYS_PDKILL = 519 323 SYS_PDGETPID = 520 324 SYS_PSELECT = 522 325 SYS_GETLOGINCLASS = 523 326 SYS_SETLOGINCLASS = 524 327 SYS_RCTL_GET_RACCT = 525 328 SYS_RCTL_GET_RULES = 526 329 SYS_RCTL_GET_LIMITS = 527 330 SYS_RCTL_ADD_RULE = 528 331 SYS_RCTL_REMOVE_RULE = 529 332 SYS_POSIX_FALLOCATE = 530 333 SYS_POSIX_FADVISE = 531 334 SYS_WAIT6 = 532 335 SYS_BINDAT = 538 336 SYS_CONNECTAT = 539 337 SYS_CHFLAGSAT = 540 338 SYS_ACCEPT4 = 541 339 SYS_PIPE2 = 542 340 SYS_PROCCTL = 544 341 SYS_UTIMENSAT = 547 342 SYS_FSTAT = 551 343 SYS_FSTATAT = 552 344 SYS_GETDIRENTRIES = 554 345 SYS_STATFS = 555 346 SYS_FSTATFS = 556 347 SYS_GETFSSTAT = 557 348 SYS_MKNODAT = 559 349 )