mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-28 02:49:25 -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
|
continue
|
||||||
fi
|
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=""
|
||||||
setuid_output=""
|
setuid_output=""
|
||||||
if test -u "$file_name" ; then
|
if test -u "$file_name" ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user