mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-05-02 12:16:03 -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
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue