mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-07 18:12:39 -04:00
comment
This commit is contained in:
parent
f88ca25889
commit
1b569ea790
2 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
||||||
## argument.
|
## argument.
|
||||||
|
|
||||||
## SUID whitelist.
|
## SUID whitelist.
|
||||||
|
## TODO: white spaces inside file name untested
|
||||||
/usr/bin/sudo whitelist
|
/usr/bin/sudo whitelist
|
||||||
/bin/sudo whitelist
|
/bin/sudo whitelist
|
||||||
/usr/bin/bwrap whitelist
|
/usr/bin/bwrap whitelist
|
||||||
|
|
|
@ -176,6 +176,7 @@ set_file_perms() {
|
||||||
fso_without_trailing_slash="${fso%/}"
|
fso_without_trailing_slash="${fso%/}"
|
||||||
|
|
||||||
if [ "$mode_from_config" = "whitelist" ]; then
|
if [ "$mode_from_config" = "whitelist" ]; then
|
||||||
|
## TODO: test/add white spaces inside file name support
|
||||||
whitelist+="$fso_without_trailing_slash "
|
whitelist+="$fso_without_trailing_slash "
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue