Enum Sysno

Source
#[non_exhaustive]
#[repr(i32)]
pub enum Sysno {
Show 431 variants restart_syscall = 0, exit = 1, fork = 2, read = 3, write = 4, open = 5, close = 6, wait4 = 7, creat = 8, link = 9, unlink = 10, execv = 11, chdir = 12, chown = 13, mknod = 14, chmod = 15, lchown = 16, brk = 17, perfctr = 18, lseek = 19, getpid = 20, capget = 21, capset = 22, setuid = 23, getuid = 24, vmsplice = 25, ptrace = 26, alarm = 27, sigaltstack = 28, pause = 29, utime = 30, lchown32 = 31, fchown32 = 32, access = 33, nice = 34, chown32 = 35, sync = 36, kill = 37, stat = 38, sendfile = 39, lstat = 40, dup = 41, pipe = 42, times = 43, getuid32 = 44, umount2 = 45, setgid = 46, getgid = 47, signal = 48, geteuid = 49, getegid = 50, acct = 51, getgid32 = 53, ioctl = 54, reboot = 55, mmap2 = 56, symlink = 57, readlink = 58, execve = 59, umask = 60, chroot = 61, fstat = 62, fstat64 = 63, getpagesize = 64, msync = 65, vfork = 66, pread64 = 67, pwrite64 = 68, geteuid32 = 69, getegid32 = 70, mmap = 71, setreuid32 = 72, munmap = 73, mprotect = 74, madvise = 75, vhangup = 76, truncate64 = 77, mincore = 78, getgroups = 79, setgroups = 80, getpgrp = 81, setgroups32 = 82, setitimer = 83, ftruncate64 = 84, swapon = 85, getitimer = 86, setuid32 = 87, sethostname = 88, setgid32 = 89, dup2 = 90, setfsuid32 = 91, fcntl = 92, select = 93, setfsgid32 = 94, fsync = 95, setpriority = 96, socket = 97, connect = 98, accept = 99, getpriority = 100, rt_sigreturn = 101, rt_sigaction = 102, rt_sigprocmask = 103, rt_sigpending = 104, rt_sigtimedwait = 105, rt_sigqueueinfo = 106, rt_sigsuspend = 107, setresuid32 = 108, getresuid32 = 109, setresgid32 = 110, getresgid32 = 111, setregid32 = 112, recvmsg = 113, sendmsg = 114, getgroups32 = 115, gettimeofday = 116, getrusage = 117, getsockopt = 118, getcwd = 119, readv = 120, writev = 121, settimeofday = 122, fchown = 123, fchmod = 124, recvfrom = 125, setreuid = 126, setregid = 127, rename = 128, truncate = 129, ftruncate = 130, flock = 131, lstat64 = 132, sendto = 133, shutdown = 134, socketpair = 135, mkdir = 136, rmdir = 137, utimes = 138, stat64 = 139, sendfile64 = 140, getpeername = 141, futex = 142, gettid = 143, getrlimit = 144, setrlimit = 145, pivot_root = 146, prctl = 147, pciconfig_read = 148, pciconfig_write = 149, getsockname = 150, inotify_init = 151, inotify_add_watch = 152, poll = 153, getdents64 = 154, fcntl64 = 155, inotify_rm_watch = 156, statfs = 157, fstatfs = 158, umount = 159, sched_set_affinity = 160, sched_get_affinity = 161, getdomainname = 162, setdomainname = 163, quotactl = 165, set_tid_address = 166, mount = 167, ustat = 168, setxattr = 169, lsetxattr = 170, fsetxattr = 171, getxattr = 172, lgetxattr = 173, getdents = 174, setsid = 175, fchdir = 176, fgetxattr = 177, listxattr = 178, llistxattr = 179, flistxattr = 180, removexattr = 181, lremovexattr = 182, sigpending = 183, query_module = 184, setpgid = 185, fremovexattr = 186, tkill = 187, exit_group = 188, uname = 189, init_module = 190, personality = 191, remap_file_pages = 192, epoll_create = 193, epoll_ctl = 194, epoll_wait = 195, ioprio_set = 196, getppid = 197, sigaction = 198, sgetmask = 199, ssetmask = 200, sigsuspend = 201, oldlstat = 202, uselib = 203, readdir = 204, readahead = 205, socketcall = 206, syslog = 207, lookup_dcookie = 208, fadvise64 = 209, fadvise64_64 = 210, tgkill = 211, waitpid = 212, swapoff = 213, sysinfo = 214, ipc = 215, sigreturn = 216, clone = 217, ioprio_get = 218, adjtimex = 219, sigprocmask = 220, create_module = 221, delete_module = 222, get_kernel_syms = 223, getpgid = 224, bdflush = 225, sysfs = 226, afs_syscall = 227, setfsuid = 228, setfsgid = 229, _newselect = 230, time = 231, splice = 232, stime = 233, statfs64 = 234, fstatfs64 = 235, _llseek = 236, mlock = 237, munlock = 238, mlockall = 239, munlockall = 240, sched_setparam = 241, sched_getparam = 242, sched_setscheduler = 243, sched_getscheduler = 244, sched_yield = 245, sched_get_priority_max = 246, sched_get_priority_min = 247, sched_rr_get_interval = 248, nanosleep = 249, mremap = 250, _sysctl = 251, getsid = 252, fdatasync = 253, nfsservctl = 254, sync_file_range = 255, clock_settime = 256, clock_gettime = 257, clock_getres = 258, clock_nanosleep = 259, sched_getaffinity = 260, sched_setaffinity = 261, timer_settime = 262, timer_gettime = 263, timer_getoverrun = 264, timer_delete = 265, timer_create = 266, vserver = 267, io_setup = 268, io_destroy = 269, io_submit = 270, io_cancel = 271, io_getevents = 272, mq_open = 273, mq_unlink = 274, mq_timedsend = 275, mq_timedreceive = 276, mq_notify = 277, mq_getsetattr = 278, waitid = 279, tee = 280, add_key = 281, request_key = 282, keyctl = 283, openat = 284, mkdirat = 285, mknodat = 286, fchownat = 287, futimesat = 288, fstatat64 = 289, unlinkat = 290, renameat = 291, linkat = 292, symlinkat = 293, readlinkat = 294, fchmodat = 295, faccessat = 296, pselect6 = 297, ppoll = 298, unshare = 299, set_robust_list = 300, get_robust_list = 301, migrate_pages = 302, mbind = 303, get_mempolicy = 304, set_mempolicy = 305, kexec_load = 306, move_pages = 307, getcpu = 308, epoll_pwait = 309, utimensat = 310, signalfd = 311, timerfd_create = 312, eventfd = 313, fallocate = 314, timerfd_settime = 315, timerfd_gettime = 316, signalfd4 = 317, eventfd2 = 318, epoll_create1 = 319, dup3 = 320, pipe2 = 321, inotify_init1 = 322, accept4 = 323, preadv = 324, pwritev = 325, rt_tgsigqueueinfo = 326, perf_event_open = 327, recvmmsg = 328, fanotify_init = 329, fanotify_mark = 330, prlimit64 = 331, name_to_handle_at = 332, open_by_handle_at = 333, clock_adjtime = 334, syncfs = 335, sendmmsg = 336, setns = 337, process_vm_readv = 338, process_vm_writev = 339, kern_features = 340, kcmp = 341, finit_module = 342, sched_setattr = 343, sched_getattr = 344, renameat2 = 345, seccomp = 346, getrandom = 347, memfd_create = 348, bpf = 349, execveat = 350, membarrier = 351, userfaultfd = 352, bind = 353, listen = 354, setsockopt = 355, mlock2 = 356, copy_file_range = 357, preadv2 = 358, pwritev2 = 359, statx = 360, io_pgetevents = 361, pkey_mprotect = 362, pkey_alloc = 363, pkey_free = 364, rseq = 365, 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, 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, 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, mseal = 462,
}
Expand description

Complete list of Linux syscalls.

Variants (Non-exhaustive)§

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
§

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.

§

wait4 = 7

See wait4(2) for more info on this syscall.

§

creat = 8

See creat(2) for more info on this syscall.

See link(2) for more info on this syscall.

See unlink(2) for more info on this syscall.

§

execv = 11

See execv(2) for more info on this syscall.

§

chdir = 12

See chdir(2) for more info on this syscall.

§

chown = 13

See chown(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.

§

brk = 17

See brk(2) for more info on this syscall.

§

perfctr = 18

See perfctr(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.

§

capget = 21

See capget(2) for more info on this syscall.

§

capset = 22

See capset(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.

§

vmsplice = 25

See vmsplice(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.

§

sigaltstack = 28

See sigaltstack(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.

§

lchown32 = 31

See lchown32(2) for more info on this syscall.

§

fchown32 = 32

See fchown32(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.

§

chown32 = 35

See chown32(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.

§

stat = 38

See stat(2) for more info on this syscall.

§

sendfile = 39

See sendfile(2) for more info on this syscall.

§

lstat = 40

See lstat(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.

§

getuid32 = 44

See getuid32(2) for more info on this syscall.

§

umount2 = 45

See umount2(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.

§

getgid32 = 53

See getgid32(2) for more info on this syscall.

§

ioctl = 54

See ioctl(2) for more info on this syscall.

§

reboot = 55

See reboot(2) for more info on this syscall.

§

mmap2 = 56

See mmap2(2) for more info on this syscall.

See symlink(2) for more info on this syscall.

See readlink(2) for more info on this syscall.

§

execve = 59

See execve(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.

§

fstat = 62

See fstat(2) for more info on this syscall.

§

fstat64 = 63

See fstat64(2) for more info on this syscall.

§

getpagesize = 64

See getpagesize(2) for more info on this syscall.

§

msync = 65

See msync(2) for more info on this syscall.

§

vfork = 66

See vfork(2) for more info on this syscall.

§

pread64 = 67

See pread64(2) for more info on this syscall.

§

pwrite64 = 68

See pwrite64(2) for more info on this syscall.

§

geteuid32 = 69

See geteuid32(2) for more info on this syscall.

§

getegid32 = 70

See getegid32(2) for more info on this syscall.

§

mmap = 71

See mmap(2) for more info on this syscall.

§

setreuid32 = 72

See setreuid32(2) for more info on this syscall.

§

munmap = 73

See munmap(2) for more info on this syscall.

§

mprotect = 74

See mprotect(2) for more info on this syscall.

§

madvise = 75

See madvise(2) for more info on this syscall.

§

vhangup = 76

See vhangup(2) for more info on this syscall.

§

truncate64 = 77

See truncate64(2) for more info on this syscall.

§

mincore = 78

See mincore(2) for more info on this syscall.

§

getgroups = 79

See getgroups(2) for more info on this syscall.

§

setgroups = 80

See setgroups(2) for more info on this syscall.

§

getpgrp = 81

See getpgrp(2) for more info on this syscall.

§

setgroups32 = 82

See setgroups32(2) for more info on this syscall.

§

setitimer = 83

See setitimer(2) for more info on this syscall.

§

ftruncate64 = 84

See ftruncate64(2) for more info on this syscall.

§

swapon = 85

See swapon(2) for more info on this syscall.

§

getitimer = 86

See getitimer(2) for more info on this syscall.

§

setuid32 = 87

See setuid32(2) for more info on this syscall.

§

sethostname = 88

See sethostname(2) for more info on this syscall.

§

setgid32 = 89

See setgid32(2) for more info on this syscall.

§

dup2 = 90

See dup2(2) for more info on this syscall.

§

setfsuid32 = 91

See setfsuid32(2) for more info on this syscall.

§

fcntl = 92

See fcntl(2) for more info on this syscall.

§

select = 93

See select(2) for more info on this syscall.

§

setfsgid32 = 94

See setfsgid32(2) for more info on this syscall.

§

fsync = 95

See fsync(2) for more info on this syscall.

§

setpriority = 96

See setpriority(2) for more info on this syscall.

§

socket = 97

See socket(2) for more info on this syscall.

§

connect = 98

See connect(2) for more info on this syscall.

§

accept = 99

See accept(2) for more info on this syscall.

§

getpriority = 100

See getpriority(2) for more info on this syscall.

§

rt_sigreturn = 101

See rt_sigreturn(2) for more info on this syscall.

§

rt_sigaction = 102

See rt_sigaction(2) for more info on this syscall.

§

rt_sigprocmask = 103

See rt_sigprocmask(2) for more info on this syscall.

§

rt_sigpending = 104

See rt_sigpending(2) for more info on this syscall.

§

rt_sigtimedwait = 105

See rt_sigtimedwait(2) for more info on this syscall.

§

rt_sigqueueinfo = 106

See rt_sigqueueinfo(2) for more info on this syscall.

§

rt_sigsuspend = 107

See rt_sigsuspend(2) for more info on this syscall.

§

setresuid32 = 108

See setresuid32(2) for more info on this syscall.

§

getresuid32 = 109

See getresuid32(2) for more info on this syscall.

§

setresgid32 = 110

See setresgid32(2) for more info on this syscall.

§

getresgid32 = 111

See getresgid32(2) for more info on this syscall.

§

setregid32 = 112

See setregid32(2) for more info on this syscall.

§

recvmsg = 113

See recvmsg(2) for more info on this syscall.

§

sendmsg = 114

See sendmsg(2) for more info on this syscall.

§

getgroups32 = 115

See getgroups32(2) for more info on this syscall.

§

gettimeofday = 116

See gettimeofday(2) for more info on this syscall.

§

getrusage = 117

See getrusage(2) for more info on this syscall.

§

getsockopt = 118

See getsockopt(2) for more info on this syscall.

§

getcwd = 119

See getcwd(2) for more info on this syscall.

§

readv = 120

See readv(2) for more info on this syscall.

§

writev = 121

See writev(2) for more info on this syscall.

§

settimeofday = 122

See settimeofday(2) for more info on this syscall.

§

fchown = 123

See fchown(2) for more info on this syscall.

§

fchmod = 124

See fchmod(2) for more info on this syscall.

§

recvfrom = 125

See recvfrom(2) for more info on this syscall.

§

setreuid = 126

See setreuid(2) for more info on this syscall.

§

setregid = 127

See setregid(2) for more info on this syscall.

§

rename = 128

See rename(2) for more info on this syscall.

§

truncate = 129

See truncate(2) for more info on this syscall.

§

ftruncate = 130

See ftruncate(2) for more info on this syscall.

§

flock = 131

See flock(2) for more info on this syscall.

§

lstat64 = 132

See lstat64(2) for more info on this syscall.

§

sendto = 133

See sendto(2) for more info on this syscall.

§

shutdown = 134

See shutdown(2) for more info on this syscall.

§

socketpair = 135

See socketpair(2) for more info on this syscall.

§

mkdir = 136

See mkdir(2) for more info on this syscall.

§

rmdir = 137

See rmdir(2) for more info on this syscall.

§

utimes = 138

See utimes(2) for more info on this syscall.

§

stat64 = 139

See stat64(2) for more info on this syscall.

§

sendfile64 = 140

See sendfile64(2) for more info on this syscall.

§

getpeername = 141

See getpeername(2) for more info on this syscall.

§

futex = 142

See futex(2) for more info on this syscall.

§

gettid = 143

See gettid(2) for more info on this syscall.

§

getrlimit = 144

See getrlimit(2) for more info on this syscall.

§

setrlimit = 145

See setrlimit(2) for more info on this syscall.

§

pivot_root = 146

See pivot_root(2) for more info on this syscall.

§

prctl = 147

See prctl(2) for more info on this syscall.

§

pciconfig_read = 148

See pciconfig_read(2) for more info on this syscall.

§

pciconfig_write = 149

See pciconfig_write(2) for more info on this syscall.

§

getsockname = 150

See getsockname(2) for more info on this syscall.

§

inotify_init = 151

See inotify_init(2) for more info on this syscall.

§

inotify_add_watch = 152

See inotify_add_watch(2) for more info on this syscall.

§

poll = 153

See poll(2) for more info on this syscall.

§

getdents64 = 154

See getdents64(2) for more info on this syscall.

§

fcntl64 = 155

See fcntl64(2) for more info on this syscall.

§

inotify_rm_watch = 156

See inotify_rm_watch(2) for more info on this syscall.

§

statfs = 157

See statfs(2) for more info on this syscall.

§

fstatfs = 158

See fstatfs(2) for more info on this syscall.

§

umount = 159

See umount(2) for more info on this syscall.

§

sched_set_affinity = 160

See sched_set_affinity(2) for more info on this syscall.

§

sched_get_affinity = 161

See sched_get_affinity(2) for more info on this syscall.

§

getdomainname = 162

See getdomainname(2) for more info on this syscall.

§

setdomainname = 163

See setdomainname(2) for more info on this syscall.

§

quotactl = 165

See quotactl(2) for more info on this syscall.

§

set_tid_address = 166

See set_tid_address(2) for more info on this syscall.

§

mount = 167

See mount(2) for more info on this syscall.

§

ustat = 168

See ustat(2) for more info on this syscall.

§

setxattr = 169

See setxattr(2) for more info on this syscall.

§

lsetxattr = 170

See lsetxattr(2) for more info on this syscall.

§

fsetxattr = 171

See fsetxattr(2) for more info on this syscall.

§

getxattr = 172

See getxattr(2) for more info on this syscall.

§

lgetxattr = 173

See lgetxattr(2) for more info on this syscall.

§

getdents = 174

See getdents(2) for more info on this syscall.

§

setsid = 175

See setsid(2) for more info on this syscall.

§

fchdir = 176

See fchdir(2) for more info on this syscall.

§

fgetxattr = 177

See fgetxattr(2) for more info on this syscall.

§

listxattr = 178

See listxattr(2) for more info on this syscall.

§

llistxattr = 179

See llistxattr(2) for more info on this syscall.

§

flistxattr = 180

See flistxattr(2) for more info on this syscall.

§

removexattr = 181

See removexattr(2) for more info on this syscall.

§

lremovexattr = 182

See lremovexattr(2) for more info on this syscall.

§

sigpending = 183

See sigpending(2) for more info on this syscall.

§

query_module = 184

See query_module(2) for more info on this syscall.

§

setpgid = 185

See setpgid(2) for more info on this syscall.

§

fremovexattr = 186

See fremovexattr(2) for more info on this syscall.

§

tkill = 187

See tkill(2) for more info on this syscall.

§

exit_group = 188

See exit_group(2) for more info on this syscall.

§

uname = 189

See uname(2) for more info on this syscall.

§

init_module = 190

See init_module(2) for more info on this syscall.

§

personality = 191

See personality(2) for more info on this syscall.

§

remap_file_pages = 192

See remap_file_pages(2) for more info on this syscall.

§

epoll_create = 193

See epoll_create(2) for more info on this syscall.

§

epoll_ctl = 194

See epoll_ctl(2) for more info on this syscall.

§

epoll_wait = 195

See epoll_wait(2) for more info on this syscall.

§

ioprio_set = 196

See ioprio_set(2) for more info on this syscall.

§

getppid = 197

See getppid(2) for more info on this syscall.

§

sigaction = 198

See sigaction(2) for more info on this syscall.

§

sgetmask = 199

See sgetmask(2) for more info on this syscall.

§

ssetmask = 200

See ssetmask(2) for more info on this syscall.

§

sigsuspend = 201

See sigsuspend(2) for more info on this syscall.

§

oldlstat = 202

See oldlstat(2) for more info on this syscall.

§

uselib = 203

See uselib(2) for more info on this syscall.

§

readdir = 204

See readdir(2) for more info on this syscall.

§

readahead = 205

See readahead(2) for more info on this syscall.

§

socketcall = 206

See socketcall(2) for more info on this syscall.

§

syslog = 207

See syslog(2) for more info on this syscall.

§

lookup_dcookie = 208

See lookup_dcookie(2) for more info on this syscall.

§

fadvise64 = 209

See fadvise64(2) for more info on this syscall.

§

fadvise64_64 = 210

See fadvise64_64(2) for more info on this syscall.

§

tgkill = 211

See tgkill(2) for more info on this syscall.

§

waitpid = 212

See waitpid(2) for more info on this syscall.

§

swapoff = 213

See swapoff(2) for more info on this syscall.

§

sysinfo = 214

See sysinfo(2) for more info on this syscall.

§

ipc = 215

See ipc(2) for more info on this syscall.

§

sigreturn = 216

See sigreturn(2) for more info on this syscall.

§

clone = 217

See clone(2) for more info on this syscall.

§

ioprio_get = 218

See ioprio_get(2) for more info on this syscall.

§

adjtimex = 219

See adjtimex(2) for more info on this syscall.

§

sigprocmask = 220

See sigprocmask(2) for more info on this syscall.

§

create_module = 221

See create_module(2) for more info on this syscall.

§

delete_module = 222

See delete_module(2) for more info on this syscall.

§

get_kernel_syms = 223

See get_kernel_syms(2) for more info on this syscall.

§

getpgid = 224

See getpgid(2) for more info on this syscall.

§

bdflush = 225

See bdflush(2) for more info on this syscall.

§

sysfs = 226

See sysfs(2) for more info on this syscall.

§

afs_syscall = 227

See afs_syscall(2) for more info on this syscall.

§

setfsuid = 228

See setfsuid(2) for more info on this syscall.

§

setfsgid = 229

See setfsgid(2) for more info on this syscall.

§

_newselect = 230

See _newselect(2) for more info on this syscall.

§

time = 231

See time(2) for more info on this syscall.

§

splice = 232

See splice(2) for more info on this syscall.

§

stime = 233

See stime(2) for more info on this syscall.

§

statfs64 = 234

See statfs64(2) for more info on this syscall.

§

fstatfs64 = 235

See fstatfs64(2) for more info on this syscall.

§

_llseek = 236

See _llseek(2) for more info on this syscall.

§

mlock = 237

See mlock(2) for more info on this syscall.

§

munlock = 238

See munlock(2) for more info on this syscall.

§

mlockall = 239

See mlockall(2) for more info on this syscall.

§

munlockall = 240

See munlockall(2) for more info on this syscall.

§

sched_setparam = 241

See sched_setparam(2) for more info on this syscall.

§

sched_getparam = 242

See sched_getparam(2) for more info on this syscall.

§

sched_setscheduler = 243

See sched_setscheduler(2) for more info on this syscall.

§

sched_getscheduler = 244

See sched_getscheduler(2) for more info on this syscall.

§

sched_yield = 245

See sched_yield(2) for more info on this syscall.

§

sched_get_priority_max = 246

See sched_get_priority_max(2) for more info on this syscall.

§

sched_get_priority_min = 247

See sched_get_priority_min(2) for more info on this syscall.

§

sched_rr_get_interval = 248

See sched_rr_get_interval(2) for more info on this syscall.

§

nanosleep = 249

See nanosleep(2) for more info on this syscall.

§

mremap = 250

See mremap(2) for more info on this syscall.

§

_sysctl = 251

See _sysctl(2) for more info on this syscall.

§

getsid = 252

See getsid(2) for more info on this syscall.

§

fdatasync = 253

See fdatasync(2) for more info on this syscall.

§

nfsservctl = 254

See nfsservctl(2) for more info on this syscall.

§

sync_file_range = 255

See sync_file_range(2) for more info on this syscall.

§

clock_settime = 256

See clock_settime(2) for more info on this syscall.

§

clock_gettime = 257

See clock_gettime(2) for more info on this syscall.

§

clock_getres = 258

See clock_getres(2) for more info on this syscall.

§

clock_nanosleep = 259

See clock_nanosleep(2) for more info on this syscall.

§

sched_getaffinity = 260

See sched_getaffinity(2) for more info on this syscall.

§

sched_setaffinity = 261

See sched_setaffinity(2) for more info on this syscall.

§

timer_settime = 262

See timer_settime(2) for more info on this syscall.

§

timer_gettime = 263

See timer_gettime(2) for more info on this syscall.

§

timer_getoverrun = 264

See timer_getoverrun(2) for more info on this syscall.

§

timer_delete = 265

See timer_delete(2) for more info on this syscall.

§

timer_create = 266

See timer_create(2) for more info on this syscall.

§

vserver = 267

See vserver(2) for more info on this syscall.

§

io_setup = 268

See io_setup(2) for more info on this syscall.

§

io_destroy = 269

See io_destroy(2) for more info on this syscall.

§

io_submit = 270

See io_submit(2) for more info on this syscall.

§

io_cancel = 271

See io_cancel(2) for more info on this syscall.

§

io_getevents = 272

See io_getevents(2) for more info on this syscall.

§

mq_open = 273

See mq_open(2) for more info on this syscall.

See mq_unlink(2) for more info on this syscall.

§

mq_timedsend = 275

See mq_timedsend(2) for more info on this syscall.

§

mq_timedreceive = 276

See mq_timedreceive(2) for more info on this syscall.

§

mq_notify = 277

See mq_notify(2) for more info on this syscall.

§

mq_getsetattr = 278

See mq_getsetattr(2) for more info on this syscall.

§

waitid = 279

See waitid(2) for more info on this syscall.

§

tee = 280

See tee(2) for more info on this syscall.

§

add_key = 281

See add_key(2) for more info on this syscall.

§

request_key = 282

See request_key(2) for more info on this syscall.

§

keyctl = 283

See keyctl(2) for more info on this syscall.

§

openat = 284

See openat(2) for more info on this syscall.

§

mkdirat = 285

See mkdirat(2) for more info on this syscall.

§

mknodat = 286

See mknodat(2) for more info on this syscall.

§

fchownat = 287

See fchownat(2) for more info on this syscall.

§

futimesat = 288

See futimesat(2) for more info on this syscall.

§

fstatat64 = 289

See fstatat64(2) for more info on this syscall.

§

unlinkat = 290

See unlinkat(2) for more info on this syscall.

§

renameat = 291

See renameat(2) for more info on this syscall.

§

linkat = 292

See linkat(2) for more info on this syscall.

§

symlinkat = 293

See symlinkat(2) for more info on this syscall.

§

readlinkat = 294

See readlinkat(2) for more info on this syscall.

§

fchmodat = 295

See fchmodat(2) for more info on this syscall.

§

faccessat = 296

See faccessat(2) for more info on this syscall.

§

pselect6 = 297

See pselect6(2) for more info on this syscall.

§

ppoll = 298

See ppoll(2) for more info on this syscall.

§

unshare = 299

See unshare(2) for more info on this syscall.

§

set_robust_list = 300

See set_robust_list(2) for more info on this syscall.

§

get_robust_list = 301

See get_robust_list(2) for more info on this syscall.

§

migrate_pages = 302

See migrate_pages(2) for more info on this syscall.

§

mbind = 303

See mbind(2) for more info on this syscall.

§

get_mempolicy = 304

See get_mempolicy(2) for more info on this syscall.

§

set_mempolicy = 305

See set_mempolicy(2) for more info on this syscall.

§

kexec_load = 306

See kexec_load(2) for more info on this syscall.

§

move_pages = 307

See move_pages(2) for more info on this syscall.

§

getcpu = 308

See getcpu(2) for more info on this syscall.

§

epoll_pwait = 309

See epoll_pwait(2) for more info on this syscall.

§

utimensat = 310

See utimensat(2) for more info on this syscall.

§

signalfd = 311

See signalfd(2) for more info on this syscall.

§

timerfd_create = 312

See timerfd_create(2) for more info on this syscall.

§

eventfd = 313

See eventfd(2) for more info on this syscall.

§

fallocate = 314

See fallocate(2) for more info on this syscall.

§

timerfd_settime = 315

See timerfd_settime(2) for more info on this syscall.

§

timerfd_gettime = 316

See timerfd_gettime(2) for more info on this syscall.

§

signalfd4 = 317

See signalfd4(2) for more info on this syscall.

§

eventfd2 = 318

See eventfd2(2) for more info on this syscall.

§

epoll_create1 = 319

See epoll_create1(2) for more info on this syscall.

§

dup3 = 320

See dup3(2) for more info on this syscall.

§

pipe2 = 321

See pipe2(2) for more info on this syscall.

§

inotify_init1 = 322

See inotify_init1(2) for more info on this syscall.

§

accept4 = 323

See accept4(2) for more info on this syscall.

§

preadv = 324

See preadv(2) for more info on this syscall.

§

pwritev = 325

See pwritev(2) for more info on this syscall.

§

rt_tgsigqueueinfo = 326

See rt_tgsigqueueinfo(2) for more info on this syscall.

§

perf_event_open = 327

See perf_event_open(2) for more info on this syscall.

§

recvmmsg = 328

See recvmmsg(2) for more info on this syscall.

§

fanotify_init = 329

See fanotify_init(2) for more info on this syscall.

§

fanotify_mark = 330

See fanotify_mark(2) for more info on this syscall.

§

prlimit64 = 331

See prlimit64(2) for more info on this syscall.

§

name_to_handle_at = 332

See name_to_handle_at(2) for more info on this syscall.

§

open_by_handle_at = 333

See open_by_handle_at(2) for more info on this syscall.

§

clock_adjtime = 334

See clock_adjtime(2) for more info on this syscall.

§

syncfs = 335

See syncfs(2) for more info on this syscall.

§

sendmmsg = 336

See sendmmsg(2) for more info on this syscall.

§

setns = 337

See setns(2) for more info on this syscall.

§

process_vm_readv = 338

See process_vm_readv(2) for more info on this syscall.

§

process_vm_writev = 339

See process_vm_writev(2) for more info on this syscall.

§

kern_features = 340

See kern_features(2) for more info on this syscall.

§

kcmp = 341

See kcmp(2) for more info on this syscall.

§

finit_module = 342

See finit_module(2) for more info on this syscall.

§

sched_setattr = 343

See sched_setattr(2) for more info on this syscall.

§

sched_getattr = 344

See sched_getattr(2) for more info on this syscall.

§

renameat2 = 345

See renameat2(2) for more info on this syscall.

§

seccomp = 346

See seccomp(2) for more info on this syscall.

§

getrandom = 347

See getrandom(2) for more info on this syscall.

§

memfd_create = 348

See memfd_create(2) for more info on this syscall.

§

bpf = 349

See bpf(2) for more info on this syscall.

§

execveat = 350

See execveat(2) for more info on this syscall.

§

membarrier = 351

See membarrier(2) for more info on this syscall.

§

userfaultfd = 352

See userfaultfd(2) for more info on this syscall.

§

bind = 353

See bind(2) for more info on this syscall.

§

listen = 354

See listen(2) for more info on this syscall.

§

setsockopt = 355

See setsockopt(2) for more info on this syscall.

§

mlock2 = 356

See mlock2(2) for more info on this syscall.

§

copy_file_range = 357

See copy_file_range(2) for more info on this syscall.

§

preadv2 = 358

See preadv2(2) for more info on this syscall.

§

pwritev2 = 359

See pwritev2(2) for more info on this syscall.

§

statx = 360

See statx(2) for more info on this syscall.

§

io_pgetevents = 361

See io_pgetevents(2) for more info on this syscall.

§

pkey_mprotect = 362

See pkey_mprotect(2) for more info on this syscall.

§

pkey_alloc = 363

See pkey_alloc(2) for more info on this syscall.

§

pkey_free = 364

See pkey_free(2) for more info on this syscall.

§

rseq = 365

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.

§

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.

§

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.

§

mseal = 462

See mseal(2) for more info on this syscall.

Implementations§

Source§

impl Sysno

Source

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.

Source

pub const fn name(&self) -> &'static str

Returns the name of the syscall.

Source

pub const fn next(&self) -> Option<Self>

Returns the next syscall in the table. Returns None if this is the last syscall.

Source

pub const fn first() -> Self

Returns the first syscall in the table.

Source

pub const fn last() -> Self

Returns the last syscall in the table.

Source

pub const fn id(&self) -> i32

Returns the syscall number.

Source

pub const fn count() -> usize

Returns the total number of valid syscalls.

Source

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.

Source

pub fn iter() -> impl Iterator<Item = Self>

Returns an iterator that iterates over all possible syscalls.

Trait Implementations§

Source§

impl Clone for Sysno

Source§

fn clone(&self) -> Sysno

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for Sysno

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Sysno

Source§

fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Display for Sysno

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<i32> for Sysno

Source§

fn from(id: i32) -> Self

Converts to this type from the input type.
Source§

impl From<u32> for Sysno

Source§

fn from(id: u32) -> Self

Converts to this type from the input type.
Source§

impl FromStr for Sysno

Source§

type Err = ()

The associated error which can be returned from parsing.
Source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
Source§

impl Hash for Sysno

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl Ord for Sysno

Source§

fn cmp(&self, other: &Sysno) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for Sysno

Source§

fn eq(&self, other: &Sysno) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for Sysno

Source§

fn partial_cmp(&self, other: &Sysno) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Serialize for Sysno

Source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl Copy for Sysno

Source§

impl Eq for Sysno

Source§

impl StructuralPartialEq for Sysno

Auto Trait Implementations§

§

impl Freeze for Sysno

§

impl RefUnwindSafe for Sysno

§

impl Send for Sysno

§

impl Sync for Sysno

§

impl Unpin for Sysno

§

impl UnwindSafe for Sysno

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,