mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #211] ARGV0 support #146
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#146
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 @TobiX on GitHub (Jan 5, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/211
It would be really nice if firejail shipped something like the ssh-argv0 wrapper (or supported this inside the binary). Currently, to replace, for example /usr/bin/iceweasel with a wrapper that calls iceweasel under firejail, I have to do this:
In its simplest form, firejail could probably ship something similar to ssh-argv0, like this script:
Then, to replace a real command with the firejailed version, one only needs to do:
If integrated into firejail, firejail could decide which command line arguments are meant for firejail (with prefix?) and which should be passed to the original program.
@netblue30 commented on GitHub (Jan 18, 2016):
ssh-argv0 is cool! I didn't know abut it, thanks!
I ended up implementing something similar to BusyBox, where you have a symlink named firefox to /usr/bin/firejail, and firejail will look at argv0 and it will start Firefox with the proper profile. I have a description here: https://github.com/netblue30/firejail