Update hassio-supervisor

This commit is contained in:
Pascal Vizeli 2018-05-02 23:55:45 +02:00 committed by GitHub
parent 8414161527
commit b944251a3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,14 +5,12 @@ profile hassio-supervisor flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
#include <abstractions/python>
network inet tcp,
network,
deny network raw,
deny network packet,
/bin/busybox ix,
/usr/bin/python{,3,3.[0-9]} ix,
/usr/bin/git ix,
/usr/bin/git cx,
/usr/bin/socat cx,
/usr/bin/gdbus cx,
@ -47,8 +45,17 @@ profile hassio-supervisor flags=(attach_disconnected,mediate_deleted) {
#include <abstractions/base>
#include <abstractions/dbus>
deny network inet,
/usr/bin/gdbus mr,
/var/run/dbus/system_bus_socket rw,
}
profile /usr/bin/git {
#include <abstractions/base>
network,
deny network raw,
/usr/libexec/git-core/* ix,
/data/addons/** rw,
}
}