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

io_uring: restrict IORING_SETUP_SQPOLL to root



This options spawns a kernel side thread that will poll for submissions
(and completions, if IORING_SETUP_IOPOLL is set). As this allows a user
to potentially use more cycles outside of the normal hierarchy,
restrict the use of this feature to root.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 70423667
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