#[repr(C)]pub struct SeccompNotifAddfd {
pub id: u64,
pub flags: u32,
pub srcfd: u32,
pub newfd: u32,
pub newfd_flags: u32,
}Expand description
Inject a file descriptor into the notifying process
(mirrors kernel struct seccomp_notif_addfd).
Fields§
§id: u64Must match the notification ID.
flags: u32Flags (e.g., SECCOMP_ADDFD_FLAG_SEND).
srcfd: u32The fd in the supervisor to inject.
newfd: u32The fd number to use in the target (0 = kernel picks).
newfd_flags: u32Flags for the new fd (e.g., O_CLOEXEC).
Trait Implementations§
Source§impl Clone for SeccompNotifAddfd
impl Clone for SeccompNotifAddfd
Source§fn clone(&self) -> SeccompNotifAddfd
fn clone(&self) -> SeccompNotifAddfd
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 SeccompNotifAddfd
impl Debug for SeccompNotifAddfd
Source§impl Default for SeccompNotifAddfd
impl Default for SeccompNotifAddfd
Source§fn default() -> SeccompNotifAddfd
fn default() -> SeccompNotifAddfd
Returns the “default value” for a type. Read more
impl Copy for SeccompNotifAddfd
Auto Trait Implementations§
impl Freeze for SeccompNotifAddfd
impl RefUnwindSafe for SeccompNotifAddfd
impl Send for SeccompNotifAddfd
impl Sync for SeccompNotifAddfd
impl Unpin for SeccompNotifAddfd
impl UnsafeUnpin for SeccompNotifAddfd
impl UnwindSafe for SeccompNotifAddfd
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