HardenedBSD/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
Makefile Remove residual blank line at start of Makefile 2024-07-15 16:43:39 -06:00
Makefile.depend
mountd.8
mountd.c mountd: Add check for "=" after exports(5) options 2024-09-06 16:41:12 -07:00
netgroup.5
pathnames.h