|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1326 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 1326.
Report 1326 Actions
Problem Report Number 1326 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0608 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-02-27 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.0.2 Test Identification CAPIbase/fmmap 24,42 Problem Summary TSD4U.00209 These tests may fail due to a type mismatch. Problem Text
These tests fail because of type mismatches for the pgsz and ipgsz
variables. In SRC/LIB/capi_mmap/mkmmap.c, the following is defined:
unsigned long int pgsz;
unsigned long int ipgsz;
but in dmmap24.c and dmmap42.c the following is found:
extern int pgsz;
extern int ipgsz;
This results in pgsz being set to zero, accounting for
the errors above.Test Output
TEST CASE: mmap
TEST PURPOSE #24
If the implementation provides a file type for which
mmap is not supported:
ENODEV in errno and return MAP_FAILED on a call to void
*mmap(void *addr, size_t len, int prot, int flags, int
fildes, off_t off) when fildes refers to an object for
which mmap() is not supported.
PREP: Obtain the system page size by call to
sysconf(_SC_PAGESIZE)
PREP: Establish signal handlers
PREP: Obtain the configuration variable VSU_FILE_NO_MMAP
PREP: Open file /dev/slog
TEST: Return MAP_FAILED when file descriptor refers to a
device which is not supported
ERROR: mmap() did not return MAP_FAILED
Expected :ffffffffffffffff Received: 0
24 FAIL
TEST PURPOSE #42
The mapping established by a call to void *mmap(void
*addr, size_t len, int prot, int flags, int fildes,
off_t off) shall replace any previous mappings for
those whole pages containing any part of the address
space of the process starting at pa and continuing for
len bytes.
PREP: Obtain the system page size by call to
sysconf(_SC_PAGESIZE)
PREP: Establish signal handlers
PREP: Create the file ../tmp/mmap42.file.1
PREP: Allocate memory for buffer
ERROR: malloc failed, errno = 22(EINVAL - Invalid argument)
42 UNRESOLVED
Review 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 1326
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority