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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2348 Actions


    Problem Report Number 2348
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1214
    Raised 2004-03-17 23:26
    Updated 2004-03-19 23:57
    Published 2004-03-19 23:57
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.5.4
    Test Identification POSIX.hdr/misc/fcntl test 19
    Specification Base Definitions Issue 6
    Location in Spec TC1 XBD line 7900
    Problem Summary test incorrectly identifies optional macro _POSIX_SHARED_MEMORY_OBJECTS
    as illegal
    Problem Text _POSIX_SHARED_MEMORY_OBJECTS is allowed to be defined in unistd.h. In
    addition TC1 states the following:

    Inclusion of the <fcntl.h> header may also make visible all symbols from
    <sys/stat.h> and <unistd.h>.
    Test Output /tset/POSIX.hdr/misc/fcntl/T.fcntl 19 Failed

    Test Description:
    For POSIX90 and FIPS modes:
    When _POSIX_SOURCE is defined and no other feature test
    macros are
    defined, no other symbols than those defined or reserved by
    POSIX.1-1990 are made visible.
    For POSIX96 mode:
    When _POSIX_C_SOURCE is defined with the value 199506L and no
    other feature test macros except _POSIX_SOURCE are defined, no
    other symbols than those defined or reserved by POSIX.1-1996 are
    made visible.
    For POSIX01 mode:
    When _POSIX_C_SOURCE is defined with the value 200112L and no
    other feature test macros except _POSIX_SOURCE are defined, no
    other symbols than those defined or reserved by
    POSIX.1-2001/XSH6
    (not including the XSI option) are made visible.

    For XPG4 mode:
    When _XOPEN_SOURCE is defined and no other feature test macros
    except _POSIX_SOURCE, _POSIX_C_SOURCE=1 or _POSIX_C_SOURCE=2 are
    defined, no other symbols than those defined or reserved by XPG4

    are made visible.
    For UNIX98 mode:
    When _XOPEN_SOURCE is defined with the value 500 and no other
    feature test macros except _POSIX_SOURCE or
    _POSIX_C_SOURCE<=199506L are defined, no other symbols than
    those
    defined or reserved by XSH5 are made visible.
    For UNIX03 mode:
    When _XOPEN_SOURCE is defined with the value 600 and no other
    feature test macros except _POSIX_C_SOURCE<=200112L are defined,
    no other symbols than those defined or reserved by POSIX.1-
    2001/XSH6 (including the XSI option) are made visible.
    Posix Ref: Component C Language Definitions Assertion 2.7.2-05(B)

    Test Strategy:
    FOR each unreserved struct/union member made visible by the header
    DEFINE a macro which will cause an error if not protected from
    expansion
    UNDEFINE those macros which correspond to allowed member names
    INCLUDE a copy of the header file modified to identify #defines
    FOR each unreserved symbol made visible by the header
    VERIFY that the symbol name is in a list of allowed names
    VERIFY that the symbol name is in a list of allowed names

    Test Information:
    Feature test macros: -D_XOPEN_SOURCE=600
    Compiler or run-time messages or results:
    Illegal #defined symbol: _POSIX_SHARED_MEMORY_OBJECTS
    Feature test macros: -D_XOPEN_SOURCE=600 -D_POSIX_C_SOURCE=200112
    Compiler or run-time messages or results:
    Illegal #defined symbol: _POSIX_SHARED_MEMORY_OBJECTS


    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date 2004-03-17 23:26
    Last Updated 2004-03-17 23:40
    Completed 2004-03-17 23:40
    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 2004-03-17 23:40
    Last Updated 2004-03-18 01:11
    Completed 2004-03-18 01:11
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This PR is accepted as a test suite deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority