Problem Report Number |
0032 |
Submitter's Classification |
Specification problem |
State |
Resolved |
Resolution |
Rejected (REJ) |
Problem Resolution ID |
REJ.PX.0015 |
Raised |
2006-10-14 02:00 |
Updated |
2006-10-23 21:10 |
Published |
2006-10-23 21:10 |
Product Standard |
PSE52 Realtime Controller 1003.1-2003 System |
Certification Program |
POSIX Certified by IEEE and The Open Group |
Test Suite |
VSRT-PSE version 5.3.6 |
Test Identification |
rt.os/ioprim/fcntl/T.fcntl.1,2 |
Specification |
PSE52 Realtime Controller 1003.1-2003 System Product Standard |
Location in Spec |
http://www.opengroup.org/onlinepubs/009695399/functions/fcntl.html |
Problem Summary |
fcntl() specifications always require the FD_CLOEXEC flag even when
exec() is not supported in PSE52. |
Problem Text |
The fcntl() specifications mention that the FD_CLOEXEC flag is to be
supported by both the F_DUPFD and F_SETFD commands. The FD_CLEXEC flag
is strictly related to the usage of the exec() function. However the
exec() function is not required for a PSE52 conforming system so it
would be logical that the fcntl() function describes the handling of
the FD_CLOEXEC flag as optional and depending on an optional
functionality, but it does not...
|
Test Output |
***********************************************************************
*
/tset/rt.os/ioprim/fcntl/T.fcntl 1 Failed
Test Description:
If _POSIX_SHARED_MEMORY_OBJECTS is defined:
A call to fcntl(fildes, F_DUPFD, arg) when fildes refers to
a shared
memory object shall act as follows:
a. A new file descriptor is returned;
b. The returned file descriptor is the lowest numbered
descriptor
greater than or equal to arg;
c. The returned file descriptor describes the same open file
description as the original descriptor fildes;
d. The returned file descriptor has the FD_CLOEXEC flag
clear.
Test Information:
FD_CLOEXEC flag is set
***********************************************************************
*
***********************************************************************
*
/tset/rt.os/ioprim/fcntl/T.fcntl 2 Failed
Test Description:
If _POSIX_SHARED_MEMORY_OBJECTS is defined:
A call to fcntl(fildes, F_GETFD, arg) when fildes refers to
a shared
memory object shall return the file descriptor flags for
fildes.
Test Information:
FD_CLOEXEC flag is set
|