HomeFreeBSD

prison_check_nfsd: Add check for enforce_statfs != 0

Description

prison_check_nfsd: Add check for enforce_statfs != 0

Since mountd(8) will not be able to do exports
when running in a vnet prison if enforce_statfs is
set to 0, add a check for this to prison_check_nfsd().

Reviewed by: jamie, markj
MFC after: 2 months
Differential Revision: https://reviews.freebsd.org/D38189

Details

Provenance
rmacklemAuthored on Feb 2 2023, 12:02 AM
Reviewer
jamie
Differential Revision
D38189: Add a check for enforce_statfs != 0 to prison_check_nfsd()
Parents
rG25c862ae503a: libthr pshared: correct a bug in allocation
Branches
Unknown
Tags
Unknown