fix identity service access

10-20 10:32:58.701   438   438 E SELinux : avc:  denied  { find } for pid=742 uid=9999 name=android.hardware.citadel.ICitadeld scontext=u:r:hal_identity_citadel:s0 tcontext=u:object_r:citadeld_service:s0 tclass=service_manager permissive=1
Bug: 202906902
Test: boot to home with no relevant error

Change-Id: Ia6e09343843f9a5c96e06998ba5c50fb64948d7f
This commit is contained in:
Adam Shih 2021-10-20 10:35:18 +08:00
parent 4c20c40f50
commit ecc3a24449
2 changed files with 2 additions and 2 deletions

View file

@ -2,3 +2,5 @@ type hal_identity_citadel, domain;
type hal_identity_citadel_exec, exec_type, vendor_file_type, file_type; type hal_identity_citadel_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_identity_citadel) init_daemon_domain(hal_identity_citadel)
hal_server_domain(hal_identity_citadel, hal_identity)
allow hal_identity_citadel citadeld_service:service_manager find;

View file

@ -1,2 +0,0 @@
# b/202906902
dontaudit hal_identity_citadel default_android_vndservice:service_manager { find };