summaryrefslogtreecommitdiffstats
path: root/fs/bad_inode.c
diff options
context:
space:
mode:
authorRichard Guy Briggs <rgb@redhat.com>2013-10-30 17:56:13 -0400
committerEric Paris <eparis@redhat.com>2013-11-05 11:09:36 -0500
commitd9cfea91e97d5d19f9d69beaa844f5fe56a6adc6 (patch)
tree057dfc9534cdb15ac38b440057dff35e131a1d42 /fs/bad_inode.c
parent9462dc59817580419ef1f2504e32f861c290f251 (diff)
downloadlinux-d9cfea91e97d5d19f9d69beaa844f5fe56a6adc6.tar.bz2
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 <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>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions