]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9d8c1af7f0c9e6f7b3fd8130a8ef44d73ff6d8cd
tree29764ac05b873d72e3f0526c575b48f82f903e4a
parent27d6e1d4ad8f79c1da44b64611df2b59be6180e2
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