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)
commit19d860a140beac48a1377f179e693abe86a9dac9
tree4da809a162a3b9aea8575828f52e150b26ca6ff1
parent2926620145095ffb0350b2312ac9d0af8537796f
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