audit: move audit_aux_data_execve contents into audit_context union
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 30 Oct 2013 21:56:13 +0000 (17:56 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 5 Nov 2013 16:09:36 +0000 (11:09 -0500)
audit_bprm() was being called to add an AUDIT_EXECVE record to the audit
context every time search_binary_handler() was recursively called.  Only one
reference is necessary, so just update it.  Move the the contents of
audit_aux_data_execve into the union in audit_context, removing dependence on a
kmalloc along the way.

Reported-by: Oleg Nesterov <onestero@redhat.com>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>

No differences found