Skip to content
Commit 34319084 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: check for valid register opcode earlier



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: default avatarJens Axboe <axboe@kernel.dk>
parent 23fffb2f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment