-
Notifications
You must be signed in to change notification settings - Fork 13
fix: skip runtime exec deny for shared executable targets#70
fix: skip runtime exec deny for shared executable targets#70dwt wants to merge 1 commit intoUse-Tusk:mainfrom
Conversation
Detect shared executable targets by file identity and skip runtime path masking when a deny would block multiple command names, with debug diagnostics on Linux and macOS.
Not sure this is the right way to go about this, but at least that does fix my problem.
To describe again:
Multi call binaries (like busybox, modern coreutils, python, ...) have many symlinks that point to the same binary and perhaps work differently depending on how they are called.
So for coreutils, dd is a symlink to it, but so does ls, cat, ... So blocking coreutils because dd resolves to it is not a good idea.
Closes: #67
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 5 files
Generated with Crush
Assisted-by: GPT-5.3 Codex via Crush
e8c5d3e to
136d530
Compare