Enum linux_syscalls::Sysno
source · #[non_exhaustive]#[repr(usize)]pub enum Sysno {
Show 353 variants
read,
write,
open,
close,
stat,
fstat,
lstat,
poll,
lseek,
mmap,
mprotect,
munmap,
brk,
rt_sigaction,
rt_sigprocmask,
ioctl,
pread64,
pwrite64,
readv,
writev,
access,
pipe,
_newselect,
sched_yield,
mremap,
msync,
mincore,
madvise,
shmget,
shmat,
shmctl,
dup,
dup2,
pause,
nanosleep,
getitimer,
setitimer,
alarm,
getpid,
sendfile,
socket,
connect,
accept,
sendto,
recvfrom,
sendmsg,
recvmsg,
shutdown,
bind,
listen,
getsockname,
getpeername,
socketpair,
setsockopt,
getsockopt,
clone,
fork,
execve,
exit,
wait4,
kill,
uname,
semget,
semop,
semctl,
shmdt,
msgget,
msgsnd,
msgrcv,
msgctl,
fcntl,
flock,
fsync,
fdatasync,
truncate,
ftruncate,
getdents,
getcwd,
chdir,
fchdir,
rename,
mkdir,
rmdir,
creat,
link,
unlink,
symlink,
readlink,
chmod,
fchmod,
chown,
fchown,
lchown,
umask,
gettimeofday,
getrlimit,
getrusage,
sysinfo,
times,
ptrace,
getuid,
syslog,
getgid,
setuid,
setgid,
geteuid,
getegid,
setpgid,
getppid,
getpgrp,
setsid,
setreuid,
setregid,
getgroups,
setgroups,
setresuid,
getresuid,
setresgid,
getresgid,
getpgid,
setfsuid,
setfsgid,
getsid,
capget,
capset,
rt_sigpending,
rt_sigtimedwait,
rt_sigqueueinfo,
rt_sigsuspend,
sigaltstack,
utime,
mknod,
personality,
ustat,
statfs,
fstatfs,
sysfs,
getpriority,
setpriority,
sched_setparam,
sched_getparam,
sched_setscheduler,
sched_getscheduler,
sched_get_priority_max,
sched_get_priority_min,
sched_rr_get_interval,
mlock,
munlock,
mlockall,
munlockall,
vhangup,
pivot_root,
_sysctl,
prctl,
adjtimex,
setrlimit,
chroot,
sync,
acct,
settimeofday,
mount,
umount2,
swapon,
swapoff,
reboot,
sethostname,
setdomainname,
create_module,
init_module,
delete_module,
get_kernel_syms,
query_module,
quotactl,
nfsservctl,
getpmsg,
putpmsg,
afs_syscall,
reserved177,
gettid,
readahead,
setxattr,
lsetxattr,
fsetxattr,
getxattr,
lgetxattr,
fgetxattr,
listxattr,
llistxattr,
flistxattr,
removexattr,
lremovexattr,
fremovexattr,
tkill,
reserved193,
futex,
sched_setaffinity,
sched_getaffinity,
cacheflush,
cachectl,
sysmips,
io_setup,
io_destroy,
io_getevents,
io_submit,
io_cancel,
exit_group,
lookup_dcookie,
epoll_create,
epoll_ctl,
epoll_wait,
remap_file_pages,
rt_sigreturn,
set_tid_address,
restart_syscall,
semtimedop,
fadvise64,
timer_create,
timer_settime,
timer_gettime,
timer_getoverrun,
timer_delete,
clock_settime,
clock_gettime,
clock_getres,
clock_nanosleep,
tgkill,
utimes,
mbind,
get_mempolicy,
set_mempolicy,
mq_open,
mq_unlink,
mq_timedsend,
mq_timedreceive,
mq_notify,
mq_getsetattr,
vserver,
waitid,
add_key,
request_key,
keyctl,
set_thread_area,
inotify_init,
inotify_add_watch,
inotify_rm_watch,
migrate_pages,
openat,
mkdirat,
mknodat,
fchownat,
futimesat,
newfstatat,
unlinkat,
renameat,
linkat,
symlinkat,
readlinkat,
fchmodat,
faccessat,
pselect6,
ppoll,
unshare,
splice,
sync_file_range,
tee,
vmsplice,
move_pages,
set_robust_list,
get_robust_list,
kexec_load,
getcpu,
epoll_pwait,
ioprio_set,
ioprio_get,
utimensat,
signalfd,
timerfd,
eventfd,
fallocate,
timerfd_create,
timerfd_gettime,
timerfd_settime,
signalfd4,
eventfd2,
epoll_create1,
dup3,
pipe2,
inotify_init1,
preadv,
pwritev,
rt_tgsigqueueinfo,
perf_event_open,
accept4,
recvmmsg,
fanotify_init,
fanotify_mark,
prlimit64,
name_to_handle_at,
open_by_handle_at,
clock_adjtime,
syncfs,
sendmmsg,
setns,
process_vm_readv,
process_vm_writev,
kcmp,
finit_module,
getdents64,
sched_setattr,
sched_getattr,
renameat2,
seccomp,
getrandom,
memfd_create,
bpf,
execveat,
userfaultfd,
membarrier,
mlock2,
copy_file_range,
preadv2,
pwritev2,
pkey_mprotect,
pkey_alloc,
pkey_free,
statx,
rseq,
io_pgetevents,
pidfd_send_signal,
io_uring_setup,
io_uring_enter,
io_uring_register,
open_tree,
move_mount,
fsopen,
fsconfig,
fsmount,
fspick,
pidfd_open,
clone3,
close_range,
openat2,
pidfd_getfd,
faccessat2,
process_madvise,
epoll_pwait2,
mount_setattr,
quotactl_fd,
landlock_create_ruleset,
landlock_add_rule,
landlock_restrict_self,
process_mrelease,
futex_waitv,
}Expand description
List of system call numbers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
read
See doc at read(2).
write
See doc at write(2).
open
See doc at open(2).
close
See doc at close(2).
stat
See doc at stat(2).
fstat
See doc at fstat(2).
lstat
See doc at lstat(2).
poll
See doc at poll(2).
lseek
See doc at lseek(2).
mmap
See doc at mmap(2).
mprotect
See doc at mprotect(2).
munmap
See doc at munmap(2).
brk
See doc at brk(2).
rt_sigaction
See doc at rt_sigaction(2).
rt_sigprocmask
See doc at rt_sigprocmask(2).
ioctl
See doc at ioctl(2).
pread64
See doc at pread64(2).
pwrite64
See doc at pwrite64(2).
readv
See doc at readv(2).
writev
See doc at writev(2).
access
See doc at access(2).
pipe
See doc at pipe(2).
_newselect
See doc at _newselect(2).
sched_yield
See doc at sched_yield(2).
mremap
See doc at mremap(2).
msync
See doc at msync(2).
mincore
See doc at mincore(2).
madvise
See doc at madvise(2).
shmget
See doc at shmget(2).
shmat
See doc at shmat(2).
shmctl
See doc at shmctl(2).
dup
See doc at dup(2).
dup2
See doc at dup2(2).
pause
See doc at pause(2).
nanosleep
See doc at nanosleep(2).
getitimer
See doc at getitimer(2).
setitimer
See doc at setitimer(2).
alarm
See doc at alarm(2).
getpid
See doc at getpid(2).
sendfile
See doc at sendfile(2).
socket
See doc at socket(2).
connect
See doc at connect(2).
accept
See doc at accept(2).
sendto
See doc at sendto(2).
recvfrom
See doc at recvfrom(2).
sendmsg
See doc at sendmsg(2).
recvmsg
See doc at recvmsg(2).
shutdown
See doc at shutdown(2).
bind
See doc at bind(2).
listen
See doc at listen(2).
getsockname
See doc at getsockname(2).
getpeername
See doc at getpeername(2).
socketpair
See doc at socketpair(2).
setsockopt
See doc at setsockopt(2).
getsockopt
See doc at getsockopt(2).
clone
See doc at clone(2).
fork
See doc at fork(2).
execve
See doc at execve(2).
exit
See doc at exit(2).
wait4
See doc at wait4(2).
kill
See doc at kill(2).
uname
See doc at uname(2).
semget
See doc at semget(2).
semop
See doc at semop(2).
semctl
See doc at semctl(2).
shmdt
See doc at shmdt(2).
msgget
See doc at msgget(2).
msgsnd
See doc at msgsnd(2).
msgrcv
See doc at msgrcv(2).
msgctl
See doc at msgctl(2).
fcntl
See doc at fcntl(2).
flock
See doc at flock(2).
fsync
See doc at fsync(2).
fdatasync
See doc at fdatasync(2).
truncate
See doc at truncate(2).
ftruncate
See doc at ftruncate(2).
getdents
See doc at getdents(2).
getcwd
See doc at getcwd(2).
chdir
See doc at chdir(2).
fchdir
See doc at fchdir(2).
rename
See doc at rename(2).
mkdir
See doc at mkdir(2).
rmdir
See doc at rmdir(2).
creat
See doc at creat(2).
link
See doc at link(2).
unlink
See doc at unlink(2).
symlink
See doc at symlink(2).
readlink
See doc at readlink(2).
chmod
See doc at chmod(2).
fchmod
See doc at fchmod(2).
chown
See doc at chown(2).
fchown
See doc at fchown(2).
lchown
See doc at lchown(2).
umask
See doc at umask(2).
gettimeofday
See doc at gettimeofday(2).
getrlimit
See doc at getrlimit(2).
getrusage
See doc at getrusage(2).
sysinfo
See doc at sysinfo(2).
times
See doc at times(2).
ptrace
See doc at ptrace(2).
getuid
See doc at getuid(2).
syslog
See doc at syslog(2).
getgid
See doc at getgid(2).
setuid
See doc at setuid(2).
setgid
See doc at setgid(2).
geteuid
See doc at geteuid(2).
getegid
See doc at getegid(2).
setpgid
See doc at setpgid(2).
getppid
See doc at getppid(2).
getpgrp
See doc at getpgrp(2).
setsid
See doc at setsid(2).
setreuid
See doc at setreuid(2).
setregid
See doc at setregid(2).
getgroups
See doc at getgroups(2).
setgroups
See doc at setgroups(2).
setresuid
See doc at setresuid(2).
getresuid
See doc at getresuid(2).
setresgid
See doc at setresgid(2).
getresgid
See doc at getresgid(2).
getpgid
See doc at getpgid(2).
setfsuid
See doc at setfsuid(2).
setfsgid
See doc at setfsgid(2).
getsid
See doc at getsid(2).
capget
See doc at capget(2).
capset
See doc at capset(2).
rt_sigpending
See doc at rt_sigpending(2).
rt_sigtimedwait
See doc at rt_sigtimedwait(2).
rt_sigqueueinfo
See doc at rt_sigqueueinfo(2).
rt_sigsuspend
See doc at rt_sigsuspend(2).
sigaltstack
See doc at sigaltstack(2).
utime
See doc at utime(2).
mknod
See doc at mknod(2).
personality
See doc at personality(2).
ustat
See doc at ustat(2).
statfs
See doc at statfs(2).
fstatfs
See doc at fstatfs(2).
sysfs
See doc at sysfs(2).
getpriority
See doc at getpriority(2).
setpriority
See doc at setpriority(2).
sched_setparam
See doc at sched_setparam(2).
sched_getparam
See doc at sched_getparam(2).
sched_setscheduler
See doc at sched_setscheduler(2).
sched_getscheduler
See doc at sched_getscheduler(2).
sched_get_priority_max
See doc at sched_get_priority_max(2).
sched_get_priority_min
See doc at sched_get_priority_min(2).
sched_rr_get_interval
See doc at sched_rr_get_interval(2).
mlock
See doc at mlock(2).
munlock
See doc at munlock(2).
mlockall
See doc at mlockall(2).
munlockall
See doc at munlockall(2).
vhangup
See doc at vhangup(2).
pivot_root
See doc at pivot_root(2).
_sysctl
See doc at _sysctl(2).
prctl
See doc at prctl(2).
adjtimex
See doc at adjtimex(2).
setrlimit
See doc at setrlimit(2).
chroot
See doc at chroot(2).
sync
See doc at sync(2).
acct
See doc at acct(2).
settimeofday
See doc at settimeofday(2).
mount
See doc at mount(2).
umount2
See doc at umount2(2).
swapon
See doc at swapon(2).
swapoff
See doc at swapoff(2).
reboot
See doc at reboot(2).
sethostname
See doc at sethostname(2).
setdomainname
See doc at setdomainname(2).
create_module
See doc at create_module(2).
init_module
See doc at init_module(2).
delete_module
See doc at delete_module(2).
get_kernel_syms
See doc at get_kernel_syms(2).
query_module
See doc at query_module(2).
quotactl
See doc at quotactl(2).
nfsservctl
See doc at nfsservctl(2).
getpmsg
See doc at getpmsg(2).
putpmsg
See doc at putpmsg(2).
afs_syscall
See doc at afs_syscall(2).
reserved177
See doc at reserved177(2).
gettid
See doc at gettid(2).
readahead
See doc at readahead(2).
setxattr
See doc at setxattr(2).
lsetxattr
See doc at lsetxattr(2).
fsetxattr
See doc at fsetxattr(2).
getxattr
See doc at getxattr(2).
lgetxattr
See doc at lgetxattr(2).
fgetxattr
See doc at fgetxattr(2).
listxattr
See doc at listxattr(2).
llistxattr
See doc at llistxattr(2).
flistxattr
See doc at flistxattr(2).
removexattr
See doc at removexattr(2).
lremovexattr
See doc at lremovexattr(2).
fremovexattr
See doc at fremovexattr(2).
tkill
See doc at tkill(2).
reserved193
See doc at reserved193(2).
futex
See doc at futex(2).
sched_setaffinity
See doc at sched_setaffinity(2).
sched_getaffinity
See doc at sched_getaffinity(2).
cacheflush
See doc at cacheflush(2).
cachectl
See doc at cachectl(2).
sysmips
See doc at sysmips(2).
io_setup
See doc at io_setup(2).
io_destroy
See doc at io_destroy(2).
io_getevents
See doc at io_getevents(2).
io_submit
See doc at io_submit(2).
io_cancel
See doc at io_cancel(2).
exit_group
See doc at exit_group(2).
See doc at lookup_dcookie(2).
epoll_create
See doc at epoll_create(2).
epoll_ctl
See doc at epoll_ctl(2).
epoll_wait
See doc at epoll_wait(2).
remap_file_pages
See doc at remap_file_pages(2).
rt_sigreturn
See doc at rt_sigreturn(2).
set_tid_address
See doc at set_tid_address(2).
restart_syscall
See doc at restart_syscall(2).
semtimedop
See doc at semtimedop(2).
fadvise64
See doc at fadvise64(2).
timer_create
See doc at timer_create(2).
timer_settime
See doc at timer_settime(2).
timer_gettime
See doc at timer_gettime(2).
timer_getoverrun
See doc at timer_getoverrun(2).
timer_delete
See doc at timer_delete(2).
clock_settime
See doc at clock_settime(2).
clock_gettime
See doc at clock_gettime(2).
clock_getres
See doc at clock_getres(2).
clock_nanosleep
See doc at clock_nanosleep(2).
tgkill
See doc at tgkill(2).
utimes
See doc at utimes(2).
mbind
See doc at mbind(2).
get_mempolicy
See doc at get_mempolicy(2).
set_mempolicy
See doc at set_mempolicy(2).
mq_open
See doc at mq_open(2).
mq_unlink
See doc at mq_unlink(2).
mq_timedsend
See doc at mq_timedsend(2).
mq_timedreceive
See doc at mq_timedreceive(2).
mq_notify
See doc at mq_notify(2).
mq_getsetattr
See doc at mq_getsetattr(2).
vserver
See doc at vserver(2).
waitid
See doc at waitid(2).
add_key
See doc at add_key(2).
request_key
See doc at request_key(2).
keyctl
See doc at keyctl(2).
set_thread_area
See doc at set_thread_area(2).
inotify_init
See doc at inotify_init(2).
inotify_add_watch
See doc at inotify_add_watch(2).
inotify_rm_watch
See doc at inotify_rm_watch(2).
migrate_pages
See doc at migrate_pages(2).
openat
See doc at openat(2).
mkdirat
See doc at mkdirat(2).
mknodat
See doc at mknodat(2).
fchownat
See doc at fchownat(2).
futimesat
See doc at futimesat(2).
newfstatat
See doc at newfstatat(2).
unlinkat
See doc at unlinkat(2).
renameat
See doc at renameat(2).
linkat
See doc at linkat(2).
symlinkat
See doc at symlinkat(2).
readlinkat
See doc at readlinkat(2).
fchmodat
See doc at fchmodat(2).
faccessat
See doc at faccessat(2).
pselect6
See doc at pselect6(2).
ppoll
See doc at ppoll(2).
See doc at unshare(2).
splice
See doc at splice(2).
sync_file_range
See doc at sync_file_range(2).
tee
See doc at tee(2).
vmsplice
See doc at vmsplice(2).
move_pages
See doc at move_pages(2).
set_robust_list
See doc at set_robust_list(2).
get_robust_list
See doc at get_robust_list(2).
kexec_load
See doc at kexec_load(2).
getcpu
See doc at getcpu(2).
epoll_pwait
See doc at epoll_pwait(2).
ioprio_set
See doc at ioprio_set(2).
ioprio_get
See doc at ioprio_get(2).
utimensat
See doc at utimensat(2).
signalfd
See doc at signalfd(2).
timerfd
See doc at timerfd(2).
eventfd
See doc at eventfd(2).
fallocate
See doc at fallocate(2).
timerfd_create
See doc at timerfd_create(2).
timerfd_gettime
See doc at timerfd_gettime(2).
timerfd_settime
See doc at timerfd_settime(2).
signalfd4
See doc at signalfd4(2).
eventfd2
See doc at eventfd2(2).
epoll_create1
See doc at epoll_create1(2).
dup3
See doc at dup3(2).
pipe2
See doc at pipe2(2).
inotify_init1
See doc at inotify_init1(2).
preadv
See doc at preadv(2).
pwritev
See doc at pwritev(2).
rt_tgsigqueueinfo
See doc at rt_tgsigqueueinfo(2).
perf_event_open
See doc at perf_event_open(2).
accept4
See doc at accept4(2).
recvmmsg
See doc at recvmmsg(2).
fanotify_init
See doc at fanotify_init(2).
fanotify_mark
See doc at fanotify_mark(2).
prlimit64
See doc at prlimit64(2).
name_to_handle_at
See doc at name_to_handle_at(2).
open_by_handle_at
See doc at open_by_handle_at(2).
clock_adjtime
See doc at clock_adjtime(2).
syncfs
See doc at syncfs(2).
sendmmsg
See doc at sendmmsg(2).
setns
See doc at setns(2).
process_vm_readv
See doc at process_vm_readv(2).
process_vm_writev
See doc at process_vm_writev(2).
kcmp
See doc at kcmp(2).
finit_module
See doc at finit_module(2).
getdents64
See doc at getdents64(2).
sched_setattr
See doc at sched_setattr(2).
sched_getattr
See doc at sched_getattr(2).
renameat2
See doc at renameat2(2).
seccomp
See doc at seccomp(2).
getrandom
See doc at getrandom(2).
memfd_create
See doc at memfd_create(2).
bpf
See doc at bpf(2).
execveat
See doc at execveat(2).
userfaultfd
See doc at userfaultfd(2).
membarrier
See doc at membarrier(2).
mlock2
See doc at mlock2(2).
copy_file_range
See doc at copy_file_range(2).
preadv2
See doc at preadv2(2).
pwritev2
See doc at pwritev2(2).
pkey_mprotect
See doc at pkey_mprotect(2).
pkey_alloc
See doc at pkey_alloc(2).
pkey_free
See doc at pkey_free(2).
statx
See doc at statx(2).
rseq
See doc at rseq(2).
io_pgetevents
See doc at io_pgetevents(2).
pidfd_send_signal
See doc at pidfd_send_signal(2).
io_uring_setup
See doc at io_uring_setup(2).
io_uring_enter
See doc at io_uring_enter(2).
io_uring_register
See doc at io_uring_register(2).
open_tree
See doc at open_tree(2).
move_mount
See doc at move_mount(2).
fsopen
See doc at fsopen(2).
fsconfig
See doc at fsconfig(2).
fsmount
See doc at fsmount(2).
fspick
See doc at fspick(2).
pidfd_open
See doc at pidfd_open(2).
clone3
See doc at clone3(2).
close_range
See doc at close_range(2).
openat2
See doc at openat2(2).
pidfd_getfd
See doc at pidfd_getfd(2).
faccessat2
See doc at faccessat2(2).
process_madvise
See doc at process_madvise(2).
epoll_pwait2
See doc at epoll_pwait2(2).
mount_setattr
See doc at mount_setattr(2).
quotactl_fd
See doc at quotactl_fd(2).
landlock_create_ruleset
See doc at landlock_create_ruleset(2).
landlock_add_rule
See doc at landlock_add_rule(2).
landlock_restrict_self
See doc at landlock_restrict_self(2).
process_mrelease
See doc at process_mrelease(2).
futex_waitv
See doc at futex_waitv(2).
Trait Implementations§
source§impl Ord for Sysno
impl Ord for Sysno
source§impl PartialEq<Sysno> for Sysno
impl PartialEq<Sysno> for Sysno
source§impl PartialOrd<Sysno> for Sysno
impl PartialOrd<Sysno> for Sysno
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more