*/
#include <linux/module.h>
+#include <linux/config.h>
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/init.h>
#include <linux/flat.h>
#include <linux/syscalls.h>
+#include <linux/vs_base.h>
#include <linux/vs_memory.h>
#include <asm/byteorder.h>
}
/* OK, This is the point of no return */
- set_personality(PER_LINUX_32BIT);
+ set_personality(PER_LINUX);
}
/*
start_thread(regs, start_addr, current->mm->start_stack);
+ if (current->ptrace & PT_PTRACED)
+ send_sig(SIGTRAP, current, 0);
+
return 0;
}