diff options
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/signal_kern.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/arch/um/kernel/signal_kern.c b/arch/um/kernel/signal_kern.c index 7a54708db50..da17b7541e0 100644 --- a/arch/um/kernel/signal_kern.c +++ b/arch/um/kernel/signal_kern.c | |||
@@ -185,30 +185,6 @@ long sys_sigsuspend(int history0, int history1, old_sigset_t mask) | |||
185 | return -ERESTARTNOHAND; | 185 | return -ERESTARTNOHAND; |
186 | } | 186 | } |
187 | 187 | ||
188 | long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize) | ||
189 | { | ||
190 | sigset_t newset; | ||
191 | |||
192 | /* XXX: Don't preclude handling different sized sigset_t's. */ | ||
193 | if (sigsetsize != sizeof(sigset_t)) | ||
194 | return -EINVAL; | ||
195 | |||
196 | if (copy_from_user(&newset, unewset, sizeof(newset))) | ||
197 | return -EFAULT; | ||
198 | sigdelsetmask(&newset, ~_BLOCKABLE); | ||
199 | |||
200 | spin_lock_irq(¤t->sighand->siglock); | ||
201 | current->saved_sigmask = current->blocked; | ||
202 | current->blocked = newset; | ||
203 | recalc_sigpending(); | ||
204 | spin_unlock_irq(¤t->sighand->siglock); | ||
205 | |||
206 | current->state = TASK_INTERRUPTIBLE; | ||
207 | schedule(); | ||
208 | set_thread_flag(TIF_RESTORE_SIGMASK); | ||
209 | return -ERESTARTNOHAND; | ||
210 | } | ||
211 | |||
212 | long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss) | 188 | long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss) |
213 | { | 189 | { |
214 | return(do_sigaltstack(uss, uoss, PT_REGS_SP(¤t->thread.regs))); | 190 | return(do_sigaltstack(uss, uoss, PT_REGS_SP(¤t->thread.regs))); |