Re: [PATCH] audit: add fchmodat2() to change attributes class

Paul Moore <[email protected]>
Newsgroups org.kernel.vger.audit,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Nov 24, 2025 Jeffrey Bencteux <[email protected]> wrote:
> 
> fchmodat2(), introduced in version 6.6 is currently not in the change
> attribute class of audit. Calling fchmodat2() to change a file
> attribute in the same fashion than chmod() or fchmodat() will bypass
> audit rules such as:
> 
> -w /tmp/test -p rwa -k test_rwa
> 
> The current patch adds fchmodat2() to the change attributes class.
> 
> Signed-off-by: Jeffrey Bencteux <[email protected]>
> ---
>  include/asm-generic/audit_change_attr.h | 3 +++
>  1 file changed, 3 insertions(+)

Merged into audit/dev, thanks.

--
paul-moore.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.