diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-04-06 16:16:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-06 23:57:23 +0200 |
commit | 432870dab85a2f69dc417022646cb9a70acf7f94 (patch) | |
tree | 4c9c08d7fb77744b1fd04615a76ab0a9105fad07 /fs/stack.c | |
parent | Merge git://git.infradead.org/mtd-2.6 (diff) | |
download | linux-432870dab85a2f69dc417022646cb9a70acf7f94.tar.xz linux-432870dab85a2f69dc417022646cb9a70acf7f94.zip |
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 <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>
Diffstat (limited to 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions