Bug 157049

Summary: Add support for two new RLIMITS in kernel >2.6.12-rc3
Product: [Fedora] Fedora Reporter: Vegard Lima <Vegard.Lima>
Component: bashAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: drepper, jakub, tmraz, Vegard.Lima
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-08 12:56:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch /usr/include/bits/resource.h to add RLIMIT_NICE and RLIMIT_RTPRIO none

Description Vegard Lima 2005-05-06 13:22:10 UTC
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.

Comment 1 Vegard Lima 2005-05-06 13:22:10 UTC
Created attachment 114078 [details]
Patch /usr/include/bits/resource.h to add RLIMIT_NICE and RLIMIT_RTPRIO

Comment 2 Jakub Jelinek 2005-06-20 15:14:03 UTC
Added to glibc CVS, will show up in next rawhide glibc build.
But bash and pam_limits need corresponding changes too.

Comment 5 Tim Waugh 2005-06-23 11:49:54 UTC
Fixed in CVS.