diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:14:34 -0500 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:15:31 -0500 |
commit | d4e82042c4cfa87a7d51710b71f568fe80132551 (patch) | |
tree | 202c311b52f4e4db9fbbbd80607744e2aa2e5885 /kernel/signal.c | |
parent | 836f92adf121f806e9beb5b6b88bd5c9c4ea3f24 (diff) |
[CVE-2009-0029] System call wrappers part 32
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index e2333929611a..e73759783dc8 100644 --- a/kernel/signal.c +++ b/kernel/signal.c | |||
@@ -2491,11 +2491,10 @@ out: | |||
2491 | #endif /* __ARCH_WANT_SYS_SIGPROCMASK */ | 2491 | #endif /* __ARCH_WANT_SYS_SIGPROCMASK */ |
2492 | 2492 | ||
2493 | #ifdef __ARCH_WANT_SYS_RT_SIGACTION | 2493 | #ifdef __ARCH_WANT_SYS_RT_SIGACTION |
2494 | asmlinkage long | 2494 | SYSCALL_DEFINE4(rt_sigaction, int, sig, |
2495 | sys_rt_sigaction(int sig, | 2495 | const struct sigaction __user *, act, |
2496 | const struct sigaction __user *act, | 2496 | struct sigaction __user *, oact, |
2497 | struct sigaction __user *oact, | 2497 | size_t, sigsetsize) |
2498 | size_t sigsetsize) | ||
2499 | { | 2498 | { |
2500 | struct k_sigaction new_sa, old_sa; | 2499 | struct k_sigaction new_sa, old_sa; |
2501 | int ret = -EINVAL; | 2500 | int ret = -EINVAL; |
@@ -2578,7 +2577,7 @@ SYSCALL_DEFINE0(pause) | |||
2578 | #endif | 2577 | #endif |
2579 | 2578 | ||
2580 | #ifdef __ARCH_WANT_SYS_RT_SIGSUSPEND | 2579 | #ifdef __ARCH_WANT_SYS_RT_SIGSUSPEND |
2581 | asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset, size_t sigsetsize) | 2580 | SYSCALL_DEFINE2(rt_sigsuspend, sigset_t __user *, unewset, size_t, sigsetsize) |
2582 | { | 2581 | { |
2583 | sigset_t newset; | 2582 | sigset_t newset; |
2584 | 2583 | ||