pub enum ProfileGap {
NotLoaded {
exe: PathBuf,
path: ProfiledPath,
file: ProfileFile,
},
PathNotProfiled {
exe: PathBuf,
link: Option<PathBuf>,
profile_loaded: bool,
file: ProfileFile,
},
NotAttached {
exe: PathBuf,
path: ProfiledPath,
},
Undetermined,
}Expand description
Why no mur-sealed profile confines an unconfined mur: the case a refusal’s remedy is worded
for.
Read with UsernsGrant and ProfileAttachment and, like them, decides nothing: it is
rendered only under a withheld grant with mur unconfined, and only chooses the command
profile_gap_remedy names.
Variants§
NotLoaded
exe is a path a shipped profile names, and the kernel lists no profile of that name.
Fields
§
path: ProfiledPathThe kind of path exe is.
§
file: ProfileFileWhether the profile file is on disk to load.
PathNotProfiled
No shipped profile names exe.
Fields
§
profile_loaded: boolWhether the kernel lists any profile whose name begins with
SEALED_APPARMOR_PROFILE_NAME.
§
file: ProfileFileWhether the profile file is on disk to load.
NotAttached
The profile that names exe is loaded, and the kernel still reports mur unconfined.
Undetermined
The loaded profiles or this binary’s path could not be read.
Trait Implementations§
Source§impl Clone for ProfileGap
impl Clone for ProfileGap
Source§impl Debug for ProfileGap
impl Debug for ProfileGap
Source§impl Default for ProfileGap
impl Default for ProfileGap
impl Eq for ProfileGap
Source§impl PartialEq for ProfileGap
impl PartialEq for ProfileGap
impl StructuralPartialEq for ProfileGap
Auto Trait Implementations§
impl Forget for ProfileGap
impl Freeze for ProfileGap
impl Move for ProfileGap
impl RefUnwindSafe for ProfileGap
impl Send for ProfileGap
impl Sync for ProfileGap
impl Unpin for ProfileGap
impl UnsafeUnpin for ProfileGap
impl UnwindSafe for ProfileGap
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
Source§type NoneType = T
type NoneType = T
The type of the none-equivalent value that
NoneValue::null_value produces.Source§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.