|
@@ -2294,15 +2294,6 @@ int do_sigaction(int sig, struct k_sigaction *act, struct k_sigaction *oact)
|
|
|
k = ¤t->sighand->action[sig-1];
|
|
|
|
|
|
spin_lock_irq(¤t->sighand->siglock);
|
|
|
- if (signal_pending(current)) {
|
|
|
- /*
|
|
|
- * If there might be a fatal signal pending on multiple
|
|
|
- * threads, make sure we take it before changing the action.
|
|
|
- */
|
|
|
- spin_unlock_irq(¤t->sighand->siglock);
|
|
|
- return -ERESTARTNOINTR;
|
|
|
- }
|
|
|
-
|
|
|
if (oact)
|
|
|
*oact = *k;
|
|
|
|