pub struct UserNs {
uid_map: CString,
gid_map: CString,
}Expand description
Everything the first tracee needs to enter its user namespace, prepared
before fork so the child does not allocate.
Fields§
§uid_map: CStringThe line written to /proc/self/uid_map.
gid_map: CStringThe line written to /proc/self/gid_map.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserNs
impl RefUnwindSafe for UserNs
impl Send for UserNs
impl Sync for UserNs
impl Unpin for UserNs
impl UnsafeUnpin for UserNs
impl UnwindSafe for UserNs
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