[GIT PULL] audit/audit-pr-20260410

From: Paul Moore

Date: Fri Apr 10 2026 - 19:28:43 EST


Linus,

We've only got a few audit patches for the v7.1 merge window, the
highlights are below:

- Improved handling of unknown status requests from userspace

The current kernel code ignores unknown/unused request bits sent from
userspace and returns an error code based on the results of the request(s)
it does understand. The patch from Ricardo fixes this so that unknown
requests return an -EINVAL to userspace, making compatibility a bit
easier moving forward.

- A number of small style and formatting cleanups

Paul

--
The following changes since commit 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f:

Linux 7.0-rc1 (2026-02-22 13:18:59 -0800)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
tags/audit-pr-20260410

for you to fetch changes up to 360160f75592bdc85edba8fe78fb20d90924c7e8:

audit: handle unknown status requests in audit_receive_msg()
(2026-03-10 15:22:43 -0400)

----------------------------------------------------------------
audit/stable-7.1 PR 20260410
----------------------------------------------------------------

Ricardo Robaina (4):
audit: fix whitespace alignment in include/uapi/linux/audit.h
audit: remove redundant initialization of static variables to 0
audit: fix coding style issues
audit: handle unknown status requests in audit_receive_msg()

include/linux/audit.h | 9 +++++++++
include/uapi/linux/audit.h | 8 ++++----
kernel/audit.c | 8 +++++---
kernel/auditfilter.c | 3 +--
lib/audit.c | 2 +-
5 files changed, 20 insertions(+), 10 deletions(-)

--
paul-moore.com