Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skilljail/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def cmd_exec(a) -> int:
command = cmd[0] if len(cmd) == 1 else " ".join(shlex.quote(c) for c in cmd)
mode = a.mode
if mode == "observe":
# observe mode: only the kernel jail can log denials, so skip the jail, run the command unjailed and print a notice
# observe mode enforces nothing: run the command unjailed and print a notice saying so
import subprocess

print(f"[skilljail observe] running UNJAILED (observe mode): {command[:100]}", file=sys.stderr)
Expand Down
Loading