mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-14 18:00:54 +07:00
comment
This commit is contained in:
@ -92,6 +92,8 @@ if [ -d /sys/fs/selinux ]; then
|
|||||||
## what is needed
|
## what is needed
|
||||||
for i in /sys/* /sys/fs/*
|
for i in /sys/* /sys/fs/*
|
||||||
do
|
do
|
||||||
|
## Using '|| true':
|
||||||
|
## https://github.com/Kicksecure/security-misc/pull/108
|
||||||
if [ "${sysfs_whitelist}" = "1" ]; then
|
if [ "${sysfs_whitelist}" = "1" ]; then
|
||||||
chmod o-rwx "${i}" || true
|
chmod o-rwx "${i}" || true
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user