io_uring/opdef: remove 'audit_skip' from SENDMSG_ZC
authorJens Axboe <axboe@kernel.dk>
Fri, 7 Oct 2022 18:26:02 +0000 (12:26 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Oct 2022 22:30:56 +0000 (16:30 -0600)
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 <paul@paul-moore.com>
Reviewed-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/opdef.c

index 2330f6da791e172ad737dd283c656b5fea3bdb99..83dc0f9ad3b2ffde2999e79904eb49b9f25737bd 100644 (file)
@@ -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)