]> git.decadent.org.uk Git - nfs-utils.git/commit
2002-09-12 H.J. Lu <hjl@lucon.org>
authorhjl <hjl>
Thu, 12 Sep 2002 21:06:16 +0000 (21:06 +0000)
committerhjl <hjl>
Thu, 12 Sep 2002 21:06:16 +0000 (21:06 +0000)
commit87fe487c6f5abe9f40f2f036c3cf6c7f02fa0385
tree15f6af17471f0fc489e236de98cf53fac64bf090
parent55ce21003ee0fb12fe5ef70909cdc8ce00b803e4
2002-09-12  H.J. Lu <hjl@lucon.org>

* configure.in: Check svctcp_socket and svcudp_socket.
* configure: Regenerated.

* support/include/config.h.in (HAVE_SVCTCP_SOCKET): New.
(HAVE_SVCUDP_SOCKET): New.

* support/include/nfslib.h (svctcp_socket): New.
(svcudp_socket): New.

* support/nfs/Makefile (OBJS): Add svc_socket.o.

* support/nfs/svc_socket.c: New.

* support/nfs/rpcmisc.c (rpc_init): Call svctcp_socket and
svcudp_socket if port is unspecified.

* utils/nfsd/nfsd.c (main): Call getservbyname for port.

* utils/rquotad/rquota_svc.c: Include <nfslib.h>.
(killer): New. Signal handler to unregister.
(main): Use killer. Call svcudp_socket to get the default
socket.
ChangeLog
configure
configure.in
support/include/config.h.in
support/include/nfslib.h
support/nfs/Makefile
support/nfs/rpcmisc.c
utils/nfsd/nfsd.c
utils/rquotad/rquota_svc.c