Home | History | Annotate | Download | only in rpcbind
History log of /src/usr.sbin/rpcbind/rpcb_svc_com.c
RevisionDateAuthorComments
 1.28  09-Feb-2024  andvar fix spelling mistakes, mainly in comments and log messages.
 1.27  30-Oct-2021  nia rpcbind(8): restore previous behaviour. Wait instead of breaking from
the loop if svc_fdset_getmax fails.

thanks rin.
 1.26  30-Oct-2021  nia rpcbind(8): Use reallocarr, fix reallocation logic.

In my_svc_run(), only update the fd count _after_ the allocation
succeeds (which may be after waiting in the loop). This function
previously tried to go to a label that doesn't exist. I wonder why
GCC didn't catch this before but does now.
 1.25  13-Apr-2021  mrg avoid potential uninitialised variable use.
 1.24  07-Mar-2021  christos - Enable WARMSTART
- Pass fd to libwrap
- Add blocklist
From Greg A. Woods

- Tidy up debugging
 1.23  17-Jun-2020  kamil Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users
via <rump/rump.h>.
 1.22  03-Jan-2019  christos check strdup results too
include the function name in out of memory messages
 1.21  03-Jan-2019  christos Handle memory allocations and error exit codes consistently.
 1.20  16-Aug-2017  christos branches: 1.20.2; 1.20.4;
merge FreeBSD changes:
- fixes CVE-2015-7236
- adds -h hostip to bind, -6 for only ipv6 access, -a for abort gracefully
- documents -w (warmstart)
XXX: should fix warmstart file to go to /var/run instead of /tmp
 1.19  03-May-2017  christos Limit size of buffer:
https://github.com/guidovranken/rpcbomb/blob/master/rpcbind_patch.txt
XXX: pullup-7
 1.18  10-Nov-2015  christos branches: 1.18.6;
CID 1338514: Check NULL returns
 1.17  08-Nov-2015  christos merge RUMP changes.
 1.16  31-Aug-2011  plunky NULL does not need a cast
 1.15  31-Aug-2011  joerg Use __dead
 1.14  18-Jan-2009  lukem fix -Wsign-compare issues
 1.13  27-Aug-2007  dsl This code has been broken for ~ 20 years!
Initialise the 'fromlen' parameter for recvfrom() prior to the call, instead
of passing in a 'random' value off the stack.
This should fix the problems with ypbind on current.
I suspect the old kernel was not objecting to -ve buffer lengths.
 1.12  16-May-2007  christos branches: 1.12.4;
deal with namespace pollution caused by tcpd.
 1.11  13-May-2007  christos - WARNS = 4
- De __P
- While starting up, send messages to stderr not syslog.
- Fix error messages
- Don't play with umask and forget to restore it on error
 1.10  21-Oct-2003  fvdl branches: 1.10.16; 1.10.18;
Don't compare a char to NULL.
 1.9  08-Nov-2002  fvdl Use a non-blocking SVC for TCP connections.
 1.8  23-Sep-2002  mycroft null commit
 1.7  23-Sep-2002  itojun poll.h, not sys/poll.h
 1.6  03-Aug-2000  fvdl branches: 1.6.2;
Do not check unitialized variables as error values. This is generally
frowned upon, or so I hear.
 1.5  22-Jun-2000  fvdl branches: 1.5.2;
Plug memory leak in error case (would have happened very rarely).
 1.4  22-Jun-2000  fvdl Make sure that freeing the temporary buffer always happens; previous
commit would still result in a leak.
 1.3  22-Jun-2000  fvdl Plug a few memory leaks.
 1.2  20-Jun-2000  fvdl Free buffer used in xdrmem_create.
 1.1  02-Jun-2000  fvdl branches: 1.1.2;
rpcbind, the successor to portmap. Taken from Sun TI-RPC source code,
then modified. This still contains some ugly special casing for
procedures in the security section, but I haven't found a nicer way
so far.
 1.1.2.2  05-Aug-2000  fvdl Pull up version 1.6:
Do not check unitialized variables as error values. This is generally
frowned upon, or so I hear.
 1.1.2.1  23-Jun-2000  hannken Pull up revisions 1.1-1.5:
- Fix memory leaks.
 1.5.2.2  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.5.2.1  22-Jun-2000  minoura file rpcb_svc_com.c was added on branch minoura-xpg4dl on 2000-06-22 18:01:12 +0000
 1.6.2.1  06-Jan-2003  jmc Pull up revisions 1.8-1.9 (requested by fvdl in ticket #1037)
Use a non-blocking SVC for TCP connections.
 1.10.18.1  03-Sep-2007  wrstuden Sync w/ NetBSD-4-RC_1
 1.10.16.1  28-Aug-2007  liamjfoy Pull up following revision(s) (requested by dsl in ticket #840):
usr.sbin/rpcbind/rpcb_svc_com.c: revision 1.13
Initialise the 'fromlen' parameter for recvfrom() prior to the call, instead
of passing in a 'random' value off the stack.
This should fix the problems with ypbind on current.
 1.12.4.1  06-Nov-2007  matt sync with HEAD
 1.18.6.1  11-May-2017  pgoyette Sync with HEAD
 1.20.4.1  10-Jun-2019  christos Sync with HEAD
 1.20.2.1  18-Jan-2019  pgoyette Synch with HEAD

RSS XML Feed