Struct libseccomp::ScmpNotifData
source · [−]#[non_exhaustive]pub struct ScmpNotifData {
pub syscall: ScmpSyscall,
pub arch: ScmpArch,
pub instr_pointer: u64,
pub args: [u64; 6],
}
Expand description
Describes the system call context that triggered a notification.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.syscall: ScmpSyscall
The syscall number
arch: ScmpArch
The filter architecture
instr_pointer: u64
Address of the instruction that triggered a notification
args: [u64; 6]
Arguments (up to 6) for the syscall
Trait Implementations
sourceimpl Clone for ScmpNotifData
impl Clone for ScmpNotifData
sourcefn clone(&self) -> ScmpNotifData
fn clone(&self) -> ScmpNotifData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ScmpNotifData
impl Debug for ScmpNotifData
sourceimpl Hash for ScmpNotifData
impl Hash for ScmpNotifData
sourceimpl PartialEq<ScmpNotifData> for ScmpNotifData
impl PartialEq<ScmpNotifData> for ScmpNotifData
sourcefn eq(&self, other: &ScmpNotifData) -> bool
fn eq(&self, other: &ScmpNotifData) -> bool
impl Copy for ScmpNotifData
impl Eq for ScmpNotifData
impl StructuralEq for ScmpNotifData
impl StructuralPartialEq for ScmpNotifData
Auto Trait Implementations
impl RefUnwindSafe for ScmpNotifData
impl Send for ScmpNotifData
impl Sync for ScmpNotifData
impl Unpin for ScmpNotifData
impl UnwindSafe for ScmpNotifData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more