View Issue Details

IDProjectCategoryView StatusLast Update
0001646Issue 8 draftsSystem Interfacespublic2024-06-11 09:12
Reportereblake Assigned To 
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionAccepted As Marked 
Product VersionDraft 3 
NameEric Blake
OrganizationRed Hat
User Referenceebb.exec at_quick_exit
SectionXSH exec
Page Number866
Line Number29540
Final Accepted Text0001646:0006299
Summary0001646: exec*() misses reference to at_quick_exit()
DescriptionNow 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 ActionAt page 866 line 29540 (XSH exec DESCRIPTION), change:
After a successful call to any of the exec functions, any functions previously registered by the atexit( ) or pthread_atfork( ) functions are no longer registered.
to:
After a successful call to any of the exec functions, any functions previously registered by the atexit( ), at_quick_exit( ), or pthread_atfork( ) functions are no longer registered.
Tagsapplied_after_i8d3, issue8

Relationships

related to 0001302 Closed 1003.1(2016/18)/Issue7+TC2 Alignment with C17 

Activities

geoffclare

2023-03-23 10:01

manager   bugnote:0006230

Last edited: 2023-03-23 10:03

There is some further inconsistency here that we should consider eliminating. Currently this requirement is stated twice for atexit(), once on the exec page and once on the atexit() page. For at_quick_exit(), bug 0001302 added it on the at_quick_exit() page but not on the exec page. For pthread_atfork() it is only stated on the exec page and not on the pthread_atfork() page.

My suggestion would be to state it only on the exec page for all three in order to avoid duplication. I.e. as well as the desired action, remove the corresponding statements from the atexit() and at_quick_exit() pages.

geoffclare

2023-06-01 15:28

manager   bugnote:0006299

At page 625 line 22114 (XSH at_quick_exit() DESCRIPTION), delete:
After a successful call to any of the exec functions, any functions previously registered by at_quick_exit() shall no longer be registered.

    
At page 636 line 22406 (XSH atexit() DESCRIPTION), delete:
After a successful call to any of the exec functions, any functions previously registered by atexit() shall no longer be registered.


At page 866 line 29540 (XSH exec DESCRIPTION), change:
After a successful call to any of the exec functions, any functions previously registered by the atexit( ) or pthread_atfork( ) functions are no longer registered.
to:
After a successful call to any of the exec functions, any functions previously registered by the atexit( ), at_quick_exit( ), or pthread_atfork( ) functions are no longer registered.

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
2023-03-23 10:01 geoffclare Note Added: 0006230
2023-03-23 10:02 geoffclare Relationship added related to 0001302
2023-03-23 10:03 geoffclare Note Edited: 0006230
2023-06-01 15:19 eblake Product Version => Draft 3
2023-06-01 15:19 eblake Desired Action Updated
2023-06-01 15:20 eblake Line Number 29522 => 29540
2023-06-01 15:28 geoffclare Note Added: 0006299
2023-06-01 15:28 geoffclare Final Accepted Text => 0001646:0006299
2023-06-01 15:28 geoffclare Status New => Resolved
2023-06-01 15:28 geoffclare Resolution Open => Accepted As Marked
2023-06-01 15:29 geoffclare Tag Attached: issue8
2023-06-13 11:15 geoffclare Status Resolved => Applied
2023-06-13 11:16 geoffclare Tag Attached: applied_after_i8d3
2024-06-11 09:12 agadmin Status Applied => Closed