A NOTE has been added to this issue. 
====================================================================== 
https://www.austingroupbugs.net/view.php?id=1851 
====================================================================== 
Reported By:                philip-guenther
Assigned To:                
====================================================================== 
Project:                    1003.1(2024)/Issue8
Issue ID:                   1851
Category:                   System Interfaces
Type:                       Error
Severity:                   Objection
Priority:                   normal
Status:                     New
Name:                       Philip Guenther 
Organization:               OpenBSD 
User Reference:              
Section:                    exec 
Page Number:                867 
Line Number:                29528-29530 
Interp Status:              --- 
Final Accepted Text:         
====================================================================== 
Date Submitted:             2024-08-11 02:11 UTC
Last Modified:              2025-08-05 08:36 UTC
====================================================================== 
Summary:                    FD_CLOFORK should not be preserved across exec
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0001318 Define close-on-fork flag
====================================================================== 

---------------------------------------------------------------------- 
 (0007234) geoffclare (manager) - 2025-08-05 08:36
 https://www.austingroupbugs.net/view.php?id=1851#c7234 
---------------------------------------------------------------------- 
Suggested Interpretation response
------------------------
The standard states that O_CLOFORK remains set across exec, and conforming
implementations must conform to this. However, concerns have been raised about
this which are being referred to the sponsor.

Rationale:
-------------
The requirement in the standard was based on historical Solaris behavior, but
this has now been changed in Solaris and other implementors are matching the new
behavior.

Notes to the Editor (not part of this interpretation):
-------------------------------------------------------
On page 867 line 29523 section exec, change:<blockquote>For those file
descriptors that remain open, all attributes of the open file description shall
remain unchanged and the FD_CLOFORK file descriptor flag, if set, shall remain
set.</blockquote>to:<blockquote>For those file descriptors that remain open, all
attributes of the open file description shall remain unchanged and the
FD_CLOFORK file descriptor flag, if set, shall be cleared.</blockquote> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2024-08-11 02:11 philip-guentherNew Issue                                    
2024-08-11 02:11 philip-guentherName                      => Philip Guenther 
2024-08-11 02:11 philip-guentherOrganization              => OpenBSD         
2024-08-11 02:11 philip-guentherSection                   => exec            
2024-08-11 02:11 philip-guentherPage Number               => 867             
2024-08-11 02:11 philip-guentherLine Number               => 29528-29530     
2024-08-15 15:39 geoffclare     Relationship added       related to 0001318  
2025-06-21 23:47 philip-guentherNote Added: 0007206                          
2025-06-23 13:51 dancross       Note Added: 0007208                          
2025-06-23 20:54 alanc          Note Added: 0007209                          
2025-06-30 17:05 dancross       Note Added: 0007218                          
2025-08-02 05:34 philip-guentherNote Added: 0007233                          
2025-08-05 08:36 geoffclare     Note Added: 0007234                          
======================================================================


  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
    • Re: [... Steffen Nurpmeso via austin-group-l at The Open Group
      • [... Philip Guenther via austin-group-l at The Open Group
        • ... Steffen Nurpmeso via austin-group-l at The Open Group
          • ... Philip Guenther via austin-group-l at The Open Group
            • ... enh via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group
  • [1003.1(20... Austin Group Issue Tracker via austin-group-l at The Open Group

Reply via email to