diff options
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 6cd3023cc66b..93fd4b83d866 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -3454,6 +3454,23 @@ COMPAT_SYSCALL_DEFINE2(rt_sigsuspend, compat_sigset_t __user *, unewset, compat_ | |||
3454 | #endif | 3454 | #endif |
3455 | #endif | 3455 | #endif |
3456 | 3456 | ||
3457 | #ifdef CONFIG_OLD_SIGSUSPEND | ||
3458 | SYSCALL_DEFINE1(sigsuspend, old_sigset_t, mask) | ||
3459 | { | ||
3460 | sigset_t blocked; | ||
3461 | siginitset(&blocked, mask); | ||
3462 | return sigsuspend(&blocked); | ||
3463 | } | ||
3464 | #endif | ||
3465 | #ifdef CONFIG_OLD_SIGSUSPEND3 | ||
3466 | SYSCALL_DEFINE3(sigsuspend, int, unused1, int, unused2, old_sigset_t, mask) | ||
3467 | { | ||
3468 | sigset_t blocked; | ||
3469 | siginitset(&blocked, mask); | ||
3470 | return sigsuspend(&blocked); | ||
3471 | } | ||
3472 | #endif | ||
3473 | |||
3457 | __attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma) | 3474 | __attribute__((weak)) const char *arch_vma_name(struct vm_area_struct *vma) |
3458 | { | 3475 | { |
3459 | return NULL; | 3476 | return NULL; |