add network capability

This commit is contained in:
Alexandre
2022-01-25 09:42:36 +01:00
parent 4dd0e8dd1f
commit afc7f27686
51 changed files with 1044 additions and 285 deletions

View File

@@ -2,10 +2,17 @@
profile addon_updater flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
# Capabilities
file,
signal,
network udp,
network tcp,
network dgram,
network stream,
network inet,
network inet6,
network netlink raw,
# S6-Overlay
/init rix,
@@ -24,13 +31,13 @@ profile addon_updater flags=(attach_disconnected,mediate_deleted) {
# Access to Options.json and other files within your addon
/data/** rw,
# Start new profile for service
/usr/bin/myprogram cx,
profile usr/bin/myprogram flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
# Receive signals from S6-Overlay
signal receive,
}