sanders: sepolicy update

Change-Id: Ibc045495b988437244304f37d451c9537a53a4f3
This commit is contained in:
Vachounet
2018-01-15 10:11:50 +01:00
committed by therootlord
parent c65378a328
commit 005c212c61
23 changed files with 276 additions and 26 deletions

View File

@@ -1,6 +1,12 @@
type sensor_hub, domain;
type sensor_hub_exec, exec_type, file_type;
type sensor_hub_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(sensor_hub)
binder_use(sensor_hub)
binder_service(sensor_hub)
allow sensor_hub sensors_device:chr_file rw_file_perms;
set_prop(sensor_hub, motosh_prop)
allow sensor_hub firmware_file:file { getattr open read };
allow sensor_hub vendor_file:file rx_file_perms;