luci-app-cjdns: add seccomp checkbox
authorLars Gierth <larsg@systemli.org>
Tue, 12 May 2015 00:10:22 +0000 (02:10 +0200)
committerLars Gierth <larsg@systemli.org>
Tue, 12 May 2015 23:41:41 +0000 (01:41 +0200)
Signed-off-by: Lars Gierth <larsg@systemli.org>
luci-app-cjdns/luasrc/model/cbi/cjdns/settings.lua

index bbe89df7fbc6e18def8cbe1d1bd1382c84b47c71..d1889154ba20575fa782cab93a554999726e86c0 100644 (file)
@@ -33,6 +33,10 @@ apt.datatype = "port"
 apw = s:taboption("admin", Value, "admin_password", translate("Password"))
 apw.datatype = "string"
 
 apw = s:taboption("admin", Value, "admin_password", translate("Password"))
 apw.datatype = "string"
 
+-- Security
+s:tab("security", translate("Security"), translate("Functionality related to hardening the cjdroute process."))
+s:taboption("security", Flag, "seccomp", translate("SecComp sandboxing"))
+
 -- UDP Interfaces
 udp_interfaces = m:section(TypedSection, "udp_interface", translate("UDP Interfaces"),
   translate("These interfaces allow peering via public IP networks, such as the Internet, or many community-operated wireless networks. IPv6 addresses should be entered with square brackets, like so: <code>[2001::1]</code>."))
 -- UDP Interfaces
 udp_interfaces = m:section(TypedSection, "udp_interface", translate("UDP Interfaces"),
   translate("These interfaces allow peering via public IP networks, such as the Internet, or many community-operated wireless networks. IPv6 addresses should be entered with square brackets, like so: <code>[2001::1]</code>."))