aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2024-12-28 21:24:51 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2025-01-19 23:52:48 +0000
commitead3cd3ef628ab11e814eea7c673eb6407f96c55 (patch)
treefa7043bc97a936154f139bccf70c5ef6dea820ad /lib
parentf31dbc1c2dc54d1006186bca137b1c4ed2169f91 (diff)
mountd.c: Define a new -a command line option
Bugzilla PR#282995 reported that, when a file system was exported with the "-alldirs" flag, the export succeeded even if the directory path was not a server file system mount point. This behaviour for "-alldirs" was only documented in the Example section of exports(5) and had not been enforced since FreeBSD2. (A patch applied between FreeBSD1 and FreeBSD2 broke the check for file system mount point.) Since the behaviour of allowing the export has existed since FreeBSD2, the concensus on a mailing list was that it would be a POLA violation to change it now. Therefore, this patch adds a new "-a" mountd command line option to enforce a check for the exported directory being a server file system mount point. PR: 282995 (cherry picked from commit 07cd69e272da2f116950f2bde6dfcc404f869f0c)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions