[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXu5jJjNMFKNE8+q31xSMxnqVFHB2KhjSgyWn03MpiLy0X0Ng@mail.gmail.com>
Date: Sat, 3 Aug 2013 12:10:09 -0700
From: Kees Cook <keescook@...omium.org>
To: Oleg Nesterov <oleg@...hat.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Zach Levis <zml@...ux.vnet.ibm.com>,
Al Viro <viro@...iv.linux.org.uk>,
Evgeniy Polyakov <zbr@...emap.net>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] exec: proc_exec_connector() should be called only once
On Thu, Aug 1, 2013 at 12:05 PM, Oleg Nesterov <oleg@...hat.com> wrote:
> A separate one-liner with the minor fix.
>
> PROC_EVENT_EXEC reports the "exec" event, but this message
> is sent at least twice if search_binary_handler() is called
> by ->load_binary() recursively, say, load_script().
>
> Move it to exec_binprm(), this is "depth == 0" code too.
>
> Signed-off-by: Oleg Nesterov <oleg@...hat.com>
Yeah, looks right. I almost mentioned this while reading the other
cleanup patch, but then you fixed it too. :)
Acked-by: Kees Cook <keescook@...omium.org>
Thanks,
-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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists