diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-03-28 16:11:02 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 18:36:40 -0800 |
commit | 652486fb84a07ed750f1c11639518f55808bf555 (patch) | |
tree | 5fb6963a68dd63591f247d9bfc9f9e2d10468fb9 /include/linux/pid.h | |
parent | f96a795d4f6a8a13abe4b0d3c5d1c28ea8d7ce4b (diff) |
[PATCH] do_SAK: don't depend on session ID 0
I'm not really certain what the thinking was but the code obviously wanted to
walk processes other than just those in it's session, for purposes of do_SAK.
Just walking those tasks that don't have a session assigned sounds at the very
least incomplete.
So modify the code to kill everything in the session and anything else that
might have the tty open. Hopefully this helps if the do_SAK functionality is
ever finished.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/pid.h')
0 files changed, 0 insertions, 0 deletions