mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #2297] [MERGED] enforce nonewprivs instead of seccomp for chroot sandboxes #4258
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#4258
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/2297
Author: @smitsohu
Created: 12/15/2018
Status: ✅ Merged
Merged: 12/17/2018
Merged by: @startx2017
Base:
master← Head:patch📝 Commits (1)
89fa2a7enforce nonewprivs instead of seccomp for chroot sandboxes📊 Changes
4 files changed (+43 additions, -46 deletions)
View changed files
📝
src/firejail/main.c(+15 -10)📝
src/firejail/sandbox.c(+22 -24)📝
src/firejail/seccomp.c(+0 -6)📝
src/man/firejail.txt(+6 -6)📄 Description
Currently users are always able to specify a seccomp filter of their choosing, including for chroot, appimage and overlay sandboxes. For example, Firejail allows me to do something like:
firejail --noprofile --chroot=/somedir --seccomp.drop=merry,christmasSince the requirement for seccomp looks more or less obsolete now, this PR proposes to remove it entirely and replace it with an explicit nonewprivs enforcement.
There is no security benefit (or harm, AFAICT) in this. It is only about the streamlining of requirements and keeping things easy to explain. While I would regard the patch as ready for merging, I was also hoping to inspire an exchange if it is actually heading in the right direction.
Cheers!
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.