View Issue Details

IDProjectCategoryView StatusLast Update
00005071003.1(2008)/Issue 7System Interfacespublic2012-01-05 16:37
Reportereblake Assigned Toajosey  
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionWithdrawn 
NameEric Blake
OrganizationRed Hat
User Referenceebb.getcwd
Sectiongetcwd
Page Number997
Line Number33443
Interp Status---
Final Accepted Text
Summary0000507: getcwd can fail for the same reasons as fork()
DescriptionSince 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 ActionAfter line 33452, add:

Additionally, the getcwd( ) function may set errno values as described
by fork( ).
TagsNo tags attached.

Relationships

related to 0000506 Closedajosey additional grantpt errors are possible 

Activities

eblake

2012-01-05 16:37

manager   bugnote:0001087

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