We should not update mtab here.
This commit is contained in:
parent
03e8e0cb68
commit
a178fd0f32
@ -34,7 +34,7 @@ mount_misc()
|
|||||||
if [ -d /sys/kernel/security ] && ! mountinfo -q /sys/kernel/security; then
|
if [ -d /sys/kernel/security ] && ! mountinfo -q /sys/kernel/security; then
|
||||||
if grep -qs securityfs /proc/filesystems; then
|
if grep -qs securityfs /proc/filesystems; then
|
||||||
ebegin "Mounting security filesystem"
|
ebegin "Mounting security filesystem"
|
||||||
mount -t securityfs -o nodev,noexec,nosuid \
|
mount -n -t securityfs -o nodev,noexec,nosuid \
|
||||||
securityfs /sys/kernel/security
|
securityfs /sys/kernel/security
|
||||||
eend $?
|
eend $?
|
||||||
fi
|
fi
|
||||||
@ -44,7 +44,7 @@ mount_misc()
|
|||||||
if [ -d /sys/kernel/debug ] && ! mountinfo -q /sys/kernel/debug; then
|
if [ -d /sys/kernel/debug ] && ! mountinfo -q /sys/kernel/debug; then
|
||||||
if grep -qs debugfs /proc/filesystems; then
|
if grep -qs debugfs /proc/filesystems; then
|
||||||
ebegin "Mounting debug filesystem"
|
ebegin "Mounting debug filesystem"
|
||||||
mount -t debugfs -o nodev,noexec,nosuid \
|
mount -n -t debugfs -o nodev,noexec,nosuid \
|
||||||
debugfs /sys/kernel/debug
|
debugfs /sys/kernel/debug
|
||||||
eend $?
|
eend $?
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user