Author: blogic Date: 2015-12-11 16:08:19 +0100 (Fri, 11 Dec 2015) New Revision: 47862
Modified: trunk/package/system/procd/files/procd.sh Log: procd: update procd.sh to support new ujail options Signed-off-by: Etienne CHAMPETIER <[email protected]> Modified: trunk/package/system/procd/files/procd.sh =================================================================== --- trunk/package/system/procd/files/procd.sh 2015-12-11 15:08:05 UTC (rev 47861) +++ trunk/package/system/procd/files/procd.sh 2015-12-11 15:08:19 UTC (rev 47862) @@ -126,7 +126,6 @@ _procd_add_jail() { json_add_object "jail" json_add_string name "$1" - json_add_string root "/tmp/.jail/$1" shift @@ -136,6 +135,7 @@ ubus) json_add_boolean "ubus" "1";; procfs) json_add_boolean "procfs" "1";; sysfs) json_add_boolean "sysfs" "1";; + ronly) json_add_boolean "ronly" "1";; esac done json_add_object "mount" @@ -195,10 +195,10 @@ nice) json_add_int "$type" "$1" ;; - user|seccomp) + user|seccomp|capabilities) json_add_string "$type" "$1" ;; - stdout|stderr) + stdout|stderr|no_new_privs) json_add_boolean "$type" "$1" ;; esac _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
