Add sepolicy for authsecret AIDL HAL

Bug: 176107318
Change-Id: I49bc68fb5a92bcbc2f1d2c78f0741f8eff97fc06
This commit is contained in:
ChengYou Ho 2020-12-24 21:00:43 +08:00 committed by Chengyou Ho
parent e0fe9d2c8f
commit f4f75d088a
4 changed files with 6 additions and 0 deletions

View file

@ -23,6 +23,7 @@
game_service
gki_apex_prepostinstall
gki_apex_prepostinstall_exec
hal_authsecret_service
hal_audiocontrol_service
hal_face_service
hal_fingerprint_service

View file

@ -1,3 +1,4 @@
android.hardware.authsecret.IAuthSecret/default u:object_r:hal_authsecret_service:s0
android.hardware.automotive.audiocontrol.IAudioControl/default u:object_r:hal_audiocontrol_service:s0
android.hardware.biometrics.face.IFace/default u:object_r:hal_face_service:s0
android.hardware.biometrics.fingerprint.IFingerprint/default u:object_r:hal_fingerprint_service:s0

View file

@ -2,3 +2,6 @@
binder_call(hal_authsecret_client, hal_authsecret_server)
hal_attribute_hwservice(hal_authsecret, hal_authsecret_hwservice)
hal_attribute_service(hal_authsecret, hal_authsecret_service)
binder_call(hal_authsecret_server, servicemanager)

View file

@ -224,6 +224,7 @@ type emergency_affordance_service, system_server_service, service_manager_type;
### HAL Services
###
type hal_authsecret_service, vendor_service, protected_service, service_manager_type;
type hal_audiocontrol_service, vendor_service, service_manager_type;
type hal_face_service, vendor_service, protected_service, service_manager_type;
type hal_fingerprint_service, vendor_service, protected_service, service_manager_type;