diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-03-29 02:11:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-29 04:36:40 +0200 |
commit | 652486fb84a07ed750f1c11639518f55808bf555 (patch) | |
tree | 5fb6963a68dd63591f247d9bfc9f9e2d10468fb9 /kernel | |
parent | [PATCH] do_tty_hangup: use group_send_sig_info not send_group_sig_info (diff) | |
download | linux-652486fb84a07ed750f1c11639518f55808bf555.tar.xz linux-652486fb84a07ed750f1c11639518f55808bf555.zip |
[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 'kernel')
0 files changed, 0 insertions, 0 deletions