summaryrefslogtreecommitdiffstats
path: root/kernel/itimer.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:06 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:19 +0100
commitb290ebe2c46d01b742b948ce03f09e8a3efb9a92 (patch)
tree4419602f911a8205de2160c56a0ff844f350557e /kernel/itimer.c
parentae1251ab785f6da87219df8352ffdac68bba23e4 (diff)
downloadblackbird-op-linux-b290ebe2c46d01b742b948ce03f09e8a3efb9a92.tar.gz
blackbird-op-linux-b290ebe2c46d01b742b948ce03f09e8a3efb9a92.zip
[CVE-2009-0029] System call wrappers part 04
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/itimer.c')
-rw-r--r--kernel/itimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/itimer.c b/kernel/itimer.c
index db7c358b9a02..7e0663ea94fc 100644
--- a/kernel/itimer.c
+++ b/kernel/itimer.c
@@ -100,7 +100,7 @@ int do_getitimer(int which, struct itimerval *value)
return 0;
}
-asmlinkage long sys_getitimer(int which, struct itimerval __user *value)
+SYSCALL_DEFINE2(getitimer, int, which, struct itimerval __user *, value)
{
int error = -EFAULT;
struct itimerval get_buffer;
OpenPOWER on IntegriCloud