fix hal_camera_default service access
10-25 11:52:35.916 437 437 E SELinux : avc: denied { find } for pid=711 uid=1000 name=android.frameworks.stats.IStats/default scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:fwk_stats_service:s0 tclass=service_manager permissive=1 Bug: 202906784 Test: boot with no hal_camera_default errors Change-Id: I0e21cc11808b973c859ddc2ddebc0db81f999d9f
This commit is contained in:
parent
abf31d56d6
commit
5e572d5c72
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +0,0 @@
|
|||
# b/202906784
|
||||
dontaudit hal_camera_default edgetpu_vendor_server:fd { use };
|
||||
dontaudit hal_camera_default hal_radioext_hwservice:hwservice_manager { find };
|
7
whitechapel_pro/hal_camera_default.te
Normal file
7
whitechapel_pro/hal_camera_default.te
Normal file
|
@ -0,0 +1,7 @@
|
|||
binder_call(hal_camera_default, edgetpu_vendor_server)
|
||||
|
||||
allow hal_camera_default fwk_stats_service:service_manager find;
|
||||
|
||||
# Allow camera HAL to query preferred camera frequencies from the radio HAL
|
||||
# extensions to avoid interference with cellular antennas.
|
||||
allow hal_camera_default hal_radioext_hwservice:hwservice_manager find;
|
Loading…
Add table
Add a link
Reference in a new issue