pub struct PrctlOp(/* private fields */);
Expand description
Options for man 2 prctl
.
Implementations§
source§impl PrctlOp
impl PrctlOp
pub const PR_SET_PDEATHSIG: Self = _
pub const PR_GET_PDEATHSIG: Self = _
pub const PR_GET_DUMPABLE: Self = _
pub const PR_SET_DUMPABLE: Self = _
pub const PR_GET_UNALIGN: Self = _
pub const PR_SET_UNALIGN: Self = _
pub const PR_GET_KEEPCAPS: Self = _
pub const PR_SET_KEEPCAPS: Self = _
pub const PR_GET_FPEMU: Self = _
pub const PR_SET_FPEMU: Self = _
pub const PR_GET_FPEXC: Self = _
pub const PR_SET_FPEXC: Self = _
pub const PR_GET_TIMING: Self = _
pub const PR_SET_TIMING: Self = _
pub const PR_SET_NAME: Self = _
pub const PR_GET_NAME: Self = _
pub const PR_GET_ENDIAN: Self = _
pub const PR_SET_ENDIAN: Self = _
pub const PR_GET_SECCOMP: Self = _
pub const PR_SET_SECCOMP: Self = _
pub const PR_CAPBSET_READ: Self = _
pub const PR_CAPBSET_DROP: Self = _
pub const PR_GET_TSC: Self = _
pub const PR_SET_TSC: Self = _
pub const PR_GET_SECUREBITS: Self = _
pub const PR_SET_SECUREBITS: Self = _
pub const PR_SET_TIMERSLACK: Self = _
pub const PR_GET_TIMERSLACK: Self = _
pub const PR_TASK_PERF_EVENTS_DISABLE: Self = _
pub const PR_TASK_PERF_EVENTS_ENABLE: Self = _
pub const PR_MCE_KILL: Self = _
pub const PR_SET_MM: Self = _
pub const PR_MCE_KILL_GET: Self = _
pub const PR_SET_PTRACER: Self = _
pub const PR_SET_CHILD_SUBREAPER: Self = _
pub const PR_GET_CHILD_SUBREAPER: Self = _
pub const PR_SET_NO_NEW_PRIVS: Self = _
pub const PR_GET_NO_NEW_PRIVS: Self = _
pub const PR_GET_TID_ADDRESS: Self = _
pub const PR_SET_THP_DISABLE: Self = _
pub const PR_GET_THP_DISABLE: Self = _
pub const PR_MPX_ENABLE_MANAGEMENT: Self = _
pub const PR_MPX_DISABLE_MANAGEMENT: Self = _
pub const PR_SET_FP_MODE: Self = _
pub const PR_GET_FP_MODE: Self = _
pub const PR_CAP_AMBIENT: Self = _
pub const PR_SVE_SET_VL: Self = _
pub const PR_SVE_GET_VL: Self = _
pub const PR_GET_SPECULATION_CTRL: Self = _
pub const PR_SET_SPECULATION_CTRL: Self = _
pub const PR_PAC_RESET_KEYS: Self = _
pub const PR_SET_TAGGED_ADDR_CTRL: Self = _
pub const PR_GET_TAGGED_ADDR_CTRL: Self = _
pub const PR_SET_IO_FLUSHER: Self = _
pub const PR_GET_IO_FLUSHER: Self = _
pub const PR_SET_SYSCALL_USER_DISPATCH: Self = _
pub const PR_PAC_SET_ENABLED_KEYS: Self = _
pub const PR_PAC_GET_ENABLED_KEYS: Self = _
pub const PR_SCHED_CORE: Self = _
pub const PR_SME_SET_VL: Self = _
pub const PR_SME_GET_VL: Self = _
pub const PR_SET_MDWE: Self = _
pub const PR_GET_MDWE: Self = _
pub const PR_SET_VMA: Self = _
pub const PR_GET_AUXV: Self = _
pub const PR_SET_MEMORY_MERGE: Self = _
pub const PR_GET_MEMORY_MERGE: Self = _
pub const PR_RISCV_V_SET_CONTROL: Self = _
pub const PR_RISCV_V_GET_CONTROL: Self = _
pub const PR_RISCV_SET_ICACHE_FLUSH_CTX: Self = _
pub const PR_PPC_GET_DEXCR: Self = _
pub const PR_PPC_SET_DEXCR: Self = _
pub const fn new(val: i32) -> Self
pub const fn val(&self) -> i32
pub const fn to_str(&self) -> Option<&'static str>
Trait Implementations§
impl Eq for PrctlOp
impl StructuralPartialEq for PrctlOp
Auto Trait Implementations§
impl Freeze for PrctlOp
impl RefUnwindSafe for PrctlOp
impl Send for PrctlOp
impl Sync for PrctlOp
impl Unpin for PrctlOp
impl UnwindSafe for PrctlOp
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