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
0001317 [1003.1(2016)/Issue7+TC2] System Interfaces Comment Enhancement Request 2020-01-11 12:40 2020-01-11 12:40
Reporter nate_karstens View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Nate Karstens
Organization Garmin
User Reference
Section system, popen, posix_spawn, etc.
Page Number Unknown
Line Number Unknown
Interp Status ---
Final Accepted Text
Summary 0001317: Require fork handlers to be called in certain conditions
Description Not defining whether fork handlers are called under certain scenarios can lead to undesired behavior and reduces the effectiveness of the pthread_atfork() interface.

Please see www.mail-archive.com/austin-group-l@opengroup.org/msg05324.html">https://www.mail-archive.com/austin-group-l@opengroup.org/msg05324.html [www.mail-archive.com/austin-group-l@opengroup.org/msg05324.html" target="_blank">^] for a description of the issue and resulting discussion.
Desired Action In the definition of system(), change this:

It is unspecified whether the handlers registered with pthread_atfork() are called as part of the creation of the child process.

to this:

If the implementation of system() is non-atomic, then handlers registered with pthread_atfork() shall be called as part of the creation of the child process. If the implementation of system() is atomic , then it is unspecified whether the handlers registered with pthread_atfork() are called.

Add similar text to the definition of popen(), posix_spawn(), and any other interfaces that can fork/exec a child process without requiring the operation to be atomic.
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-01-11 12:40 nate_karstens New Issue
2020-01-11 12:40 nate_karstens Name => Nate Karstens
2020-01-11 12:40 nate_karstens Organization => Garmin
2020-01-11 12:40 nate_karstens Section => system, popen, posix_spawn, etc.
2020-01-11 12:40 nate_karstens Page Number => Unknown
2020-01-11 12:40 nate_karstens Line Number => Unknown


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