sysctl(2) can return EACCES without sufficient permissions
https://bugzilla.kernel.org/show_bug.cgi?id=15446
--- Comment #1 from Garrett Cooper <yaneurabeya-/[email protected]> 2010-08-17 06:57:57 --- Would someone please look into patching the manpage for this requirement?
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
https://bugzilla.kernel.org/show_bug.cgi?id=15446
Michael Kerrisk <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |[email protected]--- Comment #2 from Michael Kerrisk <[email protected]> 2010-08-31 04:52:32 --- (In reply to comment #1)
Quoted 1 line
Would someone please look into patching the manpage for this requirement?
Garret, could you provide a pointer to the discussion that you mentioned in the report?
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
https://bugzilla.kernel.org/show_bug.cgi?id=15446
Garrett Cooper <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #3 from Garrett Cooper <[email protected]> 2011-01-14 23:18:44 --- Sorry -- I canceled my Yahoo email account. Here's a link to this discussion:
https://lkml.org/lkml/2010/3/4/309 .
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
https://bugzilla.kernel.org/show_bug.cgi?id=15446
Michael Kerrisk <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |CODE_FIX--- Comment #4 from Michael Kerrisk <[email protected]> 2012-12-21 18:23:21 --- Garrett, I've applied a different patch from what you suggest, essentially just
making EACCES a synonym of EPERM.
index bb2d9a5..b1772d5 100644
man2/sysctl.2 +2 -1
@@ -78,6 +78,7 @@ Otherwise, a value of \-1 is returned and is set to indicate the error. .SH ERRORS .TP +.TP .B EFAULT The invocation asked for the previous value by setting .I oldval
@@ -88,7 +89,7 @@ non-NULL, but allowed zero room in .I name was not found. .TP -.B EPERM +.BR EACCES ", " EPERM No search permission for one of the encountered "directories", or no read permission where .I oldval
lines 1-21/21 (END)
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
https://bugzilla.kernel.org/show_bug.cgi?id=15446
--- Comment #5 from Garrett Cooper <[email protected]> 2012-12-21 20:31:19 --- LGTM. Thanks!
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