CVS commit: src/usr.sbin/mountd

2021-06-05 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Jun  5 08:26:34 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
Fix typo, its the element not the array ...


To generate a diff of this commit:
cvs rdiff -u -r1.136 -r1.137 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jun  4 10:46:57 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
Change get_exportlist() to collect all exports and emit all
exports for a single mount in one call to nfssvc(2).

Should finally fix PR kern/5844 (NFS server sends "permission denied"
while mound re-read exports).


To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2021-06-04 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Fri Jun  4 10:46:01 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
Restructure do_nfssvc() and simplify the left cases GT_HOST and GT_NET.

Add a helper add_export_arg() that emits a single export_args item and
does the IPv6 check.
Always use the path of the mount point for the export.


To generate a diff of this commit:
cvs rdiff -u -r1.134 -r1.135 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Feb 16 10:01:55 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.8

Log Message:
Reword slightly.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/mountd/mountd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Feb 16 10:00:27 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.8 mountd.c

Log Message:
Add support for multiple exports files. This will be useful for example for
ZFS, where we have an automatically generated /etc/zfs/exports file, which
should not be edited directly.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 src/usr.sbin/mountd/mountd.8
cvs rdiff -u -r1.133 -r1.134 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2021-02-16 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Tue Feb 16 09:58:35 UTC 2021

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
Split get_exportlist() into get_exportlist() and get_exportlist_one()
in preparation to support multiple input files.

No functional change intended.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2020-04-22 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Thu Apr 23 00:22:01 UTC 2020

Modified Files:
src/usr.sbin/mountd: get_net.c mountd.c mountd.h

Log Message:
Rename debug to mountd_debug to avoid overlap in rump tests


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/mountd/get_net.c
cvs rdiff -u -r1.130 -r1.131 src/usr.sbin/mountd/mountd.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/mountd/mountd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2016-12-24 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Sat Dec 24 08:26:57 UTC 2016

Modified Files:
src/usr.sbin/mountd: mountd.8

Log Message:
Remove xref to signal(7).

As noted by wiz, it is probably not a good idea to mention signal(7) in SEE ALSO
every time a signal name is used in a man page.


To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/mountd/mountd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2016-12-22 Thread Abhinav Upadhyay
Module Name:src
Committed By:   abhinav
Date:   Thu Dec 22 09:44:56 UTC 2016

Modified Files:
src/usr.sbin/mountd: mountd.8

Log Message:
Add xrefs to ipsec_set_policy(3) and signal(7)


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/usr.sbin/mountd/mountd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2015-12-28 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Tue Dec 29 04:30:43 UTC 2015

Modified Files:
src/usr.sbin/mountd: mountd.h

Log Message:
Add missing $NetBSD$ tag, and copy License/Copyright from mountd.c

OK christos@


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/mountd/mountd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2015-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec 24 01:41:19 UTC 2015

Modified Files:
src/usr.sbin/mountd: get_net.c

Log Message:
fix comment, from kre


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/mountd/get_net.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2015-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Dec 24 01:41:27 UTC 2015

Modified Files:
src/usr.sbin/mountd: mountd.h

Log Message:
fix whitespace


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/mountd/mountd.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2015-12-23 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Dec 23 16:19:49 UTC 2015

Modified Files:
src/usr.sbin/mountd: Makefile mountd.c
Added Files:
src/usr.sbin/mountd: get_net.c mountd.h

Log Message:
Split out get_net function so that it is easily testable. Restore
functionality where 1.2.3/24 -> 1.2.3.0/24 not 1.2.0.3/24 now that
getaddrinfo(3) parses old-style incomplete dotted quads as old
style addresses.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/mountd/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.sbin/mountd/get_net.c \
src/usr.sbin/mountd/mountd.h
cvs rdiff -u -r1.128 -r1.129 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2015-11-08 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sun Nov  8 21:03:16 UTC 2015

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
Again copying code is bad; the second copy of mountd was completely stale.


To generate a diff of this commit:
cvs rdiff -u -r1.127 -r1.128 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2015-08-05 Thread John Nemeth
Module Name:src
Committed By:   jnemeth
Date:   Wed Aug  5 23:23:47 UTC 2015

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
PR/50125 - Jarle Greipsland -- Incorrect PID in /var/run/mountd.pid

Move call to pidfile() after daemon() so that correct (child) pid is
written to pidfile.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2014-04-04 Thread Andreas Gustafsson
Module Name:src
Committed By:   gson
Date:   Fri Apr  4 12:45:59 UTC 2014

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
When daemonizing, delay the parent exit until the daemon is ready to
provide service.  Fixes a race that is a third possible cause of
PR misc/48282, in addition to the ones in rpc.rquotad and nfsd that
were fixed earlier.


To generate a diff of this commit:
cvs rdiff -u -r1.125 -r1.126 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2012-08-26 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun Aug 26 14:50:45 UTC 2012

Modified Files:
src/usr.sbin/mountd: exports.5

Log Message:
Dots as macro arguments need quoting.
Bug reported by Paul Goyette.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/mountd/exports.5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2011-11-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Nov  2 20:27:33 UTC 2011

Modified Files:
src/usr.sbin/mountd: mountd.8

Log Message:
Spelling.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/mountd/mountd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2011-11-02 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Nov  2 20:26:56 UTC 2011

Modified Files:
src/usr.sbin/mountd: mountd.8

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/usr.sbin/mountd/mountd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2011-11-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov  2 18:12:55 UTC 2011

Modified Files:
src/usr.sbin/mountd: mountd.8

Log Message:
mention macos/x needing -N


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/mountd/mountd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2011-11-02 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Wed Nov  2 18:09:44 UTC 2011

Modified Files:
src/usr.sbin/mountd: mountd.8 mountd.c

Log Message:
Don't document long defunct flags


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/usr.sbin/mountd/mountd.8
cvs rdiff -u -r1.122 -r1.123 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/mountd

2011-08-30 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Aug 30 20:00:58 UTC 2011

Modified Files:
src/usr.sbin/mountd: mountd.c

Log Message:
ANSIfy. Use __dead.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/usr.sbin/mountd/mountd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.