Преглед изворни кода

[S390] Enable exception traces by default

Enable exception traces by default so that early user space breakage
(e.g. broken code in initrd) can be easily indentified.

If not needed afterwards it can be disabled by writing '0' in one of
these two files:

/proc/sys/kernel/userprocess_debug
/proc/sys/debug/exception-trace

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Heiko Carstens пре 14 година
родитељ
комит
02834eece0
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      arch/s390/kernel/traps.c

+ 1 - 1
arch/s390/kernel/traps.c

@@ -45,7 +45,7 @@
 
 void (*pgm_check_table[128])(struct pt_regs *regs);
 
-int show_unhandled_signals;
+int show_unhandled_signals = 1;
 
 #define stack_pointer ({ void **sp; asm("la %0,0(15)" : "=&d" (sp)); sp; })