[PATCH v2 0/8] exec: cleanup search_binary_handler()

From: Oleg Nesterov
Date: Mon Aug 05 2013 - 09:46:47 EST


To remind, by discussion with Zach

fs-binfmts-add-a-name-field-to-the-binfmt-struct.patch
fs-binfmts-better-handling-of-binfmt-loops.patch
fs-binfmts-whitespace-fixes-with-scripts-cleanfile.patch

should be dropped. Zach is working on the new version on top of these
changes.

Changes:

2/8: add the comment about recursion_depth

4/8: nullify bprm->file to catch the potential use after free

Add the acks from Kees (thanks!)

Oleg.

fs/exec.c | 120 +++++++++++++++++++++++------------------------
include/linux/binfmts.h | 2 +-
2 files changed, 60 insertions(+), 62 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/