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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1316 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 1316.


Report 1316 Actions


    Problem Report Number 1316
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0598
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-04-14 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 base/mmap 42
    Problem Summary TSD4U.00220 These tests may fail due to a type mismatch.
    Problem Text

    This is another instance of the failure described in TSD4U.00209.

    Test Output

    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 /devices/sbus@1f,0/zs@f,1100000:b
    Page size = 0
    fd open = 8
    TEST: Return MAP_FAILED when file descriptor refers to a
    device which is not supported
    results = -1 and errno = Invalid argument
    TEST: ENODEV in errno when file descriptor refers
    to a device which is not supported
    ERROR: mmap failed, errno = 22(EINVAL - Invalid argument)
    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
    PREP: Write 0 words with value 11 to the file
    PREP: Create the file ../tmp/mmap42.file.2
    PREP: Allocate memory for buffer
    PREP: Write 0 words with value 22 to the file
    PREP: Create the file ../tmp/mmap42.file.3
    PREP: Allocate memory for buffer
    PREP: Write 0 words with value 33 to the file
    PREP: Map file1 in the process address space
    ERROR: mmap failed, errno = 22(EINVAL - Invalid argument)
    42 FAIL

    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:

     

    Back   


Contact the Certification Authority