forked from Minki/linux
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: 493108d95f
("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>
This commit is contained in:
parent
44f87745d5
commit
11528491c6
@ -510,7 +510,6 @@ const struct io_op_def io_op_defs[] = {
|
|||||||
.needs_file = 1,
|
.needs_file = 1,
|
||||||
.unbound_nonreg_file = 1,
|
.unbound_nonreg_file = 1,
|
||||||
.pollout = 1,
|
.pollout = 1,
|
||||||
.audit_skip = 1,
|
|
||||||
.ioprio = 1,
|
.ioprio = 1,
|
||||||
.manual_alloc = 1,
|
.manual_alloc = 1,
|
||||||
#if defined(CONFIG_NET)
|
#if defined(CONFIG_NET)
|
||||||
|
Loading…
Reference in New Issue
Block a user