uml_start = CHOOSE_MODE_PROC(set_task_sizes_tt, set_task_sizes_skas, 0,
&host_task_size, &task_size);
- /* Need to check this early because mmapping happens before the
- * kernel is running.
- */
- check_tmpexec();
-
brk_start = (unsigned long) sbrk(0);
CHOOSE_MODE_PROC(before_mem_tt, before_mem_skas, brk_start);
/* Increase physical memory size for exec-shield users
static int panic_exit(struct notifier_block *self, unsigned long unused1,
void *unused2)
{
- bust_spinlocks(1);
- show_regs(&(current->thread.regs));
- bust_spinlocks(0);
+#ifdef CONFIG_MAGIC_SYSRQ
+ handle_sysrq('p', ¤t->thread.regs, NULL);
+#endif
uml_exitcode = 1;
machine_halt();
return(0);