From: Oleg Nesterov Date: Fri, 8 Feb 2008 12:19:08 +0000 (-0800) Subject: sys_setpgid(): simplify pid/ns interaction X-Git-Tag: v2.6.25-rc1~221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e021306cff4277764a42065214fc73f2d26be4b;p=pandora-kernel.git sys_setpgid(): simplify pid/ns interaction sys_setpgid() does unneeded conversions from pid_t to "struct pid" and vice versa. Use "struct pid" more consistently. Saves one find_vpid() and eliminates the explicit usage of ->nsproxy->pid_ns. Imho, cleanups the code. Also use the same_thread_group() helper. Signed-off-by: Oleg Nesterov Acked-by: Pavel Emelyanov Acked-by: "Eric W. Biederman" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed