Skip to content

Commit 1a43dcc

Browse files
committed
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 #3116. Signed-off-by: Akram Signed-off-by: Akram <akram.benaissi@gmail.com>
1 parent 5c8c520 commit 1a43dcc

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
@@ -1274,7 +1274,6 @@ pub fn restrictive_default_policy() -> SandboxPolicy {
12741274
"/lib".into(),
12751275
"/proc".into(),
12761276
"/dev/urandom".into(),
1277-
"/app".into(),
12781277
"/etc".into(),
12791278
"/var/log".into(),
12801279
],

0 commit comments

Comments
 (0)