From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0A7B3603F7 for ; Tue, 16 Jun 2026 12:36:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781613406; cv=none; b=PrrSJ6lEd4LI5e3Ct0BHUejxKFPMEUT8BShBVC+E6HEi4GL4TzERFDPgH/ETxE5jQZ+wohvV3kANvGZ/YYfVbz+aVkXg1WnnrWyagWMYePxv7+sid3BOrHR2LN7yLJA8jAQIxezc13CruBkqZi8RQqU8xFXq+y4tL/20ouFN2u0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781613406; c=relaxed/simple; bh=AQu0bGG4P5sk44ih0WOlfIlUFx15WXJenCKRn7z3Fzs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Xh5ipMw+/XTS6J80QFXxgXpRq4tmH2EOwUCkaHWToOb0cK76DXEjZH+Cpy8eFILkoQEgauOrahumzfOgRbmthx1qsh6enxlqnXCgBjskeU0+O/E7LpFqJFxVOhV2kgBN1Vlii/EJPEVtbsE86PO7cArdS7NXUkmf1LW7FFSK4Q0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=Q5CAmz4J; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Q5CAmz4J" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1781613404; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=CWlLwoh5y3iVjDYKyZhWzTfzwRycOW+LCm3ThLAWCnE=; b=Q5CAmz4Jjj3D1MKI73Wy13+e27UptGnAtaTHkPjk+bx4YhvQ1xvtgp4YpOCpusLV4bo2vB VZvHUq9ynC0lXN27HqEaq2+1NyYoWWP81H50TgIJowCPauzy0M6ph+drE0l/qPzhgpmiIs 0xVEc88syCz1rjyiprBzj7I8cq7oAxo= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-84-ESBi7erwNUiVoQ2ga2-Kpw-1; Tue, 16 Jun 2026 08:36:39 -0400 X-MC-Unique: ESBi7erwNUiVoQ2ga2-Kpw-1 X-Mimecast-MFC-AGG-ID: ESBi7erwNUiVoQ2ga2-Kpw_1781613398 Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 669551805C01; Tue, 16 Jun 2026 12:36:38 +0000 (UTC) Received: from wsxc.redhat.com (unknown [10.96.134.57]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id CA9B81955BC1; Tue, 16 Jun 2026 12:36:35 +0000 (UTC) From: Ricardo Robaina To: io-uring@vger.kernel.org, linux-kernel@vger.kernel.org Cc: axboe@kernel.dk, paul@paul-moore.com, sgrubb@redhat.com, Ricardo Robaina Subject: [PATCH] io_uring, audit: don't log IORING_OP_RECV_ZC Date: Tue, 16 Jun 2026 09:36:32 -0300 Message-ID: <20260616123632.3209545-1-rrobaina@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 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 Signed-off-by: Ricardo Robaina --- 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