Replace --new-session with seccomp TIOCSTI/TIOCLINUX filter

This commit is contained in:
2026-04-12 15:58:50 +02:00
parent 8f30d28965
commit 0d0682b04e
3 changed files with 78 additions and 7 deletions
-1
View File
@@ -40,7 +40,6 @@ pub fn build_command(config: &SandboxConfig) -> Result<Command, SandboxError> {
add_user_env_overrides(&mut cmd, config);
cmd.args(["--remount-ro", "/"]);
cmd.arg("--new-session");
cmd.arg("--die-with-parent");
cmd.arg("--chdir").arg(&config.chdir);