Description of problem: Some of the newer RLIMIT_ values are not handled. Version-Release number of selected component (if applicable): strace-4.5.7-2 How reproducible: always Steps to Reproduce: 1.strace code using RLIMIT_LOCKS 2. 3. Actual results: getrlimit(0xa /* RLIMIT_??? */, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0 Expected results: getrlimit(RLIMIT_LOCKS, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0 Additional info: I'll attach a patch.
Created attachment 104299 [details] Patch to add support for the missing RLIMIT_ values
The patch is in upstream.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2005-131.html