From: Jens Axboe Date: Fri, 7 Oct 2022 18:26:02 +0000 (-0600) Subject: io_uring/opdef: remove 'audit_skip' from SENDMSG_ZC X-Git-Tag: v6.1-rc5~178^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11528491c65a493050c682786c6b7cfd9e9b4a8f;p=platform%2Fkernel%2Flinux-starfive.git io_uring/opdef: remove 'audit_skip' from SENDMSG_ZC The msg variants of sending aren't audited separately, so we should not be setting audit_skip for the zerocopy sendmsg variant either. Fixes: 493108d95f14 ("io_uring/net: zerocopy sendmsg") Reported-by: Paul Moore Reviewed-by: Paul Moore Signed-off-by: Jens Axboe --- diff --git a/io_uring/opdef.c b/io_uring/opdef.c index 2330f6d..83dc0f9 100644 --- a/io_uring/opdef.c +++ b/io_uring/opdef.c @@ -510,7 +510,6 @@ const struct io_op_def io_op_defs[] = { .needs_file = 1, .unbound_nonreg_file = 1, .pollout = 1, - .audit_skip = 1, .ioprio = 1, .manual_alloc = 1, #if defined(CONFIG_NET)