sdm845-common: sepolicy: Resolve additional IMS related denials

Change-Id: I34baa7c7c32bd40c89fc5a2038cdd533b66b91e8
This commit is contained in:
Bruno Martins 2020-12-24 13:50:26 +00:00
parent b43d7d6422
commit 8a6c03cf61
4 changed files with 8 additions and 0 deletions

View File

@ -9,10 +9,13 @@ allow hal_camera_default sysfs_leds:dir r_dir_perms;
allow hal_camera_default sysfs_leds:file rw_file_perms;
allow hal_camera_default sysfs_leds:lnk_file read;
allow hal_camera_default sysfs_thermal:file w_file_perms;
r_dir_file(hal_camera_default, persist_camera_file)
get_prop(hal_camera_default, camera_ro_prop)
userdebug_or_eng(`
get_prop(hal_camera_default, camera_dbg_prop)
get_prop(hal_camera_default, sensors_dbg_prop)
')

View File

@ -1,3 +1,4 @@
type camera_dbg_prop, property_type;
type camera_ro_prop, property_type;
type thermal_engine_prop, property_type;

View File

@ -1,6 +1,7 @@
# Camera
camera. u:object_r:camera_prop:s0
persist.camera. u:object_r:camera_prop:s0
persist.debug.sf.showfps u:object_r:camera_dbg_prop:s0
persist.vendor.camera. u:object_r:camera_prop:s0
vidhance. u:object_r:camera_prop:s0

View File

@ -1,5 +1,8 @@
allow radio hal_datafactory_hwservice:hwservice_manager find;
allow radio { cameraserver_service mediaextractor_service mediaserver_service mediametrics_service drmserver_service audioserver_service }:service_manager find;
binder_call(radio, cnd)
binder_call(radio, gpuservice)
binder_call(radio, hal_imsrtp)
get_prop(radio, qcom_ims_prop)