diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:14:06 -0500 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2009-01-14 08:15:19 -0500 |
commit | b290ebe2c46d01b742b948ce03f09e8a3efb9a92 (patch) | |
tree | 4419602f911a8205de2160c56a0ff844f350557e /kernel/sys.c | |
parent | ae1251ab785f6da87219df8352ffdac68bba23e4 (diff) |
[CVE-2009-0029] System call wrappers part 04
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/sys.c')
-rw-r--r-- | kernel/sys.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/sys.c b/kernel/sys.c index ace9ced598b9..cbe4502c28a1 100644 --- a/kernel/sys.c +++ b/kernel/sys.c | |||
@@ -944,7 +944,7 @@ SYSCALL_DEFINE1(times, struct tms __user *, tbuf) | |||
944 | * Auch. Had to add the 'did_exec' flag to conform completely to POSIX. | 944 | * Auch. Had to add the 'did_exec' flag to conform completely to POSIX. |
945 | * LBT 04.03.94 | 945 | * LBT 04.03.94 |
946 | */ | 946 | */ |
947 | asmlinkage long sys_setpgid(pid_t pid, pid_t pgid) | 947 | SYSCALL_DEFINE2(setpgid, pid_t, pid, pid_t, pgid) |
948 | { | 948 | { |
949 | struct task_struct *p; | 949 | struct task_struct *p; |
950 | struct task_struct *group_leader = current->group_leader; | 950 | struct task_struct *group_leader = current->group_leader; |
@@ -1080,7 +1080,7 @@ out: | |||
1080 | return retval; | 1080 | return retval; |
1081 | } | 1081 | } |
1082 | 1082 | ||
1083 | asmlinkage long sys_setsid(void) | 1083 | SYSCALL_DEFINE0(setsid) |
1084 | { | 1084 | { |
1085 | struct task_struct *group_leader = current->group_leader; | 1085 | struct task_struct *group_leader = current->group_leader; |
1086 | struct pid *sid = task_pid(group_leader); | 1086 | struct pid *sid = task_pid(group_leader); |
@@ -1340,7 +1340,7 @@ out: | |||
1340 | * without another task interfering. | 1340 | * without another task interfering. |
1341 | */ | 1341 | */ |
1342 | 1342 | ||
1343 | asmlinkage long sys_setgroups(int gidsetsize, gid_t __user *grouplist) | 1343 | SYSCALL_DEFINE2(setgroups, int, gidsetsize, gid_t __user *, grouplist) |
1344 | { | 1344 | { |
1345 | struct group_info *group_info; | 1345 | struct group_info *group_info; |
1346 | int retval; | 1346 | int retval; |