From f33d383dd07860834a2d1092af30d09081cdddcf Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 21 Dec 2012 17:32:15 +0100 Subject: [PATCH] sysctl.2: ERRORS: EACCES as a synonym for EPRM See https://bugzilla.kernel.org/show_bug.cgi?id=46731 and http://thread.gmane.org/gmane.linux.ltp/11413/focus=957635 From: Garrett Cooper gmail.com> Subject: Re: [LTP] [PATCH] sysctl03: sysctl returns EACCES after 2.6.33-rc1 Newsgroups: gmane.linux.kernel, gmane.linux.ltp Date: 2010-03-04 18:35:33 GMT Reported-by: Garrett Cooper Signed-off-by: Michael Kerrisk --- man2/sysctl.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/sysctl.2 b/man2/sysctl.2 index bb2d9a5bf..b255a40a2 100644 --- a/man2/sysctl.2 +++ b/man2/sysctl.2 @@ -25,7 +25,7 @@ .\" Modified Tue Oct 22 22:28:41 1996 by Eric S. Raymond .\" Modified Mon Jan 5 20:31:04 1998 by aeb. .\" -.TH SYSCTL 2 2012-12-21 "Linux" "Linux Programmer's Manual" +.TH SYSCTL 2 2012-12-22 "Linux" "Linux Programmer's Manual" .SH NAME sysctl \- read/write system parameters .SH SYNOPSIS @@ -88,7 +88,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