From: Paul Moore <paul@paul-moore.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-audit@redhat.com, linux-kernel@vger.kernel.org
Subject: [GIT PULL] Audit patches for v6.1
Date: Mon, 3 Oct 2022 15:19:57 -0400 [thread overview]
Message-ID: <CAHC9VhTEHLd-PVLArOH20UGaB21JJzz5nT54VFegF23631QSxA@mail.gmail.com> (raw)
Hi Linus,
Six audit patches for v6.1, most are pretty trivial, but a quick list
of the highlights are below:
* Only free the audit proctitle information on task exit. This allows
us to cache the information and improve performance slightly.
* Use the time_after() macro to do time comparisons instead of doing
it directly and potentially causing ourselves problems when the timer
wraps.
* Convert an audit_context state comparison from a relative enum
comparison, e.g. (x < y), to a not-equal comparison to ensure that we
are not caught out at some unknown point in the future by an enum
shuffle.
* A handful of small cleanups such as tidying up comments and removing
unused declarations.
-Paul
--
The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:
Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
tags/audit-pr-20221003
for you to fetch changes up to 934f70d9d498a7fffd611edf48356698f1d72e91:
audit: remove selinux_audit_rule_update() declaration
(2022-09-07 11:30:15 -0400)
----------------------------------------------------------------
audit/stable-6.1 PR 20221003
----------------------------------------------------------------
Jilin Yuan (1):
audit: fix repeated words in comments
Richard Guy Briggs (3):
audit: audit_context pid unused, context enum comment fix
audit: explicitly check audit_context->context enum value
audit: free audit_proctitle only on task exit
Xiu Jianfeng (1):
audit: remove selinux_audit_rule_update() declaration
wuchi (1):
audit: use time_after to compare time
kernel/audit.c | 8 +++-----
kernel/audit.h | 4 +---
kernel/auditsc.c | 10 +++++-----
3 files changed, 9 insertions(+), 13 deletions(-)
--
paul-moore.com
--
Linux-audit mailing list
Linux-audit@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-audit
next reply other threads:[~2022-10-03 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 19:19 Paul Moore [this message]
2022-10-04 18:18 ` [GIT PULL] Audit patches for v6.1 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=CAHC9VhTEHLd-PVLArOH20UGaB21JJzz5nT54VFegF23631QSxA@mail.gmail.com \
--to=paul@paul-moore.com \
--cc=linux-audit@redhat.com \
--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).