Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2019 17:52:22 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344628 - head/lib/libc/sys
Message-ID:  <201902271752.x1RHqMh1023149@repo.freebsd.org>

index | next in thread | raw e-mail

Author: emaste
Date: Wed Feb 27 17:52:22 2019
New Revision: 344628
URL: https://svnweb.freebsd.org/changeset/base/344628

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

Modified:
  head/lib/libc/sys/poll.2

Modified: head/lib/libc/sys/poll.2
==============================================================================
--- head/lib/libc/sys/poll.2	Wed Feb 27 17:30:28 2019	(r344627)
+++ head/lib/libc/sys/poll.2	Wed Feb 27 17:52:22 2019	(r344628)
@@ -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 1, 2018
+.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


help

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