Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com>
SVN-Revision: 47862
_procd_add_jail() {
json_add_object "jail"
json_add_string name "$1"
- json_add_string root "/tmp/.jail/$1"
shift
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"
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