diff options
author | Oleg Nesterov <oleg@redhat.com> | 2013-09-11 23:24:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-12 00:59:05 +0200 |
commit | 9beb266f2d7e5362c5bb9f999255aa1af5318aef (patch) | |
tree | 96ba701872c5b66b1801f785a6a50b6d3b74e2b1 /net/8021q/vlanproc.h | |
parent | exec: kill "int depth" in search_binary_handler() (diff) | |
download | linux-9beb266f2d7e5362c5bb9f999255aa1af5318aef.tar.xz linux-9beb266f2d7e5362c5bb9f999255aa1af5318aef.zip |
exec: proc_exec_connector() should be called only once
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@redhat.com>
Acked-by: Kees Cook <keescook@chromium.org>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Zach Levis <zml@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/8021q/vlanproc.h')
0 files changed, 0 insertions, 0 deletions