homeassistant: Add bluetooth support

This commit is contained in:
Timo Makinen 2023-04-01 18:54:46 +00:00
parent 1285656eae
commit 7b88de9100
4 changed files with 59 additions and 0 deletions

Binary file not shown.

View file

@ -0,0 +1,21 @@
module homeassistant-local 1.0;
require {
type container_t;
type system_dbusd_var_run_t;
type system_dbusd_t;
type bluetooth_t;
class sock_file write;
class unix_stream_socket connectto;
class dbus send_msg;
}
#============= bluetooth_t ==============
allow bluetooth_t container_t:dbus send_msg;
#============= container_t ==============
allow container_t bluetooth_t:dbus send_msg;
allow container_t system_dbusd_t:dbus send_msg;
allow container_t system_dbusd_t:unix_stream_socket connectto;
allow container_t system_dbusd_var_run_t:sock_file write;