manpage bug/improvement: pthread_setschedparam does not need privilege to set real-time policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



http://man7.org/linux/man-pages/man3/pthread_getschedparam.3.html

The example section on this page states that a process needs privilege in order to set real-time scheduling policy. If my understanding is correct, this hasn't been necessary since Linux 2.6.12 and the introduction of resource limit RLIMIT_RTPRIO.

Testing on 4.13.0 shows I can use the example code to set SCHED_FIFO or SCHED_RR without privilege up to an RLIMIT_RTPRIO of 95.

Regards
Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux