From: Eric W. Biederman Date: Wed, 29 Mar 2006 00:11:02 +0000 (-0800) Subject: [PATCH] do_SAK: don't depend on session ID 0 X-Git-Tag: v2.6.17-rc1~200 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=652486fb84a07ed750f1c11639518f55808bf555;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed