summaryrefslogtreecommitdiff
path: root/lib/libc/gmon
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2022-01-21 16:18:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2022-01-21 16:18:17 +0000
commit948e6b7d179561f7f7a2fb75f5e2eaaee9e7d39d (patch)
tree073b0ad519abebd3894dfd6b12b78c82478871f6 /lib/libc/gmon
parentf8547beb5ca95bae25874eb43400333a598c21ab (diff)
In 1999 fd_set overflowing beyond FD_SETSIZE became enough of a problem that I
changed the entire tree to use fd_set allocation, and this manpage documented the "calloc(howmany(max+1, NFDBITS), sizeof(fd_mask))" idiom. Since then we completed converting the entire tree to poll(2), for many reasons, even ssh/sshd. Now the use of kernel-only sys/param.h-found howmany() and related macross grate on me, so it is time to recommend use of poll(2) instead. [On a related note, MacOS poll(2) is been dangerously broken for many years; that is their problem to handle as the whole ecosystem joins us in pivoting select -> poll) ok millert
Diffstat (limited to 'lib/libc/gmon')
0 files changed, 0 insertions, 0 deletions