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().

(cherry picked from commit 99187c3a44c2c3e168e462a30d45af075748195f)

Details

Provenance
rmacklemAuthored on Feb 2 2023, 12:02 AM
Parents
rGddaa27909a92: kern_jail.c: Allow mountd/nfsd to optionally run in a jail
Branches
Unknown
Tags
Unknown