sanders: sepolicy: cleanup

This commit is contained in:
therootlord
2018-04-27 16:42:01 -03:00
parent 3f951ce093
commit 4b82e25628
3 changed files with 0 additions and 24 deletions

View File

@@ -1,7 +0,0 @@
type akmd, domain;
type akmd_exec, exec_type, file_type;
init_daemon_domain(akmd)
allow akmd akmd_data_file:file rw_file_perms;
allow akmd akmd_data_file:dir rw_dir_perms;
allow akmd compass_device:chr_file rw_file_perms;

View File

@@ -1,16 +0,0 @@
type sensor_hub, domain;
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 vendor_shell_exec:file entrypoint;
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;
allow sensor_hub firmware_file:dir search;

View File

@@ -10,7 +10,6 @@ allow system_app time_daemon:unix_stream_socket connectto;
allow system_app init:unix_stream_socket { read write };
allow system_app sysfs_homebutton:file write;
allow system_app sysfs_screen_off_gestures:file write;
get_prop(system_app, diag_prop);
get_prop(system_app, qemu_hw_mainkeys_prop);