jail: add basic support for network namespaces
authorDaniel Golle <daniel@makrotopia.org>
Wed, 4 Dec 2019 13:06:06 +0000 (14:06 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 21 Jan 2020 10:44:31 +0000 (12:44 +0200)
commit58c12f74d82c68051471f9c98c86786018f17dae
tree9e0cb40504de7682ed54602ebc97a26c82bee247
parent0a11aa405d3fbe970458d1cc154970e817826616
jail: add basic support for network namespaces

Add new 'netns' flag for procd_add_jail to make ujail setup a new
network namespace for the jailed service.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
CMakeLists.txt
jail/jail.c
service/instance.c
service/instance.h