device_google_gs201/dauntless/hal_keymint_citadel.te
Adam Shih 4c20c40f50 Fix hal_keymint_citadel service access
10-20 10:24:31.155   432   432 E SELinux : avc:  denied  { find } for pid=481 uid=1064 name=android.hardware.citadel.ICitadeld scontext=u:r:hal_keymint_citadel:s0 tcontext=u:object_r:citadeld_service:s0 tclass=service_manager permissive=1
Bug: 202907039
Test: boot to home with no keymint errors

Change-Id: I7935fe52a9774f8fca67336be9c9d47fe2675756
2021-10-20 10:26:18 +08:00

8 lines
265 B
Text

type hal_keymint_citadel, domain;
type hal_keymint_citadel_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_keymint_citadel)
hal_server_domain(hal_keymint_citadel, hal_keymint)
allow hal_keymint_citadel citadeld_service:service_manager find;