Commit 97b44ae6 authored by Ingo Molnar's avatar Ingo Molnar

x86: add KERN_INFO to show_unhandled_signals printout

Before:
   total: 0 errors, 1 warnings, 678 lines checked
After:
   total: 0 errors, 0 warnings, 678 lines checked

No code changed:

arch/x86/kernel/signal_32.o:

   text	   data	    bss	    dec	    hex	filename
   5333	      0	      4	   5337	   14d9	signal_32.o.before
   5336	      0	      4	   5340	   14dc	signal_32.o.after

md5:
   c279e98012a2808e90cfa2a7787e42a4  signal_32.o.before.asm
   c279e98012a2808e90cfa2a7787e42a4  signal_32.o.after.asm
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent eee6dd15
...@@ -212,13 +212,13 @@ asmlinkage unsigned long sys_sigreturn(unsigned long __unused) ...@@ -212,13 +212,13 @@ asmlinkage unsigned long sys_sigreturn(unsigned long __unused)
badframe: badframe:
if (show_unhandled_signals && printk_ratelimit()) { if (show_unhandled_signals && printk_ratelimit()) {
printk("%s%s[%d] bad frame in sigreturn frame:%p ip:%lx" printk(KERN_INFO "%s%s[%d] bad frame in sigreturn frame:"
" sp:%lx oeax:%lx", "%p ip:%lx sp:%lx oeax:%lx",
task_pid_nr(current) > 1 ? KERN_INFO : KERN_EMERG, task_pid_nr(current) > 1 ? KERN_INFO : KERN_EMERG,
current->comm, task_pid_nr(current), frame, regs->ip, current->comm, task_pid_nr(current), frame, regs->ip,
regs->sp, regs->orig_ax); regs->sp, regs->orig_ax);
print_vma_addr(" in ", regs->ip); print_vma_addr(" in ", regs->ip);
printk("\n"); printk(KERN_CONT "\n");
} }
force_sig(SIGSEGV, current); force_sig(SIGSEGV, current);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment