A NOTE has been added to this issue. 
====================================================================== 
https://austingroupbugs.net/view.php?id=1577 
====================================================================== 
Reported By:                shware_systems
Assigned To:                
====================================================================== 
Project:                    Issue 8 drafts
Issue ID:                   1577
Category:                   System Interfaces
Type:                       Omission
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Mark Ziegast 
Organization:               SHware Systems Dev. 
User Reference:              
Section:                    dup3() 
Page Number:                742 
Line Number:                25487-91 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2022-04-07 16:20 UTC
Last Modified:              2022-04-28 16:36 UTC
====================================================================== 
Summary:                    dup3 flags usage not entirely specified
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001557 Better wording to describe FD_CLOEXEC.
related to          0000411 adding atomic FD_CLOEXEC support
====================================================================== 

---------------------------------------------------------------------- 
 (0005827) geoffclare (manager) - 2022-04-28 16:36
 https://austingroupbugs.net/view.php?id=1577#c5827 
---------------------------------------------------------------------- 
(The following changes make the wording for dup3() and pipe2() consistent
with accept4().)

Change:<blockquote>The <i>dup3</i>() function shall be equivalent to the
<i>dup2</i>() function if the <i>flag</i> argument is 0, except that it
shall be an error if <i>fildes</i> is equal to <i>fildes2</i>.
Additionally, the <i>flag</i> argument can be constructed from a
bitwise-inclusive OR of flags from the following
list:</blockquote>to:<blockquote>The <i>dup3</i>() function shall be
equivalent to the <i>dup2</i>() function, except that it shall be an error
if <i>fildes</i> is equal to <i>fildes2</i>, and the state of FD_CLOEXEC
and FD_CLOFORK on the <i>fildes2</i> file descriptor shall be determined
solely by the <i>flag</i> argument, which can be constructed from a
bitwise-inclusive OR of flags from the following list:</blockquote>

On page 1413 line 47116 section pipe(), change:<blockquote>The
<i>pipe2</i>() function shall be equivalent to the <i>pipe</i>() function
if the <i>flag</i> argument is 0. Additionally, the <i>flag</i> argument
can be constructed from a bitwise-inclusive OR of flags from the following
list (provided by <fcntl.h>):</blockquote>to:<blockquote>The <i>pipe2</i>()
function shall be equivalent to the <i>pipe</i>() function, except that the
state of O_NONBLOCK on the new file descriptions and FD_CLOEXEC and
FD_CLOFORK on the new file descriptors shall be determined solely by the
<i>flag</i> argument, which can be constructed from a bitwise-inclusive OR
of flags from the following list (provided by <fcntl.h>):</blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2022-04-07 16:20 shware_systems New Issue                                    
2022-04-07 16:20 shware_systems Name                      => Mark Ziegast    
2022-04-07 16:20 shware_systems Organization              => SHware Systems Dev.
2022-04-07 16:20 shware_systems Section                   => dup3()          
2022-04-07 16:20 shware_systems Page Number               => 742             
2022-04-07 16:20 shware_systems Line Number               => 25487-91        
2022-04-07 18:31 kre            Note Added: 0005786                          
2022-04-28 15:50 Don Cragun     Relationship added       related to 0001557  
2022-04-28 16:19 geoffclare     Relationship added       related to 0000411  
2022-04-28 16:36 geoffclare     Note Added: 0005827                          
======================================================================


  • [Issue 8 dra... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [Issue ... Austin Group Bug Tracker via austin-group-l at The Open Group

Reply via email to