#[repr(C)]pub struct fuse_ctx {
pub uid: uid_t,
pub gid: gid_t,
pub pid: pid_t,
pub umask: mode_t,
}Expand description
Additional context associated with requests.
Note that the reported client uid, gid and pid may be zero in some situations. For example, if the FUSE file system is running in a PID or user namespace but then accessed from outside the namespace, there is no valid uid/pid/gid that could be reported.
Fields§
§uid: uid_tUser ID of the calling process
gid: gid_tGroup ID of the calling process
pid: pid_tThread ID of the calling process
umask: mode_tUmask of the calling process (introduced in version 2.8)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for fuse_ctx
impl RefUnwindSafe for fuse_ctx
impl Send for fuse_ctx
impl Sync for fuse_ctx
impl Unpin for fuse_ctx
impl UnwindSafe for fuse_ctx
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