[Bug 282995] mountd doesn't limit export with -alldirs

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 27 Nov 2024 22:03:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282995

Rick Macklem <rmacklem@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rmacklem@FreeBSD.org
           Assignee|bugs@FreeBSD.org            |rmacklem@FreeBSD.org

--- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 255500
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=255500&action=edit
Make mountd check for a mount point when -alldirs is specified

This patch adds a check that the directory path
in the exports line is a mount point when the
-alldirs export option is specified.

This semantic has not been enforced since releng1,
but is documented in the Examples section of exports(5).

I am waiting for feedback on freebsd-current@ w.r.t.
how I should proceed w.r.t. fixing this.

If the reporter can test this patch, that would be appreciated.

-- 
You are receiving this mail because:
You are the assignee for the bug.