]> git.ipfire.org Git - thirdparty/linux.git/commit
audit: add missing syscalls to read class
authorJeffrey Bencteux <jeff@bencteux.fr>
Sat, 27 Dec 2025 08:39:24 +0000 (09:39 +0100)
committerPaul Moore <paul@paul-moore.com>
Tue, 6 Jan 2026 21:42:29 +0000 (16:42 -0500)
commitbcb90a2834c7393c26df9609b889a3097b7700cd
tree02dadf94f3232d7944a7b787d4ad01ef0fe05dab
parent15b0c43aa621fb77b32c46eb642eaf25557e9fdb
audit: add missing syscalls to read class

The "at" variant of getxattr() and listxattr() are missing from the
audit read class. Calling getxattrat() or listxattrat() on a file to
read its extended attributes will bypass audit rules such as:

-w /tmp/test -p rwa -k test_rwa

The current patch adds missing syscalls to the audit read class.

Signed-off-by: Jeffrey Bencteux <jeff@bencteux.fr>
Signed-off-by: Paul Moore <paul@paul-moore.com>
include/asm-generic/audit_read.h