How can I give a non-root user permission to execute pthread_setschedparam() to set thread priorities?
Thank you
How can I give a non-root user permission to execute pthread_setschedparam() to set thread priorities?
Thank you
Grant the CAP_SYS_NICE
capability.
This can be done either by user or by application as explained here:
How to set CAP_SYS_NICE capability to a Linux user? | Stack Overflow