patch-2.0.8 linux/kernel/sys.c
Next file: linux/mm/filemap.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Jul 17 08:16:54 1996
- Orig file:
v2.0.7/linux/kernel/sys.c
- Orig date:
Wed Jul 17 08:12:17 1996
diff -u --recursive --new-file v2.0.7/linux/kernel/sys.c linux/kernel/sys.c
@@ -636,11 +636,8 @@
{
struct task_struct * p;
- if (current->leader)
- return -EPERM;
-
for_each_task(p) {
- if (p != current && p->pgrp == current->pid)
+ if (p->pgrp == current->pid)
return -EPERM;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov