添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Visit Stack Exchange

Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.

Sign up to join this community

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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