aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd
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
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')
-rw-r--r--package/system/procd/Makefile2
-rw-r--r--package/system/procd/files/procd.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/system/procd/Makefile b/package/system/procd/Makefile
index 89e5aa96f9..faf06fc257 100644
--- a/package/system/procd/Makefile
+++ b/package/system/procd/Makefile
@@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=procd
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git
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"