From d518c3e48241aaa169fd866051fb5eeacadec3ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Thu, 17 Sep 2026 12:23:12 +0200 Subject: [PATCH] Drop --map-root-user from the seccomp unshare tests --- tests/e2e/seccomp.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/e2e/seccomp.rs b/tests/e2e/seccomp.rs index 22d8318..0530507 100644 --- a/tests/e2e/seccomp.rs +++ b/tests/e2e/seccomp.rs @@ -3,7 +3,7 @@ use crate::common::*; #[test] fn seccomp_on_by_default_blocks_unshare() { let output = Sandbox::new(&[]) - .args(["--", "unshare", "--user", "--map-root-user", "/bin/true"]) + .args(["--", "unshare", "--user", "/bin/true"]) .output() .expect("agent-sandbox binary failed to execute"); @@ -16,7 +16,7 @@ fn seccomp_on_by_default_blocks_unshare() { #[test] fn seccomp_off_allows_blocked_syscall() { let output = Sandbox::new(&["--no-seccomp"]) - .args(["--", "unshare", "--user", "--map-root-user", "/bin/true"]) + .args(["--", "unshare", "--user", "/bin/true"]) .output() .expect("agent-sandbox binary failed to execute");