mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-07 15:22:41 -04:00
skip folders are these are not suid / guid
This commit is contained in:
parent
9321ecff41
commit
71496a33ab
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue