mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-18 05:39:15 -04:00
comment
This commit is contained in:
parent
fede41e6e0
commit
1df2cfd1ad
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue