io_uring: allow SQPOLL with CAP_SYS_NICE privileges
authorJens Axboe <axboe@kernel.dk>
Wed, 2 Sep 2020 19:28:09 +0000 (13:28 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Nov 2020 16:15:15 +0000 (09:15 -0700)
commitce59fc69b1c2da555706f6b0e77fc099f80e9d0e
tree29764ac05b873d72e3f0526c575b48f82f903e4a
parent418baf2c28f3473039f2f7377760bd8f6897ae18
io_uring: allow SQPOLL with CAP_SYS_NICE privileges

CAP_SYS_ADMIN is too restrictive for a lot of uses cases, allow
CAP_SYS_NICE based on the premise that such users are already allowed
to raise the priority of tasks.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c