Support access to radioext service over AIDL

11-13 17:08:24.418   396   396 E SELinux : avc:  denied  { find } for pid=15273 uid=1000 name=vendor.google.radio_ext.IRadioExt/default scontext=u:r:hal_camera_default:s0 tcontext=u:object_r:hal_radio_ext_service:s0 tclass=service_manager permissive=0

Bug: 377991853
Bug: 371878208
Test: Open camera & observe connection to radio
Flag: EXEMPT bugfix
Change-Id: I1c53381f2aef1def44f7a717a9998acc826fe6aa
This commit is contained in:
Boon Jun 2024-11-12 07:42:20 +00:00
parent 9faa3999ef
commit 78eaa18cf3

View file

@ -74,6 +74,7 @@ allow hal_camera_default sysfs_display:file r_file_perms;
# Allow camera HAL to query preferred camera frequencies from the radio HAL # Allow camera HAL to query preferred camera frequencies from the radio HAL
# extensions to avoid interference with cellular antennas. # extensions to avoid interference with cellular antennas.
allow hal_camera_default hal_radioext_hwservice:hwservice_manager find; allow hal_camera_default hal_radioext_hwservice:hwservice_manager find;
allow hal_camera_default hal_radio_ext_service:service_manager find;
# Allows camera HAL to access the hw_jpeg /dev/video12. # Allows camera HAL to access the hw_jpeg /dev/video12.
allow hal_camera_default hw_jpg_device:chr_file rw_file_perms; allow hal_camera_default hw_jpg_device:chr_file rw_file_perms;