The following issue has been SUBMITTED. ====================================================================== https://www.austingroupbugs.net/view.php?id=1646 ====================================================================== Reported By: eblake Assigned To: ====================================================================== Project: Issue 8 drafts Issue ID: 1646 Category: System Interfaces Type: Omission Severity: Objection Priority: normal Status: New Name: Eric Blake Organization: Red Hat User Reference: ebb.exec at_quick_exit Section: XSH exec Page Number: 866 Line Number: 29522 Final Accepted Text: ====================================================================== Date Submitted: 2023-03-22 20:44 UTC Last Modified: 2023-03-22 20:44 UTC ====================================================================== Summary: exec*() misses reference to at_quick_exit() Description: Now that C17 pulled in at_quick_exit(), we need to add that to the list of handlers that are dropped upon successful execl() and friends. Desired Action: Line numbers from the Austin Group copy of D3_rc1 (may need adjustment depending on the draft being viewed).
At page 866 line 29522 (XSH exec DESCRIPTION), change:<blockquote>After a successful call to any of the <i>exec</i> functions, any functions previously registered by the <i>atexit</i>( ) or <i>pthread_atfork</i>( ) functions are no longer registered.</blockquote>to:<blockquote>After a successful call to any of the <i>exec</i> functions, any functions previously registered by the <i>atexit</i>( ), <i>at_quick_exit</i>( ), or <i>pthread_atfork</i>( ) functions are no longer registered.</blockquote> ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2023-03-22 20:44 eblake New Issue 2023-03-22 20:44 eblake Name => Eric Blake 2023-03-22 20:44 eblake Organization => Red Hat 2023-03-22 20:44 eblake User Reference => ebb.exec at_quick_exit 2023-03-22 20:44 eblake Section => XSH exec 2023-03-22 20:44 eblake Page Number => 866 2023-03-22 20:44 eblake Line Number => 29522 ======================================================================