mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #892] Ability to turn off pid namespacing? #605
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#605
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 @gi11es on GitHub (Nov 4, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/892
Related to #862 and my quest to manipulate cgroup assignment for subprocesses of a firejailed process, accessing the cgroup vfs is one thing, but in order to add a subprocess to a cgroup, one needs to know its true pid. But firejail namespaces the pids, which makes knowing the real pid impossible.
I couldn't find a way to turn off pid namespacing, did I miss something? Out of curiosity, is it a deliberate feature or a side-effect of some system folder/file being hidden by firejail?
Anyway, if you have any idea on how pid namespacing could be turned off, it would be greatly appreciated.
@netblue30 commented on GitHub (Nov 5, 2016):
You cannot turn off PID namespace, it is hardcoded deep inside the program. If you do "ps aux" outside of sandbox you can see the real PID for all sandboxed processes.