pub struct Ids {
pub ruid: u32,
pub euid: u32,
pub suid: u32,
pub fsuid: u32,
pub rgid: u32,
pub egid: u32,
pub sgid: u32,
pub fsgid: u32,
}Expand description
The identity a process believes it has under -0.
Starts as root; setuid and friends move it with the kernel’s rules
(anything goes while the effective id is 0, otherwise only among the
real, effective and saved ids). Inherited across fork, kept across exec.
Fields§
§ruid: u32§euid: u32§suid: u32§fsuid: u32§rgid: u32§egid: u32§sgid: u32§fsgid: u32Trait Implementations§
impl Copy for Ids
impl Eq for Ids
impl StructuralPartialEq for Ids
Auto Trait Implementations§
impl Freeze for Ids
impl RefUnwindSafe for Ids
impl Send for Ids
impl Sync for Ids
impl Unpin for Ids
impl UnsafeUnpin for Ids
impl UnwindSafe for Ids
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