Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001646 [Issue 8 drafts] System Interfaces Objection Omission 2023-03-22 20:44 2024-06-11 09:12
Reporter eblake View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Closed   Product Version Draft 3
Name Eric Blake
Organization Red Hat
User Reference ebb.exec at_quick_exit
Section XSH exec
Page Number 866
Line Number 29540
Final Accepted Text Note: 0006299
Summary 0001646: 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 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.
Tags applied_after_i8d3, issue8
Attached Files

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

-  Notes
(0006230)
geoffclare (manager)
2023-03-23 10:01
edited on: 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.

(0006299)
geoffclare (manager)
2023-06-01 15:28

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-03-23 11:10 lacos Issue Monitored: lacos
2023-03-23 11:10 lacos Issue End Monitor: lacos
2023-06-01 15:19 eblake 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 => Note: 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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker