|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1887 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 1887.
Report 1887 Actions
Problem Report Number 1887 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0948 Raised 1999-01-15 08:00 Updated 2003-03-13 08:00 Published 1999-01-22 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSX4 version 4.4.3 Test Identification ANSI.hdr/misc/stdlib 48 Problem Summary TSD5.017 This IR is for the following tests: ANSI.hdr/misc/stdlib/T.stdlib 48 POSIX.hdr/misc/misc/wait/T.wait 10 This IR addresses the sigstack errors in the above output. The timespec errors will be addressed... Problem Text
This IR is for the following tests:
ANSI.hdr/misc/stdlib/T.stdlib 48
POSIX.hdr/misc/misc/wait/T.wait 10
This IR addresses the sigstack errors in the above output. The timespec
errors will be addressed in separate IR. The tests complain that sigstack()
is not allowed to be in the UNIX 98 namespace for stdlib.h and wait.h.
However, this is allowed by the following:
for stdlib.h
page 1146 states the following:
"Inclusion of the stdlib.h header may also make visible all
symbols from stddef.h, limits.h, math.h and sys/wait.h."
page 1181 (sys/wait.h) states the following:
"Inclusion of the sys/wait.h header may also make visible all
symbols from signal.h and sys/resource.h."
page 1135 (signal.h) states the following:
int sigstack(struct sigstack *ss, struct sigstack *oss); (LEGACY)
for wait.h
page 1181 (sys/wait.h) states the following:
"Inclusion of the sys/wait.h header may also make visible all
symbols from signal.h and sys/resource.h."
page 1135 (signal.h) states the following:
int sigstack(struct sigstack *ss, struct sigstack *oss); (LEGACY)
Note the signal.h tests correctly allow sigstack in the namespace.Test Output
************************************************************************
/tset/ANSI.hdr/misc/stdlib/T.stdlib 48 Failed
Test Description:
For POSIX90 and FIPS modes:
When _POSIX_SOURCE is defined and no other feature test macros are
defined, no other symbols than those defined or reserved by
POSIX.1-1990 are made visible.
For POSIX96 mode:
When _POSIX_C_SOURCE is defined with the value 199506L and no
other feature test macros except _POSIX_SOURCE are defined, no
other symbols than those defined or reserved by POSIX.1-1996 are
made visible.
For XPG4 mode:
When _XOPEN_SOURCE is defined and no other feature test macros
except _POSIX_SOURCE, _POSIX_C_SOURCE=1 or _POSIX_C_SOURCE=2 are
defined, no other symbols than those defined or reserved by XPG4
are made visible.
For UNIX98 mode:
When _XOPEN_SOURCE is defined with the value 500 and no other
feature test macros except _POSIX_SOURCE or
_POSIX_C_SOURCE<=199506L are defined, no other symbols than those
defined or reserved by XSH5 are made visible.
Posix Ref: Component C Language Definitions Assertion 2.7.2-05(B)
Test Strategy:
FOR each unreserved struct/union member made visible by the header
DEFINE a macro which will cause an error if not protected from
expansion
UNDEFINE those macros which correspond to allowed member names
INCLUDE a copy of the header file modified to identify #defines
FOR each unreserved symbol made visible by the header
VERIFY that the symbol name is in a list of allowed names
Test Information:
Feature test macros: -D_XOPEN_SOURCE=500
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
************************************************************************
************************************************************************
/tset/POSIX.hdr/misc/wait/T.wait 10 Failed
Test Description:
For POSIX90 and FIPS modes:
When _POSIX_SOURCE is defined and no other feature test macros are
defined, no other symbols than those defined or reserved by
POSIX.1-1990 are made visible.
For POSIX96 mode:
When _POSIX_C_SOURCE is defined with the value 199506L and no
other feature test macros except _POSIX_SOURCE are defined, no
other symbols than those defined or reserved by POSIX.1-1996 are
made visible.
For XPG4 mode:
When _XOPEN_SOURCE is defined and no other feature test macros
except _POSIX_SOURCE, _POSIX_C_SOURCE=1 or _POSIX_C_SOURCE=2 are
defined, no other symbols than those defined or reserved by XPG4
are made visible.
For UNIX98 mode:
When _XOPEN_SOURCE is defined with the value 500 and no other
feature test macros except _POSIX_SOURCE or
_POSIX_C_SOURCE<=199506L are defined, no other symbols than those
defined or reserved by XSH5 are made visible.
Posix Ref: Component C Language Definitions Assertion 2.7.2-05(B)
Test Strategy:
FOR each unreserved struct/union member made visible by the header
DEFINE a macro which will cause an error if not protected from
expansion
UNDEFINE those macros which correspond to allowed member names
INCLUDE a copy of the header file modified to identify #defines
FOR each unreserved symbol made visible by the header
VERIFY that the symbol name is in a list of allowed names
Test Information:
Feature test macros: -D_XOPEN_SOURCE=500
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199309
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal struct/union/enum tag: sigstack
Illegal declared or 'typedef'ed symbol: sigstack
Illegal struct/union/enum tag: timespec
Illegal struct/union/enum tag: timespec
************************************************************************Review Information
Review Type TSMA Review Start Date null Completed null Status Complete Review Recommendation No Resolution Given Review Response
This is agreed to be a Test Suite Deficiency.
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 1887
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority