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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)