pub struct SyscallNum(/* private fields */);
Expand description
Linux x86-64 syscall number.
Implementations§
Source§impl SyscallNum
impl SyscallNum
pub const NR_read: Self
pub const NR_write: Self
pub const NR_open: Self
pub const NR_close: Self
pub const NR_stat: Self
pub const NR_fstat: Self
pub const NR_lstat: Self
pub const NR_poll: Self
pub const NR_lseek: Self
pub const NR_mmap: Self
pub const NR_mprotect: Self
pub const NR_munmap: Self
pub const NR_brk: Self
pub const NR_rt_sigaction: Self
pub const NR_rt_sigprocmask: Self
pub const NR_rt_sigreturn: Self
pub const NR_ioctl: Self
pub const NR_pread64: Self
pub const NR_pwrite64: Self
pub const NR_readv: Self
pub const NR_writev: Self
pub const NR_access: Self
pub const NR_pipe: Self
pub const NR_select: Self
pub const NR_sched_yield: Self
pub const NR_mremap: Self
pub const NR_msync: Self
pub const NR_mincore: Self
pub const NR_madvise: Self
pub const NR_shmget: Self
pub const NR_shmat: Self
pub const NR_shmctl: Self
pub const NR_dup: Self
pub const NR_dup2: Self
pub const NR_pause: Self
pub const NR_nanosleep: Self
pub const NR_getitimer: Self
pub const NR_alarm: Self
pub const NR_setitimer: Self
pub const NR_getpid: Self
pub const NR_sendfile: Self
pub const NR_socket: Self
pub const NR_connect: Self
pub const NR_accept: Self
pub const NR_sendto: Self
pub const NR_recvfrom: Self
pub const NR_sendmsg: Self
pub const NR_recvmsg: Self
pub const NR_shutdown: Self
pub const NR_bind: Self
pub const NR_listen: Self
pub const NR_getsockname: Self
pub const NR_getpeername: Self
pub const NR_socketpair: Self
pub const NR_setsockopt: Self
pub const NR_getsockopt: Self
pub const NR_clone: Self
pub const NR_fork: Self
pub const NR_vfork: Self
pub const NR_execve: Self
pub const NR_exit: Self
pub const NR_wait4: Self
pub const NR_kill: Self
pub const NR_uname: Self
pub const NR_semget: Self
pub const NR_semop: Self
pub const NR_semctl: Self
pub const NR_shmdt: Self
pub const NR_msgget: Self
pub const NR_msgsnd: Self
pub const NR_msgrcv: Self
pub const NR_msgctl: Self
pub const NR_fcntl: Self
pub const NR_flock: Self
pub const NR_fsync: Self
pub const NR_fdatasync: Self
pub const NR_truncate: Self
pub const NR_ftruncate: Self
pub const NR_getdents: Self
pub const NR_getcwd: Self
pub const NR_chdir: Self
pub const NR_fchdir: Self
pub const NR_rename: Self
pub const NR_mkdir: Self
pub const NR_rmdir: Self
pub const NR_creat: Self
pub const NR_link: Self
pub const NR_unlink: Self
pub const NR_symlink: Self
pub const NR_readlink: Self
pub const NR_chmod: Self
pub const NR_fchmod: Self
pub const NR_chown: Self
pub const NR_fchown: Self
pub const NR_lchown: Self
pub const NR_umask: Self
pub const NR_gettimeofday: Self
pub const NR_getrlimit: Self
pub const NR_getrusage: Self
pub const NR_sysinfo: Self
pub const NR_times: Self
pub const NR_ptrace: Self
pub const NR_getuid: Self
pub const NR_syslog: Self
pub const NR_getgid: Self
pub const NR_setuid: Self
pub const NR_setgid: Self
pub const NR_geteuid: Self
pub const NR_getegid: Self
pub const NR_setpgid: Self
pub const NR_getppid: Self
pub const NR_getpgrp: Self
pub const NR_setsid: Self
pub const NR_setreuid: Self
pub const NR_setregid: Self
pub const NR_getgroups: Self
pub const NR_setgroups: Self
pub const NR_setresuid: Self
pub const NR_getresuid: Self
pub const NR_setresgid: Self
pub const NR_getresgid: Self
pub const NR_getpgid: Self
pub const NR_setfsuid: Self
pub const NR_setfsgid: Self
pub const NR_getsid: Self
pub const NR_capget: Self
pub const NR_capset: Self
pub const NR_rt_sigpending: Self
pub const NR_rt_sigtimedwait: Self
pub const NR_rt_sigqueueinfo: Self
pub const NR_rt_sigsuspend: Self
pub const NR_sigaltstack: Self
pub const NR_utime: Self
pub const NR_mknod: Self
pub const NR_uselib: Self
pub const NR_personality: Self
pub const NR_ustat: Self
pub const NR_statfs: Self
pub const NR_fstatfs: Self
pub const NR_sysfs: Self
pub const NR_getpriority: Self
pub const NR_setpriority: Self
pub const NR_sched_setparam: Self
pub const NR_sched_getparam: Self
pub const NR_sched_setscheduler: Self
pub const NR_sched_getscheduler: Self
pub const NR_sched_get_priority_max: Self
pub const NR_sched_get_priority_min: Self
pub const NR_sched_rr_get_interval: Self
pub const NR_mlock: Self
pub const NR_munlock: Self
pub const NR_mlockall: Self
pub const NR_munlockall: Self
pub const NR_vhangup: Self
pub const NR_modify_ldt: Self
pub const NR_pivot_root: Self
pub const NR__sysctl: Self
pub const NR_prctl: Self
pub const NR_arch_prctl: Self
pub const NR_adjtimex: Self
pub const NR_setrlimit: Self
pub const NR_chroot: Self
pub const NR_sync: Self
pub const NR_acct: Self
pub const NR_settimeofday: Self
pub const NR_mount: Self
pub const NR_umount2: Self
pub const NR_swapon: Self
pub const NR_swapoff: Self
pub const NR_reboot: Self
pub const NR_sethostname: Self
pub const NR_setdomainname: Self
pub const NR_iopl: Self
pub const NR_ioperm: Self
pub const NR_create_module: Self
pub const NR_init_module: Self
pub const NR_delete_module: Self
pub const NR_get_kernel_syms: Self
pub const NR_query_module: Self
pub const NR_quotactl: Self
pub const NR_nfsservctl: Self
pub const NR_getpmsg: Self
pub const NR_putpmsg: Self
pub const NR_afs_syscall: Self
pub const NR_tuxcall: Self
pub const NR_security: Self
pub const NR_gettid: Self
pub const NR_readahead: Self
pub const NR_setxattr: Self
pub const NR_lsetxattr: Self
pub const NR_fsetxattr: Self
pub const NR_getxattr: Self
pub const NR_lgetxattr: Self
pub const NR_fgetxattr: Self
pub const NR_listxattr: Self
pub const NR_llistxattr: Self
pub const NR_flistxattr: Self
pub const NR_removexattr: Self
pub const NR_lremovexattr: Self
pub const NR_fremovexattr: Self
pub const NR_tkill: Self
pub const NR_time: Self
pub const NR_futex: Self
pub const NR_sched_setaffinity: Self
pub const NR_sched_getaffinity: Self
pub const NR_set_thread_area: Self
pub const NR_io_setup: Self
pub const NR_io_destroy: Self
pub const NR_io_getevents: Self
pub const NR_io_submit: Self
pub const NR_io_cancel: Self
pub const NR_get_thread_area: Self
pub const NR_epoll_create: Self
pub const NR_epoll_ctl_old: Self
pub const NR_epoll_wait_old: Self
pub const NR_remap_file_pages: Self
pub const NR_getdents64: Self
pub const NR_set_tid_address: Self
pub const NR_restart_syscall: Self
pub const NR_semtimedop: Self
pub const NR_fadvise64: Self
pub const NR_timer_create: Self
pub const NR_timer_settime: Self
pub const NR_timer_gettime: Self
pub const NR_timer_getoverrun: Self
pub const NR_timer_delete: Self
pub const NR_clock_settime: Self
pub const NR_clock_gettime: Self
pub const NR_clock_getres: Self
pub const NR_clock_nanosleep: Self
pub const NR_exit_group: Self
pub const NR_epoll_wait: Self
pub const NR_epoll_ctl: Self
pub const NR_tgkill: Self
pub const NR_utimes: Self
pub const NR_vserver: Self
pub const NR_mbind: Self
pub const NR_set_mempolicy: Self
pub const NR_get_mempolicy: Self
pub const NR_mq_open: Self
pub const NR_mq_unlink: Self
pub const NR_mq_timedsend: Self
pub const NR_mq_timedreceive: Self
pub const NR_mq_notify: Self
pub const NR_mq_getsetattr: Self
pub const NR_kexec_load: Self
pub const NR_waitid: Self
pub const NR_add_key: Self
pub const NR_request_key: Self
pub const NR_keyctl: Self
pub const NR_ioprio_set: Self
pub const NR_ioprio_get: Self
pub const NR_inotify_init: Self
pub const NR_inotify_add_watch: Self
pub const NR_inotify_rm_watch: Self
pub const NR_migrate_pages: Self
pub const NR_openat: Self
pub const NR_mkdirat: Self
pub const NR_mknodat: Self
pub const NR_fchownat: Self
pub const NR_futimesat: Self
pub const NR_newfstatat: Self
pub const NR_unlinkat: Self
pub const NR_renameat: Self
pub const NR_linkat: Self
pub const NR_symlinkat: Self
pub const NR_readlinkat: Self
pub const NR_fchmodat: Self
pub const NR_faccessat: Self
pub const NR_pselect6: Self
pub const NR_ppoll: Self
pub const NR_set_robust_list: Self
pub const NR_get_robust_list: Self
pub const NR_splice: Self
pub const NR_tee: Self
pub const NR_sync_file_range: Self
pub const NR_vmsplice: Self
pub const NR_move_pages: Self
pub const NR_utimensat: Self
pub const NR_epoll_pwait: Self
pub const NR_signalfd: Self
pub const NR_timerfd_create: Self
pub const NR_eventfd: Self
pub const NR_fallocate: Self
pub const NR_timerfd_settime: Self
pub const NR_timerfd_gettime: Self
pub const NR_accept4: Self
pub const NR_signalfd4: Self
pub const NR_eventfd2: Self
pub const NR_epoll_create1: Self
pub const NR_dup3: Self
pub const NR_pipe2: Self
pub const NR_inotify_init1: Self
pub const NR_preadv: Self
pub const NR_pwritev: Self
pub const NR_rt_tgsigqueueinfo: Self
pub const NR_perf_event_open: Self
pub const NR_recvmmsg: Self
pub const NR_fanotify_init: Self
pub const NR_fanotify_mark: Self
pub const NR_prlimit64: Self
pub const NR_name_to_handle_at: Self
pub const NR_open_by_handle_at: Self
pub const NR_clock_adjtime: Self
pub const NR_syncfs: Self
pub const NR_sendmmsg: Self
pub const NR_setns: Self
pub const NR_getcpu: Self
pub const NR_process_vm_readv: Self
pub const NR_process_vm_writev: Self
pub const NR_kcmp: Self
pub const NR_finit_module: Self
pub const NR_sched_setattr: Self
pub const NR_sched_getattr: Self
pub const NR_renameat2: Self
pub const NR_seccomp: Self
pub const NR_getrandom: Self
pub const NR_memfd_create: Self
pub const NR_kexec_file_load: Self
pub const NR_bpf: Self
pub const NR_execveat: Self
pub const NR_userfaultfd: Self
pub const NR_membarrier: Self
pub const NR_mlock2: Self
pub const NR_copy_file_range: Self
pub const NR_preadv2: Self
pub const NR_pwritev2: Self
pub const NR_pkey_mprotect: Self
pub const NR_pkey_alloc: Self
pub const NR_pkey_free: Self
pub const NR_statx: Self
pub const NR_io_pgetevents: Self
pub const NR_rseq: Self
pub const NR_uretprobe: Self
pub const NR_pidfd_send_signal: Self
pub const NR_io_uring_setup: Self
pub const NR_io_uring_enter: Self
pub const NR_io_uring_register: Self
pub const NR_open_tree: Self
pub const NR_move_mount: Self
pub const NR_fsopen: Self
pub const NR_fsconfig: Self
pub const NR_fsmount: Self
pub const NR_fspick: Self
pub const NR_pidfd_open: Self
pub const NR_clone3: Self
pub const NR_close_range: Self
pub const NR_openat2: Self
pub const NR_pidfd_getfd: Self
pub const NR_faccessat2: Self
pub const NR_process_madvise: Self
pub const NR_epoll_pwait2: Self
pub const NR_mount_setattr: Self
pub const NR_quotactl_fd: Self
pub const NR_landlock_create_ruleset: Self
pub const NR_landlock_add_rule: Self
pub const NR_landlock_restrict_self: Self
pub const NR_memfd_secret: Self
pub const NR_process_mrelease: Self
pub const NR_futex_waitv: Self
pub const NR_set_mempolicy_home_node: Self
pub const NR_cachestat: Self
pub const NR_fchmodat2: Self
pub const NR_map_shadow_stack: Self
pub const NR_futex_wake: Self
pub const NR_futex_wait: Self
pub const NR_futex_requeue: Self
pub const NR_statmount: Self
pub const NR_listmount: Self
pub const NR_lsm_get_self_attr: Self
pub const NR_lsm_set_self_attr: Self
pub const NR_lsm_list_modules: Self
pub const NR_mseal: Self
pub const fn new(val: u32) -> Self
pub const fn val(&self) -> u32
pub const fn to_str(&self) -> Option<&'static str>
Trait Implementations§
Source§impl Clone for SyscallNum
impl Clone for SyscallNum
Source§fn clone(&self) -> SyscallNum
fn clone(&self) -> SyscallNum
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SyscallNum
impl Debug for SyscallNum
Source§impl Display for SyscallNum
impl Display for SyscallNum
Source§impl From<SyscallNum> for u32
impl From<SyscallNum> for u32
Source§fn from(val: SyscallNum) -> Self
fn from(val: SyscallNum) -> Self
Converts to this type from the input type.
Source§impl From<u32> for SyscallNum
impl From<u32> for SyscallNum
Source§impl Hash for SyscallNum
impl Hash for SyscallNum
Source§impl PartialEq for SyscallNum
impl PartialEq for SyscallNum
impl Copy for SyscallNum
impl Eq for SyscallNum
impl StructuralPartialEq for SyscallNum
Auto Trait Implementations§
impl Freeze for SyscallNum
impl RefUnwindSafe for SyscallNum
impl Send for SyscallNum
impl Sync for SyscallNum
impl Unpin for SyscallNum
impl UnwindSafe for SyscallNum
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more