New: getspnam errno values
https://bugzilla.kernel.org/show_bug.cgi?id=52681
Summary: getspnam errno values
Product: Documentation
Version: unspecified
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: low
Priority: P1
Component: man-pages
AssignedTo: documentation_man-pages-ztI5WcYan/[email protected]
ReportedBy: [email protected]
Regression: No
man getspnam, section ERRORS only mentions ERANGE.
If I cannot access /etc/shadow, EACCESS is returned.
Shouldn't EACCESS be mentioned on the man page?
kubuntu 12.10, kernel 3.5.0-21
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
[Bug 52681] getspnam errno values
In reply to a message not in the archivehttps://bugzilla.kernel.org/show_bug.cgi?id=52681
Michael Kerrisk <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |[email protected]
Resolution| |CODE_FIX--- Comment #1 from Michael Kerrisk <[email protected]> 2013-01-21 23:24:41 --- Thanks. I've added EACCES under errors.
man3/getspnam.3 +3 -0
@@ -224,6 +224,9 @@ The reentrant functions return zero on success. In case of error, an error number is returned. .SH ERRORS .TP +.B EACCES +The caller does not have permission to access the shadow password file. +.TP .B ERANGE Supplied buffer is too small. .SH FILES
Signature · 7 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html