From: Ricardo Robaina <rrobaina@redhat.com>
To: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: axboe@kernel.dk, paul@paul-moore.com, sgrubb@redhat.com,
Ricardo Robaina <rrobaina@redhat.com>
Subject: [PATCH] io_uring, audit: don't log IORING_OP_RECV_ZC
Date: Tue, 16 Jun 2026 09:36:32 -0300 [thread overview]
Message-ID: <20260616123632.3209545-1-rrobaina@redhat.com> (raw)
IORING_OP_RECV_ZC is a read operation. Audit only tracks file/socket
creation, not subsequent reads. Set audit_skip to align with
audit-userspace uringop_table.h.
Fixes: 11ed914bbf94 ("io_uring/zcrx: add io_recvzc request")
Suggested-by: Steve Grubb <sgrubb@redhat.com>
Signed-off-by: Ricardo Robaina <rrobaina@redhat.com>
---
io_uring/opdef.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/io_uring/opdef.c b/io_uring/opdef.c
index c3ef52b70811..fef134a21113 100644
--- a/io_uring/opdef.c
+++ b/io_uring/opdef.c
@@ -519,6 +519,7 @@ const struct io_issue_def io_issue_defs[] = {
#endif
},
[IORING_OP_RECV_ZC] = {
+ .audit_skip = 1,
.needs_file = 1,
.unbound_nonreg_file = 1,
.pollin = 1,
--
2.53.0
next reply other threads:[~2026-06-16 12:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-16 12:36 Ricardo Robaina [this message]
2026-06-16 14:44 ` Paul Moore
2026-06-16 14:47 ` Ricardo Robaina
2026-06-16 15:49 ` Jens Axboe
2026-06-16 15:51 ` Ricardo Robaina
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=20260616123632.3209545-1-rrobaina@redhat.com \
--to=rrobaina@redhat.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul@paul-moore.com \
--cc=sgrubb@redhat.com \
/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®