[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhRBq5jsaDDs5bFy6HR88DQgbu7agjZOBvZfR17LY2GS8A@mail.gmail.com>
Date: Tue, 29 Aug 2023 16:40:19 -0400
From: Paul Moore <paul@...l-moore.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: audit@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [GIT PULL] Audit patches for v6.6
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
Powered by blists - more mailing lists