#[non_exhaustive]#[repr(i32)]pub enum Sysno {
Show 403 variants
restart_syscall = 0,
exit = 1,
fork = 2,
read = 3,
write = 4,
open = 5,
close = 6,
creat = 8,
link = 9,
unlink = 10,
execve = 11,
chdir = 12,
mknod = 14,
chmod = 15,
lchown = 16,
lseek = 19,
getpid = 20,
mount = 21,
setuid = 23,
getuid = 24,
ptrace = 26,
pause = 29,
access = 33,
nice = 34,
sync = 36,
kill = 37,
rename = 38,
mkdir = 39,
rmdir = 40,
dup = 41,
pipe = 42,
times = 43,
brk = 45,
setgid = 46,
getgid = 47,
geteuid = 49,
getegid = 50,
acct = 51,
umount2 = 52,
ioctl = 54,
fcntl = 55,
setpgid = 57,
umask = 60,
chroot = 61,
ustat = 62,
dup2 = 63,
getppid = 64,
getpgrp = 65,
setsid = 66,
sigaction = 67,
setreuid = 70,
setregid = 71,
sigsuspend = 72,
sigpending = 73,
sethostname = 74,
setrlimit = 75,
getrusage = 77,
gettimeofday = 78,
settimeofday = 79,
getgroups = 80,
setgroups = 81,
symlink = 83,
readlink = 85,
uselib = 86,
swapon = 87,
reboot = 88,
munmap = 91,
truncate = 92,
ftruncate = 93,
fchmod = 94,
fchown = 95,
getpriority = 96,
setpriority = 97,
statfs = 99,
fstatfs = 100,
syslog = 103,
setitimer = 104,
getitimer = 105,
stat = 106,
lstat = 107,
fstat = 108,
vhangup = 111,
wait4 = 114,
swapoff = 115,
sysinfo = 116,
fsync = 118,
sigreturn = 119,
clone = 120,
setdomainname = 121,
uname = 122,
adjtimex = 124,
mprotect = 125,
sigprocmask = 126,
init_module = 128,
delete_module = 129,
quotactl = 131,
getpgid = 132,
fchdir = 133,
bdflush = 134,
sysfs = 135,
personality = 136,
setfsuid = 138,
setfsgid = 139,
_llseek = 140,
getdents = 141,
_newselect = 142,
flock = 143,
msync = 144,
readv = 145,
writev = 146,
getsid = 147,
fdatasync = 148,
_sysctl = 149,
mlock = 150,
munlock = 151,
mlockall = 152,
munlockall = 153,
sched_setparam = 154,
sched_getparam = 155,
sched_setscheduler = 156,
sched_getscheduler = 157,
sched_yield = 158,
sched_get_priority_max = 159,
sched_get_priority_min = 160,
sched_rr_get_interval = 161,
nanosleep = 162,
mremap = 163,
setresuid = 164,
getresuid = 165,
poll = 168,
nfsservctl = 169,
setresgid = 170,
getresgid = 171,
prctl = 172,
rt_sigreturn = 173,
rt_sigaction = 174,
rt_sigprocmask = 175,
rt_sigpending = 176,
rt_sigtimedwait = 177,
rt_sigqueueinfo = 178,
rt_sigsuspend = 179,
pread64 = 180,
pwrite64 = 181,
chown = 182,
getcwd = 183,
capget = 184,
capset = 185,
sigaltstack = 186,
sendfile = 187,
vfork = 190,
ugetrlimit = 191,
mmap2 = 192,
truncate64 = 193,
ftruncate64 = 194,
stat64 = 195,
lstat64 = 196,
fstat64 = 197,
lchown32 = 198,
getuid32 = 199,
getgid32 = 200,
geteuid32 = 201,
getegid32 = 202,
setreuid32 = 203,
setregid32 = 204,
getgroups32 = 205,
setgroups32 = 206,
fchown32 = 207,
setresuid32 = 208,
getresuid32 = 209,
setresgid32 = 210,
getresgid32 = 211,
chown32 = 212,
setuid32 = 213,
setgid32 = 214,
setfsuid32 = 215,
setfsgid32 = 216,
getdents64 = 217,
pivot_root = 218,
mincore = 219,
madvise = 220,
fcntl64 = 221,
gettid = 224,
readahead = 225,
setxattr = 226,
lsetxattr = 227,
fsetxattr = 228,
getxattr = 229,
lgetxattr = 230,
fgetxattr = 231,
listxattr = 232,
llistxattr = 233,
flistxattr = 234,
removexattr = 235,
lremovexattr = 236,
fremovexattr = 237,
tkill = 238,
sendfile64 = 239,
futex = 240,
sched_setaffinity = 241,
sched_getaffinity = 242,
io_setup = 243,
io_destroy = 244,
io_getevents = 245,
io_submit = 246,
io_cancel = 247,
exit_group = 248,
lookup_dcookie = 249,
epoll_create = 250,
epoll_ctl = 251,
epoll_wait = 252,
remap_file_pages = 253,
set_tid_address = 256,
timer_create = 257,
timer_settime = 258,
timer_gettime = 259,
timer_getoverrun = 260,
timer_delete = 261,
clock_settime = 262,
clock_gettime = 263,
clock_getres = 264,
clock_nanosleep = 265,
statfs64 = 266,
fstatfs64 = 267,
tgkill = 268,
utimes = 269,
arm_fadvise64_64 = 270,
pciconfig_iobase = 271,
pciconfig_read = 272,
pciconfig_write = 273,
mq_open = 274,
mq_unlink = 275,
mq_timedsend = 276,
mq_timedreceive = 277,
mq_notify = 278,
mq_getsetattr = 279,
waitid = 280,
socket = 281,
bind = 282,
connect = 283,
listen = 284,
accept = 285,
getsockname = 286,
getpeername = 287,
socketpair = 288,
send = 289,
sendto = 290,
recv = 291,
recvfrom = 292,
shutdown = 293,
setsockopt = 294,
getsockopt = 295,
sendmsg = 296,
recvmsg = 297,
semop = 298,
semget = 299,
semctl = 300,
msgsnd = 301,
msgrcv = 302,
msgget = 303,
msgctl = 304,
shmat = 305,
shmdt = 306,
shmget = 307,
shmctl = 308,
add_key = 309,
request_key = 310,
keyctl = 311,
semtimedop = 312,
vserver = 313,
ioprio_set = 314,
ioprio_get = 315,
inotify_init = 316,
inotify_add_watch = 317,
inotify_rm_watch = 318,
mbind = 319,
get_mempolicy = 320,
set_mempolicy = 321,
openat = 322,
mkdirat = 323,
mknodat = 324,
fchownat = 325,
futimesat = 326,
fstatat64 = 327,
unlinkat = 328,
renameat = 329,
linkat = 330,
symlinkat = 331,
readlinkat = 332,
fchmodat = 333,
faccessat = 334,
pselect6 = 335,
ppoll = 336,
unshare = 337,
set_robust_list = 338,
get_robust_list = 339,
splice = 340,
arm_sync_file_range = 341,
tee = 342,
vmsplice = 343,
move_pages = 344,
getcpu = 345,
epoll_pwait = 346,
kexec_load = 347,
utimensat = 348,
signalfd = 349,
timerfd_create = 350,
eventfd = 351,
fallocate = 352,
timerfd_settime = 353,
timerfd_gettime = 354,
signalfd4 = 355,
eventfd2 = 356,
epoll_create1 = 357,
dup3 = 358,
pipe2 = 359,
inotify_init1 = 360,
preadv = 361,
pwritev = 362,
rt_tgsigqueueinfo = 363,
perf_event_open = 364,
recvmmsg = 365,
accept4 = 366,
fanotify_init = 367,
fanotify_mark = 368,
prlimit64 = 369,
name_to_handle_at = 370,
open_by_handle_at = 371,
clock_adjtime = 372,
syncfs = 373,
sendmmsg = 374,
setns = 375,
process_vm_readv = 376,
process_vm_writev = 377,
kcmp = 378,
finit_module = 379,
sched_setattr = 380,
sched_getattr = 381,
renameat2 = 382,
seccomp = 383,
getrandom = 384,
memfd_create = 385,
bpf = 386,
execveat = 387,
userfaultfd = 388,
membarrier = 389,
mlock2 = 390,
copy_file_range = 391,
preadv2 = 392,
pwritev2 = 393,
pkey_mprotect = 394,
pkey_alloc = 395,
pkey_free = 396,
statx = 397,
rseq = 398,
io_pgetevents = 399,
migrate_pages = 400,
kexec_file_load = 401,
clock_gettime64 = 403,
clock_settime64 = 404,
clock_adjtime64 = 405,
clock_getres_time64 = 406,
clock_nanosleep_time64 = 407,
timer_gettime64 = 408,
timer_settime64 = 409,
timerfd_gettime64 = 410,
timerfd_settime64 = 411,
utimensat_time64 = 412,
pselect6_time64 = 413,
ppoll_time64 = 414,
io_pgetevents_time64 = 416,
recvmmsg_time64 = 417,
mq_timedsend_time64 = 418,
mq_timedreceive_time64 = 419,
semtimedop_time64 = 420,
rt_sigtimedwait_time64 = 421,
futex_time64 = 422,
sched_rr_get_interval_time64 = 423,
pidfd_send_signal = 424,
io_uring_setup = 425,
io_uring_enter = 426,
io_uring_register = 427,
open_tree = 428,
move_mount = 429,
fsopen = 430,
fsconfig = 431,
fsmount = 432,
fspick = 433,
pidfd_open = 434,
clone3 = 435,
close_range = 436,
openat2 = 437,
pidfd_getfd = 438,
faccessat2 = 439,
process_madvise = 440,
epoll_pwait2 = 441,
mount_setattr = 442,
quotactl_fd = 443,
landlock_create_ruleset = 444,
landlock_add_rule = 445,
landlock_restrict_self = 446,
process_mrelease = 448,
futex_waitv = 449,
set_mempolicy_home_node = 450,
}Expand description
Complete list of Linux syscalls.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
restart_syscall = 0
See restart_syscall(2) for more info on this syscall.
exit = 1
See exit(2) for more info on this syscall.
fork = 2
See fork(2) for more info on this syscall.
read = 3
See read(2) for more info on this syscall.
write = 4
See write(2) for more info on this syscall.
open = 5
See open(2) for more info on this syscall.
close = 6
See close(2) for more info on this syscall.
creat = 8
See creat(2) for more info on this syscall.
link = 9
See link(2) for more info on this syscall.
unlink = 10
See unlink(2) for more info on this syscall.
execve = 11
See execve(2) for more info on this syscall.
chdir = 12
See chdir(2) for more info on this syscall.
mknod = 14
See mknod(2) for more info on this syscall.
chmod = 15
See chmod(2) for more info on this syscall.
lchown = 16
See lchown(2) for more info on this syscall.
lseek = 19
See lseek(2) for more info on this syscall.
getpid = 20
See getpid(2) for more info on this syscall.
mount = 21
See mount(2) for more info on this syscall.
setuid = 23
See setuid(2) for more info on this syscall.
getuid = 24
See getuid(2) for more info on this syscall.
ptrace = 26
See ptrace(2) for more info on this syscall.
pause = 29
See pause(2) for more info on this syscall.
access = 33
See access(2) for more info on this syscall.
nice = 34
See nice(2) for more info on this syscall.
sync = 36
See sync(2) for more info on this syscall.
kill = 37
See kill(2) for more info on this syscall.
rename = 38
See rename(2) for more info on this syscall.
mkdir = 39
See mkdir(2) for more info on this syscall.
rmdir = 40
See rmdir(2) for more info on this syscall.
dup = 41
See dup(2) for more info on this syscall.
pipe = 42
See pipe(2) for more info on this syscall.
times = 43
See times(2) for more info on this syscall.
brk = 45
See brk(2) for more info on this syscall.
setgid = 46
See setgid(2) for more info on this syscall.
getgid = 47
See getgid(2) for more info on this syscall.
geteuid = 49
See geteuid(2) for more info on this syscall.
getegid = 50
See getegid(2) for more info on this syscall.
acct = 51
See acct(2) for more info on this syscall.
umount2 = 52
See umount2(2) for more info on this syscall.
ioctl = 54
See ioctl(2) for more info on this syscall.
fcntl = 55
See fcntl(2) for more info on this syscall.
setpgid = 57
See setpgid(2) for more info on this syscall.
umask = 60
See umask(2) for more info on this syscall.
chroot = 61
See chroot(2) for more info on this syscall.
ustat = 62
See ustat(2) for more info on this syscall.
dup2 = 63
See dup2(2) for more info on this syscall.
getppid = 64
See getppid(2) for more info on this syscall.
getpgrp = 65
See getpgrp(2) for more info on this syscall.
setsid = 66
See setsid(2) for more info on this syscall.
sigaction = 67
See sigaction(2) for more info on this syscall.
setreuid = 70
See setreuid(2) for more info on this syscall.
setregid = 71
See setregid(2) for more info on this syscall.
sigsuspend = 72
See sigsuspend(2) for more info on this syscall.
sigpending = 73
See sigpending(2) for more info on this syscall.
sethostname = 74
See sethostname(2) for more info on this syscall.
setrlimit = 75
See setrlimit(2) for more info on this syscall.
getrusage = 77
See getrusage(2) for more info on this syscall.
gettimeofday = 78
See gettimeofday(2) for more info on this syscall.
settimeofday = 79
See settimeofday(2) for more info on this syscall.
getgroups = 80
See getgroups(2) for more info on this syscall.
setgroups = 81
See setgroups(2) for more info on this syscall.
symlink = 83
See symlink(2) for more info on this syscall.
readlink = 85
See readlink(2) for more info on this syscall.
uselib = 86
See uselib(2) for more info on this syscall.
swapon = 87
See swapon(2) for more info on this syscall.
reboot = 88
See reboot(2) for more info on this syscall.
munmap = 91
See munmap(2) for more info on this syscall.
truncate = 92
See truncate(2) for more info on this syscall.
ftruncate = 93
See ftruncate(2) for more info on this syscall.
fchmod = 94
See fchmod(2) for more info on this syscall.
fchown = 95
See fchown(2) for more info on this syscall.
getpriority = 96
See getpriority(2) for more info on this syscall.
setpriority = 97
See setpriority(2) for more info on this syscall.
statfs = 99
See statfs(2) for more info on this syscall.
fstatfs = 100
See fstatfs(2) for more info on this syscall.
syslog = 103
See syslog(2) for more info on this syscall.
setitimer = 104
See setitimer(2) for more info on this syscall.
getitimer = 105
See getitimer(2) for more info on this syscall.
stat = 106
See stat(2) for more info on this syscall.
lstat = 107
See lstat(2) for more info on this syscall.
fstat = 108
See fstat(2) for more info on this syscall.
vhangup = 111
See vhangup(2) for more info on this syscall.
wait4 = 114
See wait4(2) for more info on this syscall.
swapoff = 115
See swapoff(2) for more info on this syscall.
sysinfo = 116
See sysinfo(2) for more info on this syscall.
fsync = 118
See fsync(2) for more info on this syscall.
sigreturn = 119
See sigreturn(2) for more info on this syscall.
clone = 120
See clone(2) for more info on this syscall.
setdomainname = 121
See setdomainname(2) for more info on this syscall.
uname = 122
See uname(2) for more info on this syscall.
adjtimex = 124
See adjtimex(2) for more info on this syscall.
mprotect = 125
See mprotect(2) for more info on this syscall.
sigprocmask = 126
See sigprocmask(2) for more info on this syscall.
init_module = 128
See init_module(2) for more info on this syscall.
delete_module = 129
See delete_module(2) for more info on this syscall.
quotactl = 131
See quotactl(2) for more info on this syscall.
getpgid = 132
See getpgid(2) for more info on this syscall.
fchdir = 133
See fchdir(2) for more info on this syscall.
bdflush = 134
See bdflush(2) for more info on this syscall.
sysfs = 135
See sysfs(2) for more info on this syscall.
personality = 136
See personality(2) for more info on this syscall.
setfsuid = 138
See setfsuid(2) for more info on this syscall.
setfsgid = 139
See setfsgid(2) for more info on this syscall.
_llseek = 140
See _llseek(2) for more info on this syscall.
getdents = 141
See getdents(2) for more info on this syscall.
_newselect = 142
See _newselect(2) for more info on this syscall.
flock = 143
See flock(2) for more info on this syscall.
msync = 144
See msync(2) for more info on this syscall.
readv = 145
See readv(2) for more info on this syscall.
writev = 146
See writev(2) for more info on this syscall.
getsid = 147
See getsid(2) for more info on this syscall.
fdatasync = 148
See fdatasync(2) for more info on this syscall.
_sysctl = 149
See _sysctl(2) for more info on this syscall.
mlock = 150
See mlock(2) for more info on this syscall.
munlock = 151
See munlock(2) for more info on this syscall.
mlockall = 152
See mlockall(2) for more info on this syscall.
munlockall = 153
See munlockall(2) for more info on this syscall.
sched_setparam = 154
See sched_setparam(2) for more info on this syscall.
sched_getparam = 155
See sched_getparam(2) for more info on this syscall.
sched_setscheduler = 156
See sched_setscheduler(2) for more info on this syscall.
sched_getscheduler = 157
See sched_getscheduler(2) for more info on this syscall.
sched_yield = 158
See sched_yield(2) for more info on this syscall.
sched_get_priority_max = 159
See sched_get_priority_max(2) for more info on this syscall.
sched_get_priority_min = 160
See sched_get_priority_min(2) for more info on this syscall.
sched_rr_get_interval = 161
See sched_rr_get_interval(2) for more info on this syscall.
nanosleep = 162
See nanosleep(2) for more info on this syscall.
mremap = 163
See mremap(2) for more info on this syscall.
setresuid = 164
See setresuid(2) for more info on this syscall.
getresuid = 165
See getresuid(2) for more info on this syscall.
poll = 168
See poll(2) for more info on this syscall.
nfsservctl = 169
NOTE: nfsservctl is not implemented in the kernel.
setresgid = 170
See setresgid(2) for more info on this syscall.
getresgid = 171
See getresgid(2) for more info on this syscall.
prctl = 172
See prctl(2) for more info on this syscall.
rt_sigreturn = 173
See rt_sigreturn(2) for more info on this syscall.
rt_sigaction = 174
See rt_sigaction(2) for more info on this syscall.
rt_sigprocmask = 175
See rt_sigprocmask(2) for more info on this syscall.
rt_sigpending = 176
See rt_sigpending(2) for more info on this syscall.
rt_sigtimedwait = 177
See rt_sigtimedwait(2) for more info on this syscall.
rt_sigqueueinfo = 178
See rt_sigqueueinfo(2) for more info on this syscall.
rt_sigsuspend = 179
See rt_sigsuspend(2) for more info on this syscall.
pread64 = 180
See pread64(2) for more info on this syscall.
pwrite64 = 181
See pwrite64(2) for more info on this syscall.
chown = 182
See chown(2) for more info on this syscall.
getcwd = 183
See getcwd(2) for more info on this syscall.
capget = 184
See capget(2) for more info on this syscall.
capset = 185
See capset(2) for more info on this syscall.
sigaltstack = 186
See sigaltstack(2) for more info on this syscall.
sendfile = 187
See sendfile(2) for more info on this syscall.
vfork = 190
See vfork(2) for more info on this syscall.
ugetrlimit = 191
See ugetrlimit(2) for more info on this syscall.
mmap2 = 192
See mmap2(2) for more info on this syscall.
truncate64 = 193
See truncate64(2) for more info on this syscall.
ftruncate64 = 194
See ftruncate64(2) for more info on this syscall.
stat64 = 195
See stat64(2) for more info on this syscall.
lstat64 = 196
See lstat64(2) for more info on this syscall.
fstat64 = 197
See fstat64(2) for more info on this syscall.
lchown32 = 198
See lchown32(2) for more info on this syscall.
getuid32 = 199
See getuid32(2) for more info on this syscall.
getgid32 = 200
See getgid32(2) for more info on this syscall.
geteuid32 = 201
See geteuid32(2) for more info on this syscall.
getegid32 = 202
See getegid32(2) for more info on this syscall.
setreuid32 = 203
See setreuid32(2) for more info on this syscall.
setregid32 = 204
See setregid32(2) for more info on this syscall.
getgroups32 = 205
See getgroups32(2) for more info on this syscall.
setgroups32 = 206
See setgroups32(2) for more info on this syscall.
fchown32 = 207
See fchown32(2) for more info on this syscall.
setresuid32 = 208
See setresuid32(2) for more info on this syscall.
getresuid32 = 209
See getresuid32(2) for more info on this syscall.
setresgid32 = 210
See setresgid32(2) for more info on this syscall.
getresgid32 = 211
See getresgid32(2) for more info on this syscall.
chown32 = 212
See chown32(2) for more info on this syscall.
setuid32 = 213
See setuid32(2) for more info on this syscall.
setgid32 = 214
See setgid32(2) for more info on this syscall.
setfsuid32 = 215
See setfsuid32(2) for more info on this syscall.
setfsgid32 = 216
See setfsgid32(2) for more info on this syscall.
getdents64 = 217
See getdents64(2) for more info on this syscall.
pivot_root = 218
See pivot_root(2) for more info on this syscall.
mincore = 219
See mincore(2) for more info on this syscall.
madvise = 220
See madvise(2) for more info on this syscall.
fcntl64 = 221
See fcntl64(2) for more info on this syscall.
gettid = 224
See gettid(2) for more info on this syscall.
readahead = 225
See readahead(2) for more info on this syscall.
setxattr = 226
See setxattr(2) for more info on this syscall.
lsetxattr = 227
See lsetxattr(2) for more info on this syscall.
fsetxattr = 228
See fsetxattr(2) for more info on this syscall.
getxattr = 229
See getxattr(2) for more info on this syscall.
lgetxattr = 230
See lgetxattr(2) for more info on this syscall.
fgetxattr = 231
See fgetxattr(2) for more info on this syscall.
listxattr = 232
See listxattr(2) for more info on this syscall.
llistxattr = 233
See llistxattr(2) for more info on this syscall.
flistxattr = 234
See flistxattr(2) for more info on this syscall.
removexattr = 235
See removexattr(2) for more info on this syscall.
lremovexattr = 236
See lremovexattr(2) for more info on this syscall.
fremovexattr = 237
See fremovexattr(2) for more info on this syscall.
tkill = 238
See tkill(2) for more info on this syscall.
sendfile64 = 239
See sendfile64(2) for more info on this syscall.
futex = 240
See futex(2) for more info on this syscall.
sched_setaffinity = 241
See sched_setaffinity(2) for more info on this syscall.
sched_getaffinity = 242
See sched_getaffinity(2) for more info on this syscall.
io_setup = 243
See io_setup(2) for more info on this syscall.
io_destroy = 244
See io_destroy(2) for more info on this syscall.
io_getevents = 245
See io_getevents(2) for more info on this syscall.
io_submit = 246
See io_submit(2) for more info on this syscall.
io_cancel = 247
See io_cancel(2) for more info on this syscall.
exit_group = 248
See exit_group(2) for more info on this syscall.
See lookup_dcookie(2) for more info on this syscall.
epoll_create = 250
See epoll_create(2) for more info on this syscall.
epoll_ctl = 251
See epoll_ctl(2) for more info on this syscall.
epoll_wait = 252
See epoll_wait(2) for more info on this syscall.
remap_file_pages = 253
See remap_file_pages(2) for more info on this syscall.
set_tid_address = 256
See set_tid_address(2) for more info on this syscall.
timer_create = 257
See timer_create(2) for more info on this syscall.
timer_settime = 258
See timer_settime(2) for more info on this syscall.
timer_gettime = 259
See timer_gettime(2) for more info on this syscall.
timer_getoverrun = 260
See timer_getoverrun(2) for more info on this syscall.
timer_delete = 261
See timer_delete(2) for more info on this syscall.
clock_settime = 262
See clock_settime(2) for more info on this syscall.
clock_gettime = 263
See clock_gettime(2) for more info on this syscall.
clock_getres = 264
See clock_getres(2) for more info on this syscall.
clock_nanosleep = 265
See clock_nanosleep(2) for more info on this syscall.
statfs64 = 266
See statfs64(2) for more info on this syscall.
fstatfs64 = 267
See fstatfs64(2) for more info on this syscall.
tgkill = 268
See tgkill(2) for more info on this syscall.
utimes = 269
See utimes(2) for more info on this syscall.
arm_fadvise64_64 = 270
See arm_fadvise64_64(2) for more info on this syscall.
pciconfig_iobase = 271
See pciconfig_iobase(2) for more info on this syscall.
pciconfig_read = 272
See pciconfig_read(2) for more info on this syscall.
pciconfig_write = 273
See pciconfig_write(2) for more info on this syscall.
mq_open = 274
See mq_open(2) for more info on this syscall.
mq_unlink = 275
See mq_unlink(2) for more info on this syscall.
mq_timedsend = 276
See mq_timedsend(2) for more info on this syscall.
mq_timedreceive = 277
See mq_timedreceive(2) for more info on this syscall.
mq_notify = 278
See mq_notify(2) for more info on this syscall.
mq_getsetattr = 279
See mq_getsetattr(2) for more info on this syscall.
waitid = 280
See waitid(2) for more info on this syscall.
socket = 281
See socket(2) for more info on this syscall.
bind = 282
See bind(2) for more info on this syscall.
connect = 283
See connect(2) for more info on this syscall.
listen = 284
See listen(2) for more info on this syscall.
accept = 285
See accept(2) for more info on this syscall.
getsockname = 286
See getsockname(2) for more info on this syscall.
getpeername = 287
See getpeername(2) for more info on this syscall.
socketpair = 288
See socketpair(2) for more info on this syscall.
send = 289
See send(2) for more info on this syscall.
sendto = 290
See sendto(2) for more info on this syscall.
recv = 291
See recv(2) for more info on this syscall.
recvfrom = 292
See recvfrom(2) for more info on this syscall.
shutdown = 293
See shutdown(2) for more info on this syscall.
setsockopt = 294
See setsockopt(2) for more info on this syscall.
getsockopt = 295
See getsockopt(2) for more info on this syscall.
sendmsg = 296
See sendmsg(2) for more info on this syscall.
recvmsg = 297
See recvmsg(2) for more info on this syscall.
semop = 298
See semop(2) for more info on this syscall.
semget = 299
See semget(2) for more info on this syscall.
semctl = 300
See semctl(2) for more info on this syscall.
msgsnd = 301
See msgsnd(2) for more info on this syscall.
msgrcv = 302
See msgrcv(2) for more info on this syscall.
msgget = 303
See msgget(2) for more info on this syscall.
msgctl = 304
See msgctl(2) for more info on this syscall.
shmat = 305
See shmat(2) for more info on this syscall.
shmdt = 306
See shmdt(2) for more info on this syscall.
shmget = 307
See shmget(2) for more info on this syscall.
shmctl = 308
See shmctl(2) for more info on this syscall.
add_key = 309
See add_key(2) for more info on this syscall.
request_key = 310
See request_key(2) for more info on this syscall.
keyctl = 311
See keyctl(2) for more info on this syscall.
semtimedop = 312
See semtimedop(2) for more info on this syscall.
vserver = 313
NOTE: vserver is not implemented in the kernel.
ioprio_set = 314
See ioprio_set(2) for more info on this syscall.
ioprio_get = 315
See ioprio_get(2) for more info on this syscall.
inotify_init = 316
See inotify_init(2) for more info on this syscall.
inotify_add_watch = 317
See inotify_add_watch(2) for more info on this syscall.
inotify_rm_watch = 318
See inotify_rm_watch(2) for more info on this syscall.
mbind = 319
See mbind(2) for more info on this syscall.
get_mempolicy = 320
See get_mempolicy(2) for more info on this syscall.
set_mempolicy = 321
See set_mempolicy(2) for more info on this syscall.
openat = 322
See openat(2) for more info on this syscall.
mkdirat = 323
See mkdirat(2) for more info on this syscall.
mknodat = 324
See mknodat(2) for more info on this syscall.
fchownat = 325
See fchownat(2) for more info on this syscall.
futimesat = 326
See futimesat(2) for more info on this syscall.
fstatat64 = 327
See fstatat64(2) for more info on this syscall.
unlinkat = 328
See unlinkat(2) for more info on this syscall.
renameat = 329
See renameat(2) for more info on this syscall.
linkat = 330
See linkat(2) for more info on this syscall.
symlinkat = 331
See symlinkat(2) for more info on this syscall.
readlinkat = 332
See readlinkat(2) for more info on this syscall.
fchmodat = 333
See fchmodat(2) for more info on this syscall.
faccessat = 334
See faccessat(2) for more info on this syscall.
pselect6 = 335
See pselect6(2) for more info on this syscall.
ppoll = 336
See ppoll(2) for more info on this syscall.
See unshare(2) for more info on this syscall.
set_robust_list = 338
See set_robust_list(2) for more info on this syscall.
get_robust_list = 339
See get_robust_list(2) for more info on this syscall.
splice = 340
See splice(2) for more info on this syscall.
arm_sync_file_range = 341
See arm_sync_file_range(2) for more info on this syscall.
tee = 342
See tee(2) for more info on this syscall.
vmsplice = 343
See vmsplice(2) for more info on this syscall.
move_pages = 344
See move_pages(2) for more info on this syscall.
getcpu = 345
See getcpu(2) for more info on this syscall.
epoll_pwait = 346
See epoll_pwait(2) for more info on this syscall.
kexec_load = 347
See kexec_load(2) for more info on this syscall.
utimensat = 348
See utimensat(2) for more info on this syscall.
signalfd = 349
See signalfd(2) for more info on this syscall.
timerfd_create = 350
See timerfd_create(2) for more info on this syscall.
eventfd = 351
See eventfd(2) for more info on this syscall.
fallocate = 352
See fallocate(2) for more info on this syscall.
timerfd_settime = 353
See timerfd_settime(2) for more info on this syscall.
timerfd_gettime = 354
See timerfd_gettime(2) for more info on this syscall.
signalfd4 = 355
See signalfd4(2) for more info on this syscall.
eventfd2 = 356
See eventfd2(2) for more info on this syscall.
epoll_create1 = 357
See epoll_create1(2) for more info on this syscall.
dup3 = 358
See dup3(2) for more info on this syscall.
pipe2 = 359
See pipe2(2) for more info on this syscall.
inotify_init1 = 360
See inotify_init1(2) for more info on this syscall.
preadv = 361
See preadv(2) for more info on this syscall.
pwritev = 362
See pwritev(2) for more info on this syscall.
rt_tgsigqueueinfo = 363
See rt_tgsigqueueinfo(2) for more info on this syscall.
perf_event_open = 364
See perf_event_open(2) for more info on this syscall.
recvmmsg = 365
See recvmmsg(2) for more info on this syscall.
accept4 = 366
See accept4(2) for more info on this syscall.
fanotify_init = 367
See fanotify_init(2) for more info on this syscall.
fanotify_mark = 368
See fanotify_mark(2) for more info on this syscall.
prlimit64 = 369
See prlimit64(2) for more info on this syscall.
name_to_handle_at = 370
See name_to_handle_at(2) for more info on this syscall.
open_by_handle_at = 371
See open_by_handle_at(2) for more info on this syscall.
clock_adjtime = 372
See clock_adjtime(2) for more info on this syscall.
syncfs = 373
See syncfs(2) for more info on this syscall.
sendmmsg = 374
See sendmmsg(2) for more info on this syscall.
setns = 375
See setns(2) for more info on this syscall.
process_vm_readv = 376
See process_vm_readv(2) for more info on this syscall.
process_vm_writev = 377
See process_vm_writev(2) for more info on this syscall.
kcmp = 378
See kcmp(2) for more info on this syscall.
finit_module = 379
See finit_module(2) for more info on this syscall.
sched_setattr = 380
See sched_setattr(2) for more info on this syscall.
sched_getattr = 381
See sched_getattr(2) for more info on this syscall.
renameat2 = 382
See renameat2(2) for more info on this syscall.
seccomp = 383
See seccomp(2) for more info on this syscall.
getrandom = 384
See getrandom(2) for more info on this syscall.
memfd_create = 385
See memfd_create(2) for more info on this syscall.
bpf = 386
See bpf(2) for more info on this syscall.
execveat = 387
See execveat(2) for more info on this syscall.
userfaultfd = 388
See userfaultfd(2) for more info on this syscall.
membarrier = 389
See membarrier(2) for more info on this syscall.
mlock2 = 390
See mlock2(2) for more info on this syscall.
copy_file_range = 391
See copy_file_range(2) for more info on this syscall.
preadv2 = 392
See preadv2(2) for more info on this syscall.
pwritev2 = 393
See pwritev2(2) for more info on this syscall.
pkey_mprotect = 394
See pkey_mprotect(2) for more info on this syscall.
pkey_alloc = 395
See pkey_alloc(2) for more info on this syscall.
pkey_free = 396
See pkey_free(2) for more info on this syscall.
statx = 397
See statx(2) for more info on this syscall.
rseq = 398
See rseq(2) for more info on this syscall.
io_pgetevents = 399
See io_pgetevents(2) for more info on this syscall.
migrate_pages = 400
See migrate_pages(2) for more info on this syscall.
kexec_file_load = 401
See kexec_file_load(2) for more info on this syscall.
clock_gettime64 = 403
See clock_gettime64(2) for more info on this syscall.
clock_settime64 = 404
See clock_settime64(2) for more info on this syscall.
clock_adjtime64 = 405
See clock_adjtime64(2) for more info on this syscall.
clock_getres_time64 = 406
See clock_getres_time64(2) for more info on this syscall.
clock_nanosleep_time64 = 407
See clock_nanosleep_time64(2) for more info on this syscall.
timer_gettime64 = 408
See timer_gettime64(2) for more info on this syscall.
timer_settime64 = 409
See timer_settime64(2) for more info on this syscall.
timerfd_gettime64 = 410
See timerfd_gettime64(2) for more info on this syscall.
timerfd_settime64 = 411
See timerfd_settime64(2) for more info on this syscall.
utimensat_time64 = 412
See utimensat_time64(2) for more info on this syscall.
pselect6_time64 = 413
See pselect6_time64(2) for more info on this syscall.
ppoll_time64 = 414
See ppoll_time64(2) for more info on this syscall.
io_pgetevents_time64 = 416
See io_pgetevents_time64(2) for more info on this syscall.
recvmmsg_time64 = 417
See recvmmsg_time64(2) for more info on this syscall.
mq_timedsend_time64 = 418
See mq_timedsend_time64(2) for more info on this syscall.
mq_timedreceive_time64 = 419
See mq_timedreceive_time64(2) for more info on this syscall.
semtimedop_time64 = 420
See semtimedop_time64(2) for more info on this syscall.
rt_sigtimedwait_time64 = 421
See rt_sigtimedwait_time64(2) for more info on this syscall.
futex_time64 = 422
See futex_time64(2) for more info on this syscall.
sched_rr_get_interval_time64 = 423
See sched_rr_get_interval_time64(2) for more info on this syscall.
pidfd_send_signal = 424
See pidfd_send_signal(2) for more info on this syscall.
io_uring_setup = 425
See io_uring_setup(2) for more info on this syscall.
io_uring_enter = 426
See io_uring_enter(2) for more info on this syscall.
io_uring_register = 427
See io_uring_register(2) for more info on this syscall.
open_tree = 428
See open_tree(2) for more info on this syscall.
move_mount = 429
See move_mount(2) for more info on this syscall.
fsopen = 430
See fsopen(2) for more info on this syscall.
fsconfig = 431
See fsconfig(2) for more info on this syscall.
fsmount = 432
See fsmount(2) for more info on this syscall.
fspick = 433
See fspick(2) for more info on this syscall.
pidfd_open = 434
See pidfd_open(2) for more info on this syscall.
clone3 = 435
See clone3(2) for more info on this syscall.
close_range = 436
See close_range(2) for more info on this syscall.
openat2 = 437
See openat2(2) for more info on this syscall.
pidfd_getfd = 438
See pidfd_getfd(2) for more info on this syscall.
faccessat2 = 439
See faccessat2(2) for more info on this syscall.
process_madvise = 440
See process_madvise(2) for more info on this syscall.
epoll_pwait2 = 441
See epoll_pwait2(2) for more info on this syscall.
mount_setattr = 442
See mount_setattr(2) for more info on this syscall.
quotactl_fd = 443
See quotactl_fd(2) for more info on this syscall.
landlock_create_ruleset = 444
See landlock_create_ruleset(2) for more info on this syscall.
landlock_add_rule = 445
See landlock_add_rule(2) for more info on this syscall.
landlock_restrict_self = 446
See landlock_restrict_self(2) for more info on this syscall.
process_mrelease = 448
See process_mrelease(2) for more info on this syscall.
futex_waitv = 449
See futex_waitv(2) for more info on this syscall.
set_mempolicy_home_node = 450
See set_mempolicy_home_node(2) for more info on this syscall.
Implementations§
Source§impl Sysno
impl Sysno
Sourcepub const fn new(id: usize) -> Option<Self>
pub const fn new(id: usize) -> Option<Self>
Constructs a new syscall from the given ID. If the ID does not
represent a valid syscall, returns None.
Sourcepub const fn next(&self) -> Option<Self>
pub const fn next(&self) -> Option<Self>
Returns the next syscall in the table. Returns None if this is
the last syscall.
Sourcepub const fn table_size() -> usize
pub const fn table_size() -> usize
Returns the length of the syscall table, including any gaps. This is not the same thing as the total number of syscalls.