#[repr(C)]pub struct SeccompData {
pub nr: u32,
pub arch: u32,
pub instruction_pointer: u64,
pub args: [u64; 6],
}Expand description
Seccomp data structure matching the kernel’s struct seccomp_data.
Fields§
§nr: u32Syscall number.
arch: u32Architecture (AUDIT_ARCH_*).
instruction_pointer: u64Instruction pointer.
args: [u64; 6]Syscall arguments (up to 6).
Implementations§
Trait Implementations§
Source§impl Clone for SeccompData
impl Clone for SeccompData
Source§fn clone(&self) -> SeccompData
fn clone(&self) -> SeccompData
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SeccompData
impl Debug for SeccompData
Source§impl PartialEq for SeccompData
impl PartialEq for SeccompData
impl Copy for SeccompData
impl Eq for SeccompData
impl StructuralPartialEq for SeccompData
Auto Trait Implementations§
impl Freeze for SeccompData
impl RefUnwindSafe for SeccompData
impl Send for SeccompData
impl Sync for SeccompData
impl Unpin for SeccompData
impl UnwindSafe for SeccompData
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)