From: Oleg Nesterov Date: Sun, 8 Jan 2006 09:03:53 +0000 (-0800) Subject: [PATCH] setpgid: should work for sub-threads X-Git-Tag: v2.6.16-rc1~735 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee0acf90d320c29916ba8c5c1b2e908d81f5057d;p=pandora-kernel.git [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 Cc: Oren Laadan Cc: Roland McGrath Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed