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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2578 Actions


    Problem Report Number 2578
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1338
    Raised 2012-04-24 12:34
    Updated 2012-04-24 16:02
    Published 2012-04-24 16:02
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.3.4
    Test Identification CAPI.os/mman/mmap/T.mmap 21
    Specification Base Definitions Issue 6
    Location in Spec See problem text
    Problem Summary Truncation happen when convert a pointer to integer
    Problem Text We come across a problem in the test
    ?/tset/CAPI.os/mman/mmap/T.mmap 21?.

    In CAPI.os/mman/mmap/mmap21.c line 176, there is a sentence:

    ask_addr = (int *)((int)ask_addr-1);

    A pointer is transferred to int type. Because our OS is 64 bits,
    the pointer takes up 64 bits. But the int type takes up 32bits.
    So we thought the test do not consider about this situation.
    Test Output 400|1847 21 1 09:21:56|IC Start
    200|1847 21 09:21:56|TP Start
    520|1847 21 00021363 1 1|PREP: Obtain the system page size by
    call to
    520|1847 21 00021363 1 2| sysconf(_SC_PAGESIZE)
    520|1847 21 00021363 1 3|PREP: Establish signal handlers
    520|1847 21 00021363 1 4|PREP: Open a file and initialize it
    520|1847 21 00021363 1 5|PREP: Allocate memory for buffer
    520|1847 21 00021363 1 6|PREP: Now set proper permissions and
    re-open file
    520|1847 21 00021363 1 7|PREP: Find a fixed address not aligned
    to page boundary
    520|1847 21 00021363 1 8|TEST: Return MAP_FAILED when MAP_FIXED
    is set and the map
    520|1847 21 00021363 1 9| address is not multiple of page
    size
    520|1847 21 00021363 1 10|TEST: EINVAL in errno when MAP_FIXED
    is set and the
    520|1847 21 00021363 1 11| map address is not multiple of
    page size
    520|1847 21 00021363 1 12|ERROR: mmap failed, errno = 12 (ENOMEM
    - Not enough space)
    220|1847 21 1 09:21:56|FAIL
    410|1847 21 1 09:21:56|IC End

    Review Information

    Review Type TSMA Review
    Start Date 2012-04-24 12:34
    Last Updated 2012-04-24 10:15
    Completed 2012-04-24 10:15
    Status Complete
    Review Recommendation Test Suite Deficiency (TSD)
    Review Response This is accepted as a fault in the test suite.

    Review Type SA Review
    Start Date 2012-04-24 18:15
    Last Updated 2012-04-24 16:02
    Completed 2012-04-24 16:02
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion A test suite deficiency is granted

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority