aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-03-12 20:53:36 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-03-12 20:55:50 +0100
commit40e578992b6af6a08126374c6e9aa84d1012e552 (patch)
tree185305d7522f22a7c6155495c35dde20c40975df /package/system/procd/files
parent86fe34894990153af52ec11c8db174b44a192266 (diff)
downloadupstream-40e578992b6af6a08126374c6e9aa84d1012e552.tar.gz
upstream-40e578992b6af6a08126374c6e9aa84d1012e552.tar.bz2
upstream-40e578992b6af6a08126374c6e9aa84d1012e552.zip
procd: actually wire-up netns support
When support for network namespaces was added to procd, adding the corresponding jail flag in procd.sh was ommitted. Add it now. Fixes: 97a03a4760 ("procd: update to latest git HEAD") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/procd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index e8b1b6ffb7..7031763844 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -195,6 +195,7 @@ _procd_add_jail() {
sysfs) json_add_boolean "sysfs" "1";;
ronly) json_add_boolean "ronly" "1";;
requirejail) json_add_boolean "requirejail" "1";;
+ netns) json_add_boolean "netns" "1";;
esac
done
json_add_object "mount"