Add /sys to whitelist mode
This commit is contained in:
@@ -116,6 +116,8 @@ fn add_whitelist_mode(cmd: &mut Command) -> Result<(), SandboxError> {
|
||||
cmd.args(["--ro-bind-try", path, path]);
|
||||
}
|
||||
|
||||
cmd.args(["--ro-bind-try", "/sys", "/sys"]);
|
||||
|
||||
let local_bin = format!("{home}/.local/bin");
|
||||
cmd.arg("--ro-bind-try").arg(&local_bin).arg(&local_bin);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user