]> git.baikalelectronics.ru Git - kernel.git/commit
handle suicide on late failure exits in execve() in search_binary_handler()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 5 May 2014 00:11:36 +0000 (20:11 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:00 +0000 (02:39 -0400)
commit445136abc99f7302966fa644612d3fc885ce01bd
tree4da809a162a3b9aea8575828f52e150b26ca6ff1
parent18b3536432a7f61df00a9e9dbf45abd4f4c76430
handle suicide on late failure exits in execve() in search_binary_handler()

... rather than doing that in the guts of ->load_binary().
[updated to fix the bug spotted by Shentino - for SIGSEGV we really need
something stronger than send_sig_info(); again, better do that in one place]

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/x86/ia32/ia32_aout.c
fs/binfmt_aout.c
fs/binfmt_elf.c
fs/binfmt_elf_fdpic.c
fs/exec.c