mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-26 18:59:26 -05:00
skip folders are these are not suid / guid
This commit is contained in:
parent
9321ecff41
commit
71496a33ab
@ -71,6 +71,12 @@ add_nosuid_statoverride_entry() {
|
||||
continue
|
||||
fi
|
||||
|
||||
if test -d "$file_name" ; then
|
||||
## https://forums.whonix.org/t/kernel-hardening/7296/323
|
||||
true "skip folder: $file_name"
|
||||
continue
|
||||
fi
|
||||
|
||||
setuid=""
|
||||
setuid_output=""
|
||||
if test -u "$file_name" ; then
|
||||
|
Loading…
Reference in New Issue
Block a user