aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2022-05-17 12:32:05 -0600
committerJens Axboe <[email protected]>2022-05-17 12:46:04 -0600
commitaa184e8671f0f911fc2fb3f68cd506e4d7838faa (patch)
treedc1f14538386a4b510d2217ce8a2d3876f020030 /lib/test_fortify/write_overflow-strlcpy-src.c
parent2d2d5cb6ca8424fa849ebb4edb8e8022c13860c7 (diff)
io_uring: don't attempt to IOPOLL for MSG_RING requests
We gate whether to IOPOLL for a request on whether the opcode is allowed on a ring setup for IOPOLL and if it's got a file assigned. MSG_RING is the only one that allows a file yet isn't pollable, it's merely supported to allow communication on an IOPOLL ring, not because we can poll for completion of it. Put the assigned file early and clear it, so we don't attempt to poll for it. Reported-by: [email protected] Fixes: 3f1d52abf098 ("io_uring: defer msg-ring file validity check until command issue") Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions