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

View File

@ -93,9 +93,9 @@ if [ -d /sys/fs/selinux ]; then
for i in /sys/* /sys/fs/*
do
if [ "${sysfs_whitelist}" = "1" ]; then
chmod o-rwx "${i}" || continue
chmod o-rwx "${i}" || true
else
chmod og-rwx "${i}" || continue
chmod og-rwx "${i}" || true
fi
done
chmod o+rx /sys /sys/fs /sys/fs/selinux