|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 2405 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 2405.
Report 2405 Actions
Problem Report Number 2405 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0660 Raised 2004-06-24 00:59 Updated 2004-06-25 21:10 Published 2004-06-25 21:10 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.2.5 Test Identification CAPI.hdr/misc/socket/T.socket 86 Problem Summary Test is not allowing SCM_ symbols to be visible in <socket.h> Problem Text From the test description:
The inclusion of sys/socket.h with _XOPEN_SOURCE defined with
the
value 500 shall only define or declare identifiers with external
linkage, macros, and identifiers with file scope specified in
the
sys/socket.h and sys/uio,h header file sections; identifiers
prefixed
with 'iov_, 'sa_', 'if_', 'ifc_', 'ifru_', 'infu_', 'ifra_', 'msg_',
'cmsg_', or 'l_'; macros prefixed with 'iov_, 'sa_', 'if_',
'ifc_',
'ifru_', 'infu_', 'ifra_', 'msg_', 'cmsg_', 'l_', 'CMSG_',
'AF_',
'IOV_', 'MSG_', 'PF_', 'SCM_', 'SHUT_', or 'SO'; identifiers and
macros suffixed with '_t'; and identifiers and macros prefixed
with
underscore and either an alphanumeric character or another
underscore.
Even though it is shown in the description, the test is not allowing
the visibility of SCM_ symbols.
Test Output
****************************************************************************************************************
/tset/CAPI.hdr/misc/socket/T.socket 86 Failed
Test Description:
Base Required Conformance
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.
For UNIX03 mode:
When _XOPEN_SOURCE is defined with the value 600 and no
other
feature test macros except _POSIX_C_SOURCE<=200112L are
defined,
no other symbols than those defined or reserved by POSIX.1-
2001/XSH6 (including the XSI option) are made visible.
Test Information:
Feature test macros: -D_XOPEN_SOURCE=500
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=1
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=2
-D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199309
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199309 -D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199506
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
Feature test macros: -D_XOPEN_SOURCE=500
-D_POSIX_C_SOURCE=199506 -D_POSIX_SOURCE
Compiler or run-time messages or results:
Illegal #defined symbol: SCM_UCRED
****************************************************************************************************************Review Information
Review Type TSMA Review Start Date 2004-06-24 00:59 Last Updated 2004-06-24 18:07 Completed 2004-06-24 18:07 Status Complete Review Recommendation Rejected (REJ) Review Response The test description in this request does not match the VSU release
stated (5.2.5). It is from an old version of VSU, probably release
5.2.3. There was a problem with the assertion text, which was corrected
in release 5.2.4. The test description no longer states that
identifiers with prefix SCM_ are allowed to be visible.
Neither XSH5 nor XNS5 reserves the prefix SCM_ for <sys/socket.h>, and
therefore the test is right to report that SCM_UCRED is not allowed to
be visible when _XOPEN_SOURCE is 500.
Review Type SA Review Start Date 2004-06-24 17:07 Last Updated 2004-06-25 02:35 Completed 2004-06-25 02:35 Status Complete Review Resolution Rejected (REJ) Review Conclusion The test description in this request does not match the VSU release
stated (5.2.5). It appears to be from an earlier version of VSU. The
test assertion and description was updated in VSU release 5.2.4 (the
previous version) such that it no longer states that identifiers with
prefix SCM_are allowed to be visible. VSU 5.2.5 has this revised text.
The TSMA reports that neither XSH5 nor XNS5 reserves the prefix SCM_ for
<sys/socket.h>, and therefore the test is right to report that SCM_UCRED
is not allowed to be visible when _XOPEN_SOURCE is 500.
The SA therefore does not find that the information provided in the PR
is sufficient to justify classification as a TSD and thus rejects the PR.
Problem Reporting System Options:
- View Report 2405
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority