]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nsresourced,vmspawn: allow unpriv "tap" based networking in vmspawn (#36688)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Mar 2025 22:34:03 +0000 (07:34 +0900)
committerGitHub <noreply@github.com>
Mon, 17 Mar 2025 22:34:03 +0000 (07:34 +0900)
This extends nsresourced to also allow delegation of a network tap
device (in addition to veth) to unpriv clients, with a strictly enforced
naming scheme.

also tightens security on a couple of things:

* enforces polkit on all nsresourced ops too (though by default still
everything is allowed)
* put a limit on delegated network devices
* forcibly clean up delegated network devices when the userns goes away


Trivial merge