From: Paul Moore <paul@paul-moore.com>
To: Jeffrey Bencteux <jeff@bencteux.fr>,
audit@vger.kernel.org, eparis@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] audit: add fchmodat2() to change attributes class
Date: Mon, 15 Dec 2025 14:27:16 -0500 [thread overview]
Message-ID: <1ef393619314cb77556d6c27f1042646@paul-moore.com> (raw)
In-Reply-To: <20251124194930.8576-1-jeff@bencteux.fr>
On Nov 24, 2025 Jeffrey Bencteux <jeff@bencteux.fr> 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 <jeff@bencteux.fr>
> ---
> include/asm-generic/audit_change_attr.h | 3 +++
> 1 file changed, 3 insertions(+)
Merged into audit/dev, thanks.
--
paul-moore.com
prev parent reply other threads:[~2025-12-15 19:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-24 19:49 Jeffrey Bencteux
2025-12-15 19:27 ` Paul Moore [this message]
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=1ef393619314cb77556d6c27f1042646@paul-moore.com \
--to=paul@paul-moore.com \
--cc=audit@vger.kernel.org \
--cc=eparis@redhat.com \
--cc=jeff@bencteux.fr \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®