summaryrefslogtreecommitdiffstats
path: root/kernel/itimer.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:07 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:20 +0100
commit362e9c07c7220c0a78c88826fc0d2bf7e4a4bb68 (patch)
tree456a8d4c83c6ace345d9aae00735778eca03ab20 /kernel/itimer.c
parentb290ebe2c46d01b742b948ce03f09e8a3efb9a92 (diff)
downloadop-kernel-dev-362e9c07c7220c0a78c88826fc0d2bf7e4a4bb68.zip
op-kernel-dev-362e9c07c7220c0a78c88826fc0d2bf7e4a4bb68.tar.gz
[CVE-2009-0029] System call wrappers part 05
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/itimer.c')
-rw-r--r--kernel/itimer.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/kernel/itimer.c b/kernel/itimer.c
index 7e0663e..6a5fe93 100644
--- a/kernel/itimer.c
+++ b/kernel/itimer.c
@@ -260,9 +260,8 @@ unsigned int alarm_setitimer(unsigned int seconds)
return it_old.it_value.tv_sec;
}
-asmlinkage long sys_setitimer(int which,
- struct itimerval __user *value,
- struct itimerval __user *ovalue)
+SYSCALL_DEFINE3(setitimer, int, which, struct itimerval __user *, value,
+ struct itimerval __user *, ovalue)
{
struct itimerval set_buffer, get_buffer;
int error;
OpenPOWER on IntegriCloud