Not for inclusion yet. 2/2 is untested, incomplete, possibly buggy.
But could you review at least the intent? Do you see any problem with this approach?
This problem is very, very old. It seems that nobody can suggest a simple/clean fix...
Oleg. ---
fs/binfmt_elf.c | 4 +- fs/binfmt_elf_fdpic.c | 4 +- fs/binfmt_flat.c | 4 +- fs/exec.c | 142 +++++++++++++++++++++++------------------------- include/linux/binfmts.h | 2 +- kernel/exit.c | 9 +-- kernel/signal.c | 6 +- 7 files changed, 87 insertions(+), 84 deletions(-)