diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-12-23 16:37:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-01-12 13:59:17 +0300 |
commit | f9309dcaa9c0e0d0d7b1dc8d3651db460ae6117f (patch) | |
tree | 83f1c9f57e06151004c8884729e2a4a078c22434 /tools | |
parent | 4df413d46960f11c8c105238cfc3f5ff4c95c003 (diff) | |
download | linux-f9309dcaa9c0e0d0d7b1dc8d3651db460ae6117f.tar.xz |
io_uring: check for valid register opcode earlier
[ Upstream commit 343190841a1f22b96996d9f8cfab902a4d1bfd0e ]
We only check the register opcode value inside the restricted ring
section, move it into the main io_uring_register() function instead
and check it up front.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions