Browse Source

[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 13 năm trước cách đây
mục cha
commit
02834eece0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 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; })
 #define stack_pointer ({ void **sp; asm("la %0,0(15)" : "=&d" (sp)); sp; })