Enum Sysno

Source
#[non_exhaustive]
#[repr(i32)]
pub enum Sysno {
Show 394 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, vm86 = 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, query_module = 166, poll = 167, nfsservctl = 168, setresgid = 169, getresgid = 170, prctl = 171, rt_sigreturn = 172, rt_sigaction = 173, rt_sigprocmask = 174, rt_sigpending = 175, rt_sigtimedwait = 176, rt_sigqueueinfo = 177, rt_sigsuspend = 178, pread64 = 179, pwrite64 = 180, chown = 181, getcwd = 182, capget = 183, capset = 184, sigaltstack = 185, sendfile = 186, getpmsg = 187, putpmsg = 188, vfork = 189, ugetrlimit = 190, readahead = 191, pciconfig_read = 198, pciconfig_write = 199, pciconfig_iobase = 200, multiplexer = 201, getdents64 = 202, pivot_root = 203, madvise = 205, mincore = 206, gettid = 207, tkill = 208, setxattr = 209, lsetxattr = 210, fsetxattr = 211, getxattr = 212, lgetxattr = 213, fgetxattr = 214, listxattr = 215, llistxattr = 216, flistxattr = 217, removexattr = 218, lremovexattr = 219, fremovexattr = 220, futex = 221, sched_setaffinity = 222, sched_getaffinity = 223, tuxcall = 225, io_setup = 227, io_destroy = 228, io_getevents = 229, io_submit = 230, io_cancel = 231, set_tid_address = 232, fadvise64 = 233, exit_group = 234, lookup_dcookie = 235, epoll_create = 236, epoll_ctl = 237, epoll_wait = 238, remap_file_pages = 239, timer_create = 240, timer_settime = 241, timer_gettime = 242, timer_getoverrun = 243, timer_delete = 244, clock_settime = 245, clock_gettime = 246, clock_getres = 247, clock_nanosleep = 248, swapcontext = 249, tgkill = 250, utimes = 251, statfs64 = 252, fstatfs64 = 253, rtas = 255, sys_debug_setcontext = 256, migrate_pages = 258, mbind = 259, get_mempolicy = 260, set_mempolicy = 261, mq_open = 262, mq_unlink = 263, mq_timedsend = 264, mq_timedreceive = 265, mq_notify = 266, mq_getsetattr = 267, kexec_load = 268, add_key = 269, request_key = 270, keyctl = 271, waitid = 272, ioprio_set = 273, ioprio_get = 274, inotify_init = 275, inotify_add_watch = 276, inotify_rm_watch = 277, spu_run = 278, spu_create = 279, pselect6 = 280, ppoll = 281, unshare = 282, splice = 283, tee = 284, vmsplice = 285, openat = 286, mkdirat = 287, mknodat = 288, fchownat = 289, futimesat = 290, newfstatat = 291, unlinkat = 292, renameat = 293, linkat = 294, symlinkat = 295, readlinkat = 296, fchmodat = 297, faccessat = 298, get_robust_list = 299, set_robust_list = 300, move_pages = 301, getcpu = 302, epoll_pwait = 303, utimensat = 304, signalfd = 305, timerfd_create = 306, eventfd = 307, sync_file_range2 = 308, fallocate = 309, subpage_prot = 310, timerfd_settime = 311, timerfd_gettime = 312, signalfd4 = 313, eventfd2 = 314, epoll_create1 = 315, dup3 = 316, pipe2 = 317, inotify_init1 = 318, perf_event_open = 319, preadv = 320, pwritev = 321, rt_tgsigqueueinfo = 322, fanotify_init = 323, fanotify_mark = 324, prlimit64 = 325, socket = 326, bind = 327, connect = 328, listen = 329, accept = 330, getsockname = 331, getpeername = 332, socketpair = 333, send = 334, sendto = 335, recv = 336, recvfrom = 337, shutdown = 338, setsockopt = 339, getsockopt = 340, sendmsg = 341, recvmsg = 342, recvmmsg = 343, accept4 = 344, name_to_handle_at = 345, open_by_handle_at = 346, clock_adjtime = 347, syncfs = 348, sendmmsg = 349, setns = 350, process_vm_readv = 351, process_vm_writev = 352, finit_module = 353, kcmp = 354, sched_setattr = 355, sched_getattr = 356, renameat2 = 357, seccomp = 358, getrandom = 359, memfd_create = 360, bpf = 361, execveat = 362, switch_endian = 363, userfaultfd = 364, membarrier = 365, mlock2 = 378, copy_file_range = 379, preadv2 = 380, pwritev2 = 381, kexec_file_load = 382, statx = 383, pkey_alloc = 384, pkey_free = 385, pkey_mprotect = 386, rseq = 387, io_pgetevents = 388, 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,
}
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.

§

waitpid = 7

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

§

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

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

§

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

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

§

gtty = 32

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

§

ftime = 35

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

§

prof = 44

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

§

brk = 45

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

§

setgid = 46

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

§

getgid = 47

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

§

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

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

§

mpx = 56

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

§

setpgid = 57

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

§

ulimit = 58

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

§

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.

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

§

oldlstat = 84

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

§

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

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

§

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

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

§

vm86 = 113

See vm86(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

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.

§

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.

§

query_module = 166

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

§

poll = 167

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

§

nfsservctl = 168

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

§

setresgid = 169

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

§

getresgid = 170

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

§

prctl = 171

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

§

rt_sigreturn = 172

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

§

rt_sigaction = 173

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

§

rt_sigprocmask = 174

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

§

rt_sigpending = 175

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

§

rt_sigtimedwait = 176

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

§

rt_sigqueueinfo = 177

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

§

rt_sigsuspend = 178

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

§

pread64 = 179

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

§

pwrite64 = 180

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

§

chown = 181

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

§

getcwd = 182

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

§

capget = 183

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

§

capset = 184

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

§

sigaltstack = 185

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

§

sendfile = 186

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

§

getpmsg = 187

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

§

putpmsg = 188

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

§

vfork = 189

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

§

ugetrlimit = 190

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

§

readahead = 191

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

§

pciconfig_read = 198

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

§

pciconfig_write = 199

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

§

pciconfig_iobase = 200

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

§

multiplexer = 201

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

§

getdents64 = 202

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

§

pivot_root = 203

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

§

madvise = 205

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

§

mincore = 206

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

§

gettid = 207

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

§

tkill = 208

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

§

setxattr = 209

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

§

lsetxattr = 210

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

§

fsetxattr = 211

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

§

getxattr = 212

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

§

lgetxattr = 213

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

§

fgetxattr = 214

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

§

listxattr = 215

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

§

llistxattr = 216

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

§

flistxattr = 217

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

§

removexattr = 218

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

§

lremovexattr = 219

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

§

fremovexattr = 220

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

§

futex = 221

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

§

sched_setaffinity = 222

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

§

sched_getaffinity = 223

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

§

tuxcall = 225

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

§

io_setup = 227

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

§

io_destroy = 228

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

§

io_getevents = 229

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

§

io_submit = 230

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

§

io_cancel = 231

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

§

set_tid_address = 232

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

§

fadvise64 = 233

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

§

exit_group = 234

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

§

lookup_dcookie = 235

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

§

epoll_create = 236

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

§

epoll_ctl = 237

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

§

epoll_wait = 238

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

§

remap_file_pages = 239

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

§

timer_create = 240

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

§

timer_settime = 241

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

§

timer_gettime = 242

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

§

timer_getoverrun = 243

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

§

timer_delete = 244

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

§

clock_settime = 245

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

§

clock_gettime = 246

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

§

clock_getres = 247

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

§

clock_nanosleep = 248

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

§

swapcontext = 249

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

§

tgkill = 250

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

§

utimes = 251

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

§

statfs64 = 252

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

§

fstatfs64 = 253

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

§

rtas = 255

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

§

sys_debug_setcontext = 256

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

§

migrate_pages = 258

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

§

mbind = 259

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

§

get_mempolicy = 260

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

§

set_mempolicy = 261

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

§

mq_open = 262

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

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

§

mq_timedsend = 264

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

§

mq_timedreceive = 265

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

§

mq_notify = 266

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

§

mq_getsetattr = 267

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

§

kexec_load = 268

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

§

add_key = 269

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

§

request_key = 270

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

§

keyctl = 271

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

§

waitid = 272

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

§

ioprio_set = 273

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

§

ioprio_get = 274

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

§

inotify_init = 275

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

§

inotify_add_watch = 276

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

§

inotify_rm_watch = 277

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

§

spu_run = 278

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

§

spu_create = 279

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

§

pselect6 = 280

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

§

ppoll = 281

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

§

unshare = 282

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

§

splice = 283

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

§

tee = 284

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

§

vmsplice = 285

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

§

openat = 286

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

§

mkdirat = 287

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

§

mknodat = 288

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

§

fchownat = 289

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

§

futimesat = 290

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

§

newfstatat = 291

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

§

unlinkat = 292

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

§

renameat = 293

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

§

linkat = 294

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

§

symlinkat = 295

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

§

readlinkat = 296

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

§

fchmodat = 297

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

§

faccessat = 298

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

§

get_robust_list = 299

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

§

set_robust_list = 300

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

§

move_pages = 301

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

§

getcpu = 302

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

§

epoll_pwait = 303

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

§

utimensat = 304

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

§

signalfd = 305

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

§

timerfd_create = 306

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

§

eventfd = 307

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

§

sync_file_range2 = 308

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

§

fallocate = 309

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

§

subpage_prot = 310

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

§

timerfd_settime = 311

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

§

timerfd_gettime = 312

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

§

signalfd4 = 313

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

§

eventfd2 = 314

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

§

epoll_create1 = 315

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

§

dup3 = 316

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

§

pipe2 = 317

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

§

inotify_init1 = 318

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

§

perf_event_open = 319

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

§

preadv = 320

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

§

pwritev = 321

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

§

rt_tgsigqueueinfo = 322

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

§

fanotify_init = 323

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

§

fanotify_mark = 324

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

§

prlimit64 = 325

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

§

socket = 326

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

§

bind = 327

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

§

connect = 328

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

§

listen = 329

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

§

accept = 330

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

§

getsockname = 331

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

§

getpeername = 332

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

§

socketpair = 333

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

§

send = 334

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

§

sendto = 335

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

§

recv = 336

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

§

recvfrom = 337

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

§

shutdown = 338

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

§

setsockopt = 339

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

§

getsockopt = 340

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

§

sendmsg = 341

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

§

recvmsg = 342

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

§

recvmmsg = 343

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

§

accept4 = 344

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

§

name_to_handle_at = 345

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

§

open_by_handle_at = 346

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

§

clock_adjtime = 347

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

§

syncfs = 348

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

§

sendmmsg = 349

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

§

setns = 350

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

§

process_vm_readv = 351

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

§

process_vm_writev = 352

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

§

finit_module = 353

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

§

kcmp = 354

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

§

sched_setattr = 355

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

§

sched_getattr = 356

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

§

renameat2 = 357

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

§

seccomp = 358

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

§

getrandom = 359

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

§

memfd_create = 360

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

§

bpf = 361

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

§

execveat = 362

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

§

switch_endian = 363

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

§

userfaultfd = 364

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

§

membarrier = 365

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

§

mlock2 = 378

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

§

copy_file_range = 379

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

§

preadv2 = 380

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

§

pwritev2 = 381

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

§

kexec_file_load = 382

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

§

statx = 383

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

§

pkey_alloc = 384

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

§

pkey_free = 385

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

§

pkey_mprotect = 386

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

§

rseq = 387

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

§

io_pgetevents = 388

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

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