mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] Audit patches for v6.6
@ 2023-08-29 20:40 Paul Moore
  2023-08-30 16:34 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Moore @ 2023-08-29 20:40 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: audit, linux-kernel

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

-- 
paul-moore.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-30 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-29 20:40 [GIT PULL] Audit patches for v6.6 Paul Moore
2023-08-30 16:34 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®