|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1262 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 1262.
Report 1262 Actions
Problem Report Number 1262 Submitter's Classification Specification problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0464 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification base/setrlimit 5 Problem Summary PG4U.00001 The RLIMIT_DATA value needs to be recognized as a runtime semi-invariant value. Problem Text
This issue affects the following tests
Test Case Test Purposes
setrlimit 5
getrlimit 8
The RLIMIT_DATA value needs to be recognized as a runtime
semi-invariant value. While this value can be lowered almost
arbitrarily, it can not, on systems that we are aware of, be
raised above a certain limit. The hardware or software places an
eventual limit on the maximum process size. Thus the tests
should not be allowed to increase the RLIMIT_DATA to RLIMIT_INFINITY.Test Output
setrlimit 5
520|1 1 30306 1 6|TEST: Call to setrlimit(RLIMIT_DATA, rlp) when
520|1 1 30306 1 7| RLIM_INFINITY is specified as the limit value
520|1 1 30306 1 8| shall inhibit enforcement of that resource
520|1 1 30306 1 9|ERROR: setrlimit() did not set the soft limit to
520|1 1 30306 1 10| RLIM_INFINITY
520|1 1 30306 1 11| Expected: -1 Received: 1073741824
getrlimit 8
520|1 1 28696 1 7|TEST: Call to getrlimit() with RLIMIT_DATA shall indicate
520|1 1 28696 1 8| RLIM_INFINITY as the limit
520|1 1 28696 1 9|ERROR: getrlimit() did not obtain soft limit as RLIM_INFINITY
220|1 1 1 15:42:57|FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
The getrlimit spec states
Specifying RLIM_INFINITY as any resource limit value on a
successful call to setrlimit() inhibits enforcement of that
resource limit.
The key phrase here seems to us to be "successful call". If an
implementation places some physical limit on a resource then
a call to getrlimit(RLIM_INFINITY) for that resource should
fail since enforcement of resource limits can not be inhibited
in that case.
Although the spec mandates no specific error message in this
situation, Section 2.3 of the spec states
Implementations may support additional errors not
included in this list, may generate errors included in
this list under circumstances other than those
described here, or may contain extensions or
limitations that prevent some errors from occurring.
This implies the error number returned in this case is
implementation defined.
We recommend this request be rejected.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1262
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority