#[non_exhaustive]#[repr(i32)]pub enum Sysno {
Show 353 variants
read = 5_000,
write = 5_001,
open = 5_002,
close = 5_003,
stat = 5_004,
fstat = 5_005,
lstat = 5_006,
poll = 5_007,
lseek = 5_008,
mmap = 5_009,
mprotect = 5_010,
munmap = 5_011,
brk = 5_012,
rt_sigaction = 5_013,
rt_sigprocmask = 5_014,
ioctl = 5_015,
pread64 = 5_016,
pwrite64 = 5_017,
readv = 5_018,
writev = 5_019,
access = 5_020,
pipe = 5_021,
_newselect = 5_022,
sched_yield = 5_023,
mremap = 5_024,
msync = 5_025,
mincore = 5_026,
madvise = 5_027,
shmget = 5_028,
shmat = 5_029,
shmctl = 5_030,
dup = 5_031,
dup2 = 5_032,
pause = 5_033,
nanosleep = 5_034,
getitimer = 5_035,
setitimer = 5_036,
alarm = 5_037,
getpid = 5_038,
sendfile = 5_039,
socket = 5_040,
connect = 5_041,
accept = 5_042,
sendto = 5_043,
recvfrom = 5_044,
sendmsg = 5_045,
recvmsg = 5_046,
shutdown = 5_047,
bind = 5_048,
listen = 5_049,
getsockname = 5_050,
getpeername = 5_051,
socketpair = 5_052,
setsockopt = 5_053,
getsockopt = 5_054,
clone = 5_055,
fork = 5_056,
execve = 5_057,
exit = 5_058,
wait4 = 5_059,
kill = 5_060,
uname = 5_061,
semget = 5_062,
semop = 5_063,
semctl = 5_064,
shmdt = 5_065,
msgget = 5_066,
msgsnd = 5_067,
msgrcv = 5_068,
msgctl = 5_069,
fcntl = 5_070,
flock = 5_071,
fsync = 5_072,
fdatasync = 5_073,
truncate = 5_074,
ftruncate = 5_075,
getdents = 5_076,
getcwd = 5_077,
chdir = 5_078,
fchdir = 5_079,
rename = 5_080,
mkdir = 5_081,
rmdir = 5_082,
creat = 5_083,
link = 5_084,
unlink = 5_085,
symlink = 5_086,
readlink = 5_087,
chmod = 5_088,
fchmod = 5_089,
chown = 5_090,
fchown = 5_091,
lchown = 5_092,
umask = 5_093,
gettimeofday = 5_094,
getrlimit = 5_095,
getrusage = 5_096,
sysinfo = 5_097,
times = 5_098,
ptrace = 5_099,
getuid = 5_100,
syslog = 5_101,
getgid = 5_102,
setuid = 5_103,
setgid = 5_104,
geteuid = 5_105,
getegid = 5_106,
setpgid = 5_107,
getppid = 5_108,
getpgrp = 5_109,
setsid = 5_110,
setreuid = 5_111,
setregid = 5_112,
getgroups = 5_113,
setgroups = 5_114,
setresuid = 5_115,
getresuid = 5_116,
setresgid = 5_117,
getresgid = 5_118,
getpgid = 5_119,
setfsuid = 5_120,
setfsgid = 5_121,
getsid = 5_122,
capget = 5_123,
capset = 5_124,
rt_sigpending = 5_125,
rt_sigtimedwait = 5_126,
rt_sigqueueinfo = 5_127,
rt_sigsuspend = 5_128,
sigaltstack = 5_129,
utime = 5_130,
mknod = 5_131,
personality = 5_132,
ustat = 5_133,
statfs = 5_134,
fstatfs = 5_135,
sysfs = 5_136,
getpriority = 5_137,
setpriority = 5_138,
sched_setparam = 5_139,
sched_getparam = 5_140,
sched_setscheduler = 5_141,
sched_getscheduler = 5_142,
sched_get_priority_max = 5_143,
sched_get_priority_min = 5_144,
sched_rr_get_interval = 5_145,
mlock = 5_146,
munlock = 5_147,
mlockall = 5_148,
munlockall = 5_149,
vhangup = 5_150,
pivot_root = 5_151,
_sysctl = 5_152,
prctl = 5_153,
adjtimex = 5_154,
setrlimit = 5_155,
chroot = 5_156,
sync = 5_157,
acct = 5_158,
settimeofday = 5_159,
mount = 5_160,
umount2 = 5_161,
swapon = 5_162,
swapoff = 5_163,
reboot = 5_164,
sethostname = 5_165,
setdomainname = 5_166,
create_module = 5_167,
init_module = 5_168,
delete_module = 5_169,
get_kernel_syms = 5_170,
query_module = 5_171,
quotactl = 5_172,
nfsservctl = 5_173,
getpmsg = 5_174,
putpmsg = 5_175,
afs_syscall = 5_176,
reserved177 = 5_177,
gettid = 5_178,
readahead = 5_179,
setxattr = 5_180,
lsetxattr = 5_181,
fsetxattr = 5_182,
getxattr = 5_183,
lgetxattr = 5_184,
fgetxattr = 5_185,
listxattr = 5_186,
llistxattr = 5_187,
flistxattr = 5_188,
removexattr = 5_189,
lremovexattr = 5_190,
fremovexattr = 5_191,
tkill = 5_192,
reserved193 = 5_193,
futex = 5_194,
sched_setaffinity = 5_195,
sched_getaffinity = 5_196,
cacheflush = 5_197,
cachectl = 5_198,
sysmips = 5_199,
io_setup = 5_200,
io_destroy = 5_201,
io_getevents = 5_202,
io_submit = 5_203,
io_cancel = 5_204,
exit_group = 5_205,
lookup_dcookie = 5_206,
epoll_create = 5_207,
epoll_ctl = 5_208,
epoll_wait = 5_209,
remap_file_pages = 5_210,
rt_sigreturn = 5_211,
set_tid_address = 5_212,
restart_syscall = 5_213,
semtimedop = 5_214,
fadvise64 = 5_215,
timer_create = 5_216,
timer_settime = 5_217,
timer_gettime = 5_218,
timer_getoverrun = 5_219,
timer_delete = 5_220,
clock_settime = 5_221,
clock_gettime = 5_222,
clock_getres = 5_223,
clock_nanosleep = 5_224,
tgkill = 5_225,
utimes = 5_226,
mbind = 5_227,
get_mempolicy = 5_228,
set_mempolicy = 5_229,
mq_open = 5_230,
mq_unlink = 5_231,
mq_timedsend = 5_232,
mq_timedreceive = 5_233,
mq_notify = 5_234,
mq_getsetattr = 5_235,
vserver = 5_236,
waitid = 5_237,
add_key = 5_239,
request_key = 5_240,
keyctl = 5_241,
set_thread_area = 5_242,
inotify_init = 5_243,
inotify_add_watch = 5_244,
inotify_rm_watch = 5_245,
migrate_pages = 5_246,
openat = 5_247,
mkdirat = 5_248,
mknodat = 5_249,
fchownat = 5_250,
futimesat = 5_251,
newfstatat = 5_252,
unlinkat = 5_253,
renameat = 5_254,
linkat = 5_255,
symlinkat = 5_256,
readlinkat = 5_257,
fchmodat = 5_258,
faccessat = 5_259,
pselect6 = 5_260,
ppoll = 5_261,
unshare = 5_262,
splice = 5_263,
sync_file_range = 5_264,
tee = 5_265,
vmsplice = 5_266,
move_pages = 5_267,
set_robust_list = 5_268,
get_robust_list = 5_269,
kexec_load = 5_270,
getcpu = 5_271,
epoll_pwait = 5_272,
ioprio_set = 5_273,
ioprio_get = 5_274,
utimensat = 5_275,
signalfd = 5_276,
timerfd = 5_277,
eventfd = 5_278,
fallocate = 5_279,
timerfd_create = 5_280,
timerfd_gettime = 5_281,
timerfd_settime = 5_282,
signalfd4 = 5_283,
eventfd2 = 5_284,
epoll_create1 = 5_285,
dup3 = 5_286,
pipe2 = 5_287,
inotify_init1 = 5_288,
preadv = 5_289,
pwritev = 5_290,
rt_tgsigqueueinfo = 5_291,
perf_event_open = 5_292,
accept4 = 5_293,
recvmmsg = 5_294,
fanotify_init = 5_295,
fanotify_mark = 5_296,
prlimit64 = 5_297,
name_to_handle_at = 5_298,
open_by_handle_at = 5_299,
clock_adjtime = 5_300,
syncfs = 5_301,
sendmmsg = 5_302,
setns = 5_303,
process_vm_readv = 5_304,
process_vm_writev = 5_305,
kcmp = 5_306,
finit_module = 5_307,
getdents64 = 5_308,
sched_setattr = 5_309,
sched_getattr = 5_310,
renameat2 = 5_311,
seccomp = 5_312,
getrandom = 5_313,
memfd_create = 5_314,
bpf = 5_315,
execveat = 5_316,
userfaultfd = 5_317,
membarrier = 5_318,
mlock2 = 5_319,
copy_file_range = 5_320,
preadv2 = 5_321,
pwritev2 = 5_322,
pkey_mprotect = 5_323,
pkey_alloc = 5_324,
pkey_free = 5_325,
statx = 5_326,
rseq = 5_327,
io_pgetevents = 5_328,
pidfd_send_signal = 5_424,
io_uring_setup = 5_425,
io_uring_enter = 5_426,
io_uring_register = 5_427,
open_tree = 5_428,
move_mount = 5_429,
fsopen = 5_430,
fsconfig = 5_431,
fsmount = 5_432,
fspick = 5_433,
pidfd_open = 5_434,
clone3 = 5_435,
close_range = 5_436,
openat2 = 5_437,
pidfd_getfd = 5_438,
faccessat2 = 5_439,
process_madvise = 5_440,
epoll_pwait2 = 5_441,
mount_setattr = 5_442,
quotactl_fd = 5_443,
landlock_create_ruleset = 5_444,
landlock_add_rule = 5_445,
landlock_restrict_self = 5_446,
process_mrelease = 5_448,
futex_waitv = 5_449,
}Expand description
Complete list of Linux syscalls.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
read = 5_000
See read(2) for more info on this syscall.
write = 5_001
See write(2) for more info on this syscall.
open = 5_002
See open(2) for more info on this syscall.
close = 5_003
See close(2) for more info on this syscall.
stat = 5_004
See stat(2) for more info on this syscall.
fstat = 5_005
See fstat(2) for more info on this syscall.
lstat = 5_006
See lstat(2) for more info on this syscall.
poll = 5_007
See poll(2) for more info on this syscall.
lseek = 5_008
See lseek(2) for more info on this syscall.
mmap = 5_009
See mmap(2) for more info on this syscall.
mprotect = 5_010
See mprotect(2) for more info on this syscall.
munmap = 5_011
See munmap(2) for more info on this syscall.
brk = 5_012
See brk(2) for more info on this syscall.
rt_sigaction = 5_013
See rt_sigaction(2) for more info on this syscall.
rt_sigprocmask = 5_014
See rt_sigprocmask(2) for more info on this syscall.
ioctl = 5_015
See ioctl(2) for more info on this syscall.
pread64 = 5_016
See pread64(2) for more info on this syscall.
pwrite64 = 5_017
See pwrite64(2) for more info on this syscall.
readv = 5_018
See readv(2) for more info on this syscall.
writev = 5_019
See writev(2) for more info on this syscall.
access = 5_020
See access(2) for more info on this syscall.
pipe = 5_021
See pipe(2) for more info on this syscall.
_newselect = 5_022
See _newselect(2) for more info on this syscall.
sched_yield = 5_023
See sched_yield(2) for more info on this syscall.
mremap = 5_024
See mremap(2) for more info on this syscall.
msync = 5_025
See msync(2) for more info on this syscall.
mincore = 5_026
See mincore(2) for more info on this syscall.
madvise = 5_027
See madvise(2) for more info on this syscall.
shmget = 5_028
See shmget(2) for more info on this syscall.
shmat = 5_029
See shmat(2) for more info on this syscall.
shmctl = 5_030
See shmctl(2) for more info on this syscall.
dup = 5_031
See dup(2) for more info on this syscall.
dup2 = 5_032
See dup2(2) for more info on this syscall.
pause = 5_033
See pause(2) for more info on this syscall.
nanosleep = 5_034
See nanosleep(2) for more info on this syscall.
getitimer = 5_035
See getitimer(2) for more info on this syscall.
setitimer = 5_036
See setitimer(2) for more info on this syscall.
alarm = 5_037
See alarm(2) for more info on this syscall.
getpid = 5_038
See getpid(2) for more info on this syscall.
sendfile = 5_039
See sendfile(2) for more info on this syscall.
socket = 5_040
See socket(2) for more info on this syscall.
connect = 5_041
See connect(2) for more info on this syscall.
accept = 5_042
See accept(2) for more info on this syscall.
sendto = 5_043
See sendto(2) for more info on this syscall.
recvfrom = 5_044
See recvfrom(2) for more info on this syscall.
sendmsg = 5_045
See sendmsg(2) for more info on this syscall.
recvmsg = 5_046
See recvmsg(2) for more info on this syscall.
shutdown = 5_047
See shutdown(2) for more info on this syscall.
bind = 5_048
See bind(2) for more info on this syscall.
listen = 5_049
See listen(2) for more info on this syscall.
getsockname = 5_050
See getsockname(2) for more info on this syscall.
getpeername = 5_051
See getpeername(2) for more info on this syscall.
socketpair = 5_052
See socketpair(2) for more info on this syscall.
setsockopt = 5_053
See setsockopt(2) for more info on this syscall.
getsockopt = 5_054
See getsockopt(2) for more info on this syscall.
clone = 5_055
See clone(2) for more info on this syscall.
fork = 5_056
See fork(2) for more info on this syscall.
execve = 5_057
See execve(2) for more info on this syscall.
exit = 5_058
See exit(2) for more info on this syscall.
wait4 = 5_059
See wait4(2) for more info on this syscall.
kill = 5_060
See kill(2) for more info on this syscall.
uname = 5_061
See uname(2) for more info on this syscall.
semget = 5_062
See semget(2) for more info on this syscall.
semop = 5_063
See semop(2) for more info on this syscall.
semctl = 5_064
See semctl(2) for more info on this syscall.
shmdt = 5_065
See shmdt(2) for more info on this syscall.
msgget = 5_066
See msgget(2) for more info on this syscall.
msgsnd = 5_067
See msgsnd(2) for more info on this syscall.
msgrcv = 5_068
See msgrcv(2) for more info on this syscall.
msgctl = 5_069
See msgctl(2) for more info on this syscall.
fcntl = 5_070
See fcntl(2) for more info on this syscall.
flock = 5_071
See flock(2) for more info on this syscall.
fsync = 5_072
See fsync(2) for more info on this syscall.
fdatasync = 5_073
See fdatasync(2) for more info on this syscall.
truncate = 5_074
See truncate(2) for more info on this syscall.
ftruncate = 5_075
See ftruncate(2) for more info on this syscall.
getdents = 5_076
See getdents(2) for more info on this syscall.
getcwd = 5_077
See getcwd(2) for more info on this syscall.
chdir = 5_078
See chdir(2) for more info on this syscall.
fchdir = 5_079
See fchdir(2) for more info on this syscall.
rename = 5_080
See rename(2) for more info on this syscall.
mkdir = 5_081
See mkdir(2) for more info on this syscall.
rmdir = 5_082
See rmdir(2) for more info on this syscall.
creat = 5_083
See creat(2) for more info on this syscall.
link = 5_084
See link(2) for more info on this syscall.
unlink = 5_085
See unlink(2) for more info on this syscall.
symlink = 5_086
See symlink(2) for more info on this syscall.
readlink = 5_087
See readlink(2) for more info on this syscall.
chmod = 5_088
See chmod(2) for more info on this syscall.
fchmod = 5_089
See fchmod(2) for more info on this syscall.
chown = 5_090
See chown(2) for more info on this syscall.
fchown = 5_091
See fchown(2) for more info on this syscall.
lchown = 5_092
See lchown(2) for more info on this syscall.
umask = 5_093
See umask(2) for more info on this syscall.
gettimeofday = 5_094
See gettimeofday(2) for more info on this syscall.
getrlimit = 5_095
See getrlimit(2) for more info on this syscall.
getrusage = 5_096
See getrusage(2) for more info on this syscall.
sysinfo = 5_097
See sysinfo(2) for more info on this syscall.
times = 5_098
See times(2) for more info on this syscall.
ptrace = 5_099
See ptrace(2) for more info on this syscall.
getuid = 5_100
See getuid(2) for more info on this syscall.
syslog = 5_101
See syslog(2) for more info on this syscall.
getgid = 5_102
See getgid(2) for more info on this syscall.
setuid = 5_103
See setuid(2) for more info on this syscall.
setgid = 5_104
See setgid(2) for more info on this syscall.
geteuid = 5_105
See geteuid(2) for more info on this syscall.
getegid = 5_106
See getegid(2) for more info on this syscall.
setpgid = 5_107
See setpgid(2) for more info on this syscall.
getppid = 5_108
See getppid(2) for more info on this syscall.
getpgrp = 5_109
See getpgrp(2) for more info on this syscall.
setsid = 5_110
See setsid(2) for more info on this syscall.
setreuid = 5_111
See setreuid(2) for more info on this syscall.
setregid = 5_112
See setregid(2) for more info on this syscall.
getgroups = 5_113
See getgroups(2) for more info on this syscall.
setgroups = 5_114
See setgroups(2) for more info on this syscall.
setresuid = 5_115
See setresuid(2) for more info on this syscall.
getresuid = 5_116
See getresuid(2) for more info on this syscall.
setresgid = 5_117
See setresgid(2) for more info on this syscall.
getresgid = 5_118
See getresgid(2) for more info on this syscall.
getpgid = 5_119
See getpgid(2) for more info on this syscall.
setfsuid = 5_120
See setfsuid(2) for more info on this syscall.
setfsgid = 5_121
See setfsgid(2) for more info on this syscall.
getsid = 5_122
See getsid(2) for more info on this syscall.
capget = 5_123
See capget(2) for more info on this syscall.
capset = 5_124
See capset(2) for more info on this syscall.
rt_sigpending = 5_125
See rt_sigpending(2) for more info on this syscall.
rt_sigtimedwait = 5_126
See rt_sigtimedwait(2) for more info on this syscall.
rt_sigqueueinfo = 5_127
See rt_sigqueueinfo(2) for more info on this syscall.
rt_sigsuspend = 5_128
See rt_sigsuspend(2) for more info on this syscall.
sigaltstack = 5_129
See sigaltstack(2) for more info on this syscall.
utime = 5_130
See utime(2) for more info on this syscall.
mknod = 5_131
See mknod(2) for more info on this syscall.
personality = 5_132
See personality(2) for more info on this syscall.
ustat = 5_133
See ustat(2) for more info on this syscall.
statfs = 5_134
See statfs(2) for more info on this syscall.
fstatfs = 5_135
See fstatfs(2) for more info on this syscall.
sysfs = 5_136
See sysfs(2) for more info on this syscall.
getpriority = 5_137
See getpriority(2) for more info on this syscall.
setpriority = 5_138
See setpriority(2) for more info on this syscall.
sched_setparam = 5_139
See sched_setparam(2) for more info on this syscall.
sched_getparam = 5_140
See sched_getparam(2) for more info on this syscall.
sched_setscheduler = 5_141
See sched_setscheduler(2) for more info on this syscall.
sched_getscheduler = 5_142
See sched_getscheduler(2) for more info on this syscall.
sched_get_priority_max = 5_143
See sched_get_priority_max(2) for more info on this syscall.
sched_get_priority_min = 5_144
See sched_get_priority_min(2) for more info on this syscall.
sched_rr_get_interval = 5_145
See sched_rr_get_interval(2) for more info on this syscall.
mlock = 5_146
See mlock(2) for more info on this syscall.
munlock = 5_147
See munlock(2) for more info on this syscall.
mlockall = 5_148
See mlockall(2) for more info on this syscall.
munlockall = 5_149
See munlockall(2) for more info on this syscall.
vhangup = 5_150
See vhangup(2) for more info on this syscall.
pivot_root = 5_151
See pivot_root(2) for more info on this syscall.
_sysctl = 5_152
See _sysctl(2) for more info on this syscall.
prctl = 5_153
See prctl(2) for more info on this syscall.
adjtimex = 5_154
See adjtimex(2) for more info on this syscall.
setrlimit = 5_155
See setrlimit(2) for more info on this syscall.
chroot = 5_156
See chroot(2) for more info on this syscall.
sync = 5_157
See sync(2) for more info on this syscall.
acct = 5_158
See acct(2) for more info on this syscall.
settimeofday = 5_159
See settimeofday(2) for more info on this syscall.
mount = 5_160
See mount(2) for more info on this syscall.
umount2 = 5_161
See umount2(2) for more info on this syscall.
swapon = 5_162
See swapon(2) for more info on this syscall.
swapoff = 5_163
See swapoff(2) for more info on this syscall.
reboot = 5_164
See reboot(2) for more info on this syscall.
sethostname = 5_165
See sethostname(2) for more info on this syscall.
setdomainname = 5_166
See setdomainname(2) for more info on this syscall.
create_module = 5_167
See create_module(2) for more info on this syscall.
init_module = 5_168
See init_module(2) for more info on this syscall.
delete_module = 5_169
See delete_module(2) for more info on this syscall.
get_kernel_syms = 5_170
See get_kernel_syms(2) for more info on this syscall.
query_module = 5_171
See query_module(2) for more info on this syscall.
quotactl = 5_172
See quotactl(2) for more info on this syscall.
nfsservctl = 5_173
See nfsservctl(2) for more info on this syscall.
getpmsg = 5_174
See getpmsg(2) for more info on this syscall.
putpmsg = 5_175
See putpmsg(2) for more info on this syscall.
afs_syscall = 5_176
See afs_syscall(2) for more info on this syscall.
reserved177 = 5_177
See reserved177(2) for more info on this syscall.
gettid = 5_178
See gettid(2) for more info on this syscall.
readahead = 5_179
See readahead(2) for more info on this syscall.
setxattr = 5_180
See setxattr(2) for more info on this syscall.
lsetxattr = 5_181
See lsetxattr(2) for more info on this syscall.
fsetxattr = 5_182
See fsetxattr(2) for more info on this syscall.
getxattr = 5_183
See getxattr(2) for more info on this syscall.
lgetxattr = 5_184
See lgetxattr(2) for more info on this syscall.
fgetxattr = 5_185
See fgetxattr(2) for more info on this syscall.
listxattr = 5_186
See listxattr(2) for more info on this syscall.
llistxattr = 5_187
See llistxattr(2) for more info on this syscall.
flistxattr = 5_188
See flistxattr(2) for more info on this syscall.
removexattr = 5_189
See removexattr(2) for more info on this syscall.
lremovexattr = 5_190
See lremovexattr(2) for more info on this syscall.
fremovexattr = 5_191
See fremovexattr(2) for more info on this syscall.
tkill = 5_192
See tkill(2) for more info on this syscall.
reserved193 = 5_193
See reserved193(2) for more info on this syscall.
futex = 5_194
See futex(2) for more info on this syscall.
sched_setaffinity = 5_195
See sched_setaffinity(2) for more info on this syscall.
sched_getaffinity = 5_196
See sched_getaffinity(2) for more info on this syscall.
cacheflush = 5_197
See cacheflush(2) for more info on this syscall.
cachectl = 5_198
See cachectl(2) for more info on this syscall.
sysmips = 5_199
See sysmips(2) for more info on this syscall.
io_setup = 5_200
See io_setup(2) for more info on this syscall.
io_destroy = 5_201
See io_destroy(2) for more info on this syscall.
io_getevents = 5_202
See io_getevents(2) for more info on this syscall.
io_submit = 5_203
See io_submit(2) for more info on this syscall.
io_cancel = 5_204
See io_cancel(2) for more info on this syscall.
exit_group = 5_205
See exit_group(2) for more info on this syscall.
See lookup_dcookie(2) for more info on this syscall.
epoll_create = 5_207
See epoll_create(2) for more info on this syscall.
epoll_ctl = 5_208
See epoll_ctl(2) for more info on this syscall.
epoll_wait = 5_209
See epoll_wait(2) for more info on this syscall.
remap_file_pages = 5_210
See remap_file_pages(2) for more info on this syscall.
rt_sigreturn = 5_211
See rt_sigreturn(2) for more info on this syscall.
set_tid_address = 5_212
See set_tid_address(2) for more info on this syscall.
restart_syscall = 5_213
See restart_syscall(2) for more info on this syscall.
semtimedop = 5_214
See semtimedop(2) for more info on this syscall.
fadvise64 = 5_215
See fadvise64(2) for more info on this syscall.
timer_create = 5_216
See timer_create(2) for more info on this syscall.
timer_settime = 5_217
See timer_settime(2) for more info on this syscall.
timer_gettime = 5_218
See timer_gettime(2) for more info on this syscall.
timer_getoverrun = 5_219
See timer_getoverrun(2) for more info on this syscall.
timer_delete = 5_220
See timer_delete(2) for more info on this syscall.
clock_settime = 5_221
See clock_settime(2) for more info on this syscall.
clock_gettime = 5_222
See clock_gettime(2) for more info on this syscall.
clock_getres = 5_223
See clock_getres(2) for more info on this syscall.
clock_nanosleep = 5_224
See clock_nanosleep(2) for more info on this syscall.
tgkill = 5_225
See tgkill(2) for more info on this syscall.
utimes = 5_226
See utimes(2) for more info on this syscall.
mbind = 5_227
See mbind(2) for more info on this syscall.
get_mempolicy = 5_228
See get_mempolicy(2) for more info on this syscall.
set_mempolicy = 5_229
See set_mempolicy(2) for more info on this syscall.
mq_open = 5_230
See mq_open(2) for more info on this syscall.
mq_unlink = 5_231
See mq_unlink(2) for more info on this syscall.
mq_timedsend = 5_232
See mq_timedsend(2) for more info on this syscall.
mq_timedreceive = 5_233
See mq_timedreceive(2) for more info on this syscall.
mq_notify = 5_234
See mq_notify(2) for more info on this syscall.
mq_getsetattr = 5_235
See mq_getsetattr(2) for more info on this syscall.
vserver = 5_236
See vserver(2) for more info on this syscall.
waitid = 5_237
See waitid(2) for more info on this syscall.
add_key = 5_239
See add_key(2) for more info on this syscall.
request_key = 5_240
See request_key(2) for more info on this syscall.
keyctl = 5_241
See keyctl(2) for more info on this syscall.
set_thread_area = 5_242
See set_thread_area(2) for more info on this syscall.
inotify_init = 5_243
See inotify_init(2) for more info on this syscall.
inotify_add_watch = 5_244
See inotify_add_watch(2) for more info on this syscall.
inotify_rm_watch = 5_245
See inotify_rm_watch(2) for more info on this syscall.
migrate_pages = 5_246
See migrate_pages(2) for more info on this syscall.
openat = 5_247
See openat(2) for more info on this syscall.
mkdirat = 5_248
See mkdirat(2) for more info on this syscall.
mknodat = 5_249
See mknodat(2) for more info on this syscall.
fchownat = 5_250
See fchownat(2) for more info on this syscall.
futimesat = 5_251
See futimesat(2) for more info on this syscall.
newfstatat = 5_252
See newfstatat(2) for more info on this syscall.
unlinkat = 5_253
See unlinkat(2) for more info on this syscall.
renameat = 5_254
See renameat(2) for more info on this syscall.
linkat = 5_255
See linkat(2) for more info on this syscall.
symlinkat = 5_256
See symlinkat(2) for more info on this syscall.
readlinkat = 5_257
See readlinkat(2) for more info on this syscall.
fchmodat = 5_258
See fchmodat(2) for more info on this syscall.
faccessat = 5_259
See faccessat(2) for more info on this syscall.
pselect6 = 5_260
See pselect6(2) for more info on this syscall.
ppoll = 5_261
See ppoll(2) for more info on this syscall.
See unshare(2) for more info on this syscall.
splice = 5_263
See splice(2) for more info on this syscall.
sync_file_range = 5_264
See sync_file_range(2) for more info on this syscall.
tee = 5_265
See tee(2) for more info on this syscall.
vmsplice = 5_266
See vmsplice(2) for more info on this syscall.
move_pages = 5_267
See move_pages(2) for more info on this syscall.
set_robust_list = 5_268
See set_robust_list(2) for more info on this syscall.
get_robust_list = 5_269
See get_robust_list(2) for more info on this syscall.
kexec_load = 5_270
See kexec_load(2) for more info on this syscall.
getcpu = 5_271
See getcpu(2) for more info on this syscall.
epoll_pwait = 5_272
See epoll_pwait(2) for more info on this syscall.
ioprio_set = 5_273
See ioprio_set(2) for more info on this syscall.
ioprio_get = 5_274
See ioprio_get(2) for more info on this syscall.
utimensat = 5_275
See utimensat(2) for more info on this syscall.
signalfd = 5_276
See signalfd(2) for more info on this syscall.
timerfd = 5_277
See timerfd(2) for more info on this syscall.
eventfd = 5_278
See eventfd(2) for more info on this syscall.
fallocate = 5_279
See fallocate(2) for more info on this syscall.
timerfd_create = 5_280
See timerfd_create(2) for more info on this syscall.
timerfd_gettime = 5_281
See timerfd_gettime(2) for more info on this syscall.
timerfd_settime = 5_282
See timerfd_settime(2) for more info on this syscall.
signalfd4 = 5_283
See signalfd4(2) for more info on this syscall.
eventfd2 = 5_284
See eventfd2(2) for more info on this syscall.
epoll_create1 = 5_285
See epoll_create1(2) for more info on this syscall.
dup3 = 5_286
See dup3(2) for more info on this syscall.
pipe2 = 5_287
See pipe2(2) for more info on this syscall.
inotify_init1 = 5_288
See inotify_init1(2) for more info on this syscall.
preadv = 5_289
See preadv(2) for more info on this syscall.
pwritev = 5_290
See pwritev(2) for more info on this syscall.
rt_tgsigqueueinfo = 5_291
See rt_tgsigqueueinfo(2) for more info on this syscall.
perf_event_open = 5_292
See perf_event_open(2) for more info on this syscall.
accept4 = 5_293
See accept4(2) for more info on this syscall.
recvmmsg = 5_294
See recvmmsg(2) for more info on this syscall.
fanotify_init = 5_295
See fanotify_init(2) for more info on this syscall.
fanotify_mark = 5_296
See fanotify_mark(2) for more info on this syscall.
prlimit64 = 5_297
See prlimit64(2) for more info on this syscall.
name_to_handle_at = 5_298
See name_to_handle_at(2) for more info on this syscall.
open_by_handle_at = 5_299
See open_by_handle_at(2) for more info on this syscall.
clock_adjtime = 5_300
See clock_adjtime(2) for more info on this syscall.
syncfs = 5_301
See syncfs(2) for more info on this syscall.
sendmmsg = 5_302
See sendmmsg(2) for more info on this syscall.
setns = 5_303
See setns(2) for more info on this syscall.
process_vm_readv = 5_304
See process_vm_readv(2) for more info on this syscall.
process_vm_writev = 5_305
See process_vm_writev(2) for more info on this syscall.
kcmp = 5_306
See kcmp(2) for more info on this syscall.
finit_module = 5_307
See finit_module(2) for more info on this syscall.
getdents64 = 5_308
See getdents64(2) for more info on this syscall.
sched_setattr = 5_309
See sched_setattr(2) for more info on this syscall.
sched_getattr = 5_310
See sched_getattr(2) for more info on this syscall.
renameat2 = 5_311
See renameat2(2) for more info on this syscall.
seccomp = 5_312
See seccomp(2) for more info on this syscall.
getrandom = 5_313
See getrandom(2) for more info on this syscall.
memfd_create = 5_314
See memfd_create(2) for more info on this syscall.
bpf = 5_315
See bpf(2) for more info on this syscall.
execveat = 5_316
See execveat(2) for more info on this syscall.
userfaultfd = 5_317
See userfaultfd(2) for more info on this syscall.
membarrier = 5_318
See membarrier(2) for more info on this syscall.
mlock2 = 5_319
See mlock2(2) for more info on this syscall.
copy_file_range = 5_320
See copy_file_range(2) for more info on this syscall.
preadv2 = 5_321
See preadv2(2) for more info on this syscall.
pwritev2 = 5_322
See pwritev2(2) for more info on this syscall.
pkey_mprotect = 5_323
See pkey_mprotect(2) for more info on this syscall.
pkey_alloc = 5_324
See pkey_alloc(2) for more info on this syscall.
pkey_free = 5_325
See pkey_free(2) for more info on this syscall.
statx = 5_326
See statx(2) for more info on this syscall.
rseq = 5_327
See rseq(2) for more info on this syscall.
io_pgetevents = 5_328
See io_pgetevents(2) for more info on this syscall.
pidfd_send_signal = 5_424
See pidfd_send_signal(2) for more info on this syscall.
io_uring_setup = 5_425
See io_uring_setup(2) for more info on this syscall.
io_uring_enter = 5_426
See io_uring_enter(2) for more info on this syscall.
io_uring_register = 5_427
See io_uring_register(2) for more info on this syscall.
open_tree = 5_428
See open_tree(2) for more info on this syscall.
move_mount = 5_429
See move_mount(2) for more info on this syscall.
fsopen = 5_430
See fsopen(2) for more info on this syscall.
fsconfig = 5_431
See fsconfig(2) for more info on this syscall.
fsmount = 5_432
See fsmount(2) for more info on this syscall.
fspick = 5_433
See fspick(2) for more info on this syscall.
pidfd_open = 5_434
See pidfd_open(2) for more info on this syscall.
clone3 = 5_435
See clone3(2) for more info on this syscall.
close_range = 5_436
See close_range(2) for more info on this syscall.
openat2 = 5_437
See openat2(2) for more info on this syscall.
pidfd_getfd = 5_438
See pidfd_getfd(2) for more info on this syscall.
faccessat2 = 5_439
See faccessat2(2) for more info on this syscall.
process_madvise = 5_440
See process_madvise(2) for more info on this syscall.
epoll_pwait2 = 5_441
See epoll_pwait2(2) for more info on this syscall.
mount_setattr = 5_442
See mount_setattr(2) for more info on this syscall.
quotactl_fd = 5_443
See quotactl_fd(2) for more info on this syscall.
landlock_create_ruleset = 5_444
See landlock_create_ruleset(2) for more info on this syscall.
landlock_add_rule = 5_445
See landlock_add_rule(2) for more info on this syscall.
landlock_restrict_self = 5_446
See landlock_restrict_self(2) for more info on this syscall.
process_mrelease = 5_448
See process_mrelease(2) for more info on this syscall.
futex_waitv = 5_449
See futex_waitv(2) for more info on this syscall.
Implementations§
Source§impl Sysno
impl Sysno
Sourcepub const fn new(id: usize) -> Option<Self>
pub const fn new(id: usize) -> Option<Self>
Constructs a new syscall from the given ID. If the ID does not
represent a valid syscall, returns None.
Sourcepub const fn next(&self) -> Option<Self>
pub const fn next(&self) -> Option<Self>
Returns the next syscall in the table. Returns None if this is
the last syscall.
Sourcepub const fn table_size() -> usize
pub const fn table_size() -> usize
Returns the length of the syscall table, including any gaps. This is not the same thing as the total number of syscalls.