Enum Sysno

Source
#[non_exhaustive]
#[repr(i32)]
pub enum Sysno {
Show 381 variants exit = 1, fork = 2, read = 3, write = 4, open = 5, close = 6, restart_syscall = 7, creat = 8, link = 9, unlink = 10, execve = 11, chdir = 12, mknod = 14, chmod = 15, lseek = 19, getpid = 20, mount = 21, umount = 22, ptrace = 26, alarm = 27, pause = 29, utime = 30, access = 33, nice = 34, sync = 36, kill = 37, rename = 38, mkdir = 39, rmdir = 40, dup = 41, pipe = 42, times = 43, brk = 45, signal = 48, acct = 51, umount2 = 52, ioctl = 54, fcntl = 55, setpgid = 57, umask = 60, chroot = 61, ustat = 62, dup2 = 63, getppid = 64, getpgrp = 65, setsid = 66, sigaction = 67, sigsuspend = 72, sigpending = 73, sethostname = 74, setrlimit = 75, getrusage = 77, gettimeofday = 78, settimeofday = 79, symlink = 83, readlink = 85, uselib = 86, swapon = 87, reboot = 88, readdir = 89, mmap = 90, munmap = 91, truncate = 92, ftruncate = 93, fchmod = 94, getpriority = 96, setpriority = 97, statfs = 99, fstatfs = 100, socketcall = 102, syslog = 103, setitimer = 104, getitimer = 105, stat = 106, lstat = 107, fstat = 108, lookup_dcookie = 110, vhangup = 111, idle = 112, wait4 = 114, swapoff = 115, sysinfo = 116, ipc = 117, fsync = 118, sigreturn = 119, clone = 120, setdomainname = 121, uname = 122, 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, getdents = 141, select = 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, query_module = 167, poll = 168, nfsservctl = 169, 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, getcwd = 183, capget = 184, capset = 185, sigaltstack = 186, sendfile = 187, getpmsg = 188, putpmsg = 189, vfork = 190, getrlimit = 191, lchown = 198, getuid = 199, getgid = 200, geteuid = 201, getegid = 202, setreuid = 203, setregid = 204, getgroups = 205, setgroups = 206, fchown = 207, setresuid = 208, getresuid = 209, setresgid = 210, getresgid = 211, chown = 212, setuid = 213, setgid = 214, setfsuid = 215, setfsgid = 216, pivot_root = 217, mincore = 218, madvise = 219, getdents64 = 220, readahead = 222, setxattr = 224, lsetxattr = 225, fsetxattr = 226, getxattr = 227, lgetxattr = 228, fgetxattr = 229, listxattr = 230, llistxattr = 231, flistxattr = 232, removexattr = 233, lremovexattr = 234, fremovexattr = 235, gettid = 236, tkill = 237, futex = 238, sched_setaffinity = 239, sched_getaffinity = 240, tgkill = 241, io_setup = 243, io_destroy = 244, io_getevents = 245, io_submit = 246, io_cancel = 247, exit_group = 248, epoll_create = 249, epoll_ctl = 250, epoll_wait = 251, set_tid_address = 252, fadvise64 = 253, timer_create = 254, timer_settime = 255, timer_gettime = 256, timer_getoverrun = 257, timer_delete = 258, clock_settime = 259, clock_gettime = 260, clock_getres = 261, clock_nanosleep = 262, statfs64 = 265, fstatfs64 = 266, remap_file_pages = 267, mbind = 268, get_mempolicy = 269, set_mempolicy = 270, mq_open = 271, mq_unlink = 272, mq_timedsend = 273, mq_timedreceive = 274, mq_notify = 275, mq_getsetattr = 276, kexec_load = 277, add_key = 278, request_key = 279, keyctl = 280, waitid = 281, ioprio_set = 282, ioprio_get = 283, inotify_init = 284, inotify_add_watch = 285, inotify_rm_watch = 286, migrate_pages = 287, openat = 288, mkdirat = 289, mknodat = 290, fchownat = 291, futimesat = 292, newfstatat = 293, unlinkat = 294, renameat = 295, linkat = 296, symlinkat = 297, readlinkat = 298, fchmodat = 299, faccessat = 300, pselect6 = 301, ppoll = 302, unshare = 303, set_robust_list = 304, get_robust_list = 305, splice = 306, sync_file_range = 307, tee = 308, vmsplice = 309, move_pages = 310, getcpu = 311, epoll_pwait = 312, utimes = 313, fallocate = 314, utimensat = 315, signalfd = 316, timerfd = 317, eventfd = 318, timerfd_create = 319, timerfd_settime = 320, timerfd_gettime = 321, signalfd4 = 322, eventfd2 = 323, inotify_init1 = 324, pipe2 = 325, dup3 = 326, epoll_create1 = 327, preadv = 328, pwritev = 329, rt_tgsigqueueinfo = 330, perf_event_open = 331, fanotify_init = 332, fanotify_mark = 333, prlimit64 = 334, name_to_handle_at = 335, open_by_handle_at = 336, clock_adjtime = 337, syncfs = 338, setns = 339, process_vm_readv = 340, process_vm_writev = 341, s390_runtime_instr = 342, kcmp = 343, finit_module = 344, sched_setattr = 345, sched_getattr = 346, renameat2 = 347, seccomp = 348, getrandom = 349, memfd_create = 350, bpf = 351, s390_pci_mmio_write = 352, s390_pci_mmio_read = 353, execveat = 354, userfaultfd = 355, membarrier = 356, recvmmsg = 357, sendmmsg = 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, mlock2 = 374, copy_file_range = 375, preadv2 = 376, pwritev2 = 377, s390_guarded_storage = 378, statx = 379, s390_sthyi = 380, kexec_file_load = 381, io_pgetevents = 382, rseq = 383, pkey_mprotect = 384, pkey_alloc = 385, pkey_free = 386, semtimedop = 392, semget = 393, semctl = 394, shmget = 395, shmctl = 396, shmat = 397, shmdt = 398, msgget = 399, msgsnd = 400, msgrcv = 401, msgctl = 402, 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, 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.
§

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.

§

restart_syscall = 7

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

§

execve = 11

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

§

chdir = 12

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

§

mknod = 14

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

§

chmod = 15

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

§

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.

§

ptrace = 26

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

§

alarm = 27

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

§

access = 33

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

§

nice = 34

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

§

sync = 36

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

§

kill = 37

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

§

rename = 38

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

§

mkdir = 39

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

§

rmdir = 40

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

§

dup = 41

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

§

pipe = 42

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

§

times = 43

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

§

brk = 45

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

§

signal = 48

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

§

acct = 51

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

§

umount2 = 52

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

§

ioctl = 54

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

§

fcntl = 55

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

§

setpgid = 57

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

§

umask = 60

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

§

chroot = 61

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

§

ustat = 62

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

§

dup2 = 63

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

§

getppid = 64

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

§

getpgrp = 65

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

§

setsid = 66

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

§

sigaction = 67

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

§

sigsuspend = 72

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

§

sigpending = 73

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

§

sethostname = 74

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

§

setrlimit = 75

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

§

getrusage = 77

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

§

gettimeofday = 78

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

§

settimeofday = 79

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

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

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.

§

getpriority = 96

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

§

setpriority = 97

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

§

statfs = 99

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

§

fstatfs = 100

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

§

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.

§

lookup_dcookie = 110

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

§

vhangup = 111

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

§

idle = 112

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

§

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

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

§

init_module = 128

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

§

delete_module = 129

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

§

get_kernel_syms = 130

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

§

quotactl = 131

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

§

getpgid = 132

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

§

fchdir = 133

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

§

bdflush = 134

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

§

sysfs = 135

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

§

personality = 136

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

§

afs_syscall = 137

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

§

getdents = 141

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

§

select = 142

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

§

query_module = 167

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

§

poll = 168

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

§

nfsservctl = 169

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

§

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

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

§

putpmsg = 189

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

§

vfork = 190

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

§

getrlimit = 191

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

§

lchown = 198

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

§

getuid = 199

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

§

getgid = 200

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

§

geteuid = 201

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

§

getegid = 202

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

§

setreuid = 203

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

§

setregid = 204

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

§

getgroups = 205

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

§

setgroups = 206

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

§

fchown = 207

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

§

setresuid = 208

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

§

getresuid = 209

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

§

setresgid = 210

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

§

getresgid = 211

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

§

chown = 212

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

§

setuid = 213

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

§

setgid = 214

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

§

setfsuid = 215

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

§

setfsgid = 216

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

§

readahead = 222

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

§

setxattr = 224

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

§

lsetxattr = 225

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

§

fsetxattr = 226

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

§

getxattr = 227

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

§

lgetxattr = 228

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

§

fgetxattr = 229

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

§

listxattr = 230

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

§

llistxattr = 231

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

§

flistxattr = 232

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

§

removexattr = 233

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

§

lremovexattr = 234

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

§

fremovexattr = 235

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

§

gettid = 236

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

§

tkill = 237

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

§

futex = 238

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

§

sched_setaffinity = 239

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

§

sched_getaffinity = 240

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

§

tgkill = 241

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

§

io_setup = 243

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

§

io_destroy = 244

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

§

io_getevents = 245

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

§

io_submit = 246

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

§

io_cancel = 247

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

§

exit_group = 248

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

§

epoll_create = 249

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

§

epoll_ctl = 250

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

§

epoll_wait = 251

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

§

set_tid_address = 252

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

§

fadvise64 = 253

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

§

timer_create = 254

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

§

timer_settime = 255

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

§

timer_gettime = 256

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

§

timer_getoverrun = 257

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

§

timer_delete = 258

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

§

clock_settime = 259

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

§

clock_gettime = 260

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

§

clock_getres = 261

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

§

clock_nanosleep = 262

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

§

statfs64 = 265

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

§

fstatfs64 = 266

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

§

remap_file_pages = 267

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

§

mbind = 268

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

§

get_mempolicy = 269

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

§

set_mempolicy = 270

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

§

mq_open = 271

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

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

§

mq_timedsend = 273

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

§

mq_timedreceive = 274

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

§

mq_notify = 275

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

§

mq_getsetattr = 276

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

§

kexec_load = 277

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

§

add_key = 278

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

§

request_key = 279

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

§

keyctl = 280

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

§

waitid = 281

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

§

ioprio_set = 282

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

§

ioprio_get = 283

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

§

inotify_init = 284

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

§

inotify_add_watch = 285

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

§

inotify_rm_watch = 286

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

§

migrate_pages = 287

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

§

openat = 288

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

§

mkdirat = 289

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

§

mknodat = 290

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

§

fchownat = 291

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

§

futimesat = 292

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

§

newfstatat = 293

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

§

unlinkat = 294

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

§

renameat = 295

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

§

linkat = 296

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

§

symlinkat = 297

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

§

readlinkat = 298

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

§

fchmodat = 299

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

§

faccessat = 300

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

§

pselect6 = 301

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

§

ppoll = 302

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

§

unshare = 303

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

§

set_robust_list = 304

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

§

get_robust_list = 305

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

§

splice = 306

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

§

sync_file_range = 307

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

§

tee = 308

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

§

vmsplice = 309

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

§

move_pages = 310

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

§

getcpu = 311

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

§

epoll_pwait = 312

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

§

utimes = 313

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

§

fallocate = 314

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

§

utimensat = 315

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

§

signalfd = 316

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

§

timerfd = 317

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

§

eventfd = 318

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

§

timerfd_create = 319

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

§

timerfd_settime = 320

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

§

timerfd_gettime = 321

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

§

signalfd4 = 322

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

§

eventfd2 = 323

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

§

inotify_init1 = 324

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

§

pipe2 = 325

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

§

dup3 = 326

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

§

epoll_create1 = 327

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

§

preadv = 328

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

§

pwritev = 329

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

§

rt_tgsigqueueinfo = 330

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

§

perf_event_open = 331

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

§

fanotify_init = 332

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

§

fanotify_mark = 333

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

§

prlimit64 = 334

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

§

name_to_handle_at = 335

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

§

open_by_handle_at = 336

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

§

clock_adjtime = 337

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

§

syncfs = 338

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

§

setns = 339

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

§

process_vm_readv = 340

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

§

process_vm_writev = 341

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

§

s390_runtime_instr = 342

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

§

kcmp = 343

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

§

finit_module = 344

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

§

sched_setattr = 345

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

§

sched_getattr = 346

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

§

renameat2 = 347

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

§

seccomp = 348

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

§

getrandom = 349

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

§

memfd_create = 350

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

§

bpf = 351

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

§

s390_pci_mmio_write = 352

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

§

s390_pci_mmio_read = 353

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

§

execveat = 354

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

§

userfaultfd = 355

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

§

membarrier = 356

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

§

recvmmsg = 357

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

§

sendmmsg = 358

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

§

mlock2 = 374

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

§

copy_file_range = 375

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

§

preadv2 = 376

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

§

pwritev2 = 377

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

§

s390_guarded_storage = 378

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

§

statx = 379

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

§

s390_sthyi = 380

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

§

kexec_file_load = 381

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

§

io_pgetevents = 382

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

§

rseq = 383

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

§

pkey_mprotect = 384

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

§

pkey_alloc = 385

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

§

pkey_free = 386

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

§

semtimedop = 392

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

§

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.

§

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>,