Skip to content

A question about one program starting another program #4192

Answered by rusty-snake
Walkerby asked this question in Q&A
Discussion options

You must be logged in to vote

If I start a program in [firejail], and then the program starts another program, will the second program be running outside firejail?

TL;DR: No

Then you could skip the sandbox. If firefox for example could simply start python3 malware.py the sandbox would be useless.
Firejail sandboxes always inherit, that's the way namespaces work in linux. In the reality, it's still possible that a program runs outside of the sandbox. Programs with instant management may talk to an already running instance (through D-Bus) and tell it to open a new window/tab with this file.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Walkerby
Comment options

@rusty-snake
Comment options

Answer selected by Walkerby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4191 on April 14, 2021 12:01.