1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sys
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
..
amd64 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
arm Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
arm64 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
bsm
cam Add comments explaining what hold/unhold do 2018-11-01 21:51:41 +00:00
cddl Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
compat Regent after r340034: Use mode_t when the documented signature does. 2018-11-01 23:10:53 +00:00
conf Retire CLANG_NO_IAS34 2018-11-01 23:11:47 +00:00
contrib Update to Zstandard 1.3.7 2018-10-22 18:29:12 +00:00
crypto rijndael (AES): Avoid leaking sensitive data on kernel stack 2018-10-26 20:53:01 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev Check cannot_use_txpkts() rather than needs_tso() in add_to_txpkts(). 2018-11-01 21:49:49 +00:00
dts Revert r339421 due to unintended files included to commit. 2018-10-18 15:17:58 +00:00
fs Fix NFS client vnode locking to avoid a crash during forced dismount. 2018-11-01 15:27:22 +00:00
gdb
geom Have gconcat advertise delete support if one of its disks does. 2018-10-30 00:22:14 +00:00
gnu dts: Import DTS for arm64 2018-08-23 13:21:01 +00:00
i386 Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern kern_poll: Restore explanatory comment removed in r177374 2018-11-01 23:46:23 +00:00
kgssapi
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
modules Retire CLANG_NO_IAS34 2018-11-01 23:11:47 +00:00
net With more excessive use of modules, more kernel parts working with 2018-10-30 20:45:15 +00:00
net80211
netgraph Remove the Yarrow PRNG algorithm option in accordance with due notice 2018-08-26 12:51:46 +00:00
netinet carpstats are the last virtualised variable in the file and end up at the 2018-11-01 17:26:18 +00:00
netinet6 Remove redundant checks for a NULL lbgroup table. 2018-11-01 15:52:49 +00:00
netipsec Add sadb_x_sa2 extension to SADB_ACQUIRE requests. 2018-10-21 14:19:16 +00:00
netpfil pf: Make ':0' ignore link-local v6 addresses too 2018-10-28 05:32:50 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Introduce and use sgid_index in CM requests in ibcore. 2018-09-09 07:20:15 +00:00
opencrypto Add sha224 to the authctx union. 2018-10-23 18:07:37 +00:00
powerpc Don't enter DDB for fatal traps before panic by default. 2018-11-01 21:34:17 +00:00
riscv Restrict setting PTE execute permissions on RISC-V. 2018-11-01 22:23:15 +00:00
rpc
security Rework the logic around quick checks for auditing that take place at 2018-10-02 15:58:17 +00:00
sparc64 Compile in VERBOSE_SYSINIT support by default, remain silent by default 2018-10-31 22:38:19 +00:00
sys Regent after r340034: Use mode_t when the documented signature does. 2018-11-01 23:10:53 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests
tools Only call sigdeferstop() for NFS. 2018-10-23 21:43:41 +00:00
ufs Implement O_BENEATH and AT_BENEATH. 2018-10-25 22:16:34 +00:00
vm Revert r336984. 2018-10-30 22:40:40 +00:00
x86 Add pci_early function to detect Intel stolen memory. 2018-10-31 23:17:00 +00:00
xdr
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile