audit.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: audit@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] Audit patches for v6.6
Date: Tue, 29 Aug 2023 16:40:19 -0400	[thread overview]
Message-ID: <CAHC9VhRBq5jsaDDs5bFy6HR88DQgbu7agjZOBvZfR17LY2GS8A@mail.gmail.com> (raw)

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

             reply	other threads:[~2023-08-29 20:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-29 20:40 Paul Moore [this message]
2023-08-30 16:34 ` [GIT PULL] Audit patches for v6.6 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHC9VhRBq5jsaDDs5bFy6HR88DQgbu7agjZOBvZfR17LY2GS8A@mail.gmail.com \
    --to=paul@paul-moore.com \
    --cc=audit@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).