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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2107 Actions


    Problem Report Number 2107
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1072
    Raised 1999-07-21 08:00
    Updated 2003-03-13 08:00
    Published 1999-08-06 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.1.4
    Test Identification PTHR.os/all/pthread_mutex_lock 1, 9
    Problem Summary TSD5TH.00064 These tests are unresolved because the implementation requires that the effective user id of the calling process be root. The test passes if the test binary is made suid root, as the suite already doe...
    Problem Text

    These tests are unresolved because the implementation requires that the effective
    user id of the calling process be root. The test passes if the test binary is made
    suid root, as the suite already does for T.pthread_mutex_init.


    Test Output

    ******************************************************************************************************
    /tset/PTHR.os/all/pthread_mutex_lock/T.pthread_mutex_lock 1 Unresolved

    Test Information:
    If _POSIX_THREAD_PRIO_INHERIT is defined:
    when a thread makes a call to pthread_mutex_lock() on a mutex
    that was initialized with the PTHREAD_PRIO_INHERIT protocol
    attribute and the calling thread is blocked because the mutex
    is owned by another thread,
    then that owner thread shall inherit the priority level of
    the calling thread as long as it continues to own the mutex.
    The implementation shall update the priority of the owner
    thread to the maximum of its assigned priority and all its
    inherited priorities. Furthermore, if this owner thread itself
    becomes blocked on another mutex, the same priority inheritance
    effect shall be propagated to this other owner thread, in a
    recursive manner.
    Posix Ref: Component PTHREAD_MUTEX_LOCK
    Assertion 9945-1:1996 13.6.1.2-1(C)
    pthread_mutexattr_setprotocol, expected 0, got 1


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


    ******************************************************************************************************
    /tset/PTHR.os/all/pthread_mutex_lock/T.pthread_mutex_lock 9 Unresolved

    Test Information:
    If the feature test macro _POSIX_THREAD_PRIO_PROTECT
    is defined:
    when the mutex referenced by the mutex argument was created
    with the protocol attribute value of PTHREAD_PRIO_PROTECT
    and the priority of the calling thread is higher than the
    current priority ceiling of the mutex,
    then a call to pthread_mutex_lock(mutex) shall fail
    and return EINVAL without acquiring a lock on the mutex.
    Posix Ref: Component PTHREAD_MUTEX_LOCK
    Assertion 9945-1:1996 11.3.3.4-9(C)
    pthread_mutexattr_setprotocol, expected 0, got 1


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

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A test suite deficiency is recommended.

    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