christos
b766bbedd5
don't lock for RUMP
2017-08-21 17:01:04 +00:00
christos
34b7ffd922
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
2017-08-16 08:44:40 +00:00
christos
1e8cf51077
merge RUMP changes.
2015-11-08 16:36:28 +00:00
christos
f4ad1a1253
use EXIT_SUCCESS/EXIT_FAILURE consistently.
2015-05-09 21:22:18 +00:00
dholland
c0ca3685e5
check setrlimit too
2015-05-09 18:22:37 +00:00
christos
7a74e96fe5
CID 1009289: Check getrlimit
2015-05-09 13:10:50 +00:00
christos
0a77b69ab6
fix unused variable warnings.
2013-10-19 17:16:37 +00:00
plunky
9f61b80465
NULL does not need a cast
2011-08-31 16:24:54 +00:00
joerg
bec77c5f43
Use __dead
2011-08-31 13:32:36 +00:00
pooka
8a0861f462
remove unnecessary superuser check -- bind will fail if bind fails
2011-03-14 12:03:45 +00:00
dsl
b504fee486
Depracate ND_DEBUG and BIND_DEBUG in favour of RPCBIND_DEBUG.
...
Add commented out entries for RPCBIND_DEBUG and SVC_RUN_DEBUG in Makefile.
2007-08-27 19:53:32 +00:00
christos
2219d66ee7
PR/36440: Martin Husemann: rpcbind complains about non-errors.
...
Don't complain about EAFNOSUPPORT.
2007-06-04 18:00:51 +00:00
christos
724513abed
deal with namespace pollution caused by tcpd.
2007-05-16 14:42:07 +00:00
christos
5b9bddf888
PR/36319: Michael van Elst: rpcinfo -p requires root privileges
...
Explicitly chmod 777 the local socket.
2007-05-13 21:19:56 +00:00
christos
de327a0164
- 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
2007-05-13 20:03:46 +00:00
christos
4ef5a01a14
PR/36313: Juergen Hannken-Illjes: Change the name "rpcbind" to "sunrpc"
...
which is used in the new services.
2007-05-13 13:38:29 +00:00
ginsbach
d59a581d86
Adapt rpcbind(8) to new return value from socket(2) for unsupported
...
address families.
2006-06-14 16:25:17 +00:00
christos
79fc501cb4
Coverity CID 2294: Fix memory leak.
...
While here remove some bogus casts.
2006-05-25 02:35:32 +00:00
martin
ad1c3f227e
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.
2004-05-20 12:22:23 +00:00
fvdl
e183d65fc4
Make a v6 socket v6-only, since rpcbind does host-based checking (all NFS
...
code already did this).
2003-10-29 17:51:33 +00:00
fvdl
c40a2514bd
Don't pass NULL as an integer.
2003-10-21 02:51:37 +00:00
itojun
d9f2774c1e
use bounded string op
2003-07-13 12:08:28 +00:00
fvdl
d4f83aa2bb
Use a non-blocking SVC for TCP connections.
2002-11-08 00:14:50 +00:00
lukem
cb4cea7120
don't use LOG_CONS
2001-01-11 02:44:03 +00:00
fvdl
d687de29c6
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.
2000-06-02 23:15:41 +00:00