don't call try_to_freeze() from do_signal()
get_signal_to_deliver() will handle it itself Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -285,9 +285,6 @@ asmlinkage void do_signal(struct pt_regs *regs)
|
||||
|
||||
current->thread.esp0 = (unsigned long)regs;
|
||||
|
||||
if (try_to_freeze())
|
||||
goto no_signal;
|
||||
|
||||
signr = get_signal_to_deliver(&info, &ka, regs, NULL);
|
||||
if (signr > 0) {
|
||||
/* Whee! Actually deliver the signal. */
|
||||
@@ -295,7 +292,6 @@ asmlinkage void do_signal(struct pt_regs *regs)
|
||||
return;
|
||||
}
|
||||
|
||||
no_signal:
|
||||
/* Did we come from a system call? */
|
||||
if (regs->orig_p0 >= 0)
|
||||
/* Restart the system call - no handlers present */
|
||||
|
Reference in New Issue
Block a user