summaryrefslogtreecommitdiff
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:10 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:21 +0100
commit17da2bd90abf428523de0fb98f7075e00e3ed42e (patch)
tree4f2daf3cb792b7da62e6ae771b58902cc5ea24ab /kernel/sched.c
parent754fe8d297bfae7b77f7ce866e2fb0c5fb186506 (diff)
downloadlwn-17da2bd90abf428523de0fb98f7075e00e3ed42e.tar.gz
lwn-17da2bd90abf428523de0fb98f7075e00e3ed42e.zip
[CVE-2009-0029] System call wrappers part 08
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 65c02037b052..eb1931eef587 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -5869,7 +5869,7 @@ SYSCALL_DEFINE1(sched_get_priority_min, int, policy)
* this syscall writes the default timeslice value of a given process
* into the user-space timespec buffer. A value of '0' means infinity.
*/
-SYSCALL_DEFINE4(sched_rr_get_interval, pid_t, pid,
+SYSCALL_DEFINE2(sched_rr_get_interval, pid_t, pid,
struct timespec __user *, interval)
{
struct task_struct *p;