pub struct RuntimeDirReport {
pub path: String,
pub read_only_to_commands: bool,
pub enforced_by: Option<&'static str>,
pub not_protected_because: Option<String>,
}Expand description
What the session’s runtime directory, or its records directory, is to the capsule’s commands —
--explain-scope’s Runtime directory and Records directory blocks,
session_start.effective_grants.runtime_dir and .records_dir and mur doctor’s sections,
all from [runtime_dir_report] and [records_dir_report].
Fields§
§path: String<home>/.murmur/sessions/<session-id>/runtime, or
<home>/.murmur/records/<workdir root>/<session-id>, with the literal <session-id>
segment runtime_writes carries.
read_only_to_commands: boolWhether no capsule command can change a file in it.
enforced_by: Option<&'static str>The mechanism that makes it read-only: mountns+landlock on the sealed tier, landlock
on the Landlock tier, null when nothing does.
not_protected_because: Option<String>Why a command can change it, in words an operator can act on; null when none can.
Trait Implementations§
Source§impl Clone for RuntimeDirReport
impl Clone for RuntimeDirReport
Source§impl Debug for RuntimeDirReport
impl Debug for RuntimeDirReport
impl Eq for RuntimeDirReport
Source§impl PartialEq for RuntimeDirReport
impl PartialEq for RuntimeDirReport
Source§impl Serialize for RuntimeDirReport
impl Serialize for RuntimeDirReport
impl StructuralPartialEq for RuntimeDirReport
Auto Trait Implementations§
impl Freeze for RuntimeDirReport
impl RefUnwindSafe for RuntimeDirReport
impl Send for RuntimeDirReport
impl Sync for RuntimeDirReport
impl Unpin for RuntimeDirReport
impl UnsafeUnpin for RuntimeDirReport
impl UnwindSafe for RuntimeDirReport
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 more