[PATCH 0/4][v2] audit: Tidy up audit_context and stop bprm recursion

Richard Guy Briggs rgb at redhat.com
Thu Oct 31 15:37:08 UTC 2013


This patchset is a clean up of the audit_aux_data and audit_context structures
and the audit_bprm() call that was needlessly recursing, allocating more
resources than necessary.

Eric W. Biederman (1):
  audit: Kill the unused struct audit_aux_data_capset

Richard Guy Briggs (3):
  audit: remove unused envc member of audit_aux_data_execve
  audit: move audit_aux_data_execve contents into audit_context union
  audit: call audit_bprm() only once to add AUDIT_EXECVE information

 fs/exec.c             |    5 +----
 include/linux/audit.h |   13 +++++--------
 kernel/audit.h        |    3 +++
 kernel/auditsc.c      |   49 ++++++++++---------------------------------------
 4 files changed, 19 insertions(+), 51 deletions(-)




More information about the Linux-audit mailing list