Are CAP_SYS_ADMIN and CAP_SYS_NICE still needed for SQPOLL?

From: Stefano Garzarella
Date: Thu Mar 25 2021 - 07:40:53 EST


Hi Jens, Hi Pavel,
I was taking a look at the new SQPOLL handling with io_thread instead of kthread. Great job! Really nice feature that maybe can be reused also in other scenarios (e.g. vhost).

Regarding SQPOLL, IIUC these new threads are much closer to user threads, so is there still a need to require CAP_SYS_ADMIN and CAP_SYS_NICE to enable SQPOLL?

Thanks,
Stefano