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
0000507 [1003.1(2008)/Issue 7] System Interfaces Objection Omission 2011-11-10 18:20 2012-01-05 16:37
Reporter eblake View Status public  
Assigned To ajosey
Priority normal Resolution Withdrawn  
Status Closed  
Name Eric Blake
Organization Red Hat
User Reference ebb.getcwd
Section getcwd
Page Number 997
Line Number 33443
Interp Status ---
Final Accepted Text
Summary 0000507: getcwd can fail for the same reasons as fork()
Description Since the standard mentions in non-normative text the use of a setuid
helper program for implementing a getcwd() that can succeed even when
in-process calls cannot, the standard should also permit getcwd() to
fail with fork() errors, as is done with other interfaces that have
historically spawned child helpers.
Desired Action After line 33452, add:

Additionally, the getcwd( ) function may set errno values as described
by fork( ).
Tags No tags attached.
Attached Files

- Relationships
related to 0000506Closedajosey additional grantpt errors are possible 

-  Notes
(0001087)
eblake (manager)
2012-01-05 16:37

During the 5 Jan 2012 meeting, it was decided that the global statement
in XSH 2.3 that other errors are permitted is already sufficient, and that
nothing needed to be changed to specifically mention fork() failures
that are possible in various implementations of functions such as
 getcwd(), grantpt(), and wordexp().

- Issue History
Date Modified Username Field Change
2011-11-10 18:20 eblake New Issue
2011-11-10 18:20 eblake Status New => Under Review
2011-11-10 18:20 eblake Assigned To => ajosey
2011-11-10 18:20 eblake Name => Eric Blake
2011-11-10 18:20 eblake Organization => Red Hat
2011-11-10 18:20 eblake User Reference => ebb.getcwd
2011-11-10 18:20 eblake Section => getcwd
2011-11-10 18:20 eblake Page Number => 997
2011-11-10 18:20 eblake Line Number => 33443
2011-11-10 18:20 eblake Interp Status => ---
2012-01-05 16:32 eblake Relationship added related to 0000506
2012-01-05 16:37 eblake Note Added: 0001087
2012-01-05 16:37 eblake Status Under Review => Closed
2012-01-05 16:37 eblake Resolution Open => Withdrawn


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