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
0000506 [1003.1(2008)/Issue 7] System Interfaces Editorial Omission 2011-11-10 18:12 2019-06-10 08:55
Reporter eblake View Status public  
Assigned To ajosey
Priority normal Resolution Accepted As Marked  
Status Closed  
Name Eric Blake
Organization Red Hat
User Reference ebb.grantpt
Section grantpt
Page Number 1093
Line Number 36468
Interp Status ---
Final Accepted Text See Note: 0001086
Summary 0000506: additional grantpt errors are possible
Description In several implementations, grantpt() is implemented by forking and execing
a setuid helper application to make the requested changes on the slave side
of the just-opened pseudo-terminal. Therefore, we probably ought to document
additional possible errno values.
Desired Action Move line 36472 prior to 36470 (sort [EACCES] before [EBADF]).

After line 36472, add the following:

Additionally, the grantpt( ) function may set errno values as described
by fork( ).
Tags tc2-2008
Attached Files

- Relationships
related to 0000503Closedajosey ptsname should define optional errno values 
related to 0000507Closedajosey getcwd can fail for the same reasons as fork() 

-  Notes
(0001008)
Konrad_Schwarz (reporter)
2011-11-11 09:10

Isn't this covered by System Interfaces 2.3?

"Implementations may support additional errors not included in this list, may generate errors included in this list under circumstances other than those described here, or may contain extensions or limitations that prevent some errors from occurring."
(0001086)
Don Cragun (manager)
2012-01-05 16:34

The additional possible errors are already covered by XSH section 2.3 (Error Numbers), so no addition is needed. But the sort order of errors in the list should be fixed.

Move line 36472 prior to 36470 (sort [EACCES] before [EBADF]).

- Issue History
Date Modified Username Field Change
2011-11-10 18:12 eblake New Issue
2011-11-10 18:12 eblake Status New => Under Review
2011-11-10 18:12 eblake Assigned To => ajosey
2011-11-10 18:12 eblake Name => Eric Blake
2011-11-10 18:12 eblake Organization => Red Hat
2011-11-10 18:12 eblake User Reference => ebb.grantpt
2011-11-10 18:12 eblake Section => grantpt
2011-11-10 18:12 eblake Page Number => 1093
2011-11-10 18:12 eblake Line Number => 36468
2011-11-10 18:12 eblake Interp Status => ---
2011-11-10 18:12 eblake Relationship added related to 0000503
2011-11-11 09:10 Konrad_Schwarz Note Added: 0001008
2012-01-05 16:32 eblake Relationship added related to 0000507
2012-01-05 16:34 Don Cragun Note Added: 0001086
2012-01-05 16:34 Don Cragun Status Under Review => Resolved
2012-01-05 16:34 Don Cragun Resolution Open => Accepted As Marked
2012-01-05 16:37 Don Cragun Final Accepted Text => See bugnote1086
2012-01-05 16:42 Don Cragun Tag Attached: tc2-2008
2012-01-05 16:44 Don Cragun Final Accepted Text See bugnote1086 => See Note: 0001086
2019-06-10 08:55 agadmin Status Resolved => Closed


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