Enum seccomp_stream::Sysno
source · #[non_exhaustive]#[repr(i32)]pub enum Sysno {
Show 451 variants
restart_syscall = 0,
exit = 1,
fork = 2,
read = 3,
write = 4,
open = 5,
close = 6,
waitpid = 7,
creat = 8,
link = 9,
unlink = 10,
execve = 11,
chdir = 12,
time = 13,
mknod = 14,
chmod = 15,
lchown = 16,
break = 17,
oldstat = 18,
lseek = 19,
getpid = 20,
mount = 21,
umount = 22,
setuid = 23,
getuid = 24,
stime = 25,
ptrace = 26,
alarm = 27,
oldfstat = 28,
pause = 29,
utime = 30,
stty = 31,
gtty = 32,
access = 33,
nice = 34,
ftime = 35,
sync = 36,
kill = 37,
rename = 38,
mkdir = 39,
rmdir = 40,
dup = 41,
pipe = 42,
times = 43,
prof = 44,
brk = 45,
setgid = 46,
getgid = 47,
signal = 48,
geteuid = 49,
getegid = 50,
acct = 51,
umount2 = 52,
lock = 53,
ioctl = 54,
fcntl = 55,
mpx = 56,
setpgid = 57,
ulimit = 58,
oldolduname = 59,
umask = 60,
chroot = 61,
ustat = 62,
dup2 = 63,
getppid = 64,
getpgrp = 65,
setsid = 66,
sigaction = 67,
sgetmask = 68,
ssetmask = 69,
setreuid = 70,
setregid = 71,
sigsuspend = 72,
sigpending = 73,
sethostname = 74,
setrlimit = 75,
getrlimit = 76,
getrusage = 77,
gettimeofday = 78,
settimeofday = 79,
getgroups = 80,
setgroups = 81,
select = 82,
symlink = 83,
oldlstat = 84,
readlink = 85,
uselib = 86,
swapon = 87,
reboot = 88,
readdir = 89,
mmap = 90,
munmap = 91,
truncate = 92,
ftruncate = 93,
fchmod = 94,
fchown = 95,
getpriority = 96,
setpriority = 97,
profil = 98,
statfs = 99,
fstatfs = 100,
ioperm = 101,
socketcall = 102,
syslog = 103,
setitimer = 104,
getitimer = 105,
stat = 106,
lstat = 107,
fstat = 108,
olduname = 109,
iopl = 110,
vhangup = 111,
idle = 112,
vm86old = 113,
wait4 = 114,
swapoff = 115,
sysinfo = 116,
ipc = 117,
fsync = 118,
sigreturn = 119,
clone = 120,
setdomainname = 121,
uname = 122,
modify_ldt = 123,
adjtimex = 124,
mprotect = 125,
sigprocmask = 126,
create_module = 127,
init_module = 128,
delete_module = 129,
get_kernel_syms = 130,
quotactl = 131,
getpgid = 132,
fchdir = 133,
bdflush = 134,
sysfs = 135,
personality = 136,
afs_syscall = 137,
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,
vm86 = 166,
query_module = 167,
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,
getpmsg = 188,
putpmsg = 189,
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,
pivot_root = 217,
mincore = 218,
madvise = 219,
getdents64 = 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,
set_thread_area = 243,
get_thread_area = 244,
io_setup = 245,
io_destroy = 246,
io_getevents = 247,
io_submit = 248,
io_cancel = 249,
fadvise64 = 250,
exit_group = 252,
lookup_dcookie = 253,
epoll_create = 254,
epoll_ctl = 255,
epoll_wait = 256,
remap_file_pages = 257,
set_tid_address = 258,
timer_create = 259,
timer_settime = 260,
timer_gettime = 261,
timer_getoverrun = 262,
timer_delete = 263,
clock_settime = 264,
clock_gettime = 265,
clock_getres = 266,
clock_nanosleep = 267,
statfs64 = 268,
fstatfs64 = 269,
tgkill = 270,
utimes = 271,
fadvise64_64 = 272,
vserver = 273,
mbind = 274,
get_mempolicy = 275,
set_mempolicy = 276,
mq_open = 277,
mq_unlink = 278,
mq_timedsend = 279,
mq_timedreceive = 280,
mq_notify = 281,
mq_getsetattr = 282,
kexec_load = 283,
waitid = 284,
add_key = 286,
request_key = 287,
keyctl = 288,
ioprio_set = 289,
ioprio_get = 290,
inotify_init = 291,
inotify_add_watch = 292,
inotify_rm_watch = 293,
migrate_pages = 294,
openat = 295,
mkdirat = 296,
mknodat = 297,
fchownat = 298,
futimesat = 299,
fstatat64 = 300,
unlinkat = 301,
renameat = 302,
linkat = 303,
symlinkat = 304,
readlinkat = 305,
fchmodat = 306,
faccessat = 307,
pselect6 = 308,
ppoll = 309,
unshare = 310,
set_robust_list = 311,
get_robust_list = 312,
splice = 313,
sync_file_range = 314,
tee = 315,
vmsplice = 316,
move_pages = 317,
getcpu = 318,
epoll_pwait = 319,
utimensat = 320,
signalfd = 321,
timerfd_create = 322,
eventfd = 323,
fallocate = 324,
timerfd_settime = 325,
timerfd_gettime = 326,
signalfd4 = 327,
eventfd2 = 328,
epoll_create1 = 329,
dup3 = 330,
pipe2 = 331,
inotify_init1 = 332,
preadv = 333,
pwritev = 334,
rt_tgsigqueueinfo = 335,
perf_event_open = 336,
recvmmsg = 337,
fanotify_init = 338,
fanotify_mark = 339,
prlimit64 = 340,
name_to_handle_at = 341,
open_by_handle_at = 342,
clock_adjtime = 343,
syncfs = 344,
sendmmsg = 345,
setns = 346,
process_vm_readv = 347,
process_vm_writev = 348,
kcmp = 349,
finit_module = 350,
sched_setattr = 351,
sched_getattr = 352,
renameat2 = 353,
seccomp = 354,
getrandom = 355,
memfd_create = 356,
bpf = 357,
execveat = 358,
socket = 359,
socketpair = 360,
bind = 361,
connect = 362,
listen = 363,
accept4 = 364,
getsockopt = 365,
setsockopt = 366,
getsockname = 367,
getpeername = 368,
sendto = 369,
sendmsg = 370,
recvfrom = 371,
recvmsg = 372,
shutdown = 373,
userfaultfd = 374,
membarrier = 375,
mlock2 = 376,
copy_file_range = 377,
preadv2 = 378,
pwritev2 = 379,
pkey_mprotect = 380,
pkey_alloc = 381,
pkey_free = 382,
statx = 383,
arch_prctl = 384,
io_pgetevents = 385,
rseq = 386,
semget = 393,
semctl = 394,
shmget = 395,
shmctl = 396,
shmat = 397,
shmdt = 398,
msgget = 399,
msgsnd = 400,
msgrcv = 401,
msgctl = 402,
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,
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
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.
waitpid = 7
See waitpid(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.
time = 13
See time(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.
break = 17
NOTE: r#break is not implemented in the kernel.
oldstat = 18
See oldstat(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.
umount = 22
See umount(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.
stime = 25
See stime(2) for more info on this syscall.
ptrace = 26
See ptrace(2) for more info on this syscall.
alarm = 27
See alarm(2) for more info on this syscall.
oldfstat = 28
See oldfstat(2) for more info on this syscall.
pause = 29
See pause(2) for more info on this syscall.
utime = 30
See utime(2) for more info on this syscall.
stty = 31
NOTE: stty is not implemented in the kernel.
gtty = 32
NOTE: gtty is not implemented in the kernel.
access = 33
See access(2) for more info on this syscall.
nice = 34
See nice(2) for more info on this syscall.
ftime = 35
NOTE: ftime is not implemented in the kernel.
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.
prof = 44
NOTE: prof is not implemented in the kernel.
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.
signal = 48
See signal(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.
lock = 53
NOTE: lock is not implemented in the kernel.
ioctl = 54
See ioctl(2) for more info on this syscall.
fcntl = 55
See fcntl(2) for more info on this syscall.
mpx = 56
NOTE: mpx is not implemented in the kernel.
setpgid = 57
See setpgid(2) for more info on this syscall.
ulimit = 58
NOTE: ulimit is not implemented in the kernel.
oldolduname = 59
See oldolduname(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.
sgetmask = 68
See sgetmask(2) for more info on this syscall.
ssetmask = 69
See ssetmask(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.
getrlimit = 76
See getrlimit(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.
select = 82
See select(2) for more info on this syscall.
symlink = 83
See symlink(2) for more info on this syscall.
oldlstat = 84
See oldlstat(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.
readdir = 89
See readdir(2) for more info on this syscall.
mmap = 90
See mmap(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.
profil = 98
NOTE: profil is not implemented in the kernel.
statfs = 99
See statfs(2) for more info on this syscall.
fstatfs = 100
See fstatfs(2) for more info on this syscall.
ioperm = 101
See ioperm(2) for more info on this syscall.
socketcall = 102
See socketcall(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.
olduname = 109
See olduname(2) for more info on this syscall.
iopl = 110
See iopl(2) for more info on this syscall.
vhangup = 111
See vhangup(2) for more info on this syscall.
idle = 112
NOTE: idle is not implemented in the kernel.
vm86old = 113
See vm86old(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.
ipc = 117
See ipc(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.
modify_ldt = 123
See modify_ldt(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.
create_module = 127
NOTE: create_module is not implemented in the kernel.
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.
get_kernel_syms = 130
NOTE: get_kernel_syms is not implemented in the kernel.
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.
afs_syscall = 137
NOTE: afs_syscall is not implemented in the kernel.
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.
vm86 = 166
See vm86(2) for more info on this syscall.
query_module = 167
NOTE: query_module is not implemented in the kernel.
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.
getpmsg = 188
NOTE: getpmsg is not implemented in the kernel.
putpmsg = 189
NOTE: putpmsg is not implemented in the kernel.
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.
pivot_root = 217
See pivot_root(2) for more info on this syscall.
mincore = 218
See mincore(2) for more info on this syscall.
madvise = 219
See madvise(2) for more info on this syscall.
getdents64 = 220
See getdents64(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.
set_thread_area = 243
See set_thread_area(2) for more info on this syscall.
get_thread_area = 244
See get_thread_area(2) for more info on this syscall.
io_setup = 245
See io_setup(2) for more info on this syscall.
io_destroy = 246
See io_destroy(2) for more info on this syscall.
io_getevents = 247
See io_getevents(2) for more info on this syscall.
io_submit = 248
See io_submit(2) for more info on this syscall.
io_cancel = 249
See io_cancel(2) for more info on this syscall.
fadvise64 = 250
See fadvise64(2) for more info on this syscall.
exit_group = 252
See exit_group(2) for more info on this syscall.
NOTE: lookup_dcookie is not implemented in the kernel.
epoll_create = 254
See epoll_create(2) for more info on this syscall.
epoll_ctl = 255
See epoll_ctl(2) for more info on this syscall.
epoll_wait = 256
See epoll_wait(2) for more info on this syscall.
remap_file_pages = 257
See remap_file_pages(2) for more info on this syscall.
set_tid_address = 258
See set_tid_address(2) for more info on this syscall.
timer_create = 259
See timer_create(2) for more info on this syscall.
timer_settime = 260
See timer_settime(2) for more info on this syscall.
timer_gettime = 261
See timer_gettime(2) for more info on this syscall.
timer_getoverrun = 262
See timer_getoverrun(2) for more info on this syscall.
timer_delete = 263
See timer_delete(2) for more info on this syscall.
clock_settime = 264
See clock_settime(2) for more info on this syscall.
clock_gettime = 265
See clock_gettime(2) for more info on this syscall.
clock_getres = 266
See clock_getres(2) for more info on this syscall.
clock_nanosleep = 267
See clock_nanosleep(2) for more info on this syscall.
statfs64 = 268
See statfs64(2) for more info on this syscall.
fstatfs64 = 269
See fstatfs64(2) for more info on this syscall.
tgkill = 270
See tgkill(2) for more info on this syscall.
utimes = 271
See utimes(2) for more info on this syscall.
fadvise64_64 = 272
See fadvise64_64(2) for more info on this syscall.
vserver = 273
NOTE: vserver is not implemented in the kernel.
mbind = 274
See mbind(2) for more info on this syscall.
get_mempolicy = 275
See get_mempolicy(2) for more info on this syscall.
set_mempolicy = 276
See set_mempolicy(2) for more info on this syscall.
mq_open = 277
See mq_open(2) for more info on this syscall.
mq_unlink = 278
See mq_unlink(2) for more info on this syscall.
mq_timedsend = 279
See mq_timedsend(2) for more info on this syscall.
mq_timedreceive = 280
See mq_timedreceive(2) for more info on this syscall.
mq_notify = 281
See mq_notify(2) for more info on this syscall.
mq_getsetattr = 282
See mq_getsetattr(2) for more info on this syscall.
kexec_load = 283
See kexec_load(2) for more info on this syscall.
waitid = 284
See waitid(2) for more info on this syscall.
add_key = 286
See add_key(2) for more info on this syscall.
request_key = 287
See request_key(2) for more info on this syscall.
keyctl = 288
See keyctl(2) for more info on this syscall.
ioprio_set = 289
See ioprio_set(2) for more info on this syscall.
ioprio_get = 290
See ioprio_get(2) for more info on this syscall.
inotify_init = 291
See inotify_init(2) for more info on this syscall.
inotify_add_watch = 292
See inotify_add_watch(2) for more info on this syscall.
inotify_rm_watch = 293
See inotify_rm_watch(2) for more info on this syscall.
migrate_pages = 294
See migrate_pages(2) for more info on this syscall.
openat = 295
See openat(2) for more info on this syscall.
mkdirat = 296
See mkdirat(2) for more info on this syscall.
mknodat = 297
See mknodat(2) for more info on this syscall.
fchownat = 298
See fchownat(2) for more info on this syscall.
futimesat = 299
See futimesat(2) for more info on this syscall.
fstatat64 = 300
See fstatat64(2) for more info on this syscall.
unlinkat = 301
See unlinkat(2) for more info on this syscall.
renameat = 302
See renameat(2) for more info on this syscall.
linkat = 303
See linkat(2) for more info on this syscall.
symlinkat = 304
See symlinkat(2) for more info on this syscall.
readlinkat = 305
See readlinkat(2) for more info on this syscall.
fchmodat = 306
See fchmodat(2) for more info on this syscall.
faccessat = 307
See faccessat(2) for more info on this syscall.
pselect6 = 308
See pselect6(2) for more info on this syscall.
ppoll = 309
See ppoll(2) for more info on this syscall.
See unshare(2) for more info on this syscall.
set_robust_list = 311
See set_robust_list(2) for more info on this syscall.
get_robust_list = 312
See get_robust_list(2) for more info on this syscall.
splice = 313
See splice(2) for more info on this syscall.
sync_file_range = 314
See sync_file_range(2) for more info on this syscall.
tee = 315
See tee(2) for more info on this syscall.
vmsplice = 316
See vmsplice(2) for more info on this syscall.
move_pages = 317
See move_pages(2) for more info on this syscall.
getcpu = 318
See getcpu(2) for more info on this syscall.
epoll_pwait = 319
See epoll_pwait(2) for more info on this syscall.
utimensat = 320
See utimensat(2) for more info on this syscall.
signalfd = 321
See signalfd(2) for more info on this syscall.
timerfd_create = 322
See timerfd_create(2) for more info on this syscall.
eventfd = 323
See eventfd(2) for more info on this syscall.
fallocate = 324
See fallocate(2) for more info on this syscall.
timerfd_settime = 325
See timerfd_settime(2) for more info on this syscall.
timerfd_gettime = 326
See timerfd_gettime(2) for more info on this syscall.
signalfd4 = 327
See signalfd4(2) for more info on this syscall.
eventfd2 = 328
See eventfd2(2) for more info on this syscall.
epoll_create1 = 329
See epoll_create1(2) for more info on this syscall.
dup3 = 330
See dup3(2) for more info on this syscall.
pipe2 = 331
See pipe2(2) for more info on this syscall.
inotify_init1 = 332
See inotify_init1(2) for more info on this syscall.
preadv = 333
See preadv(2) for more info on this syscall.
pwritev = 334
See pwritev(2) for more info on this syscall.
rt_tgsigqueueinfo = 335
See rt_tgsigqueueinfo(2) for more info on this syscall.
perf_event_open = 336
See perf_event_open(2) for more info on this syscall.
recvmmsg = 337
See recvmmsg(2) for more info on this syscall.
fanotify_init = 338
See fanotify_init(2) for more info on this syscall.
fanotify_mark = 339
See fanotify_mark(2) for more info on this syscall.
prlimit64 = 340
See prlimit64(2) for more info on this syscall.
name_to_handle_at = 341
See name_to_handle_at(2) for more info on this syscall.
open_by_handle_at = 342
See open_by_handle_at(2) for more info on this syscall.
clock_adjtime = 343
See clock_adjtime(2) for more info on this syscall.
syncfs = 344
See syncfs(2) for more info on this syscall.
sendmmsg = 345
See sendmmsg(2) for more info on this syscall.
setns = 346
See setns(2) for more info on this syscall.
process_vm_readv = 347
See process_vm_readv(2) for more info on this syscall.
process_vm_writev = 348
See process_vm_writev(2) for more info on this syscall.
kcmp = 349
See kcmp(2) for more info on this syscall.
finit_module = 350
See finit_module(2) for more info on this syscall.
sched_setattr = 351
See sched_setattr(2) for more info on this syscall.
sched_getattr = 352
See sched_getattr(2) for more info on this syscall.
renameat2 = 353
See renameat2(2) for more info on this syscall.
seccomp = 354
See seccomp(2) for more info on this syscall.
getrandom = 355
See getrandom(2) for more info on this syscall.
memfd_create = 356
See memfd_create(2) for more info on this syscall.
bpf = 357
See bpf(2) for more info on this syscall.
execveat = 358
See execveat(2) for more info on this syscall.
socket = 359
See socket(2) for more info on this syscall.
socketpair = 360
See socketpair(2) for more info on this syscall.
bind = 361
See bind(2) for more info on this syscall.
connect = 362
See connect(2) for more info on this syscall.
listen = 363
See listen(2) for more info on this syscall.
accept4 = 364
See accept4(2) for more info on this syscall.
getsockopt = 365
See getsockopt(2) for more info on this syscall.
setsockopt = 366
See setsockopt(2) for more info on this syscall.
getsockname = 367
See getsockname(2) for more info on this syscall.
getpeername = 368
See getpeername(2) for more info on this syscall.
sendto = 369
See sendto(2) for more info on this syscall.
sendmsg = 370
See sendmsg(2) for more info on this syscall.
recvfrom = 371
See recvfrom(2) for more info on this syscall.
recvmsg = 372
See recvmsg(2) for more info on this syscall.
shutdown = 373
See shutdown(2) for more info on this syscall.
userfaultfd = 374
See userfaultfd(2) for more info on this syscall.
membarrier = 375
See membarrier(2) for more info on this syscall.
mlock2 = 376
See mlock2(2) for more info on this syscall.
copy_file_range = 377
See copy_file_range(2) for more info on this syscall.
preadv2 = 378
See preadv2(2) for more info on this syscall.
pwritev2 = 379
See pwritev2(2) for more info on this syscall.
pkey_mprotect = 380
See pkey_mprotect(2) for more info on this syscall.
pkey_alloc = 381
See pkey_alloc(2) for more info on this syscall.
pkey_free = 382
See pkey_free(2) for more info on this syscall.
statx = 383
See statx(2) for more info on this syscall.
arch_prctl = 384
See arch_prctl(2) for more info on this syscall.
io_pgetevents = 385
See io_pgetevents(2) for more info on this syscall.
rseq = 386
See rseq(2) for more info on this syscall.
semget = 393
See semget(2) for more info on this syscall.
semctl = 394
See semctl(2) for more info on this syscall.
shmget = 395
See shmget(2) for more info on this syscall.
shmctl = 396
See shmctl(2) for more info on this syscall.
shmat = 397
See shmat(2) for more info on this syscall.
shmdt = 398
See shmdt(2) for more info on this syscall.
msgget = 399
See msgget(2) for more info on this syscall.
msgsnd = 400
See msgsnd(2) for more info on this syscall.
msgrcv = 401
See msgrcv(2) for more info on this syscall.
msgctl = 402
See msgctl(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.
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<Sysno>
pub const fn new(id: usize) -> Option<Sysno>
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<Sysno>
pub const fn next(&self) -> Option<Sysno>
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 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