Merge changes from topic "b/244746589"

* changes:
  Add authsecret aidl hal sepolicy
  Authsecret: install AIDL service
This commit is contained in:
Chengyou Ho 2022-09-15 05:53:18 +00:00 committed by Android (Google) Code Review
commit 1dd58b8948
3 changed files with 11 additions and 0 deletions

@ -6,6 +6,7 @@ PRODUCT_PACKAGES += \
citadeld \
citadel_updater \
android.hardware.weaver@1.0-service.citadel \
android.hardware.authsecret-service.citadel \
android.hardware.identity@1.0-service.citadel \
init_citadel \
android.hardware.strongbox_keystore.xml \

@ -4,6 +4,7 @@
/vendor/bin/hw/android\.hardware\.security\.keymint-service\.citadel u:object_r:hal_keymint_citadel_exec:s0
/vendor/bin/hw/android\.hardware\.weaver@1\.0-service\.citadel u:object_r:hal_weaver_citadel_exec:s0
/vendor/bin/hw/android\.hardware\.identity@1\.0-service\.citadel u:object_r:hal_identity_citadel_exec:s0
/vendor/bin/hw/android\.hardware\.authsecret-service\.citadel u:object_r:hal_authsecret_citadel_exec:s0
/vendor/bin/hw/citadel_updater u:object_r:citadel_updater:s0
/vendor/bin/hw/citadeld u:object_r:citadeld_exec:s0

@ -0,0 +1,9 @@
type hal_authsecret_citadel, domain;
type hal_authsecret_citadel_exec, exec_type, vendor_file_type, file_type;
vndbinder_use(hal_authsecret_citadel)
binder_call(hal_authsecret_citadel, citadeld)
allow hal_authsecret_citadel citadeld_service:service_manager find;
hal_server_domain(hal_authsecret_citadel, hal_authsecret)
init_daemon_domain(hal_authsecret_citadel)