This commit is contained in:
Patrick Schleizer 2022-07-09 11:38:37 -04:00
parent fede41e6e0
commit 1df2cfd1ad
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -92,6 +92,8 @@ if [ -d /sys/fs/selinux ]; then
## what is needed
for i in /sys/* /sys/fs/*
do
## Using '|| true':
## https://github.com/Kicksecure/security-misc/pull/108
if [ "${sysfs_whitelist}" = "1" ]; then
chmod o-rwx "${i}" || true
else