Enum linux_syscalls::Sysno
source · #[non_exhaustive]#[repr(usize)]pub enum Sysno {
Show 369 variants
exit,
fork,
read,
write,
open,
close,
restart_syscall,
creat,
link,
unlink,
execve,
chdir,
mknod,
chmod,
lseek,
getpid,
mount,
umount,
ptrace,
alarm,
pause,
utime,
access,
nice,
sync,
kill,
rename,
mkdir,
rmdir,
dup,
pipe,
times,
brk,
signal,
acct,
umount2,
ioctl,
fcntl,
setpgid,
umask,
chroot,
ustat,
dup2,
getppid,
getpgrp,
setsid,
sigaction,
sigsuspend,
sigpending,
sethostname,
setrlimit,
getrusage,
gettimeofday,
settimeofday,
symlink,
readlink,
uselib,
swapon,
reboot,
readdir,
mmap,
munmap,
truncate,
ftruncate,
fchmod,
getpriority,
setpriority,
statfs,
fstatfs,
socketcall,
syslog,
setitimer,
getitimer,
stat,
lstat,
fstat,
lookup_dcookie,
vhangup,
idle,
wait4,
swapoff,
sysinfo,
ipc,
fsync,
sigreturn,
clone,
setdomainname,
uname,
adjtimex,
mprotect,
sigprocmask,
create_module,
init_module,
delete_module,
get_kernel_syms,
quotactl,
getpgid,
fchdir,
bdflush,
sysfs,
personality,
afs_syscall,
getdents,
select,
flock,
msync,
readv,
writev,
getsid,
fdatasync,
_sysctl,
mlock,
munlock,
mlockall,
munlockall,
sched_setparam,
sched_getparam,
sched_setscheduler,
sched_getscheduler,
sched_yield,
sched_get_priority_max,
sched_get_priority_min,
sched_rr_get_interval,
nanosleep,
mremap,
query_module,
poll,
nfsservctl,
prctl,
rt_sigreturn,
rt_sigaction,
rt_sigprocmask,
rt_sigpending,
rt_sigtimedwait,
rt_sigqueueinfo,
rt_sigsuspend,
pread64,
pwrite64,
getcwd,
capget,
capset,
sigaltstack,
sendfile,
getpmsg,
putpmsg,
vfork,
getrlimit,
lchown,
getuid,
getgid,
geteuid,
getegid,
setreuid,
setregid,
getgroups,
setgroups,
fchown,
setresuid,
getresuid,
setresgid,
getresgid,
chown,
setuid,
setgid,
setfsuid,
setfsgid,
pivot_root,
mincore,
madvise,
getdents64,
readahead,
setxattr,
lsetxattr,
fsetxattr,
getxattr,
lgetxattr,
fgetxattr,
listxattr,
llistxattr,
flistxattr,
removexattr,
lremovexattr,
fremovexattr,
gettid,
tkill,
futex,
sched_setaffinity,
sched_getaffinity,
tgkill,
io_setup,
io_destroy,
io_getevents,
io_submit,
io_cancel,
exit_group,
epoll_create,
epoll_ctl,
epoll_wait,
set_tid_address,
fadvise64,
timer_create,
timer_settime,
timer_gettime,
timer_getoverrun,
timer_delete,
clock_settime,
clock_gettime,
clock_getres,
clock_nanosleep,
statfs64,
fstatfs64,
remap_file_pages,
mbind,
get_mempolicy,
set_mempolicy,
mq_open,
mq_unlink,
mq_timedsend,
mq_timedreceive,
mq_notify,
mq_getsetattr,
kexec_load,
add_key,
request_key,
keyctl,
waitid,
ioprio_set,
ioprio_get,
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,
set_robust_list,
get_robust_list,
splice,
sync_file_range,
tee,
vmsplice,
move_pages,
getcpu,
epoll_pwait,
utimes,
fallocate,
utimensat,
signalfd,
timerfd,
eventfd,
timerfd_create,
timerfd_settime,
timerfd_gettime,
signalfd4,
eventfd2,
inotify_init1,
pipe2,
dup3,
epoll_create1,
preadv,
pwritev,
rt_tgsigqueueinfo,
perf_event_open,
fanotify_init,
fanotify_mark,
prlimit64,
name_to_handle_at,
open_by_handle_at,
clock_adjtime,
syncfs,
setns,
process_vm_readv,
process_vm_writev,
s390_runtime_instr,
kcmp,
finit_module,
sched_setattr,
sched_getattr,
renameat2,
seccomp,
getrandom,
memfd_create,
bpf,
s390_pci_mmio_write,
s390_pci_mmio_read,
execveat,
userfaultfd,
membarrier,
recvmmsg,
sendmmsg,
socket,
socketpair,
bind,
connect,
listen,
accept4,
getsockopt,
setsockopt,
getsockname,
getpeername,
sendto,
sendmsg,
recvfrom,
recvmsg,
shutdown,
mlock2,
copy_file_range,
preadv2,
pwritev2,
s390_guarded_storage,
statx,
s390_sthyi,
kexec_file_load,
io_pgetevents,
rseq,
pkey_mprotect,
pkey_alloc,
pkey_free,
semtimedop,
semget,
semctl,
shmget,
shmctl,
shmat,
shmdt,
msgget,
msgsnd,
msgrcv,
msgctl,
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,
memfd_secret,
process_mrelease,
futex_waitv,
set_mempolicy_home_node,
}Expand description
List of system call numbers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
exit
See doc at exit(2).
fork
See doc at fork(2).
read
See doc at read(2).
write
See doc at write(2).
open
See doc at open(2).
close
See doc at close(2).
restart_syscall
See doc at restart_syscall(2).
creat
See doc at creat(2).
link
See doc at link(2).
unlink
See doc at unlink(2).
execve
See doc at execve(2).
chdir
See doc at chdir(2).
mknod
See doc at mknod(2).
chmod
See doc at chmod(2).
lseek
See doc at lseek(2).
getpid
See doc at getpid(2).
mount
See doc at mount(2).
umount
See doc at umount(2).
ptrace
See doc at ptrace(2).
alarm
See doc at alarm(2).
pause
See doc at pause(2).
utime
See doc at utime(2).
access
See doc at access(2).
nice
See doc at nice(2).
sync
See doc at sync(2).
kill
See doc at kill(2).
rename
See doc at rename(2).
mkdir
See doc at mkdir(2).
rmdir
See doc at rmdir(2).
dup
See doc at dup(2).
pipe
See doc at pipe(2).
times
See doc at times(2).
brk
See doc at brk(2).
signal
See doc at signal(2).
acct
See doc at acct(2).
umount2
See doc at umount2(2).
ioctl
See doc at ioctl(2).
fcntl
See doc at fcntl(2).
setpgid
See doc at setpgid(2).
umask
See doc at umask(2).
chroot
See doc at chroot(2).
ustat
See doc at ustat(2).
dup2
See doc at dup2(2).
getppid
See doc at getppid(2).
getpgrp
See doc at getpgrp(2).
setsid
See doc at setsid(2).
sigaction
See doc at sigaction(2).
sigsuspend
See doc at sigsuspend(2).
sigpending
See doc at sigpending(2).
sethostname
See doc at sethostname(2).
setrlimit
See doc at setrlimit(2).
getrusage
See doc at getrusage(2).
gettimeofday
See doc at gettimeofday(2).
settimeofday
See doc at settimeofday(2).
symlink
See doc at symlink(2).
readlink
See doc at readlink(2).
uselib
See doc at uselib(2).
swapon
See doc at swapon(2).
reboot
See doc at reboot(2).
readdir
See doc at readdir(2).
mmap
See doc at mmap(2).
munmap
See doc at munmap(2).
truncate
See doc at truncate(2).
ftruncate
See doc at ftruncate(2).
fchmod
See doc at fchmod(2).
getpriority
See doc at getpriority(2).
setpriority
See doc at setpriority(2).
statfs
See doc at statfs(2).
fstatfs
See doc at fstatfs(2).
socketcall
See doc at socketcall(2).
syslog
See doc at syslog(2).
setitimer
See doc at setitimer(2).
getitimer
See doc at getitimer(2).
stat
See doc at stat(2).
lstat
See doc at lstat(2).
fstat
See doc at fstat(2).
See doc at lookup_dcookie(2).
vhangup
See doc at vhangup(2).
idle
See doc at idle(2).
wait4
See doc at wait4(2).
swapoff
See doc at swapoff(2).
sysinfo
See doc at sysinfo(2).
ipc
See doc at ipc(2).
fsync
See doc at fsync(2).
sigreturn
See doc at sigreturn(2).
clone
See doc at clone(2).
setdomainname
See doc at setdomainname(2).
uname
See doc at uname(2).
adjtimex
See doc at adjtimex(2).
mprotect
See doc at mprotect(2).
sigprocmask
See doc at sigprocmask(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).
quotactl
See doc at quotactl(2).
getpgid
See doc at getpgid(2).
fchdir
See doc at fchdir(2).
bdflush
See doc at bdflush(2).
sysfs
See doc at sysfs(2).
personality
See doc at personality(2).
afs_syscall
See doc at afs_syscall(2).
getdents
See doc at getdents(2).
select
See doc at select(2).
flock
See doc at flock(2).
msync
See doc at msync(2).
readv
See doc at readv(2).
writev
See doc at writev(2).
getsid
See doc at getsid(2).
fdatasync
See doc at fdatasync(2).
_sysctl
See doc at _sysctl(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).
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_yield
See doc at sched_yield(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).
nanosleep
See doc at nanosleep(2).
mremap
See doc at mremap(2).
query_module
See doc at query_module(2).
poll
See doc at poll(2).
nfsservctl
See doc at nfsservctl(2).
prctl
See doc at prctl(2).
rt_sigreturn
See doc at rt_sigreturn(2).
rt_sigaction
See doc at rt_sigaction(2).
rt_sigprocmask
See doc at rt_sigprocmask(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).
pread64
See doc at pread64(2).
pwrite64
See doc at pwrite64(2).
getcwd
See doc at getcwd(2).
capget
See doc at capget(2).
capset
See doc at capset(2).
sigaltstack
See doc at sigaltstack(2).
sendfile
See doc at sendfile(2).
getpmsg
See doc at getpmsg(2).
putpmsg
See doc at putpmsg(2).
vfork
See doc at vfork(2).
getrlimit
See doc at getrlimit(2).
lchown
See doc at lchown(2).
getuid
See doc at getuid(2).
getgid
See doc at getgid(2).
geteuid
See doc at geteuid(2).
getegid
See doc at getegid(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).
fchown
See doc at fchown(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).
chown
See doc at chown(2).
setuid
See doc at setuid(2).
setgid
See doc at setgid(2).
setfsuid
See doc at setfsuid(2).
setfsgid
See doc at setfsgid(2).
pivot_root
See doc at pivot_root(2).
mincore
See doc at mincore(2).
madvise
See doc at madvise(2).
getdents64
See doc at getdents64(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).
gettid
See doc at gettid(2).
tkill
See doc at tkill(2).
futex
See doc at futex(2).
sched_setaffinity
See doc at sched_setaffinity(2).
sched_getaffinity
See doc at sched_getaffinity(2).
tgkill
See doc at tgkill(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).
epoll_create
See doc at epoll_create(2).
epoll_ctl
See doc at epoll_ctl(2).
epoll_wait
See doc at epoll_wait(2).
set_tid_address
See doc at set_tid_address(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).
statfs64
See doc at statfs64(2).
fstatfs64
See doc at fstatfs64(2).
remap_file_pages
See doc at remap_file_pages(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).
kexec_load
See doc at kexec_load(2).
add_key
See doc at add_key(2).
request_key
See doc at request_key(2).
keyctl
See doc at keyctl(2).
waitid
See doc at waitid(2).
ioprio_set
See doc at ioprio_set(2).
ioprio_get
See doc at ioprio_get(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).
set_robust_list
See doc at set_robust_list(2).
get_robust_list
See doc at get_robust_list(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).
getcpu
See doc at getcpu(2).
epoll_pwait
See doc at epoll_pwait(2).
utimes
See doc at utimes(2).
fallocate
See doc at fallocate(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).
timerfd_create
See doc at timerfd_create(2).
timerfd_settime
See doc at timerfd_settime(2).
timerfd_gettime
See doc at timerfd_gettime(2).
signalfd4
See doc at signalfd4(2).
eventfd2
See doc at eventfd2(2).
inotify_init1
See doc at inotify_init1(2).
pipe2
See doc at pipe2(2).
dup3
See doc at dup3(2).
epoll_create1
See doc at epoll_create1(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).
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).
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).
s390_runtime_instr
See doc at s390_runtime_instr(2).
kcmp
See doc at kcmp(2).
finit_module
See doc at finit_module(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).
s390_pci_mmio_write
See doc at s390_pci_mmio_write(2).
s390_pci_mmio_read
See doc at s390_pci_mmio_read(2).
execveat
See doc at execveat(2).
userfaultfd
See doc at userfaultfd(2).
membarrier
See doc at membarrier(2).
recvmmsg
See doc at recvmmsg(2).
sendmmsg
See doc at sendmmsg(2).
socket
See doc at socket(2).
socketpair
See doc at socketpair(2).
bind
See doc at bind(2).
connect
See doc at connect(2).
listen
See doc at listen(2).
accept4
See doc at accept4(2).
getsockopt
See doc at getsockopt(2).
setsockopt
See doc at setsockopt(2).
getsockname
See doc at getsockname(2).
getpeername
See doc at getpeername(2).
sendto
See doc at sendto(2).
sendmsg
See doc at sendmsg(2).
recvfrom
See doc at recvfrom(2).
recvmsg
See doc at recvmsg(2).
shutdown
See doc at shutdown(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).
s390_guarded_storage
See doc at s390_guarded_storage(2).
statx
See doc at statx(2).
s390_sthyi
See doc at s390_sthyi(2).
kexec_file_load
See doc at kexec_file_load(2).
io_pgetevents
See doc at io_pgetevents(2).
rseq
See doc at rseq(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).
semtimedop
See doc at semtimedop(2).
semget
See doc at semget(2).
semctl
See doc at semctl(2).
shmget
See doc at shmget(2).
shmctl
See doc at shmctl(2).
shmat
See doc at shmat(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).
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).
memfd_secret
See doc at memfd_secret(2).
process_mrelease
See doc at process_mrelease(2).
futex_waitv
See doc at futex_waitv(2).
set_mempolicy_home_node
See doc at set_mempolicy_home_node(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