pub enum FilePermission {
Entrypoint,
ExecuteNoTrans,
Common(CommonFilePermission),
}
Expand description
A well-known “file” class permission in SELinux policy that has a particular meaning in policy enforcement hooks.
Variants§
Entrypoint
Permission to use a file as an entry point into the new domain on transition.
ExecuteNoTrans
Permission to use a file as an entry point to the calling domain without performing a transition.
Common(CommonFilePermission)
Implementations§
Source§impl FilePermission
impl FilePermission
pub fn all_variants() -> Vec<Self>
Trait Implementations§
Source§impl ClassPermission for FilePermission
impl ClassPermission for FilePermission
fn class(&self) -> ObjectClass
Source§impl Clone for FilePermission
impl Clone for FilePermission
Source§fn clone(&self) -> FilePermission
fn clone(&self) -> FilePermission
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 FilePermission
impl Debug for FilePermission
Source§impl From<FilePermission> for Permission
impl From<FilePermission> for Permission
Source§fn from(v: FilePermission) -> Self
fn from(v: FilePermission) -> Self
Converts to this type from the input type.
Source§impl Hash for FilePermission
impl Hash for FilePermission
Source§impl PartialEq for FilePermission
impl PartialEq for FilePermission
impl Eq for FilePermission
impl StructuralPartialEq for FilePermission
Auto Trait Implementations§
impl Freeze for FilePermission
impl RefUnwindSafe for FilePermission
impl Send for FilePermission
impl Sync for FilePermission
impl Unpin for FilePermission
impl UnwindSafe for FilePermission
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
)