HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1220 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1220.


Report 1220 Actions


    Problem Report Number 1220
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0422
    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.1.0
    Test Identification Base/mmap 10, 11
    Problem Summary PG4U.00045 This was refused because it is a duplicate. See PIN4U.00017 instead.
    Problem Text
    This was accepted as base resolution 1170/127.
    ---------------------------------------------

    These two assertions are almost totally unimplementable in a
    MAP_SHARED environment with modern memory management hardware. They
    require that memory management be capable of differing size page
    mapping on a per page and process basis. This is a rare capability
    with the current architectures.

    Test Output

    TEST CASE: mmap

    TEST PURPOSE #10
    A call to void *mmap(void *addr, size_t len, int prot,
    int flags, int fildes, off_t off) shall perform
    mapping operations on full pages and shall zero-fill any
    partial page at the end of a memory region.
    PREP: Obtain the system page size by call to
    sysconf(_SC_PAGESIZE)
    PREP: Establish signal handlers for SIGSEGV and SIGBUS
    PREP: Allocate memory for buffer
    PREP: Open a file
    PREP: Write a page of data to file
    PREP: Close and reopen the file
    TEST: Map half of page from file
    TEST: Mapped area padded to page boundary and zero filled
    ERROR: Integer at offset 4096 in region = 1024, expected = 0
    10 FAIL

    TEST PURPOSE #11
    The system shall not write out modified portions of
    the last page of a file mapped by a call to void
    *mmap(void *addr, size_t len, int prot, int flags, int
    fildes, off_t off) which are beyond the end of the
    mapped portion of the file.
    PREP: Obtain the system page size by call to
    sysconf(_SC_PAGESIZE)
    PREP: Establish signal handlers for SIGSEGV and SIGBUS
    PREP: Allocate memory for buffer
    PREP: Open a file
    PREP: Write a page of data to the file
    TEST: Map in half of the page
    PREP: Fill second half of mapped page with -1
    PREP: Close & unmap file
    PREP: Open and read file
    TEST: Data beyond mapped half page not written to file
    ERROR: Expected integer at offset 4096 = 1024, is = -1
    11 FAIL

    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.

    This is the same as ruling PIN4U.00017.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution No Resolution Given
    Review Conclusion
    This request was received just after another request for the same problem.

    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:

     

    Back   


Contact the Certification Authority