Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Apr 2016 15:43:49 +0000 (UTC)
From:      Jilles Tjoelker <jilles@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r297719 - stable/10/lib/libc/sys
Message-ID:  <201604081543.u38FhnAE068567@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jilles
Date: Fri Apr  8 15:43:49 2016
New Revision: 297719
URL: https://svnweb.freebsd.org/changeset/base/297719

Log:
  MFC r295384: semget(2): Add missing [EINVAL] conditions.
  
  PR:		206927

Modified:
  stable/10/lib/libc/sys/semget.2
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/sys/semget.2
==============================================================================
--- stable/10/lib/libc/sys/semget.2	Fri Apr  8 15:28:12 2016	(r297718)
+++ stable/10/lib/libc/sys/semget.2	Fri Apr  8 15:43:49 2016	(r297719)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 12, 1995
+.Dd February 7, 2016
 .Dt SEMGET 2
 .Os
 .Sh NAME
@@ -132,6 +132,17 @@ already exists.
 .It Bq Er EINVAL
 The number of semaphores requested exceeds the system imposed maximum
 per set.
+.It Bq Er EINVAL
+A semaphore set corresponding to
+.Fa key
+already exists and contains fewer semaphores than
+.Fa nsems .
+.It Bq Er EINVAL
+A semaphore set corresponding to
+.Fa key
+does not exist and
+.Fa nsems
+is 0 or negative.
 .It Bq Er ENOSPC
 Insufficiently many semaphores are available.
 .It Bq Er ENOSPC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604081543.u38FhnAE068567>