From: Oleg Nesterov Date: Mon, 6 Apr 2009 14:16:02 +0000 (+0200) Subject: exit_notify: kill the wrong capable(CAP_KILL) check X-Git-Tag: v2.6.30-rc1~142 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432870dab85a2f69dc417022646cb9a70acf7f94;p=pandora-kernel.git exit_notify: kill the wrong capable(CAP_KILL) check The CAP_KILL check in exit_notify() looks just wrong, kill it. Whatever logic we have to reset ->exit_signal, the malicious user can bypass it if it execs the setuid application before exiting. Signed-off-by: Oleg Nesterov Acked-by: Serge Hallyn Acked-by: Roland McGrath Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed