msm8953-common: Import sepolicy from sdm660 tree

This commit is contained in:
jeangraff30
2020-11-15 10:51:35 +01:00
parent 464b0ce482
commit 7535f9d5ae
53 changed files with 600 additions and 12 deletions

10
sepolicy/vendor/hal_health_default.te vendored Normal file
View File

@@ -0,0 +1,10 @@
allow hal_health_default persist_battery_file:file create_file_perms;
allow hal_health_default persist_battery_file:dir rw_dir_perms;
allow hal_health_default persist_file:dir search;
allow hal_health_default sysfs_batteryinfo:file rw_file_perms;
allow hal_health_default mnt_vendor_file:file { getattr open read };
allow hal_health_default mnt_vendor_file:dir { search write };
allow hal_health_default sysfs:file { getattr open read };
allow hal_health_default sysfs_healthd:dir r_dir_perms;
allow hal_health_default sysfs_healthd:file rw_file_perms;