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 <yanegomi <at> 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 <yanegomi@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-12-21 17:32:15 +01:00
parent 839edbdd7f
commit f33d383dd0
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
.\" Modified Tue Oct 22 22:28:41 1996 by Eric S. Raymond <esr@thyrsus.com> .\" Modified Tue Oct 22 22:28:41 1996 by Eric S. Raymond <esr@thyrsus.com>
.\" Modified Mon Jan 5 20:31:04 1998 by aeb. .\" 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 .SH NAME
sysctl \- read/write system parameters sysctl \- read/write system parameters
.SH SYNOPSIS .SH SYNOPSIS
@ -88,7 +88,7 @@ non-NULL, but allowed zero room in
.I name .I name
was not found. was not found.
.TP .TP
.B EPERM .BR EACCES ", " EPERM
No search permission for one of the encountered "directories", No search permission for one of the encountered "directories",
or no read permission where or no read permission where
.I oldval .I oldval