Re: [LAD] ?==?utf-8?q? ?==?utf-8?q? QTractor: QThreads: Not realtime on Linux without root?

From: Ralf Mattes <rm@email-addr-hidden-freiburg.de>
Date: Tue Jan 03 2017 - 23:37:10 EET

 
Am Dienstag, 03. Januar 2017 19:31 CET, Felipe Ferreri Tonello <eu@email-addr-hidden> schrieb:
 

> If sched_setscheduler() returns -1, check if errno is set to EPERM. In
> this case the user trying to perform this operation does not have
> CAP_SYS_NICE[1] capability, which is *required*.
>
> [1] http://man7.org/linux/man-pages/man7/capabilities.7.html
>
> If you want this type of feature, set CAP_SYS_NICE to the group audio
> that you are referring.

??? How can I grant capabilities to a group? I thought capabilites where either given to
a user (via /etc/security/capability.conf) or to a binary (by means of setcap).

Cheers, Ralf Mattes

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Wed Jan 4 00:15:02 2017

This archive was generated by hypermail 2.1.8 : Wed Jan 04 2017 - 00:15:02 EET