|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1466 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 1466.
Report 1466 Actions
Problem Report Number 1466 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0748 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-11-08 08:00 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/mmap 10 Problem Summary TSD4U.00065 This test may fail on implementations that do not allow a mmap(PROT_EXEC) call on a file currently open for writing. Problem Text
This test may fail on implementations that do not allow a
mmap(PROT_EXEC) call on a file currently open for writing.
This test opens a file with "O_RDWR" flag and then call mmap() to map
in the file with "PROT_EXEC" flag. Because our implementation does
not allow mapping a file for execution when the file is currently open
for writing, the mmap() call fails with errno set to ETXTBSY.Test Output
1 TEST PURPOSE #10
2 A call to void *mmap(void *addr, size_t len, int prot,
3 int flags, int fildes, off_t off) shall perform
4 mapping operations on full pages and shall fill any
5 partial page at the end of an object with 0 bytes.
6 PREP: Obtain the system page size by call to
7 sysconf(_SC_PAGESIZE)
8 PREP: Establish signal handlers for SIGSEGV
9 PREP: Allocate memory for buffer
10 PREP: Open a file and initialize it
11 ERROR: mmap failed, errno = 26(ETXTBSY - Text file busy)
12 10 UNRESOLVEDReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a test suite deficiency in the test
suite version(s) listed.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Test Suite Deficiency (TSD) Review Conclusion
This is an agreed Test Suite Deficiency.
Problem Reporting System Options:
- View Report 1466
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority