sm8550-common: Build QTI health service
Change-Id: I929a51b8516e5b3265f08160d0055f7dae6ab2bf
This commit is contained in:
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
@@ -78,7 +78,6 @@
|
||||
/(vendor|system/vendor)/bin/hw/nxp\.android\.hardware\.nfc@1\.2-service u:object_r:hal_nfc_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/sehradiomanager u:object_r:sehradiomanager_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.camera\.provider-service_64 u:object_r:hal_camera_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.health-service u:object_r:hal_health_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.hyper-service u:object_r:hal_hyper_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.thermal@1\.0-service u:object_r:hal_thermal_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/vendor\.samsung\.hardware\.vibrator-service u:object_r:hal_vibrator_default_exec:s0
|
||||
|
11
sepolicy/vendor/hal_health_default.te
vendored
11
sepolicy/vendor/hal_health_default.te
vendored
@@ -1,14 +1,3 @@
|
||||
# Allow health HAL to read/write app_efs_file
|
||||
allow hal_health_default app_efs_file:dir rw_dir_perms;
|
||||
allow hal_health_default app_efs_file:file create_file_perms;
|
||||
|
||||
# Allow health HAL to read/write battery_efs_file
|
||||
allow hal_health_default battery_efs_file:dir create_dir_perms;
|
||||
allow hal_health_default battery_efs_file:file create_file_perms;
|
||||
|
||||
# Allow health HAL to search efs_file
|
||||
allow hal_health_default efs_file:dir search;
|
||||
|
||||
# Allow health HAL to read/write vendor_sysfs_battery
|
||||
r_dir_file(hal_health_default, vendor_sysfs_battery)
|
||||
allow hal_health_default vendor_sysfs_battery:file w_file_perms;
|
||||
|
Reference in New Issue
Block a user