freebsd-src/usr.sbin/mountd
Rick Macklem 3df987c99d mountd: Add check for "=" after exports(5) options
Some exports(5) options take a "=arg" component that provides an
argument value for the option.  Others do not.
Without this patch, if "=arg" was provided for an option that did
not take an argument value, the "=arg" was simply ignored.
This could result in confusion w.r.t. what was being exported,
as noted by the Problem Report.

This patch adds a check for "=arg" for the options that do not
take an argument value and fails the exports line if one is found.

PR:	281003
MFC after:	 2 weeks
2024-09-06 16:41:12 -07:00
..
exports.5 exports.5: Clarify that exported dirs should be local mount points 2024-04-16 18:27:02 -04:00
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
mountd.8 mountd.8: Update the man page for -N and -s 2024-07-11 12:50:46 -07:00
mountd.c mountd: Add check for "=" after exports(5) options 2024-09-06 16:41:12 -07:00
netgroup.5 usr.sbin: Remove ancient SCCS tags. 2023-11-26 22:23:56 -07:00
pathnames.h usr.sbin: Remove ancient SCCS tags. 2023-11-26 22:23:56 -07:00