aboutsummaryrefslogtreecommitdiffstats
path: root/package/system/procd/files
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-03-13 15:08:49 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-04-09 13:07:22 +0100
commit02a1914585fffb97b26cc871b303a39ac9d37cbb (patch)
treea3a47a115e6b0946d5d3439a635ac16a545f3654 /package/system/procd/files
parent4a0f426ba5044af2fe45be8cc553f1580484883c (diff)
downloadupstream-02a1914585fffb97b26cc871b303a39ac9d37cbb.tar.gz
upstream-02a1914585fffb97b26cc871b303a39ac9d37cbb.tar.bz2
upstream-02a1914585fffb97b26cc871b303a39ac9d37cbb.zip
procd: bump to latest HEAD
2188d81 jail: add support for launching extroot containers 6f3dbd2 jail: add support for userns and cgroupsns 28a06e5 jail: add support for (ram-)overlayfs Add handling for extroot, overlaydir and tmpoverlaysize as well as jail flags for userns and cgroupsns to OpenWrt's shell script to allow their use in init scripts. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/system/procd/files')
-rw-r--r--package/system/procd/files/procd.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/system/procd/files/procd.sh b/package/system/procd/files/procd.sh
index 7031763844..25a9f049cb 100644
--- a/package/system/procd/files/procd.sh
+++ b/package/system/procd/files/procd.sh
@@ -196,6 +196,8 @@ _procd_add_jail() {
ronly) json_add_boolean "ronly" "1";;
requirejail) json_add_boolean "requirejail" "1";;
netns) json_add_boolean "netns" "1";;
+ userns) json_add_boolean "userns" "1";;
+ cgroupsns) json_add_boolean "cgroupsns" "1";;
esac
done
json_add_object "mount"
@@ -258,7 +260,8 @@ _procd_set_param() {
reload_signal)
json_add_int "$type" $(kill -l "$1")
;;
- pidfile|user|group|seccomp|capabilities|facility)
+ pidfile|user|group|seccomp|capabilities|facility|\
+ extroot|overlaydir|tmpoverlaysize)
json_add_string "$type" "$1"
;;
stdout|stderr|no_new_privs)