1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/usr.sbin/mountd
Rick Macklem 132f5d03d3 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
(cherry picked from commit 3df987c99d)
2024-09-27 15:18:46 -07:00
..
exports.5 exports.5: Add RFC number for NFS over TLS 2024-04-13 18:15:46 -07:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-23 11:43:30 -06:00
mountd.8 Remove $FreeBSD$: one-line nroff pattern 2023-08-23 11:43:32 -06:00
mountd.c mountd: Add check for "=" after exports(5) options 2024-09-27 15:18:46 -07:00
netgroup.5 Remove $FreeBSD$: one-line nroff pattern 2023-08-23 11:43:32 -06:00
pathnames.h Remove $FreeBSD$: one-line .h pattern 2023-08-23 11:43:22 -06:00