freebsd-skq/usr.sbin/mountd
Rick Macklem c3f86a256c Attila Bogar reported a bug in mountd when multiple export
entries with different security flavors are in the exports(5)
file. For that case, mountd replies with the security flavors
of the last entry and not the correct one for the client host.
This patch fixes that by storing separate copies of the flavors
for each host/net case, plus a default one for the case where
no hosts/nets are specified on an entry in the exports(5) file.
Unlike the patch in the PR, it replies with the security flavors
for the entry instead of merging the security flavors for all
the entries and replying with that.

Tested by:	attila.bogar at linguamatics.com
PR:		kern/164933
MFC after:	2 weeks
2012-09-24 23:57:16 +00:00
..
exports.5 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
Makefile
mountd.8 Patch the mountd and nfsd man pages to reflect the recent changes 2011-04-24 01:11:28 +00:00
mountd.c Attila Bogar reported a bug in mountd when multiple export 2012-09-24 23:57:16 +00:00
netgroup.5
pathnames.h