From: Richard Guy Briggs Date: Wed, 30 Oct 2013 21:56:13 +0000 (-0400) Subject: audit: move audit_aux_data_execve contents into audit_context union X-Git-Tag: v3.13-rc1~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d9cfea91e97d5d19f9d69beaa844f5fe56a6adc6;p=pandora-kernel.git audit: move audit_aux_data_execve contents into audit_context union 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 Cc: Eric Paris Signed-off-by: Richard Guy Briggs Signed-off-by: Eric Paris --- Reading git-diff-tree failed