mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3237] kernel.yama.ptrace_scope = 2|3 breaks --build if strace is installed #2032
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#2032
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rusty-snake on GitHub (Feb 22, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3237
STR
sudo sysctl kernel.yama.ptrace_scope=2or 3.straceis installedactual behavior
expected behavior
Firejail checks
kernel.yama.ptrace_scopeand skip strace if it is 2 or 3.@reinerh commented on GitHub (Feb 23, 2020):
Or instead of checking kernel.yama.ptrace_scope, it could check the ptrace result for EPERM.
Edit: oh, just noticed it's calling strace, not calling ptrace directly...
@rusty-snake commented on GitHub (Feb 23, 2020):