pub enum FileSystemPermission {
Associate,
GetAttr,
Mount,
Remount,
Unmount,
}
Expand description
A well-known “filesystem” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
Variants§
Associate
Permission to associate a file to the filesystem.
GetAttr
Permission to get filesystem attributes.
Mount
Permission mount a filesystem.
Remount
Permission to remount a filesystem with different flags.
Unmount
Permission to unmount a filesystem.
Implementations§
Source§impl FileSystemPermission
impl FileSystemPermission
pub fn all_variants() -> Vec<Self>
Trait Implementations§
Source§impl ClassPermission for FileSystemPermission
impl ClassPermission for FileSystemPermission
fn class(&self) -> ObjectClass
Source§impl Clone for FileSystemPermission
impl Clone for FileSystemPermission
Source§fn clone(&self) -> FileSystemPermission
fn clone(&self) -> FileSystemPermission
Returns a copy 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 FileSystemPermission
impl Debug for FileSystemPermission
Source§impl From<FileSystemPermission> for Permission
impl From<FileSystemPermission> for Permission
Source§fn from(v: FileSystemPermission) -> Self
fn from(v: FileSystemPermission) -> Self
Converts to this type from the input type.
Source§impl Hash for FileSystemPermission
impl Hash for FileSystemPermission
Source§impl PartialEq for FileSystemPermission
impl PartialEq for FileSystemPermission
impl Eq for FileSystemPermission
impl StructuralPartialEq for FileSystemPermission
Auto Trait Implementations§
impl Freeze for FileSystemPermission
impl RefUnwindSafe for FileSystemPermission
impl Send for FileSystemPermission
impl Sync for FileSystemPermission
impl Unpin for FileSystemPermission
impl UnwindSafe for FileSystemPermission
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)