#[non_exhaustive]#[repr(i32)]pub enum Sysno {
Show 373 variants
read = 0,
write = 1,
open = 2,
close = 3,
stat = 4,
fstat = 5,
lstat = 6,
poll = 7,
lseek = 8,
mmap = 9,
mprotect = 10,
munmap = 11,
brk = 12,
rt_sigaction = 13,
rt_sigprocmask = 14,
rt_sigreturn = 15,
ioctl = 16,
pread64 = 17,
pwrite64 = 18,
readv = 19,
writev = 20,
access = 21,
pipe = 22,
select = 23,
sched_yield = 24,
mremap = 25,
msync = 26,
mincore = 27,
madvise = 28,
shmget = 29,
shmat = 30,
shmctl = 31,
dup = 32,
dup2 = 33,
pause = 34,
nanosleep = 35,
getitimer = 36,
alarm = 37,
setitimer = 38,
getpid = 39,
sendfile = 40,
socket = 41,
connect = 42,
accept = 43,
sendto = 44,
recvfrom = 45,
sendmsg = 46,
recvmsg = 47,
shutdown = 48,
bind = 49,
listen = 50,
getsockname = 51,
getpeername = 52,
socketpair = 53,
setsockopt = 54,
getsockopt = 55,
clone = 56,
fork = 57,
vfork = 58,
execve = 59,
exit = 60,
wait4 = 61,
kill = 62,
uname = 63,
semget = 64,
semop = 65,
semctl = 66,
shmdt = 67,
msgget = 68,
msgsnd = 69,
msgrcv = 70,
msgctl = 71,
fcntl = 72,
flock = 73,
fsync = 74,
fdatasync = 75,
truncate = 76,
ftruncate = 77,
getdents = 78,
getcwd = 79,
chdir = 80,
fchdir = 81,
rename = 82,
mkdir = 83,
rmdir = 84,
creat = 85,
link = 86,
unlink = 87,
symlink = 88,
readlink = 89,
chmod = 90,
fchmod = 91,
chown = 92,
fchown = 93,
lchown = 94,
umask = 95,
gettimeofday = 96,
getrlimit = 97,
getrusage = 98,
sysinfo = 99,
times = 100,
ptrace = 101,
getuid = 102,
syslog = 103,
getgid = 104,
setuid = 105,
setgid = 106,
geteuid = 107,
getegid = 108,
setpgid = 109,
getppid = 110,
getpgrp = 111,
setsid = 112,
setreuid = 113,
setregid = 114,
getgroups = 115,
setgroups = 116,
setresuid = 117,
getresuid = 118,
setresgid = 119,
getresgid = 120,
getpgid = 121,
setfsuid = 122,
setfsgid = 123,
getsid = 124,
capget = 125,
capset = 126,
rt_sigpending = 127,
rt_sigtimedwait = 128,
rt_sigqueueinfo = 129,
rt_sigsuspend = 130,
sigaltstack = 131,
utime = 132,
mknod = 133,
uselib = 134,
personality = 135,
ustat = 136,
statfs = 137,
fstatfs = 138,
sysfs = 139,
getpriority = 140,
setpriority = 141,
sched_setparam = 142,
sched_getparam = 143,
sched_setscheduler = 144,
sched_getscheduler = 145,
sched_get_priority_max = 146,
sched_get_priority_min = 147,
sched_rr_get_interval = 148,
mlock = 149,
munlock = 150,
mlockall = 151,
munlockall = 152,
vhangup = 153,
modify_ldt = 154,
pivot_root = 155,
_sysctl = 156,
prctl = 157,
arch_prctl = 158,
adjtimex = 159,
setrlimit = 160,
chroot = 161,
sync = 162,
acct = 163,
settimeofday = 164,
mount = 165,
umount2 = 166,
swapon = 167,
swapoff = 168,
reboot = 169,
sethostname = 170,
setdomainname = 171,
iopl = 172,
ioperm = 173,
create_module = 174,
init_module = 175,
delete_module = 176,
get_kernel_syms = 177,
query_module = 178,
quotactl = 179,
nfsservctl = 180,
getpmsg = 181,
putpmsg = 182,
afs_syscall = 183,
tuxcall = 184,
security = 185,
gettid = 186,
readahead = 187,
setxattr = 188,
lsetxattr = 189,
fsetxattr = 190,
getxattr = 191,
lgetxattr = 192,
fgetxattr = 193,
listxattr = 194,
llistxattr = 195,
flistxattr = 196,
removexattr = 197,
lremovexattr = 198,
fremovexattr = 199,
tkill = 200,
time = 201,
futex = 202,
sched_setaffinity = 203,
sched_getaffinity = 204,
set_thread_area = 205,
io_setup = 206,
io_destroy = 207,
io_getevents = 208,
io_submit = 209,
io_cancel = 210,
get_thread_area = 211,
lookup_dcookie = 212,
epoll_create = 213,
epoll_ctl_old = 214,
epoll_wait_old = 215,
remap_file_pages = 216,
getdents64 = 217,
set_tid_address = 218,
restart_syscall = 219,
semtimedop = 220,
fadvise64 = 221,
timer_create = 222,
timer_settime = 223,
timer_gettime = 224,
timer_getoverrun = 225,
timer_delete = 226,
clock_settime = 227,
clock_gettime = 228,
clock_getres = 229,
clock_nanosleep = 230,
exit_group = 231,
epoll_wait = 232,
epoll_ctl = 233,
tgkill = 234,
utimes = 235,
vserver = 236,
mbind = 237,
set_mempolicy = 238,
get_mempolicy = 239,
mq_open = 240,
mq_unlink = 241,
mq_timedsend = 242,
mq_timedreceive = 243,
mq_notify = 244,
mq_getsetattr = 245,
kexec_load = 246,
waitid = 247,
add_key = 248,
request_key = 249,
keyctl = 250,
ioprio_set = 251,
ioprio_get = 252,
inotify_init = 253,
inotify_add_watch = 254,
inotify_rm_watch = 255,
migrate_pages = 256,
openat = 257,
mkdirat = 258,
mknodat = 259,
fchownat = 260,
futimesat = 261,
newfstatat = 262,
unlinkat = 263,
renameat = 264,
linkat = 265,
symlinkat = 266,
readlinkat = 267,
fchmodat = 268,
faccessat = 269,
pselect6 = 270,
ppoll = 271,
unshare = 272,
set_robust_list = 273,
get_robust_list = 274,
splice = 275,
tee = 276,
sync_file_range = 277,
vmsplice = 278,
move_pages = 279,
utimensat = 280,
epoll_pwait = 281,
signalfd = 282,
timerfd_create = 283,
eventfd = 284,
fallocate = 285,
timerfd_settime = 286,
timerfd_gettime = 287,
accept4 = 288,
signalfd4 = 289,
eventfd2 = 290,
epoll_create1 = 291,
dup3 = 292,
pipe2 = 293,
inotify_init1 = 294,
preadv = 295,
pwritev = 296,
rt_tgsigqueueinfo = 297,
perf_event_open = 298,
recvmmsg = 299,
fanotify_init = 300,
fanotify_mark = 301,
prlimit64 = 302,
name_to_handle_at = 303,
open_by_handle_at = 304,
clock_adjtime = 305,
syncfs = 306,
sendmmsg = 307,
setns = 308,
getcpu = 309,
process_vm_readv = 310,
process_vm_writev = 311,
kcmp = 312,
finit_module = 313,
sched_setattr = 314,
sched_getattr = 315,
renameat2 = 316,
seccomp = 317,
getrandom = 318,
memfd_create = 319,
kexec_file_load = 320,
bpf = 321,
execveat = 322,
userfaultfd = 323,
membarrier = 324,
mlock2 = 325,
copy_file_range = 326,
preadv2 = 327,
pwritev2 = 328,
pkey_mprotect = 329,
pkey_alloc = 330,
pkey_free = 331,
statx = 332,
io_pgetevents = 333,
rseq = 334,
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,
memfd_secret = 447,
process_mrelease = 448,
futex_waitv = 449,
set_mempolicy_home_node = 450,
cachestat = 451,
fchmodat2 = 452,
map_shadow_stack = 453,
futex_wake = 454,
futex_wait = 455,
futex_requeue = 456,
statmount = 457,
listmount = 458,
lsm_get_self_attr = 459,
lsm_set_self_attr = 460,
lsm_list_modules = 461,
}
Expand description
Complete list of Linux syscalls.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
read = 0
See read(2) for more info on this syscall.
write = 1
See write(2) for more info on this syscall.
open = 2
See open(2) for more info on this syscall.
close = 3
See close(2) for more info on this syscall.
stat = 4
See stat(2) for more info on this syscall.
fstat = 5
See fstat(2) for more info on this syscall.
lstat = 6
See lstat(2) for more info on this syscall.
poll = 7
See poll(2) for more info on this syscall.
lseek = 8
See lseek(2) for more info on this syscall.
mmap = 9
See mmap(2) for more info on this syscall.
mprotect = 10
See mprotect(2) for more info on this syscall.
munmap = 11
See munmap(2) for more info on this syscall.
brk = 12
See brk(2) for more info on this syscall.
rt_sigaction = 13
See rt_sigaction(2) for more info on this syscall.
rt_sigprocmask = 14
See rt_sigprocmask(2) for more info on this syscall.
rt_sigreturn = 15
See rt_sigreturn(2) for more info on this syscall.
ioctl = 16
See ioctl(2) for more info on this syscall.
pread64 = 17
See pread64(2) for more info on this syscall.
pwrite64 = 18
See pwrite64(2) for more info on this syscall.
readv = 19
See readv(2) for more info on this syscall.
writev = 20
See writev(2) for more info on this syscall.
access = 21
See access(2) for more info on this syscall.
pipe = 22
See pipe(2) for more info on this syscall.
select = 23
See select(2) for more info on this syscall.
sched_yield = 24
See sched_yield(2) for more info on this syscall.
mremap = 25
See mremap(2) for more info on this syscall.
msync = 26
See msync(2) for more info on this syscall.
mincore = 27
See mincore(2) for more info on this syscall.
madvise = 28
See madvise(2) for more info on this syscall.
shmget = 29
See shmget(2) for more info on this syscall.
shmat = 30
See shmat(2) for more info on this syscall.
shmctl = 31
See shmctl(2) for more info on this syscall.
dup = 32
See dup(2) for more info on this syscall.
dup2 = 33
See dup2(2) for more info on this syscall.
pause = 34
See pause(2) for more info on this syscall.
nanosleep = 35
See nanosleep(2) for more info on this syscall.
getitimer = 36
See getitimer(2) for more info on this syscall.
alarm = 37
See alarm(2) for more info on this syscall.
setitimer = 38
See setitimer(2) for more info on this syscall.
getpid = 39
See getpid(2) for more info on this syscall.
sendfile = 40
See sendfile(2) for more info on this syscall.
socket = 41
See socket(2) for more info on this syscall.
connect = 42
See connect(2) for more info on this syscall.
accept = 43
See accept(2) for more info on this syscall.
sendto = 44
See sendto(2) for more info on this syscall.
recvfrom = 45
See recvfrom(2) for more info on this syscall.
sendmsg = 46
See sendmsg(2) for more info on this syscall.
recvmsg = 47
See recvmsg(2) for more info on this syscall.
shutdown = 48
See shutdown(2) for more info on this syscall.
bind = 49
See bind(2) for more info on this syscall.
listen = 50
See listen(2) for more info on this syscall.
getsockname = 51
See getsockname(2) for more info on this syscall.
getpeername = 52
See getpeername(2) for more info on this syscall.
socketpair = 53
See socketpair(2) for more info on this syscall.
setsockopt = 54
See setsockopt(2) for more info on this syscall.
getsockopt = 55
See getsockopt(2) for more info on this syscall.
clone = 56
See clone(2) for more info on this syscall.
fork = 57
See fork(2) for more info on this syscall.
vfork = 58
See vfork(2) for more info on this syscall.
execve = 59
See execve(2) for more info on this syscall.
exit = 60
See exit(2) for more info on this syscall.
wait4 = 61
See wait4(2) for more info on this syscall.
kill = 62
See kill(2) for more info on this syscall.
uname = 63
See uname(2) for more info on this syscall.
semget = 64
See semget(2) for more info on this syscall.
semop = 65
See semop(2) for more info on this syscall.
semctl = 66
See semctl(2) for more info on this syscall.
shmdt = 67
See shmdt(2) for more info on this syscall.
msgget = 68
See msgget(2) for more info on this syscall.
msgsnd = 69
See msgsnd(2) for more info on this syscall.
msgrcv = 70
See msgrcv(2) for more info on this syscall.
msgctl = 71
See msgctl(2) for more info on this syscall.
fcntl = 72
See fcntl(2) for more info on this syscall.
flock = 73
See flock(2) for more info on this syscall.
fsync = 74
See fsync(2) for more info on this syscall.
fdatasync = 75
See fdatasync(2) for more info on this syscall.
truncate = 76
See truncate(2) for more info on this syscall.
ftruncate = 77
See ftruncate(2) for more info on this syscall.
getdents = 78
See getdents(2) for more info on this syscall.
getcwd = 79
See getcwd(2) for more info on this syscall.
chdir = 80
See chdir(2) for more info on this syscall.
fchdir = 81
See fchdir(2) for more info on this syscall.
rename = 82
See rename(2) for more info on this syscall.
mkdir = 83
See mkdir(2) for more info on this syscall.
rmdir = 84
See rmdir(2) for more info on this syscall.
creat = 85
See creat(2) for more info on this syscall.
link = 86
See link(2) for more info on this syscall.
unlink = 87
See unlink(2) for more info on this syscall.
symlink = 88
See symlink(2) for more info on this syscall.
readlink = 89
See readlink(2) for more info on this syscall.
chmod = 90
See chmod(2) for more info on this syscall.
fchmod = 91
See fchmod(2) for more info on this syscall.
chown = 92
See chown(2) for more info on this syscall.
fchown = 93
See fchown(2) for more info on this syscall.
lchown = 94
See lchown(2) for more info on this syscall.
umask = 95
See umask(2) for more info on this syscall.
gettimeofday = 96
See gettimeofday(2) for more info on this syscall.
getrlimit = 97
See getrlimit(2) for more info on this syscall.
getrusage = 98
See getrusage(2) for more info on this syscall.
sysinfo = 99
See sysinfo(2) for more info on this syscall.
times = 100
See times(2) for more info on this syscall.
ptrace = 101
See ptrace(2) for more info on this syscall.
getuid = 102
See getuid(2) for more info on this syscall.
syslog = 103
See syslog(2) for more info on this syscall.
getgid = 104
See getgid(2) for more info on this syscall.
setuid = 105
See setuid(2) for more info on this syscall.
setgid = 106
See setgid(2) for more info on this syscall.
geteuid = 107
See geteuid(2) for more info on this syscall.
getegid = 108
See getegid(2) for more info on this syscall.
setpgid = 109
See setpgid(2) for more info on this syscall.
getppid = 110
See getppid(2) for more info on this syscall.
getpgrp = 111
See getpgrp(2) for more info on this syscall.
setsid = 112
See setsid(2) for more info on this syscall.
setreuid = 113
See setreuid(2) for more info on this syscall.
setregid = 114
See setregid(2) for more info on this syscall.
getgroups = 115
See getgroups(2) for more info on this syscall.
setgroups = 116
See setgroups(2) for more info on this syscall.
setresuid = 117
See setresuid(2) for more info on this syscall.
getresuid = 118
See getresuid(2) for more info on this syscall.
setresgid = 119
See setresgid(2) for more info on this syscall.
getresgid = 120
See getresgid(2) for more info on this syscall.
getpgid = 121
See getpgid(2) for more info on this syscall.
setfsuid = 122
See setfsuid(2) for more info on this syscall.
setfsgid = 123
See setfsgid(2) for more info on this syscall.
getsid = 124
See getsid(2) for more info on this syscall.
capget = 125
See capget(2) for more info on this syscall.
capset = 126
See capset(2) for more info on this syscall.
rt_sigpending = 127
See rt_sigpending(2) for more info on this syscall.
rt_sigtimedwait = 128
See rt_sigtimedwait(2) for more info on this syscall.
rt_sigqueueinfo = 129
See rt_sigqueueinfo(2) for more info on this syscall.
rt_sigsuspend = 130
See rt_sigsuspend(2) for more info on this syscall.
sigaltstack = 131
See sigaltstack(2) for more info on this syscall.
utime = 132
See utime(2) for more info on this syscall.
mknod = 133
See mknod(2) for more info on this syscall.
uselib = 134
NOTE: uselib
is not implemented in the kernel.
personality = 135
See personality(2) for more info on this syscall.
ustat = 136
See ustat(2) for more info on this syscall.
statfs = 137
See statfs(2) for more info on this syscall.
fstatfs = 138
See fstatfs(2) for more info on this syscall.
sysfs = 139
See sysfs(2) for more info on this syscall.
getpriority = 140
See getpriority(2) for more info on this syscall.
setpriority = 141
See setpriority(2) for more info on this syscall.
sched_setparam = 142
See sched_setparam(2) for more info on this syscall.
sched_getparam = 143
See sched_getparam(2) for more info on this syscall.
sched_setscheduler = 144
See sched_setscheduler(2) for more info on this syscall.
sched_getscheduler = 145
See sched_getscheduler(2) for more info on this syscall.
sched_get_priority_max = 146
See sched_get_priority_max(2) for more info on this syscall.
sched_get_priority_min = 147
See sched_get_priority_min(2) for more info on this syscall.
sched_rr_get_interval = 148
See sched_rr_get_interval(2) for more info on this syscall.
mlock = 149
See mlock(2) for more info on this syscall.
munlock = 150
See munlock(2) for more info on this syscall.
mlockall = 151
See mlockall(2) for more info on this syscall.
munlockall = 152
See munlockall(2) for more info on this syscall.
vhangup = 153
See vhangup(2) for more info on this syscall.
modify_ldt = 154
See modify_ldt(2) for more info on this syscall.
pivot_root = 155
See pivot_root(2) for more info on this syscall.
_sysctl = 156
See _sysctl(2) for more info on this syscall.
prctl = 157
See prctl(2) for more info on this syscall.
arch_prctl = 158
See arch_prctl(2) for more info on this syscall.
adjtimex = 159
See adjtimex(2) for more info on this syscall.
setrlimit = 160
See setrlimit(2) for more info on this syscall.
chroot = 161
See chroot(2) for more info on this syscall.
sync = 162
See sync(2) for more info on this syscall.
acct = 163
See acct(2) for more info on this syscall.
settimeofday = 164
See settimeofday(2) for more info on this syscall.
mount = 165
See mount(2) for more info on this syscall.
umount2 = 166
See umount2(2) for more info on this syscall.
swapon = 167
See swapon(2) for more info on this syscall.
swapoff = 168
See swapoff(2) for more info on this syscall.
reboot = 169
See reboot(2) for more info on this syscall.
sethostname = 170
See sethostname(2) for more info on this syscall.
setdomainname = 171
See setdomainname(2) for more info on this syscall.
iopl = 172
See iopl(2) for more info on this syscall.
ioperm = 173
See ioperm(2) for more info on this syscall.
create_module = 174
NOTE: create_module
is not implemented in the kernel.
init_module = 175
See init_module(2) for more info on this syscall.
delete_module = 176
See delete_module(2) for more info on this syscall.
get_kernel_syms = 177
NOTE: get_kernel_syms
is not implemented in the kernel.
query_module = 178
NOTE: query_module
is not implemented in the kernel.
quotactl = 179
See quotactl(2) for more info on this syscall.
nfsservctl = 180
NOTE: nfsservctl
is not implemented in the kernel.
getpmsg = 181
NOTE: getpmsg
is not implemented in the kernel.
putpmsg = 182
NOTE: putpmsg
is not implemented in the kernel.
afs_syscall = 183
NOTE: afs_syscall
is not implemented in the kernel.
tuxcall = 184
NOTE: tuxcall
is not implemented in the kernel.
security = 185
NOTE: security
is not implemented in the kernel.
gettid = 186
See gettid(2) for more info on this syscall.
readahead = 187
See readahead(2) for more info on this syscall.
setxattr = 188
See setxattr(2) for more info on this syscall.
lsetxattr = 189
See lsetxattr(2) for more info on this syscall.
fsetxattr = 190
See fsetxattr(2) for more info on this syscall.
getxattr = 191
See getxattr(2) for more info on this syscall.
lgetxattr = 192
See lgetxattr(2) for more info on this syscall.
fgetxattr = 193
See fgetxattr(2) for more info on this syscall.
listxattr = 194
See listxattr(2) for more info on this syscall.
llistxattr = 195
See llistxattr(2) for more info on this syscall.
flistxattr = 196
See flistxattr(2) for more info on this syscall.
removexattr = 197
See removexattr(2) for more info on this syscall.
lremovexattr = 198
See lremovexattr(2) for more info on this syscall.
fremovexattr = 199
See fremovexattr(2) for more info on this syscall.
tkill = 200
See tkill(2) for more info on this syscall.
time = 201
See time(2) for more info on this syscall.
futex = 202
See futex(2) for more info on this syscall.
sched_setaffinity = 203
See sched_setaffinity(2) for more info on this syscall.
sched_getaffinity = 204
See sched_getaffinity(2) for more info on this syscall.
set_thread_area = 205
NOTE: set_thread_area
is not implemented in the kernel.
io_setup = 206
See io_setup(2) for more info on this syscall.
io_destroy = 207
See io_destroy(2) for more info on this syscall.
io_getevents = 208
See io_getevents(2) for more info on this syscall.
io_submit = 209
See io_submit(2) for more info on this syscall.
io_cancel = 210
See io_cancel(2) for more info on this syscall.
get_thread_area = 211
NOTE: get_thread_area
is not implemented in the kernel.
NOTE: lookup_dcookie
is not implemented in the kernel.
epoll_create = 213
See epoll_create(2) for more info on this syscall.
epoll_ctl_old = 214
NOTE: epoll_ctl_old
is not implemented in the kernel.
epoll_wait_old = 215
NOTE: epoll_wait_old
is not implemented in the kernel.
remap_file_pages = 216
See remap_file_pages(2) for more info on this syscall.
getdents64 = 217
See getdents64(2) for more info on this syscall.
set_tid_address = 218
See set_tid_address(2) for more info on this syscall.
restart_syscall = 219
See restart_syscall(2) for more info on this syscall.
semtimedop = 220
See semtimedop(2) for more info on this syscall.
fadvise64 = 221
See fadvise64(2) for more info on this syscall.
timer_create = 222
See timer_create(2) for more info on this syscall.
timer_settime = 223
See timer_settime(2) for more info on this syscall.
timer_gettime = 224
See timer_gettime(2) for more info on this syscall.
timer_getoverrun = 225
See timer_getoverrun(2) for more info on this syscall.
timer_delete = 226
See timer_delete(2) for more info on this syscall.
clock_settime = 227
See clock_settime(2) for more info on this syscall.
clock_gettime = 228
See clock_gettime(2) for more info on this syscall.
clock_getres = 229
See clock_getres(2) for more info on this syscall.
clock_nanosleep = 230
See clock_nanosleep(2) for more info on this syscall.
exit_group = 231
See exit_group(2) for more info on this syscall.
epoll_wait = 232
See epoll_wait(2) for more info on this syscall.
epoll_ctl = 233
See epoll_ctl(2) for more info on this syscall.
tgkill = 234
See tgkill(2) for more info on this syscall.
utimes = 235
See utimes(2) for more info on this syscall.
vserver = 236
NOTE: vserver
is not implemented in the kernel.
mbind = 237
See mbind(2) for more info on this syscall.
set_mempolicy = 238
See set_mempolicy(2) for more info on this syscall.
get_mempolicy = 239
See get_mempolicy(2) for more info on this syscall.
mq_open = 240
See mq_open(2) for more info on this syscall.
mq_unlink = 241
See mq_unlink(2) for more info on this syscall.
mq_timedsend = 242
See mq_timedsend(2) for more info on this syscall.
mq_timedreceive = 243
See mq_timedreceive(2) for more info on this syscall.
mq_notify = 244
See mq_notify(2) for more info on this syscall.
mq_getsetattr = 245
See mq_getsetattr(2) for more info on this syscall.
kexec_load = 246
See kexec_load(2) for more info on this syscall.
waitid = 247
See waitid(2) for more info on this syscall.
add_key = 248
See add_key(2) for more info on this syscall.
request_key = 249
See request_key(2) for more info on this syscall.
keyctl = 250
See keyctl(2) for more info on this syscall.
ioprio_set = 251
See ioprio_set(2) for more info on this syscall.
ioprio_get = 252
See ioprio_get(2) for more info on this syscall.
inotify_init = 253
See inotify_init(2) for more info on this syscall.
inotify_add_watch = 254
See inotify_add_watch(2) for more info on this syscall.
inotify_rm_watch = 255
See inotify_rm_watch(2) for more info on this syscall.
migrate_pages = 256
See migrate_pages(2) for more info on this syscall.
openat = 257
See openat(2) for more info on this syscall.
mkdirat = 258
See mkdirat(2) for more info on this syscall.
mknodat = 259
See mknodat(2) for more info on this syscall.
fchownat = 260
See fchownat(2) for more info on this syscall.
futimesat = 261
See futimesat(2) for more info on this syscall.
newfstatat = 262
See newfstatat(2) for more info on this syscall.
unlinkat = 263
See unlinkat(2) for more info on this syscall.
renameat = 264
See renameat(2) for more info on this syscall.
linkat = 265
See linkat(2) for more info on this syscall.
symlinkat = 266
See symlinkat(2) for more info on this syscall.
readlinkat = 267
See readlinkat(2) for more info on this syscall.
fchmodat = 268
See fchmodat(2) for more info on this syscall.
faccessat = 269
See faccessat(2) for more info on this syscall.
pselect6 = 270
See pselect6(2) for more info on this syscall.
ppoll = 271
See ppoll(2) for more info on this syscall.
See unshare(2) for more info on this syscall.
set_robust_list = 273
See set_robust_list(2) for more info on this syscall.
get_robust_list = 274
See get_robust_list(2) for more info on this syscall.
splice = 275
See splice(2) for more info on this syscall.
tee = 276
See tee(2) for more info on this syscall.
sync_file_range = 277
See sync_file_range(2) for more info on this syscall.
vmsplice = 278
See vmsplice(2) for more info on this syscall.
move_pages = 279
See move_pages(2) for more info on this syscall.
utimensat = 280
See utimensat(2) for more info on this syscall.
epoll_pwait = 281
See epoll_pwait(2) for more info on this syscall.
signalfd = 282
See signalfd(2) for more info on this syscall.
timerfd_create = 283
See timerfd_create(2) for more info on this syscall.
eventfd = 284
See eventfd(2) for more info on this syscall.
fallocate = 285
See fallocate(2) for more info on this syscall.
timerfd_settime = 286
See timerfd_settime(2) for more info on this syscall.
timerfd_gettime = 287
See timerfd_gettime(2) for more info on this syscall.
accept4 = 288
See accept4(2) for more info on this syscall.
signalfd4 = 289
See signalfd4(2) for more info on this syscall.
eventfd2 = 290
See eventfd2(2) for more info on this syscall.
epoll_create1 = 291
See epoll_create1(2) for more info on this syscall.
dup3 = 292
See dup3(2) for more info on this syscall.
pipe2 = 293
See pipe2(2) for more info on this syscall.
inotify_init1 = 294
See inotify_init1(2) for more info on this syscall.
preadv = 295
See preadv(2) for more info on this syscall.
pwritev = 296
See pwritev(2) for more info on this syscall.
rt_tgsigqueueinfo = 297
See rt_tgsigqueueinfo(2) for more info on this syscall.
perf_event_open = 298
See perf_event_open(2) for more info on this syscall.
recvmmsg = 299
See recvmmsg(2) for more info on this syscall.
fanotify_init = 300
See fanotify_init(2) for more info on this syscall.
fanotify_mark = 301
See fanotify_mark(2) for more info on this syscall.
prlimit64 = 302
See prlimit64(2) for more info on this syscall.
name_to_handle_at = 303
See name_to_handle_at(2) for more info on this syscall.
open_by_handle_at = 304
See open_by_handle_at(2) for more info on this syscall.
clock_adjtime = 305
See clock_adjtime(2) for more info on this syscall.
syncfs = 306
See syncfs(2) for more info on this syscall.
sendmmsg = 307
See sendmmsg(2) for more info on this syscall.
setns = 308
See setns(2) for more info on this syscall.
getcpu = 309
See getcpu(2) for more info on this syscall.
process_vm_readv = 310
See process_vm_readv(2) for more info on this syscall.
process_vm_writev = 311
See process_vm_writev(2) for more info on this syscall.
kcmp = 312
See kcmp(2) for more info on this syscall.
finit_module = 313
See finit_module(2) for more info on this syscall.
sched_setattr = 314
See sched_setattr(2) for more info on this syscall.
sched_getattr = 315
See sched_getattr(2) for more info on this syscall.
renameat2 = 316
See renameat2(2) for more info on this syscall.
seccomp = 317
See seccomp(2) for more info on this syscall.
getrandom = 318
See getrandom(2) for more info on this syscall.
memfd_create = 319
See memfd_create(2) for more info on this syscall.
kexec_file_load = 320
See kexec_file_load(2) for more info on this syscall.
bpf = 321
See bpf(2) for more info on this syscall.
execveat = 322
See execveat(2) for more info on this syscall.
userfaultfd = 323
See userfaultfd(2) for more info on this syscall.
membarrier = 324
See membarrier(2) for more info on this syscall.
mlock2 = 325
See mlock2(2) for more info on this syscall.
copy_file_range = 326
See copy_file_range(2) for more info on this syscall.
preadv2 = 327
See preadv2(2) for more info on this syscall.
pwritev2 = 328
See pwritev2(2) for more info on this syscall.
pkey_mprotect = 329
See pkey_mprotect(2) for more info on this syscall.
pkey_alloc = 330
See pkey_alloc(2) for more info on this syscall.
pkey_free = 331
See pkey_free(2) for more info on this syscall.
statx = 332
See statx(2) for more info on this syscall.
io_pgetevents = 333
See io_pgetevents(2) for more info on this syscall.
rseq = 334
See rseq(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.
memfd_secret = 447
See memfd_secret(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.
cachestat = 451
See cachestat(2) for more info on this syscall.
fchmodat2 = 452
See fchmodat2(2) for more info on this syscall.
map_shadow_stack = 453
See map_shadow_stack(2) for more info on this syscall.
futex_wake = 454
See futex_wake(2) for more info on this syscall.
futex_wait = 455
See futex_wait(2) for more info on this syscall.
futex_requeue = 456
See futex_requeue(2) for more info on this syscall.
statmount = 457
See statmount(2) for more info on this syscall.
listmount = 458
See listmount(2) for more info on this syscall.
lsm_get_self_attr = 459
See lsm_get_self_attr(2) for more info on this syscall.
lsm_set_self_attr = 460
See lsm_set_self_attr(2) for more info on this syscall.
lsm_list_modules = 461
See lsm_list_modules(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 len() -> usize
👎Deprecated: Sysno::len() is misleading. Use Sysno::table_size() instead.
pub const fn len() -> usize
Returns the length of the syscall table, including any gaps.
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.
Trait Implementations§
source§impl BitOrAssign<Sysno> for SysnoSet
impl BitOrAssign<Sysno> for SysnoSet
source§fn bitor_assign(&mut self, sysno: Sysno)
fn bitor_assign(&mut self, sysno: Sysno)
|=
operation. Read moresource§impl<'de> Deserialize<'de> for Sysno
impl<'de> Deserialize<'de> for Sysno
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
source§impl Extend<Sysno> for SysnoSet
impl Extend<Sysno> for SysnoSet
source§fn extend<T: IntoIterator<Item = Sysno>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = Sysno>>(&mut self, iter: T)
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)source§impl FromIterator<Sysno> for SysnoSet
impl FromIterator<Sysno> for SysnoSet
source§impl Ord for Sysno
impl Ord for Sysno
source§impl PartialEq for Sysno
impl PartialEq for Sysno
source§impl PartialOrd for Sysno
impl PartialOrd for Sysno
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read more