Skip to main content

profiled_path_for

Function profiled_path_for 

Source
pub fn profiled_path_for(path: &Path) -> Option<ProfiledPath>
Expand description

Which kind of path a shipped profile names path as, or None when no shipped profile names it.

Remediation text only, on the same terms as SEALED_APPARMOR_ATTACHMENT_PATHS: whether a profile attaches is what /proc/self/attr/current reports, and this only chooses which command a refusal names. It follows the stock tunables/home (@{HOME} is /home/*/ and /root/); a host that extends @{HOMEDIRS} through tunables/home.d has home paths this reads as unprofiled. A Checkout path is any target/{debug,release}/mur, whichever checkout the loaded mur-sealed-dev was generated from.