mbox series

[GIT,PULL] Audit patches for v6.6

Message ID CAHC9VhRBq5jsaDDs5bFy6HR88DQgbu7agjZOBvZfR17LY2GS8A@mail.gmail.com (mailing list archive)
State Accepted
Delegated to: Paul Moore
Headers show
Series [GIT,PULL] Audit patches for v6.6 | expand

Pull-request

https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20230829

Message

Paul Moore Aug. 29, 2023, 8:40 p.m. UTC
Hi Linus,

Six audit patches for the Linux v6.6 merge window, the highlights are
listed below:

- Add an explicit cond_resched() call when generating PATH records

Certain tracefs/debugfs operations can generate a *lot* of audit PATH
entries and if one has an aggressive system configuration (not the
default) this can cause a soft lockup in the audit code as it works to
process all of these new entries.  This is in sharp contrast to the
common case where only one or two PATH entries are logged.  In order
to fix this corner case without excessively impacting the common case
we're adding a single cond_rescued() call between two of the most
intensive loops in the __audit_inode_child() function.

- Various minor cleanups

We removed a conditional header file as the included header already
had the necessary logic in place, fixed a dummy function's return
value, and the usual collection of checkpatch.pl noise (whitespace,
brace, and trailing statement tweaks).

Please merge,
-Paul

--
The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

 Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

 https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
   tags/audit-pr-20230829

for you to fetch changes up to b1a0f64cc65ea2ebfaae9e0ce623e993a7d24257:

 audit: move trailing statements to next line (2023-08-15 18:16:14 -0400)

----------------------------------------------------------------
audit/stable-6.6 PR 20230829

----------------------------------------------------------------
Atul Kumar Pant (3):
     audit: add space before parenthesis and around '=', "==", and '<'
     audit: cleanup function braces and assignment-in-if-condition
     audit: move trailing statements to next line

Gaosheng Cui (1):
     audit: fix possible soft lockup in __audit_inode_child()

Xiu Jianfeng (2):
     audit: include security.h unconditionally
     audit: correct audit_filter_inodes() definition

kernel/acct.c        |  2 +-
kernel/audit.c       |  5 ++---
kernel/audit.h       |  2 +-
kernel/auditfilter.c | 19 ++++++++++---------
kernel/auditsc.c     | 10 +++++++---
5 files changed, 21 insertions(+), 17 deletions(-)

Comments

pr-tracker-bot@kernel.org Aug. 30, 2023, 4:34 p.m. UTC | #1
The pull request you sent on Tue, 29 Aug 2023 16:40:19 -0400:

> https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20230829

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3ea67c4f462e1eab16ced755816143cbd1ebfc7d

Thank you!