pub struct LandlockAddRuleRawArgs {
pub ruleset_fd: RawFd,
pub rule_type: c_long,
pub rule_attr: *const c_void,
pub flags: u32,
}Fields§
§ruleset_fd: RawFd§rule_type: c_long§rule_attr: *const c_void§flags: u32Trait Implementations§
Source§impl Clone for LandlockAddRuleRawArgs
impl Clone for LandlockAddRuleRawArgs
Source§fn clone(&self) -> LandlockAddRuleRawArgs
fn clone(&self) -> LandlockAddRuleRawArgs
Returns a duplicate 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 LandlockAddRuleRawArgs
impl Debug for LandlockAddRuleRawArgs
Source§impl PartialEq for LandlockAddRuleRawArgs
impl PartialEq for LandlockAddRuleRawArgs
Source§impl SyscallGroupsGetter for LandlockAddRuleRawArgs
impl SyscallGroupsGetter for LandlockAddRuleRawArgs
fn syscall_groups(&self) -> BitFlags<SyscallGroups>
Source§impl SyscallNumber for LandlockAddRuleRawArgs
impl SyscallNumber for LandlockAddRuleRawArgs
fn syscall_number(&self) -> isize
Source§impl SyscallStopInspect for LandlockAddRuleRawArgs
impl SyscallStopInspect for LandlockAddRuleRawArgs
type Args = LandlockAddRuleArgs
type Result = LandlockAddRuleModifiedArgs
fn inspect_sysenter(self, inspectee_pid: Pid) -> Self::Args
fn inspect_sysexit( self, inspectee_pid: Pid, regs: &user_regs_struct, ) -> Self::Result
impl Copy for LandlockAddRuleRawArgs
impl StructuralPartialEq for LandlockAddRuleRawArgs
Auto Trait Implementations§
impl Freeze for LandlockAddRuleRawArgs
impl RefUnwindSafe for LandlockAddRuleRawArgs
impl !Send for LandlockAddRuleRawArgs
impl !Sync for LandlockAddRuleRawArgs
impl Unpin for LandlockAddRuleRawArgs
impl UnwindSafe for LandlockAddRuleRawArgs
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