mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] io_uring, audit: don't log IORING_OP_RECV_ZC
@ 2026-06-16 12:36 Ricardo Robaina
  2026-06-16 14:44 ` Paul Moore
  2026-06-16 15:49 ` Jens Axboe
  0 siblings, 2 replies; 5+ messages in thread
From: Ricardo Robaina @ 2026-06-16 12:36 UTC (permalink / raw)
  To: io-uring, linux-kernel; +Cc: axboe, paul, sgrubb, Ricardo Robaina

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-06-16 15:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-16 12:36 [PATCH] io_uring, audit: don't log IORING_OP_RECV_ZC Ricardo Robaina
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

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®