--- - branch: netbsd-8 date: Sun Mar 8 09:47:28 UTC 2020 files: - new: 1.40.2.1 old: '1.40' path: src/sys/kern/sys_select.c pathrev: src/sys/kern/sys_select.c@1.40.2.1 type: modified id: 20200308T094728Z.0e01a1263e9a0d509aae1e6bc50f1ab65fe4a903 log: "Pull up following revision(s) (requested by mlelstv in ticket #1515):\n\n\tsys/kern/sys_select.c: revision 1.42-1.45\n\nPR/54158: Anthony Mallet: poll(2) does not allow polling all possible fds\n(hardcoded limit to 1000 + #). Changed to limit by the max of\nthe resource limit of open descriptors and the above.\n\nRemove the slop code. Suggested by mrg@\n\nUse the max limit (aka maxfiles or the moral equivalent of OPEN_MAX) which\nmakes poll(2) align with the Posix documentation (which allows EINVAL if\nnfds > OPEN_MAX). From: Anthony Mallet\n\nAdd slop of 1000 and explain why.\n" module: src subject: 'CVS commit: [netbsd-8] src/sys/kern' unixtime: '1583660848' user: martin