HomeFreeBSD

devfs.rules: Correctly unhide pf in vnet jails

Description

devfs.rules: Correctly unhide pf in vnet jails

Revision 9e9be081d8 introduced a new devfs rule devfsrules_jail_vnet. It
includes rule devfsrules_jail which include other rules. Unfortunately
devfs could not recursively parse the action include and thus
devfsrules_jail_vnet will expose all nodes.

PR: 255660
Reviewed by: kp
Obtained from: Gijs Peskens <gijs@peskens.net>
MFC after: 3 weeks
Differential Revision: https://reviews.freebsd.org/D32814

(cherry picked from commit 7acd322ebe2072b1d73b1d19c14ab12a300ba8e8)

Details

Provenance
zleiAuthored on Nov 3 2021, 11:46 AM
kpCommitted on Nov 24 2021, 4:45 PM
Reviewer
kp
Differential Revision
D32814: devfs.rules: Correctly unhide pf in vnet jails
Parents
rG51f4d6a6bcf9: top.1: Use the Dq macros instead of \*lq and \*rq
Branches
Unknown
Tags
Unknown