diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:14:06 +0100 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 14:15:19 +0100 |
commit | b290ebe2c46d01b742b948ce03f09e8a3efb9a92 (patch) | |
tree | 4419602f911a8205de2160c56a0ff844f350557e /kernel/signal.c | |
parent | ae1251ab785f6da87219df8352ffdac68bba23e4 (diff) | |
download | kernel_samsung_smdk4412-b290ebe2c46d01b742b948ce03f09e8a3efb9a92.zip kernel_samsung_smdk4412-b290ebe2c46d01b742b948ce03f09e8a3efb9a92.tar.gz kernel_samsung_smdk4412-b290ebe2c46d01b742b948ce03f09e8a3efb9a92.tar.bz2 |
[CVE-2009-0029] System call wrappers part 04
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/signal.c')
-rw-r--r-- | kernel/signal.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/signal.c b/kernel/signal.c index 856a547..3fe08ea 100644 --- a/kernel/signal.c +++ b/kernel/signal.c @@ -2434,8 +2434,7 @@ out: #ifdef __ARCH_WANT_SYS_SIGPENDING -asmlinkage long -sys_sigpending(old_sigset_t __user *set) +SYSCALL_DEFINE1(sigpending, old_sigset_t __user *, set) { return do_sigpending(set, sizeof(*set)); } @@ -2446,8 +2445,8 @@ sys_sigpending(old_sigset_t __user *set) /* Some platforms have their own version with special arguments others support only sys_rt_sigprocmask. */ -asmlinkage long -sys_sigprocmask(int how, old_sigset_t __user *set, old_sigset_t __user *oset) +SYSCALL_DEFINE3(sigprocmask, int, how, old_sigset_t __user *, set, + old_sigset_t __user *, oset) { int error; old_sigset_t old_set, new_set; |