svn commit: r344832 - stable/12/lib/libc/sys
Ed Maste
emaste at FreeBSD.org
Wed Mar 6 00:45:43 UTC 2019
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 at 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
More information about the svn-src-all
mailing list