git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ae77b
)
exit_notify: kill the wrong capable(CAP_KILL) check
author
Oleg Nesterov
<oleg@redhat.com>
Mon, 6 Apr 2009 14:16:02 +0000
(16:16 +0200)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 6 Apr 2009 21:57:23 +0000
(14:57 -0700)
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 <oleg@redhat.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/exit.c
patch
|
blob
|
history
diff --cc
kernel/exit.c
Simple merge