kernel-ark/kernel
Oleg Nesterov ee0acf90d3 [PATCH] setpgid: should work for sub-threads
setpgid(0, pgid) or setpgid(forked_child_pid, pgid) does not work unless
the calling process is a thread_group_leader().

'man setpgid' does not tell anything about that, so I consider this
behaviour is a bug.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Oren Laadan <orenl@cs.columbia.edu>
Cc: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-01-08 20:14:01 -08:00
..
irq
power
.gitignore
acct.c
audit.c
auditsc.c
capability.c
compat.c
configs.c
cpu.c
cpuset.c [PATCH] shrink dentry struct 2006-01-08 20:13:58 -08:00
crash_dump.c
dma.c
exec_domain.c
exit.c [PATCH] little do_group_exit() cleanup 2006-01-08 20:13:55 -08:00
extable.c
fork.c [PATCH] fork: fix race in setting child's pgrp and tty 2006-01-08 20:14:00 -08:00
futex.c
intermodule.c
itimer.c
kallsyms.c
Kconfig.hz
Kconfig.preempt
kexec.c
kfifo.c
kmod.c
kprobes.c
ksysfs.c
kthread.c
Makefile
module.c [PATCH] Add tainting for proprietary helper modules 2006-01-08 20:13:59 -08:00
panic.c
params.c
pid.c
posix-cpu-timers.c
posix-timers.c
printk.c [PATCH] printk return value: fix it 2006-01-08 20:13:52 -08:00
profile.c
ptrace.c [PATCH] use ptrace_get_task_struct in various places 2006-01-08 20:13:51 -08:00
rcupdate.c [PATCH] rcu file: use atomic primitives 2006-01-08 20:13:48 -08:00
rcutorture.c [PATCH] Extend RCU torture module to test tickless idle CPU 2006-01-08 20:13:59 -08:00
resource.c
sched.c
seccomp.c
signal.c [PATCH] remove unneeded sig->curr_target recalculation 2006-01-08 20:13:57 -08:00
softirq.c
softlockup.c
spinlock.c
stop_machine.c
sys_ni.c
sys.c [PATCH] setpgid: should work for sub-threads 2006-01-08 20:14:01 -08:00
sysctl.c
time.c
timer.c
uid16.c
user.c
wait.c
workqueue.c [PATCH] Unchecked alloc_percpu() return in __create_workqueue() 2006-01-08 20:13:54 -08:00