From: Christian Brauner <brauner@kernel.org>
To: Ricardo Robaina <rrobaina@redhat.com>
Cc: audit@vger.kernel.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org, paul@paul-moore.com,
eparis@redhat.com, viro@zeniv.linux.org.uk, brauner@kernel.org,
jack@suse.cz, sgrubb@redhat.com
Subject: Re: [PATCH] audit: add FSCONFIG auxiliary record to log filesystem configuration
Date: Wed, 22 Jul 2026 16:43:43 +0200 [thread overview]
Message-ID: <20260722-ferien-gekannt-katzen-b7dd4dd0726f@brauner> (raw)
In-Reply-To: <20260713170013.4073499-1-rrobaina@redhat.com>
On 2026-07-13 14:00 -0300, Ricardo Robaina wrote:
> Modern mount tools (util-linux >= 2.39.1) use the new mount API
> (fsopen, fsconfig, fsmount, move_mount) instead of the legacy mount(2)
> syscall. The generic SYSCALL audit record logs the fsconfig syscall but
> does not capture the configuration parameters, creating an audit gap for
> critical mount information such as the device being mounted.
>
> Add an FSCONFIG auxiliary record that logs the command type, parameter
> name (key), parameter value, and aux parameter passed to fsconfig(2).
>
> ----
> type=SYSCALL : syscall=fsconfig a1=FSCONFIG_SET_STRING ...
> type=FSCONFIG : fs_cmd=1 fs_key=source fs_val="tmpfs" fs_aux=0
> ----
> type=SYSCALL : syscall=fsconfig a1=FSCONFIG_CMD_CREATE ...
> type=FSCONFIG : fs_cmd=6 fs_key=(null) fs_val=(null) fs_aux=0
> ----
> type=SYSCALL : syscall=fsconfig a0=0x4 a1=FSCONFIG_SET_BINARY ...
> type=FSCONFIG : fs_cmd=2 fs_key=hidepid fs_val="<binary>" fs_aux=4
>
> Link: https://github.com/linux-audit/audit-kernel/issues/153
> Signed-off-by: Ricardo Robaina <rrobaina@redhat.com>
> ---
Acked-by: Christian Brauner <brauner@kernel.org>
prev parent reply other threads:[~2026-07-22 14:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 17:00 Ricardo Robaina
2026-07-21 22:18 ` Richard Guy Briggs
2026-07-22 13:05 ` Ricardo Robaina
2026-07-22 13:22 ` Richard Guy Briggs
2026-07-22 14:43 ` Christian Brauner [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=20260722-ferien-gekannt-katzen-b7dd4dd0726f@brauner \
--to=brauner@kernel.org \
--cc=audit@vger.kernel.org \
--cc=eparis@redhat.com \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=rrobaina@redhat.com \
--cc=sgrubb@redhat.com \
--cc=viro@zeniv.linux.org.uk \
/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®