Skip to content
Commit 9d3a39a5 authored by Khazhismel Kumykov's avatar Khazhismel Kumykov Committed by Jens Axboe
Browse files

block: grant IOPRIO_CLASS_RT to CAP_SYS_NICE



CAP_SYS_ADMIN is too broad, and ionice fits into CAP_SYS_NICE's grouping.

Retain CAP_SYS_ADMIN permission for backwards compatibility.

Signed-off-by: default avatarKhazhismel Kumykov <khazhy@google.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Acked-by: default avatarSerge Hallyn <serge@hallyn.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a7863b34
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