debugfs support

This commit is contained in:
Mike Frysinger 2007-04-30 16:22:19 +00:00
parent c3d899714c
commit d2c112ef4f

View File

@ -93,6 +93,16 @@ start() {
fi
fi
# Setup Kernel Support for debugfs
if [ -d /sys/kernel/debug ] ; then
if grep -qs debugfs /proc/filesystems ; then
ebegin "Mounting debug filesystem"
mount -t debugfs debugfs /sys/kernel/debug \
-o nodev,noexec,nosuid
eend $?
fi
fi
# Setup Kernel Support for SELinux
if [ -d /selinux ] ; then
if grep -qs selinuxfs /proc/filesystems ; then