Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120947
b: refs/heads/master
c: ae417bb
h: refs/heads/master
i:
  120945: a960e8a
  120943: 8e6f85c
v: v3
  • Loading branch information
Hiroshi Shimamoto authored and Ingo Molnar committed Dec 16, 2008
1 parent 84827c9 commit 0a9248c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4217458dafaa57d8e26a46f5d05ab8c53cf64191
refs/heads/master: ae417bb487e3bb88dc862b83b4bf00d87ba67ec8
15 changes: 3 additions & 12 deletions trunk/arch/x86/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,17 +594,7 @@ asmlinkage unsigned long sys_sigreturn(unsigned long __unused)
return ax;

badframe:
if (show_unhandled_signals && printk_ratelimit()) {
printk("%s%s[%d] bad frame in sigreturn frame:"
"%p ip:%lx sp:%lx oeax:%lx",
task_pid_nr(current) > 1 ? KERN_INFO : KERN_EMERG,
current->comm, task_pid_nr(current), frame, regs->ip,
regs->sp, regs->orig_ax);
print_vma_addr(" in ", regs->ip);
printk(KERN_CONT "\n");
}

force_sig(SIGSEGV, current);
signal_fault(regs, frame, "sigreturn");

return 0;
}
Expand Down Expand Up @@ -901,8 +891,9 @@ void signal_fault(struct pt_regs *regs, void __user *frame, char *where)
struct task_struct *me = current;

if (show_unhandled_signals && printk_ratelimit()) {
printk(KERN_INFO
printk("%s"
"%s[%d] bad frame in %s frame:%p ip:%lx sp:%lx orax:%lx",
task_pid_nr(current) > 1 ? KERN_INFO : KERN_EMERG,
me->comm, me->pid, where, frame,
regs->ip, regs->sp, regs->orig_ax);
print_vma_addr(" in ", regs->ip);
Expand Down

0 comments on commit 0a9248c

Please sign in to comment.