History log of /src/usr.sbin/rpcbind/rpcbind.c |
Revision | | Date | Author | Comments |
1.31 |
| 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.30 |
| 07-Mar-2021 |
christos | - Enable WARMSTART - Pass fd to libwrap - Add blocklist From Greg A. Woods
- Tidy up debugging
|
1.29 |
| 17-Jun-2020 |
kamil | Include explicitly <rump/rump_syscallshotgun.h> for previous indirect users via <rump/rump.h>.
|
1.28 |
| 13-May-2019 |
christos | Don't pass an uinitialized pm_prot to rpcinfo. It expects 0 for local, so give it 0.
|
1.27 |
| 03-Jan-2019 |
christos | check strdup results too include the function name in out of memory messages
|
1.26 |
| 03-Jan-2019 |
christos | Handle memory allocations and error exit codes consistently.
|
1.25 |
| 21-Aug-2017 |
christos | branches: 1.25.2; 1.25.4; don't lock for RUMP
|
1.24 |
| 16-Aug-2017 |
christos | 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.23 |
| 08-Nov-2015 |
christos | merge RUMP changes.
|
1.22 |
| 09-May-2015 |
christos | use EXIT_SUCCESS/EXIT_FAILURE consistently.
|
1.21 |
| 09-May-2015 |
dholland | check setrlimit too
|
1.20 |
| 09-May-2015 |
christos | CID 1009289: Check getrlimit
|
1.19 |
| 19-Oct-2013 |
christos | fix unused variable warnings.
|
1.18 |
| 31-Aug-2011 |
plunky | branches: 1.18.2; 1.18.8; NULL does not need a cast
|
1.17 |
| 31-Aug-2011 |
joerg | Use __dead
|
1.16 |
| 14-Mar-2011 |
pooka | remove unnecessary superuser check -- bind will fail if bind fails
|
1.15 |
| 27-Aug-2007 |
dsl | Depracate ND_DEBUG and BIND_DEBUG in favour of RPCBIND_DEBUG. Add commented out entries for RPCBIND_DEBUG and SVC_RUN_DEBUG in Makefile.
|
1.14 |
| 04-Jun-2007 |
christos | branches: 1.14.4; PR/36440: Martin Husemann: rpcbind complains about non-errors. Don't complain about EAFNOSUPPORT.
|
1.13 |
| 16-May-2007 |
christos | deal with namespace pollution caused by tcpd.
|
1.12 |
| 13-May-2007 |
christos | PR/36319: Michael van Elst: rpcinfo -p requires root privileges Explicitly chmod 777 the local socket.
|
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 |
| 13-May-2007 |
christos | PR/36313: Juergen Hannken-Illjes: Change the name "rpcbind" to "sunrpc" which is used in the new services.
|
1.9 |
| 14-Jun-2006 |
ginsbach | branches: 1.9.4; 1.9.6; Adapt rpcbind(8) to new return value from socket(2) for unsupported address families.
|
1.8 |
| 25-May-2006 |
christos | Coverity CID 2294: Fix memory leak. While here remove some bogus casts.
|
1.7 |
| 20-May-2004 |
martin | branches: 1.7.2; Decrease log severity to debug if a protocol is not supported by the kernel. This avoids "rpcbind: cannot create socket for tcp6" messages at startup on IPv4-only kernels.
|
1.6 |
| 29-Oct-2003 |
fvdl | branches: 1.6.2; Make a v6 socket v6-only, since rpcbind does host-based checking (all NFS code already did this).
|
1.5 |
| 21-Oct-2003 |
fvdl | Don't pass NULL as an integer.
|
1.4 |
| 13-Jul-2003 |
itojun | use bounded string op
|
1.3 |
| 08-Nov-2002 |
fvdl | Use a non-blocking SVC for TCP connections.
|
1.2 |
| 11-Jan-2001 |
lukem | branches: 1.2.2; don't use LOG_CONS
|
1.1 |
| 02-Jun-2000 |
fvdl | branches: 1.1.4; 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.4.2 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.1.4.1 |
| 02-Jun-2000 |
minoura | file rpcbind.c was added on branch minoura-xpg4dl on 2000-06-22 18:01:12 +0000
|
1.2.2.1 |
| 06-Jan-2003 |
jmc | Pull up revisions 1.2-1.3 (requested by fvdl in ticket #1037) Use a non-blocking SVC for TCP connections.
|
1.6.2.1 |
| 30-May-2004 |
tron | Pull up revision 1.7 (requested by martin in ticket #414): Decrease log severity to debug if a protocol is not supported by the kernel. This avoids "rpcbind: cannot create socket for tcp6" messages at startup on IPv4-only kernels.
|
1.7.2.1 |
| 15-Oct-2007 |
riz | Pull up following revision(s) (requested by christos in ticket #1861): usr.sbin/rpcbind/rpcbind.c: revision 1.12 PR/36319: Michael van Elst: rpcinfo -p requires root privileges Explicitly chmod 777 the local socket.
|
1.9.6.1 |
| 04-Jun-2007 |
wrstuden | Update to today's netbsd-4.
|
1.9.4.1 |
| 23-May-2007 |
riz | Pull up following revision(s) (requested by christos in ticket #651): usr.sbin/rpcbind/rpcbind.c: revision 1.12 PR/36319: Michael van Elst: rpcinfo -p requires root privileges Explicitly chmod 777 the local socket.
|
1.14.4.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.18.8.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.18.2.1 |
| 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.25.4.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.25.2.1 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|