|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2105 Details
Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges
This page provides all information on Problem Report 2105.
Report 2105 Actions
Problem Report Number 2105 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.1070 Raised 1999-03-30 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSTH version 5.1.3 Test Identification PTHR.os/all/pthread_mutex_setprioceiling 6 Problem Summary TSD5TH.00062 This application applies to: /tset/PTHR.os/all/pthread_mutex_setprioceiling/T.pthread_mutex_setprioceiling 6 Unresolved /tset/PTHR.os/all/pthread_mutex_init/T.pthread_mutex_init 9 Unresolved The tetex... Problem Text
This application applies to:
/tset/PTHR.os/all/pthread_mutex_setprioceiling/T.pthread_mutex_setprioceiling 6 Unresolved
/tset/PTHR.os/all/pthread_mutex_init/T.pthread_mutex_init 9 Unresolved
The tetexec.cfg parameter VSTH_SPC_EPERM is set to indicate whether the
implementaion requires the appropriate privilege to set the prioceiling
attribute of a mutex attributes object. In our case the value is "N".
In these cases, the suite is determining whether the privilege is
required by interrogating the VSTH_SCHED_EPERM parameter, which is not
related to these cases and is in our implementation "Y".
The tests pass if we interrogate tetexec.cfg correctly:
diff pthread_mutex_setprioceiling.c pthread_mutex_setprioceiling.c-
558c558
< p = tet_getvar("VSTH_SPC_EPERM");
---
> p = tet_getvar("VSTH_SCHED_EPERM");
568c568
< tet_printf("VSTH_SPC_EPERM is set to %s", p);
---
> tet_printf("VSTH_SCHED_EPERM is set to %s", p);
574c574
< vsth_badconfig("VSTH_SPC_EPERM", &errors);
---
> vsth_badconfig("VSTH_SCHED_EPERM", &errors);Test Output
************************************************************************
/tset/PTHR.os/all/pthread_mutex_setprioceiling/T.pthread_mutex_setprioceiling 6 Unresolved
Test Information:
If _POSIX_THREAD_PRIO_PROTECT is defined
and the implementation detects that the caller does not have the
privilege to perform the operation:
a call to pthread_mutex_setprioceiling(mutex, prioceiling, old_ceiling)
shall fail and return EPERM without changing the priority ceiling.
Posix Ref: Component PTHREAD_MUTEX_SETPRIOCEILING
Assertion 9945-1:1996 13.6.2.4-6(C)
pthread_mutex_setprioceiling, expected 1, got 22
child process gave unexpected exit code 185
************************************************************************
************************************************************************
/tset/PTHR.os/all/pthread_mutex_init/T.pthread_mutex_init 9 Unresolved
Test Information:
If the caller does not have the privilege to perform the operation:
a call to pthread_mutex_init(mutex, attr) shall fail and return
EPERM without modifying the state of the mutex.
Posix Ref: Component PTHREAD_MUTEX_INIT
Assertion 9945-1:1996 11.3.2.4-9(A)
pthread_mutexattr_setprioceiling, expected 0, got 22
child process gave unexpected exit code 225
tet_fork, 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:
- View Report 2105
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority