Re: [PATCH 3/4] exec: move the final allow_write_access/fput into free_bprm()

From: Kees Cook
Date: Sat Nov 23 2013 - 14:23:05 EST


On Fri, Nov 22, 2013 at 9:54 AM, Oleg Nesterov <oleg@xxxxxxxxxx> wrote:
> Both success/failure paths cleanup bprm->file, we can move this
> code into free_bprm() to simlify and cleanup this logic.

Nice, yeah, this looks right.

Acked-by: Kees Cook <keescook@xxxxxxxxxxxx>

-Kees

--
Kees Cook
Chrome OS Security
--
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/