Struct nc::types::seccomp_data_t
source · #[repr(C)]pub struct seccomp_data_t {
pub nr: i32,
pub arch: u32,
pub instruction_pointer: u64,
pub args: [u64; 6],
}
Expand description
struct seccomp_data
- the format the BPF program executes over.
@nr: the system call number
@arch: indicates system call convention as an AUDIT_ARCH_*
value
as defined in <linux/audit.h>
.
@instruction_pointer
: at the time of the system call.
@args: up to 6 system call arguments always stored as 64-bit values
regardless of the architecture.
Fields§
§nr: i32
§arch: u32
§instruction_pointer: u64
§args: [u64; 6]
Trait Implementations§
source§impl Clone for seccomp_data_t
impl Clone for seccomp_data_t
source§fn clone(&self) -> seccomp_data_t
fn clone(&self) -> seccomp_data_t
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 seccomp_data_t
impl Debug for seccomp_data_t
source§impl Default for seccomp_data_t
impl Default for seccomp_data_t
source§fn default() -> seccomp_data_t
fn default() -> seccomp_data_t
Returns the “default value” for a type. Read more
impl Copy for seccomp_data_t
Auto Trait Implementations§
impl Freeze for seccomp_data_t
impl RefUnwindSafe for seccomp_data_t
impl Send for seccomp_data_t
impl Sync for seccomp_data_t
impl Unpin for seccomp_data_t
impl UnwindSafe for seccomp_data_t
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