diff options
Diffstat (limited to 'arch/x86/ia32')
-rw-r--r-- | arch/x86/ia32/ia32_signal.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/arch/x86/ia32/ia32_signal.c b/arch/x86/ia32/ia32_signal.c index 0b3f2354f6aa..98bd70faccc5 100644 --- a/arch/x86/ia32/ia32_signal.c +++ b/arch/x86/ia32/ia32_signal.c | |||
@@ -131,18 +131,8 @@ int copy_siginfo_from_user32(siginfo_t *to, compat_siginfo_t __user *from) | |||
131 | asmlinkage long sys32_sigsuspend(int history0, int history1, old_sigset_t mask) | 131 | asmlinkage long sys32_sigsuspend(int history0, int history1, old_sigset_t mask) |
132 | { | 132 | { |
133 | sigset_t blocked; | 133 | sigset_t blocked; |
134 | |||
135 | current->saved_sigmask = current->blocked; | ||
136 | |||
137 | mask &= _BLOCKABLE; | ||
138 | siginitset(&blocked, mask); | 134 | siginitset(&blocked, mask); |
139 | set_current_blocked(&blocked); | 135 | return sigsuspend(&blocked); |
140 | |||
141 | current->state = TASK_INTERRUPTIBLE; | ||
142 | schedule(); | ||
143 | |||
144 | set_restore_sigmask(); | ||
145 | return -ERESTARTNOHAND; | ||
146 | } | 136 | } |
147 | 137 | ||
148 | asmlinkage long sys32_sigaltstack(const stack_ia32_t __user *uss_ptr, | 138 | asmlinkage long sys32_sigaltstack(const stack_ia32_t __user *uss_ptr, |