A NOTE has been added to this issue. ====================================================================== https://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-06-23 20:54 UTC ====================================================================== Summary: FD_CLOFORK should not be preserved across exec ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001318 Define close-on-fork flag ======================================================================
---------------------------------------------------------------------- (0007209) alanc (reporter) - 2025-06-23 20:54 https://austingroupbugs.net/view.php?id=1851#c7209 ---------------------------------------------------------------------- Sorry, we discussed thus internally, but failed to update the bug here with our decision. Solaris initially implemented O_CLOFORK in the Solaris 11.3.0 release, and did no special handling across exec (as far as I can see the issue wasn't considered at the time). Given the discussion initiated here, we have modified our implementation to clear the O_CLOFORK flag on exec starting in Solaris 11.4.78. 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 ======================================================================
