Skip to content

Commit 8ea8eb0

Browse files
akramelezar
authored andcommitted
refactor(policy): drop community image /app path from default policy
The restrictive default policy granted read-only access to /app, a directory that only existed in the community base image. A generic Alpine default has no /app, so remove it. Landlock best-effort already ignores absent paths; this just stops advertising a community-specific layout in the default. Part of NVIDIA#3116. Signed-off-by: Akram Signed-off-by: Akram <[email protected]>
1 parent a3385af commit 8ea8eb0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • crates/openshell-policy/src

‎crates/openshell-policy/src/lib.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -993,7 +993,6 @@ pub fn restrictive_default_policy() -> SandboxPolicy {
993993
"/lib".into(),
994994
"/proc".into(),
995995
"/dev/urandom".into(),
996-
"/app".into(),
997996
"/etc".into(),
998997
"/var/log".into(),
999998
],

0 commit comments

Comments
 (0)