summaryrefslogtreecommitdiffstats
path: root/support/nfs/rpcmisc.c
Commit message (Collapse)AuthorAgeFilesLines
* See Changelogneilbrown2003-02-191-2/+2
|
* 2002-09-15 Chip Salzenberg <chip@pobox.com>chip2002-09-161-3/+2
| | | | | | * support/nfs/rpcmisc.c (rpc_init): Allow stdin to be a non-INET socket, as occurs when run from sshd. * debian/changelog: Version 1.0.2-1.
* 2002-09-12 H.J. Lu <hjl@lucon.org>hjl2002-09-121-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2001-04-01 Chip Salzenberg <chip@valinux.com>chip2001-04-021-1/+0
| | | | | | | * tools/rpcgen/rpc_svcout.c (write_timeout_func): Remove redundant, and sometimes broken, declaration of svc_fdset; it may be a macro. * support/nfs/rpcmisc.c (closedown): Likewise.
* 2001-03-21 H.J. Lu <hjl@lucon.org>hjl2001-03-211-4/+2
| | | | | | | | | | | | | | | | | | | | | | * nfs-utils.spec: Regenerated. (Release): Set to 3. 2001-03-21 Ion Badulescu <ionut@cs.columbia.edu> * utils/statd/statd.c (main): make sure file descriptors 0-2 are open to /dev/null. 2001-03-21 H.J. Lu <hjl@lucon.org> * support/nfs/rpcmisc.c: Restore the change made on 2001-03-10. * support/nfs/rpcmisc.c: Likewise. * utils/rquotad/rquota_svc.c: Likewise. * utils/rquotad/rquotad.man: Likewise. * utils/statd/Makefile: Likewise. * utils/statd/rmtcall.c: Likewise. * utils/statd/simulate.c: Likewise. * utils/statd/statd.c: Likewise. * utils/statd/statd.man: Likewise.
* 2001-03-11 H.J. Lu <hjl@lucon.org>hjl2001-03-121-2/+4
| | | | | | | | | | | | * support/include/rpcmisc.h: Undo the change made on 2001-03-10. * support/nfs/rpcmisc.c: Likewise. * utils/rquotad/rquota_svc.c: Likewise. * utils/rquotad/rquotad.man: Likewise. * utils/statd/Makefile: Likewise. * utils/statd/rmtcall.c: Likewise. * utils/statd/simulate.c: Likewise. * utils/statd/statd.c: Likewise. * utils/statd/statd.man: Likewise.
* 2001-03-10 Tavis Barr <tavis@boole.isetr.columbia.edu>hjl2001-03-111-4/+2
| | | | | | | | | | | | | | | | | * utils/rquotad/rquotad.man: Updated for -p. * utils/statd/statd.man: Likewise. 2001-03-10 Ion Badulescu <ionut@cs.columbia.edu> * support/nfs/rpcmisc.[ch]: export makesock() * utils/statd/statd.c: added longopts, added support for specifying the port to bind to on the command line. * utils/statd/statd.c: ditto, also specify port used for outgoing connections. * utils/statd/Makefile (LIBS): link with our own libnfs
* 2001-02-14 H.J. Lu <hjl@lucon.org>hjl2001-02-151-0/+1
| | | | * support/nfs/rpcmisc.c: Include <time.h>.
* 2001-02-02 H.J. Lu <hjl@lucon.org>hjl2001-02-111-7/+9
| | | | | | | | | | | | * support/include/rpcmisc.h (rpc_init): Remove bufsize. * support/nfs/rpcmisc.c (makesock): Remove socksz and comment out SO_SNDBUF/SO_RCVBUF. (rpc_init): Remove bufsize and remove socksz in calls to makesock (). * utils/mountd/mountd.c (main): Remove bufsize in calls to rpc_init ().
* 2000-11-09 H.J. Lu <hjl@lucon.org>hjl2000-11-091-1/+1
| | | | | | | | | | | | * etc/redhat/nfs.init (start): Pass --no-tcp to mountd if TCP is not supported by kernel. * support/nfs/rpcmisc.c (rpc_init): Don't set _rpcfdtype to 0. * utils/mountd/mountd.c (longopts): Add "-n/--no-tcp". (main): Set to _rpcfdtype to SOCK_DGRAM for "-n/--no-tcp". * utils/mountd/mountd.man: Updated for "-n/--no-tcp".
* Really(!) finish the port-sharing diff.chip2000-04-301-2/+4
|
* Really reuse ports, even when mountd is run without '-p'.chip2000-04-301-2/+2
|
* Conserve sockets: Reuse RPC transports.chip2000-03-131-8/+26
|
* Initial revisionhjl1999-10-181-0/+230