HomeFreeBSD

kern_jail.c: Allow mountd/nfsd to optionally run in a jail

Description

kern_jail.c: Allow mountd/nfsd to optionally run in a jail

This patch adds "allow.nfsd" to the jail code based on a
new kernel build option VNET_NFSD. This will not work
until future patches fix nmount(2) to allow mountd to
run in a vnet prison and the NFS server code is patched
so that global variables are in a vnet.

The jail(8) man page will be patched in a future commit.

(cherry picked from commit bba7a2e89602e6745bb2ec474f5ab714aef49f42)

Details

Provenance
rmacklemAuthored on Dec 17 2022, 9:43 PM
Parents
rG62af5091a4f7: mrsas: Fix a typo in a source code comment
Branches
Unknown
Tags
Unknown