From d2c112ef4f70fb64b8a7f666c4e07b2dcba46c30 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 30 Apr 2007 16:22:19 +0000 Subject: debugfs support --- init.d/localmount | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/init.d/localmount b/init.d/localmount index 13172d43..ee3c46ca 100755 --- a/init.d/localmount +++ b/init.d/localmount @@ -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 -- cgit v1.2.3