Created attachment 148396 [details]
new option to restrict exports in mountd
Currently mountd will return all entries for exports and dump requests. In some cases it is desirable for these to be restricted to only authorized hosts or completely hidden.
This feature is available in commercial products, such as EMC (https://community.emc.com/docs/DOC-7003) and HP-UX.
The attached patch has three options to restrict exports results, using a new "-x" switch:
* visible = default, all visible
* host = only return results applicable to the host
* hide = fully hidden