aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2008-02-08 04:19:08 -0800
committerLinus Torvalds <[email protected]>2008-02-08 09:22:27 -0800
commit4e021306cff4277764a42065214fc73f2d26be4b (patch)
tree49e2c5b785b887ae47c599b0afd81ba304f9062a /include
parentc543f1ee08ea6c2176dbdc47df0d0f6357c88713 (diff)
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 <[email protected]> Acked-by: Pavel Emelyanov <[email protected]> Acked-by: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions