mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4632] [MERGED] Consider nosound and novideo when keeping groups & misc refactors #5214
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#5214
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/4632
Author: @kmk3
Created: 10/22/2021
Status: ✅ Merged
Merged: 11/20/2021
Merged by: @smitsohu
Base:
master← Head:consider-nosound-novideo-groups📝 Commits (4)
cc0a113main.c: [ref] fix indentation and whitespace around group handling25f7c7eutil.c: [ref] move group find/copy into new functions615ce15util.c: check array size on copy_group_ifcontea564ebConsider nosound and novideo when keeping groups📊 Changes
2 files changed (+124 additions, -92 deletions)
View changed files
📝
src/firejail/main.c(+82 -78)📝
src/firejail/util.c(+42 -14)📄 Description
Even when
nogroupsis not used, avoid keeping the audio and videogroups when
nosoundandnovideoare used, respectively.Based on @rusty-snake's suggestion:
https://github.com/netblue30/firejail/issues/4603#issuecomment-944046299
Relates to #4603.
Note: I haven't tested this.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.