Skip to content

audit: Tidy up audit_context and stop bprm recursion

Richard Guy Briggs linux-audit lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4audit: Kill the unused struct audit_aux_data_capsetkernel/auditsc.c+0 -60 replies
2/4audit: remove unused envc member of audit_aux_data_execvekernel/auditsc.c+0 -20 replies
3/4audit: move audit_aux_data_execve contents into audit_context unioninclude/linux/audit.h kernel/audit.h kernel/auditsc.c+18 -311 reply
4/4audit: call audit_bprm() only once to add AUDIT_EXECVE informationfs/exec.c include/linux/audit.h kernel/audit.h +1 more+4 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(-)