|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1080 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 1080.
Report 1080 Actions
Problem Report Number 1080 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0536 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-06-16 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSRT version 5.0.1 Test Identification rt.os/priosched/sched_getparam 3, 4 Problem Summary TSD4R.00004 These tests will fail on implementations which dereference the param argument prior to checking permissions. Problem Text
In the test source file
tset/rt.os/priosched/sched_getparam/sched_getparam.c
test3() and test4() both have the code:
struct sched_param *param;
...
rval = tb_sched_getparam(0, ¶m);
Memory for param is never allocated, and the segmentation violation can
occur when it is accessed. The tests work if the declaration is corrected
to:
struct sched_param param;
Once this is changed, the result for these tests becomes UNSUPPORTED,
the expected result in our implementation.Test Output
************************************************************************
/tset/rt.os/priosched/sched_getparam/T.sched_getparam 3 Unresolved
Test Description:
If _POSIX_PRIORITY_SCHEDULING is defined or the implementation
supports the sched_getparam() function as defined in System Interfaces
and Headers, Issue 5 and the implementation requires a process to have
appropriate privilege to get its own scheduling parameters:
A call to sched_getparam() requesting the scheduling parameters for
the calling process when the the calling process does not have
permission to get its own scheduling parameters shall return -1 and
set errno to EPERM.
Test Information:
sched_getparam() succeeded
unexpected signal 11 (SIGSEGV) received
************************************************************************
************************************************************************
/tset/rt.os/priosched/sched_getparam/T.sched_getparam 4 Unresolved
Test Description:
If _POSIX_PRIORITY_SCHEDULING is defined or the implementation
supports the sched_getparam() function as defined in System Interfaces
and Headers, Issue 5 and the implementation requires a process to have
appropriate privilege to get the scheduling parameters of another
process:
A call to sched_getparam() requesting the scheduling parameters for
another process when the the calling process does not have
permission to get the scheduling parameters of another process shall
return -1 and set errno to EPERM.
Test Information:
sched_getparam() succeeded
unexpected signal 11 (SIGSEGV) received
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We agree this is a Test Suite Defiency in the test suite version listed.
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 1080
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority