View Issue Details

IDProjectCategoryView StatusLast Update
00005061003.1(2008)/Issue 7System Interfacespublic2019-06-10 08:55
Reportereblake Assigned Toajosey  
PrioritynormalSeverityEditorialTypeOmission
Status ClosedResolutionAccepted As Marked 
NameEric Blake
OrganizationRed Hat
User Referenceebb.grantpt
Sectiongrantpt
Page Number1093
Line Number36468
Interp Status---
Final Accepted TextSee 0000506:0001086
Summary0000506: additional grantpt errors are possible
DescriptionIn 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 ActionMove 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( ).
Tagstc2-2008

Relationships

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

Activities

Konrad_Schwarz

2011-11-11 09:10

reporter   bugnote:0001008

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."

Don Cragun

2012-01-05 16:34

manager   bugnote:0001086

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 0000506:0001086
2019-06-10 08:55 agadmin Status Resolved => Closed