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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2436 Actions


    Problem Report Number 2436
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0663
    Raised 2005-01-26 22:26
    Updated 2005-02-03 00:24
    Published 2005-02-03 00:24
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSRT version 5.2.6
    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-01-26 22:26
    Last Updated 2005-01-31 18:52
    Completed 2005-01-31 18:52
    Status Complete
    Review Recommendation No Resolution Given
    Review Response This is accepted as a fault in the current version of VSRT. However,this request has been made for an old version that is no longersupported. Either the request should be rejected and a new onesubmitted with the correct VSRT version number, or the version number inthis request should be corrected to 5.3.2 or 5.3.3 as appropriate and aTSD granted.

    Review Type SA Review
    Start Date 2005-01-31 18:52
    Last Updated 2005-02-01 00:57
    Completed 2005-02-01 00:57
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion This PR refers to an old, unsupported, version of the test suite and
    is thus rejected. However the PR has merit if applied to the current
    version. The submitter may wish to revise the version number of the
    test suite and resubmit.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority