HomeFreeBSD

wg: add a test for the home jail socket feature

Description

wg: add a test for the home jail socket feature

This adds a test for a semantic that we added to mirror a feature of
the Linux implementation w/ netns: if a wg interface is moved into a
jail, we still create the socket in the context of the home vnet. With
this added, one can actually create vnet jails that only have a wg
tunnel to the outside world providing network connectivity without any
epairs in the setup.

Reviewed by: jhb, markj (both earlier version)

(cherry picked from commit 96f4ab26633a457c52fdb9c45f48dcb052b408a4)

Details

Provenance
kevansAuthored on Feb 13 2023, 5:59 AM
Parents
rGb2accc5e0662: amd64 ia32 vdso: always define some __vdso_ symbols
Branches
Unknown
Tags
Unknown