Home | History | Annotate | Download | only in rpc
History log of /src/lib/libc/rpc/svc_fdset.c
RevisionDateAuthorComments
 1.17  06-May-2025  riastradh libc: Fix _REENTRANT build.

This svc_fdset.c has some pretty heinous abuse of thread_key_t, but
I'll pretend I didn't see that for now so I don't have to wade
further into the sunrpc business.

Prompted by:

PR lib/59401: libc: thr_sigsetmask definition is incoherent
PR lib/59391: unnecessary __PIC__ conditionals clutter .S files
 1.16  18-Apr-2017  maya branches: 1.16.24;
avoid calloc(1,0).
from clang static analyzer

ok christos
 1.15  10-Nov-2015  christos branches: 1.15.2; 1.15.4;
fix compilation/lint
 1.14  10-Nov-2015  christos CID 1338520: Check NULL
CID 1338521: Fix error (realloc returns different pointer)
 1.13  10-Nov-2015  christos CID 1338517: Check negative returns
 1.12  08-Nov-2015  christos Add debugging for pollfd
 1.11  08-Nov-2015  christos Only do the compat cruft if we are compiling libc.
 1.10  07-Nov-2015  christos initialize revents too.
 1.9  07-Nov-2015  christos PR/50408: Pedro Giffuni: Provide a way for rpc to use poll(2) instead of
select(2), and the linux svc_pollfd and svc_maxpollfd members. Our select(2)
implementation does not suffer from the FD_SETSIZE limitation so this is
not turned on by default.
 1.8  07-Nov-2015  christos spell reserved.
 1.7  07-Nov-2015  christos Put back NULL tests for allocation failures.
 1.6  07-Nov-2015  christos simplify more.
 1.5  07-Nov-2015  christos Introduce a binary compatible __fd_set_256 that is what the original fdset
size was for libc. Now we can bump it.
 1.4  06-Nov-2015  christos Cleanup and simplify.
undef svc_fdset and svc_maxfd to get to the real data for the compat code.
 1.3  06-Nov-2015  joerg Don't use macros as types or variable names.
 1.2  06-Nov-2015  christos - Provide multi-threaded fdset's for everyone not just rump if requested.
- Abstract fd_set access, and don't limit the fd_set size.
- Maintain binary compatibility by keeping the old global variables around.
 1.1  05-Mar-2013  christos branches: 1.1.4; 1.1.10;
make this usable from RUMP
 1.1.10.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.10.1  05-Mar-2013  yamt file svc_fdset.c was added on branch yamt-pagecache on 2014-05-22 11:36:53 +0000
 1.1.4.2  23-Jun-2013  tls resync from head
 1.1.4.1  05-Mar-2013  tls file svc_fdset.c was added on branch tls-maxphys on 2013-06-23 06:21:05 +0000
 1.15.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.15.2.1  26-Apr-2017  pgoyette Sync with HEAD
 1.16.24.1  02-Aug-2025  perseant Sync with HEAD

RSS XML Feed