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