Struct nc::types::ipc64_perm_t [−][src]
#[repr(C)]pub struct ipc64_perm_t {
pub key: key_t,
pub uid: uid_t,
pub gid: gid_t,
pub cuid: uid_t,
pub cgid: gid_t,
pub mode: mode_t,
pub seq: u16,
// some fields omitted
}
Expand description
The generic ipc64_perm structure: Note extra padding because this structure is passed back and forth between kernel and user space.
ipc64_perm was originally meant to be architecture specific, but everyone just ended up making identical copies without specific optimizations, so we may just as well all use the same one.
Pad space is left for:
- 32-bit mode_t on architectures that only had 16 bit
- 32-bit seq
- 2 miscellaneous 32-bit values
Fields
key: key_t
uid: uid_t
gid: gid_t
cuid: uid_t
cgid: gid_t
mode: mode_t
pad if mode_t is u16:
seq: u16
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ipc64_perm_t
impl Send for ipc64_perm_t
impl Sync for ipc64_perm_t
impl Unpin for ipc64_perm_t
impl UnwindSafe for ipc64_perm_t
Blanket Implementations
Mutably borrows from an owned value. Read more