Austin Group Issue Tracker via austin-group-l at The Open Group wrote in <tpms3wapgljrkdgctse40ufzrlmdnq8fyiw...@austingroupbugs.net>: |A NOTE has been added to this issue. |====================================================================== |https://austingroupbugs.net/view.php?id=1851 |====================================================================== |Reported By: philip-guenther ... |Summary: FD_CLOFORK should not be preserved across exec ... | (0007206) philip-guenther (reporter) - 2025-06-21 23:47 | https://austingroupbugs.net/view.php?id=1851#c7206 |---------------------------------------------------------------------- |More than ten months and no word or concern from other implementations? \ | Weird. | |OpenBSD will probably go ahead and implement close-on-fork but forcibly \ |clearing |the flag on exec.
Only for the (rare) idiots among the listeners, this refers to file descriptors open(2)ed etc after a fork(2), but before the execve(2), which are configured with CLOFORK? If so, isn't this is very explicit configuration which' existence is possibly even desirable? I recognized that popen(3) has pretty generic talking on how standard descriptors should be configured for child processes while reading through this. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) | |During summer's humble, here's David Leonard's grumble | |The black bear, The black bear, |blithely holds his own holds himself at leisure |beating it, up and down tossing over his ups and downs with pleasure | |Farewell, dear collar bear