| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
work more sensibly.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* utils/mountd/rmtab.c (slink_safe_rename): Fix off-by-one buffer
overflow bug. Reformat per rest of source file.
|
| |
|
|
|
|
|
|
| |
* utils/mountd/rmtab.c (slink_safe_rename): New. Support
symlink.
(mountlist_add): Call slink_safe_rename instead of rename.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
| |
* utils/rquotad/rquota_svc.c (main): Use int for value of getopt.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
| |
* utils/nfsd/nfsd.man: Fix typo.
* debian/changelog: Version 1.0.1-1.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* etc/redhat/nfs: New.
* etc/redhat/nfs.init: Updated.
* nfs-utils.spec.in: Updated.
* nfs-utils.spec: Regenerated.
* utils/mountd/mountd.c (longopts): Fix a typo.
* utils/mountd/mountd.man: Updated.
|
| |
|
| |
|
| |
|
|
|
|
| |
was TPing our indentation.
|
|
|
|
|
|
|
|
|
| |
* utils/exportfs/exports.man: Emphasize the need for options to
immediately follow client names. Explain that wildcards don't
usually work on addresses, but may work when reverse DNS fails.
* utils/mountd/mountd.man, utils/rquotad/rquotad.man,
utils/statd/statd.man: Remove refs to non-existent "hosts_allow(5)".
* debian/changelog: Version 0.3.3-6.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* utils/mountd/mountd.c (main): Close fds > 2 _before_ RPC init.
* debian/changelog: Version 0.3.3-2.
|
|
|
|
| |
* utils/mountd/mountd.c (main): When daemonizing, close all fds > 2.
|
|
|
|
|
|
| |
* utils/Makefile.in: Remove Makefile in target 'distclean'.
* utils/mountd/mountd.man: Update paths to /var/lib.
* debian/*: Version 0.3.3-1, with Debian-specific fixes.
|
| |
|
|
|
|
| |
* utils/nfsstat/nfsstat.man: Updated.
|
| |
|
| |
|
|
|
|
| |
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
|
|
|
|
|
|
| |
change from 2000-08-02: It causes problems if someone exports
to both a hostname and IP addresses. nfs-utils must be
consistant about the canonical name that it chooses.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
H.J. Lu <hjl@lucon.org>
* etc/redhat/nfslock.init (STATDARG): New. Pass it to rpc.statd.
* utils/statd/statd.c (longopts): Add "name".
(usage): Add "-n/--name".
(main): Set MY_NAME with "-n/--name".
* utils/statd/state.c (change_state): Set MY_NAME only if it
is NULL.
* utils/statd/statd.man: Updated for "-n/--name".
|
|
|
|
|
| |
* utils/rquotad/rquota_server.c: Don't call statfs () for
the block size. Use BLOCK_SIZE instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* config.mk.in (CC_FOR_BUILD): Renamed from BUILD_CC.
(CFLAGS_FOR_BUILD): New. Don't use @CFLAGS@.
* configure.in (enable_nfsv3): Set to yes by default.
(--enable-rquotad): Added
(AC_PROG_CXX): Removed.
(AC_OUTPUT): Add utils/Makefile.
(CC_FOR_BUILD): Renamed from BUILD_CC.
* configure: Regenerated.
* utils/Makefile: Removed.
* utils/Makefile.in: New.
* nfs-utils.spec.in (rquotad): New. Set to 0 to disable
rquotad.
(CC_FOR_BUILD): Renamed from BUILD_CC.
|
|
|
|
|
|
|
|
|
| |
* utils/mountd/mountd.c (longopts): Add "foreground/d".
(main): Support --foreground/-d to set the limit of the number
of open file descriptors.
(usage): Updated.
* utils/mountd/mountd.man: Updated for --foreground/-d.
|
|
|
|
|
|
|
| |
* utils/lockd/lockd.c (main): chdir to NFS_STATEDIR.
* utils/mountd/mountd.c (main): Likewise.
* utils/nfsd/nfsd.c (main): Likewise.
* utils/rquotad/rquota_svc.c (main): 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.
|