mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-16 14:16:16 -06:00
fix caps.keep/dac-overwrite
This commit is contained in:
parent
16497087c0
commit
b3f3992bcc
2 changed files with 5 additions and 1 deletions
2
README
2
README
|
|
@ -411,6 +411,8 @@ smithsohu (https://github.com/smitsohu)
|
|||
- fixed device discovery for simple-scan
|
||||
- add novideo support in many profiles
|
||||
- improve server profiles, harden musescore
|
||||
- snap profile cleanup
|
||||
- tighten some capability sets further
|
||||
soredake (https://github.com/soredake)
|
||||
- fix steam startup with >=llvm-4
|
||||
SpotComms (https://github.com/SpotComms)
|
||||
|
|
|
|||
|
|
@ -107,7 +107,9 @@ static void set_caps(void) {
|
|||
caps_default_filter();
|
||||
|
||||
// drop discretionary access control capabilities for root sandboxes
|
||||
caps_drop_dac_override();
|
||||
// if caps.keep, the user has to set it manually in the list
|
||||
if (!arg_caps_keep)
|
||||
caps_drop_dac_override();
|
||||
}
|
||||
|
||||
void save_nogroups(void) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue