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
0001336 [1003.1(2016)/Issue7+TC2] System Interfaces Objection Error 2020-04-23 13:09 2020-04-23 13:09
Reporter dennisw View Status public  
Assigned To
Priority normal Resolution Open  
Status New  
Name Dennis Wölfing
Organization
User Reference
Section getrusage
Page Number 1089
Line Number 36960-36962
Interp Status ---
Final Accepted Text
Summary 0001336: getrusage should recursively include information about children of children
Description The specification for getrusage says that for RUSAGE_CHILDREN information about waited-for
children of the current process is returned. However existing implementations also recursively
include children of children.

In XBD 3.93 Child Process is defined as
A new process created (by fork( ), posix_spawn( ), or posix_spawnp( )) by a given process. A child
process remains the child of the creating process as long as both processes continue to exist.
which makes clear that children of children are not considered children of the current process.
Desired Action On page 1089 lines 36960-36962 section getrusage, change
If the
value of the who argument is RUSAGE_CHILDREN, information shall be returned about
resources used by the terminated and waited-for children of the current process.
to
If the
value of the who argument is RUSAGE_CHILDREN, information shall be returned about
resources used by the terminated and waited-for children of the current process and
recursively the terminated and waited-for children thereof.
Tags No tags attached.
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-04-23 13:09 dennisw New Issue
2020-04-23 13:09 dennisw Name => Dennis Wölfing
2020-04-23 13:09 dennisw Section => getrusage
2020-04-23 13:09 dennisw Page Number => 1089
2020-04-23 13:09 dennisw Line Number => 36960-36962


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