diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2011-02-02 09:37:10 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2011-02-02 09:37:10 +0000 |
commit | a56d38dbbcb076494480bed3dd6625c3ee9c3936 (patch) | |
tree | 1d9d4aa15e4383f2d3c730ae974c7cafdc2bf46d /lib/libc | |
parent | baaf52489118dde46207f6a40574a011292d4a2e (diff) |
Update after fix for kernel/6547. SETVAL and SETALL can return ERANGE now.
jmc@ ok.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/sys/semctl.2 | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/lib/libc/sys/semctl.2 b/lib/libc/sys/semctl.2 index 5486d65ccaa..d94fb75d9e3 100644 --- a/lib/libc/sys/semctl.2 +++ b/lib/libc/sys/semctl.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: semctl.2,v 1.13 2007/05/31 19:19:33 jmc Exp $ +.\" $OpenBSD: semctl.2,v 1.14 2011/02/02 09:37:09 fgsch Exp $ .\" $NetBSD: semctl.2,v 1.2 1997/03/27 08:20:40 mikel Exp $ .\" .\" Copyright (c) 1995 Frank van der Linden @@ -30,7 +30,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\"/ -.Dd $Mdocdate: May 31 2007 $ +.Dd $Mdocdate: February 2 2011 $ .Dt SEMCTL 2 .Os .Sh NAME @@ -221,7 +221,20 @@ is not a valid message semaphore identifier. is not a valid command. .It Bq Er EFAULT .Fa arg.buf -specifies an invalid address. +or +.Fa arg.array +specify an invalid address. +.It Bq Er ERANGE +.Fa cmd +is equal to +.Dv SETVAL +or +.Dv SETALL +and +.Va arg.val +or the values in +.Va arg.array +are greater than the system-imposed limit. .El .Sh SEE ALSO .Xr semget 2 , |