diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:14:33 -0500 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:15:31 -0500 |
commit | 836f92adf121f806e9beb5b6b88bd5c9c4ea3f24 (patch) | |
tree | 0deccad6d01b7761a8d96cbc12b8e9541317380e /kernel/sys.c | |
parent | 6559eed8ca7db0531a207cd80be5e28cd6f213c5 (diff) |
[CVE-2009-0029] System call wrappers part 31
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index 59aadcdad6ce..e7dc0e10a485 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -1817,8 +1817,8 @@ SYSCALL_DEFINE5(prctl, int, option, unsigned long, arg2, unsigned long, arg3, | |||
1817 | return error; | 1817 | return error; |
1818 | } | 1818 | } |
1819 | 1819 | ||
1820 | asmlinkage long sys_getcpu(unsigned __user *cpup, unsigned __user *nodep, | 1820 | SYSCALL_DEFINE3(getcpu, unsigned __user *, cpup, unsigned __user *, nodep, |
1821 | struct getcpu_cache __user *unused) | 1821 | struct getcpu_cache __user *, unused) |
1822 | { | 1822 | { |
1823 | int err = 0; | 1823 | int err = 0; |
1824 | int cpu = raw_smp_processor_id(); | 1824 | int cpu = raw_smp_processor_id(); |