freebsd-dev/lib
Conrad Meyer 78c2a9806e kern_poll: Restore explanatory comment removed in r177374
The comment isn't stale.  The check is bogus in the sense that poll(2)
does not require pollfd entries to be unique in fd space, so there is no
reason there cannot be more pollfd entries than open or even allowed
fds.  The check is mostly a seatbelt against accidental misuse or
abuse.  FD_SETSIZE, while usually unrelated to poll, is used as an
arbitrary floor for systems with very low kern.maxfilesperproc.

Additionally, document this possible EINVAL condition in the poll.2
manual.

No functional change.

Reviewed by:	markj
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D17671
2018-11-01 23:46:23 +00:00
..
atf
clang
csu Add __used to __CTOR_LIST__ and __DTOR_LIST__ 2018-10-31 14:19:58 +00:00
geom
lib80211
libalias
libarchive
libauditd
libbe libbe(3): Don't promote non-cloned BEs 2018-11-01 14:00:56 +00:00
libbegemot
libblacklist
libblocksruntime
libbluetooth
libbsdstat
libbsm
libbsnmp
libbz2
libc kern_poll: Restore explanatory comment removed in r177374 2018-11-01 23:46:23 +00:00
libc_nonshared
libc++
libc++experimental
libcalendar
libcam
libcapsicum
libcasper
libclang_rt
libcom_err
libcompat ftime appeared in 7th Edition Unix to replace gtime. 2018-10-28 02:58:15 +00:00
libcompiler_rt
libcrypt
libcuse
libcxxrt
libdevctl
libdevdctl
libdevinfo
libdevstat
libdl
libdpv
libdwarf
libedit
libefivar Ensure that the device path is sane before trying to decode and print 2018-10-26 22:49:36 +00:00
libelf
libelftc
libevent
libexecinfo
libexpat
libfetch
libfigpar
libgcc_eh
libgcc_s
libgeom
libgpio
libgssapi
libiconv_modules
libifconfig
libipsec
libipt
libjail
libkiconv
libkvm
libldns
liblzma
libmagic
libmd
libmemstat
libmilter
libmp
libmt
libnandfs
libnetbsd
libnetgraph
libngatm
libnv
libopenbsd
libopencsd
libopie
libpam
libpathconv
libpcap
libpe
libpjdlog
libpmc Fix get_maxfds() in jevents 2018-10-29 21:08:34 +00:00
libpmcstat
libproc
libprocstat
libradius
libregex
librpcsec_gss
librpcsvc
librss
librt
librtld_db
libsbuf
libsdp
libsm
libsmb
libsmdb
libsmutil
libsqlite3
libstdbuf
libstdthreads
libsysdecode
libtacplus
libtelnet
libthr
libthread_db
libucl
libufs
libugidfw
libulog
libunbound
libusb
libusbhid
libutil
libveriexec
libvgl
libvmmapi
libwrap
libxo
liby
libypclnt
libz
libzstd
msun
ncurses
ofed
tests
Makefile
Makefile.inc