|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1232 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 1232.
Report 1232 Actions
Problem Report Number 1232 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0434 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published null Product Standard Internationalised System Calls and Libraries Extended (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification BASE/sigstack 4 8 Problem Summary PG4U.00031 A non-zero value of ss_onstack should be permitted to disable an alternate stack. Problem Text
Test 4 fails because it assumes that a non-zero value of
ss_onstack enables the alternate stack. The sigstack spec
merely states that
the value of ss_onstack determines whether the alternate stack is
sed, but it doesn't state what the value should be.
HP-UX has implemented a non-zero value of ss_onstack to indicate that
the alternate stack is DISabled. The test should not be testing this
implementation-dependent choice. However, the test could run twice,
pass in 0 and non-0 values, and make sure that the alternate stack is
enabled in only one case.
Test 8 fails for a similar reason. It initially disables use of the
alternate stack when it thinks it's really enabling it. It should
determine which value of ss_onstack really enables the alternate
stack before proceeding with the rest of the test.Test Output
TEST CASE: sigstack
TEST PURPOSE #4
A call to int sigstack(struct sigstack *ss , struct
sigstack *oss) when the ss_onstack member of ss is
non-zero shall indicate to the system that the process
wants the system to use an alternate signal stack when
delivering signals.
PREP: Call sigstack(ss, oss) with ss_onstack non-zero
PREP: Call sigaction() with SA_ONSTACK set
PREP: Send self SIGTERM
TEST: Verify alternate stack used
ERROR: Auto declaration was outside boundaries of declared stack
Declared Top of Stack = 4000f7c8
Declared End of Stack = 4000b7c8
Received Auto Address = 7b03aac8
4 FAIL
TEST PURPOSE #8
EPERM in errno and return -1 on call to int
sigstack(struct sigstack *ss , struct sigstack *oss)
when an attempt is made to modify an active stack.
PREP: Call sigstack(ss, oss)
PREP: Call sigaction() with SA_ONSTACK set
PREP: Send self SIGTERM
TEST: Call sigstack(ss, oss) with new parameters
ERROR: sisgstack() returned 0 with errno 0(0 - No error)
Expected -1 with errno EPERM
8 FAILReview Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
We recommend this request be refused.
ss_onstack is a sigstack structure member. The signal.h spec states
The <signal.h> header defines the sigstack structure
that includes at least the following members:
int ss_onstack non-zero when signal stack is in use
We believe this mandates that ss_onstack must be non-zero when
the the stack is enabled.
Although not normative, this is also consistent with existing
practice. Allowing an implementation to invert the semantics
here would make application portability impossible.
Review Type SA Review Start Date null Completed null Status Complete Review Resolution Rejected (REJ) Review Conclusion
This request is refused.
Problem Reporting System Options:
- View Report 1232
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority