fix caps.keep/dac-overwrite

This commit is contained in:
startx2017 2017-09-05 08:35:21 -04:00
parent 16497087c0
commit b3f3992bcc
2 changed files with 5 additions and 1 deletions

2
README
View file

@ -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)

View file

@ -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) {