| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
work more sensibly.
|
| |
|
|
|
|
|
| |
* support/nfs/xlog.c (xlog): Fix off-by-one buffer overflow bug.
* debian/changelog: Version 1.0.3-2.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* support/include/exportfs.h (export_errno): New.
* support/nfs/exports.c: Include <errno.h>.
(export_errno): New.
(getexportent): Set export_errno to EINVAL for bad option.
(parseopts): Likewise.
Report the location of the default sync/async option.
* utils/exportfs/exportfs.c (main): Initialize export_errno to
0. Return export_errno.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* support/nfs/svc_socket.c: Remove HAVE_SVCTCP_SOCKET and
HAVE_SVCUDP_SOCKET.
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: Remove checking svctcp_socket and svcudp_socket.
* configure: Regenerated.
* support/include/config.h.in (HAVE_SVCTCP_SOCKET): Removed.
(HAVE_SVCUDP_SOCKET): Removed.
* support/include/nfslib.h: Undo the last change.
|
|
|
|
|
|
| |
* support/include/nfslib.h (svctcp_socket): Protect it with
HAVE_SVCTCP_SOCKET.
(svcudp_socket): Protect it with HAVE_SVCUDP_SOCKET.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* support/export/nfsctl.c (expsetup): Don't export entries that
specify id mappings not supported by the kernel. No extant kernel
supports any significant mapping, only 'identity' (i.e. none).
When other mappings are supported, this code will need changing.
* debian/changelog: Version 1.0-2.
|
| |
|
| |
|
|
|
|
|
| |
* support/nfs/xio.c (xskip): Call `xungetc' instead of
`ungetc' to keep x_line more properly.
|
|
|
|
|
|
|
|
|
|
| |
* utils/showmount/showmount.c (main): Don't assume that strings
starting with digits are IP addresses.
* utils/nfsd/nfsd.c (main): Close all fds and reopen 0,1,2 on
/dev/null before nfssvc(). Use syslog to report nfssvc errors.
* support/misc/tcpwrapper.c, utils/mountd/mountd.man,
utils/rquotad/rquotad.man, utils/statd/statd.man: Fix comments and
man pages: We check host names *and* addresses with tcpwrappers.
|
|
|
|
|
| |
* support/nfs/exports.c (parseopts): Accept old-style
"crossmnt" option, for old xtabs.
|
|
|
|
|
|
|
|
|
| |
* support/nfs/clients.c (cfname): Added: current clients file name.
(setnfsclntent): Set it.
({get,end}nfsclntent, syntaxerr): Use it.
* support/nfs/exports.c (efname): Added: current exports file name.
(setnfsexportent): Set it.
(endnfsexportent, parseopts, getexport, syntaxerr): Use it.
|
| |
|
|
|
|
| |
for all exports
|
|
|
|
|
|
|
|
|
| |
* support/nfs/exports.c (putexportent): \octal quote any spaces
etc in a path name
* support/nfs/xio.c (xgettok): recognise double-quote and
\octal quoting in path names
* utils/exportfs/exports.man: document quoting conventions
for path names
|
|
|
|
|
|
|
|
|
|
| |
* support/export/client.c (client_check): Check IP address
againet netgroup.
2001-05-06 Neil Brown <neilb@cse.unsw.edu.au>
* support/export/client.c (client_gettype): Treat `*' as
MCL_ANONYMOUS.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* support/nfs/rpcmisc.c: Include <time.h>.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 ().
|
|
|
|
|
|
|
|
| |
* support/include/xio.h (xgetc): Declare to return int.
* support/nfs/xio.c (xgetc): Return int.
(xgettok, xskip, xskipcomment): Use int for value of xgetc.
* utils/statd/statd.c (main): Use int for value of getopt.
* debian/changelog: Version 0.2.1-5.
|
|
|
|
| |
* support/nfs/xio.c (xfopen): Initialize x_line to one, not zero.
|
|
|
|
|
|
| |
options without hostname, as this is probably a typo.
NeilBrown
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
| |
* support/export/client.c (client_init): Support CIDR netmask
in /etc/exports.
|
|
|
|
| |
* support/misc/tcpwrapper.c (logit): Modify the log output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* utils/rquotad/rquotad.man, utils/statd/statd.man,
utils/mountd/mountd.man: updated
* utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
* utils/rquotad/Makefile: fix comment
* support/misc/tcpwrapper.c (logit): added comment about waiting
for the children after fork()
* utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
zombies behind (from logit()'s fork)
* utils/rquotad/rquota_svc.c (main): ditto
* utils/statd/statd.c (main): ditto
* utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
to check_default instead of 0, for prognum
* utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
to check_default instead of 0, for prognum
* utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
HAVE_TCP_WRAPPER is defined.
(mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
defined. Reject an RPC call if check_default () fails.
|