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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2442 Actions


    Problem Report Number 2442
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1269
    Raised 2005-02-03 21:06
    Updated 2005-02-08 19:23
    Published 2005-02-08 19:23
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.3.2
    Test Identification rt.hdr/misc/semaphore assertion 21
    Specification Base Definitions Issue 6
    Location in Spec line 10725
    Problem Summary legal UNIX03 symbols posix_fadvise and posix_fallocate marked as "Illegal
    declared"
    Problem Text SUSv3 TC2 states the following for semaphore.h:

    Inclusion of the <semaphore.h> header may make visible symbols defined in
    the headers <fcntl.h> and <sys/types.h>.

    and from fcntl.h:

    The following shall be declared as functions and may also be defined as
    macros. Function prototypes shall be provided.

    int creat(const char *, mode_t);
    int fcntl(int, int, ...);
    int open(const char *, int, ...);
    ADV int posix_fadvise(int, off_t, off_t, int); 2
    int posix_fallocate(int, off_t, off_t); 2

    Note, that our implementation does support Advisory Information.
    Test Output **************************************************************************************
    /tset/rt.hdr/misc/semaphore/T.semaphore 21 Failed

    Test Description:
    For UNIX98 mode:
    When _XOPEN_SOURCE is defined with the value 500 and no other
    feature test macros except _POSIX_SOURCE and
    _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.
    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.

    Test Information:
    Feature test macros: -D_XOPEN_SOURCE=600
    Compiler or run-time messages or results:
    "/usr/include/semaphore.h", line 71.31: 1506-310 (I) The type "struct
    timespec" was introduced in a parameter list, and
    will go out of scope at the end of the function declaration or definition.
    Illegal declared or 'typedef'ed symbol: posix_fadvise
    Illegal declared or 'typedef'ed symbol: posix_fallocate
    Feature test macros: -D_XOPEN_SOURCE=600
    -D_POSIX_C_SOURCE=200112
    Compiler or run-time messages or results:
    "/usr/include/semaphore.h", line 71.31: 1506-310 (I) The type "struct
    timespec" was introduced in a parameter list, and
    will go out of scope at the end of the function declaration or definition.
    Illegal declared or 'typedef'ed symbol: posix_fadvise
    Illegal declared or 'typedef'ed symbol: posix_fallocate


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

    Review Information

    Review Type TSMA Review
    Start Date 2005-02-03 21:06
    Last Updated 2005-02-03 23:03
    Completed 2005-02-03 23:03
    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 2005-02-03 23:03
    Last Updated 2005-02-04 01:13
    Completed 2005-02-04 01:13
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion This PR represents an agreed Test Suite Deficiency

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority