diff options
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; |