freebsd-dev/lib
Bill Paul ef8f52ad53 'Fix' for esoteric misfeature discovered while searching for another bug:
select() returns EINVAL if you try to feed it a value of FD_SETSIZE greater
that 256. You can apparently adjust this by specifying a larger value of
FD_SETSIZE when configuring your kernel. However, if you set the maximum
number of open file descriptors per process to some value greater than
the FD_SETSIZE value that select() expects, many selects() within the RPC
library code will be botched because _rpc_dtablesize() will return
invalid numbers. This is to say that it will return the upper descriptor
table size limit which can be much higher than 256. Unless select() is
prepared to expect this 'unusually' high value, it will fail. (A good
example of this can be seen with NIS enabled: if you type 'unlimit' at
the shell prompt and then run any command that does NIS calls, you'll
be bombarded with errors from clnttcp_create().)

A temporary fix for this is to clamp the value returned by _rpc_dtablesize()
at FD_SETSIZE (as defined in <sys/types.h> (256)). I suppose the Right
Thing would be to provide some mechanism for select() to dynamically
adjust itself to handle FD_SETSIZE values larger than 256, but it's a
bit late in the game for that. Hopefully 256 file descriptors will be enough
to keep RPC happy for now.
1995-04-04 05:53:22 +00:00
..
csu/i386 Install the dlopen.3 manpage. 1995-03-30 06:40:31 +00:00
libc 'Fix' for esoteric misfeature discovered while searching for another bug: 1995-04-04 05:53:22 +00:00
libcom_err Don't call _doprnt, which doesn't exist; use vfprintf. 1995-01-23 22:53:12 +00:00
libcompat add a couple of missing #include lines 1995-03-19 07:00:52 +00:00
libcrypt Install shared libraries in ${DESTDIR}${SHLIBDIR} instead of in 1994-11-14 06:44:45 +00:00
libcurses Use __tty_fileno instead of STDERR_FILENO when detecting window size 1995-03-28 22:20:19 +00:00
libedit Add LDADD+= -ltermcap 1994-10-12 02:06:02 +00:00
libf2c Remove z_abs. It is already in libm.a 1994-11-11 12:58:12 +00:00
libF77 Library for f2c (part 2 of 2) 1994-10-26 18:17:41 +00:00
libforms Tweak a few things just to show how form traversal might work fully. 1995-03-28 10:42:09 +00:00
libI77 Library for f2c. (part 1 of 2) 1994-10-26 18:15:35 +00:00
libkvm Comment out declaration of kvm_uread until it can be fixed correctly. 1995-03-20 16:35:11 +00:00
libm Declare huge and tiny as volatile so that gcc doesn't evaluate huge*huge 1994-09-08 11:19:43 +00:00
libmd Clean a bunch of -Wall warnings. 1995-02-24 08:51:34 +00:00
libmytinfo Remove duplicates: parm rindex & scroll right 1995-03-27 05:13:31 +00:00
libncurses Fix bug using CSR for partial scrolling 1995-03-27 01:19:14 +00:00
libpam/modules In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c 1995-01-20 23:07:10 +00:00
libpcap Fix typo: pcap.h.h 1995-02-23 18:47:06 +00:00
libresolv BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
librpc Make up for the fact that rpc headers are now installed from include. 1994-08-05 01:59:40 +00:00
librpcsvc If we are going to set the OBJS target, don't add to the old target. This 1995-03-04 17:39:24 +00:00
libscsi Clean up handling of unspecified names. Clarify man page. 1995-01-26 23:48:41 +00:00
libskey Change strtok() to strsep(), strtok() usage is depricated 1995-03-24 17:27:22 +00:00
libss Remove private mkdir for /usr/include/ss, no handled by mtree. 1995-03-18 08:34:42 +00:00
libtelnet The big crypt removal - make libtelnet exportable. 1994-08-12 22:41:29 +00:00
libterm Correct the man page extent. 1994-08-08 19:26:23 +00:00
libtermcap Continue of previous fix: eliminate backslashes too. 1995-03-26 00:47:02 +00:00
libutil Fix suspended vipw hangs 1995-03-09 21:53:12 +00:00
liby BSD 4.4 Lite Lib Sources 1994-05-27 05:00:24 +00:00
msun Obtained from: NetBSD 1995-03-08 01:41:40 +00:00
ncurses/ncurses Add missing lib_window.c to SRCS 1995-02-13 17:23:18 +00:00
rpcsvc Makefile to build librpcsvc. (All sources automatically generated.) 1994-08-07 23:21:08 +00:00
Makefile msun becomes the default -lm the right way now. 1995-03-21 02:52:05 +00:00
Makefile.inc From 1.1.5: define default shared library versions. For 2.0, use version 1994-08-04 22:44:00 +00:00