diff options
Diffstat (limited to 'mdk-stage1/init.c')
-rw-r--r-- | mdk-stage1/init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 920cffc45..dad02f399 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -482,6 +482,12 @@ int main(int argc, char **argv) printf("*** TESTING MODE *** (pid is %d)\n", getpid()); + // needed for drakx: + if (!testing) + if (mount("none", "/sys/kernel/debug", "debugfs", MS_NOSUID, "mode=0755")) + fatal_error("Unable to mount debugfs filesystem"); + + /* ignore Control-C and keyboard stop signals */ signal(SIGINT, SIG_IGN); signal(SIGTSTP, SIG_IGN); |