|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1062 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 1062.
Report 1062 Actions
Problem Report Number 1062 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0299 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSRT version 5.0.1 Test Identification rt.os/mfiles/mmap 26 Problem Summary PG4R.00005 This test will fail if the address space limit is the max value of a size_t. Problem Text
The test is trying to verify that:
A call to mmap() for a shared memory object when
MAP_FIXED is specified and the range [addr,addr+len]
exceeds that allowed for the address space of a pro-
cess shall return MAP_FAILED and set errno to ENOMEM.
The test assumes that this limit is reflected in
VSRT_ADDR_SPACE_PAGES, and fails if that parameter is not set:
str = tet_getvar("VSRT_ADDR_SPACE_PAGES");
if ((str == NULL) || (strlen(str) == 0)) {
in_rpt("No VSRT_ADDR_SPACE_PAGES value specified
in tet_exec.cfg
");
xx_rpt(FAILURE);
(void)close(fd);
(void)shm_unlink(shbuf);
DBUG_VOID_RETURN
}
In our implementation, there is no constraint but size_t on
the size of a process address space, and no value of
VSRT_ADDR_SPACE_PAGES will cause the expected error.
The test suite should allow a value for VSRT_ADDR_SPACE_PAGES
(perhaps -1) that returns UNSUPPORTED rather than FAIL in this
case.
Test Output
400|0 26 1 16:14:26|IC Start
200|0 26 16:14:26|TP Start
520|0 26 00026326 1 1|No VSRT_ADDR_SPACE_PAGES value specified
in tet_exec.cfg
220|0 26 1 16:14:26|FAIL
410|0 26 1 16:14:26|IC End
Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
Patch 5.0.1B provides a workaround for these failures. We
recommend that the submitter be required to apply this patch
prior to making a single branding run.
The patch will be available during the week beginning 13 April.
N.B. The correction allows the test to operate in the circumstances
described (rather than implementing the change suggested by the submitter).
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 1062
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority