Description of problem: Add a pair of rlimits for allowing non-root tasks to raise nice and rt priorities was recently added to the linux kernel. Something like the attached patch should add pam support for these two limits. See also: http://www.steamballoon.com/wiki/Rlimits http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e43379f10b42194b8a6e1de342cfb44463c0f6da http://lwn.net/Articles/134460/
Created attachment 114079 [details] add nice and rt_priority to pam_limits
CCing jakub because for the patch to be useful the value of RLIMIT_NICE and RLIMIT_RTPRIO must be defined in the includes. The question is - when will they be defined there?
*** Bug 157516 has been marked as a duplicate of this bug. ***