mirror of
https://github.com/Kicksecure/security-misc.git
synced 2024-12-29 10:36:11 -05:00
Merge remote-tracking branch 'github-kicksecure/master'
This commit is contained in:
commit
52c46e4706
@ -93,9 +93,9 @@ if [ -d /sys/fs/selinux ]; then
|
|||||||
for i in /sys/* /sys/fs/*
|
for i in /sys/* /sys/fs/*
|
||||||
do
|
do
|
||||||
if [ "${sysfs_whitelist}" = "1" ]; then
|
if [ "${sysfs_whitelist}" = "1" ]; then
|
||||||
chmod o-rwx "${i}"
|
chmod o-rwx "${i}" || continue
|
||||||
else
|
else
|
||||||
chmod og-rwx "${i}"
|
chmod og-rwx "${i}" || continue
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
chmod o+rx /sys /sys/fs /sys/fs/selinux
|
chmod o+rx /sys /sys/fs /sys/fs/selinux
|
||||||
|
Loading…
Reference in New Issue
Block a user