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.

Reviewed by: jamie
MFC after: 4 months
Differential Revision: https://reviews.freebsd.org/D37637

Details

Provenance
rmacklemAuthored on Dec 17 2022, 9:43 PM
Reviewer
jamie
Differential Revision
D37637: Patch jail so that it can support mountd/nfsd in a vnet jail
Parents
rG38389acc59fc: ext2fs: fix potential memory leak in ext4_ext_grow_indepth()
Branches
Unknown
Tags
Unknown