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.ozars...@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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to