Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2019 00:45:42 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r344832 - stable/12/lib/libc/sys
Message-ID:  <201903060045.x260jgIY045726@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed Mar  6 00:45:42 2019
New Revision: 344832
URL: https://svnweb.freebsd.org/changeset/base/344832

Log:
  MFC r344628: poll.2: POLLNVAL is returned also for insufficient rights
  
  Reported by:	Bora Özarslan <borako.ozarslan@gmail.com>
  Sponsored by:	The FreeBSD Foundation

Modified:
  stable/12/lib/libc/sys/poll.2
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/lib/libc/sys/poll.2
==============================================================================
--- stable/12/lib/libc/sys/poll.2	Wed Mar  6 00:38:10 2019	(r344831)
+++ stable/12/lib/libc/sys/poll.2	Wed Mar  6 00:45:42 2019	(r344832)
@@ -28,7 +28,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 November 13, 2014
+.Dd February 27, 2019
 .Dt POLL 2
 .Os
 .Sh NAME
@@ -127,7 +127,8 @@ should never be present in the
 .Fa revents
 bitmask at the same time.
 .It POLLNVAL
-The file descriptor is not open.
+The file descriptor is not open,
+or in capability mode the file descriptor has insufficient rights.
 This flag is always checked, even
 if not present in the
 .Fa events



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