How can I give a non-root user permission to execute pthread_setschedparam() to set thread priorities?

Thank you

link|improve this question
feedback

1 Answer

Grant the CAP_SYS_NICE capability.

link|improve this answer
+1. Extending the answer with how to do it would be awesome. – Vlad Lazarenko Aug 12 '11 at 15:44
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.