[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHC9VhTEHLd-PVLArOH20UGaB21JJzz5nT54VFegF23631QSxA@mail.gmail.com>
Date: Mon, 3 Oct 2022 15:19:57 -0400
From: Paul Moore <paul@...l-moore.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: linux-audit@...hat.com, linux-kernel@...r.kernel.org
Subject: [GIT PULL] Audit patches for v6.1
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
Powered by blists - more mailing lists