mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-14 18:00:54 +07:00
comment
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user