|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1200 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 1200.
Report 1200 Actions
Problem Report Number 1200 Submitter's Classification Test Suite problem State Resolved Resolution Rejected (REJ) Problem Resolution ID REJ.X.0402 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.1.0 Test Identification base/fcntl 1 2 3 Problem Summary PG4U.00065 This IR claims that F_SETOWN and F_GETOWN are not required for datagram sockets. Problem Text
This IR claims that F_SETOWN and F_GETOWN are not required
for datagram sockets.
These assertions are failing because they assume that the commands
F_SETOWN (& F_GETOWN) are supported for datagram sockets on
all implementation, which is not required by the specification.
The specification lists a number of commands for fcntl (not
including F_SETOWN & F_GETOWN), and then goes on to say "Additional
implementation-dependent commands may be defined in <fcntl.h>.
Their names will start with F_."
On our implementation, neither F_SETOWN nor F_GETOWN are
supported for datagram sockets.Test Output
SPEC1170TESTSUITE CASE 1
A successful call to int fcntl(int fildes, F_GETOWN,
int arg) when fildes refers to a socket shall return
the process ID or process group ID specified to
receive SIGURG signals when out-of-band data is
available where positive values indicate a process ID
and negative values other than -1 indicate a process
group ID.
TEST: AF_INET SOCK_STREAM
PREP: Create socket
PREP: Set process id to receive SIGURG signals
TEST: fcntl(sock, F_GETOWN, ...) returns receiving process ID
PREP: Set group id to receive SIGURG signals
TEST: fcntl(sock, F_GETOWN, ...) returns receiving group ID
CLEANUP: Close socket
TEST: AF_UNIX SOCK_STREAM
PREP: Create socket
PREP: Set process id to receive SIGURG signals
TEST: fcntl(sock, F_GETOWN, ...) returns receiving process ID
PREP: Set group id to receive SIGURG signals
TEST: fcntl(sock, F_GETOWN, ...) returns receiving group ID
CLEANUP: Close socket
TEST: AF_INET SOCK_DGRAM
PREP: Create socket
PREP: Set process id to receive SIGURG signals
ERROR: fcntl failed, errno = 121(EINVAL - Invalid argument)
UNRESOLVED
IC End
SPEC1170TESTSUITE CASE 2
A successful call to int fcntl(int fildes, F_SETOWN,
int arg) when fildes refers to a socket and arg is
positive shall set the process ID specified to receive
SIGURG signals when out-of-band data is available for
that socket to arg and return a value other than -1.
TEST: AF_INET SOCK_STREAM
PREP: Create socket
TEST: fcntl(..., FSETOWN, +pid) returns other than -1
TEST: fcntl set receiving process ID
CLEANUP: Close socket
TEST: AF_UNIX SOCK_STREAM
PREP: Create socket
TEST: fcntl(..., FSETOWN, +pid) returns other than -1
TEST: fcntl set receiving process ID
CLEANUP: Close socket
TEST: AF_INET SOCK_DGRAM
PREP: Create socket
TEST: fcntl(..., FSETOWN, +pid) returns other than -1
ERROR: fcntl failed, errno = 121(EINVAL - Invalid argument)
FAIL
IC End
SPEC1170TESTSUITE CASE 3
A successful call to int fcntl(int fildes, F_SETOWN,
int arg) when fildes refers to a socket and arg is
negative shall set the process group ID specified to
receive SIGURG signals when out-of-band data is
available for that socket to arg and return a value
other than -1.
TEST: AF_INET SOCK_STREAM
PREP: Create socket
TEST: fcntl(..., FSETOWN, -gid) returns other than -1
TEST: fcntl set receiving process ID
CLEANUP: Close socket
TEST: AF_UNIX SOCK_STREAM
PREP: Create socket
TEST: fcntl(..., FSETOWN, -gid) returns other than -1
TEST: fcntl set receiving process ID
CLEANUP: Close socket
TEST: AF_INET SOCK_DGRAM
PREP: Create socket
TEST: fcntl(..., FSETOWN, -gid) returns other than -1
ERROR: fcntl failed, errno = 121(EINVAL - Invalid argument)
FAIL
IC EndReview 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.
We believe the test is correct.
The Networking Services specification modifies the requirements for
fcntl() and adds the F_GETOWN and F_SETOWN commands for sockets in
general. The standard does not allow particular socket types to be
excluded.
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 1200
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority