Description of problem: Add a pair of rlimits for allowing non-root tasks to raise nice and rt priorities was resently added to the linux kernel. http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=e43379f10b42194b8a6e1de342cfb44463c0f6da Something like the attached patch added to /usr/include/bits/resource.h should add support for these rlimits.
Created attachment 114078 [details] Patch /usr/include/bits/resource.h to add RLIMIT_NICE and RLIMIT_RTPRIO
Added to glibc CVS, will show up in next rawhide glibc build. But bash and pam_limits need corresponding changes too.
Fixed in CVS.