Merge "sepolicy: Add SE policy to allow audio HAL"

This commit is contained in:
qctecmdr 2021-07-23 09:24:03 -07:00 committed by Gerrit - the friendly Code Review server
commit 0ddb42744b
3 changed files with 4 additions and 0 deletions

View file

@ -102,3 +102,4 @@ type vendor_qce_device, dev_type;
type vendor_npu_device, dev_type;
type vendor_qmcs_block_device, dev_type;
type vendor_qdss_device, dev_type;
type vendor_adsp_sleepmon_device, dev_type;

View file

@ -78,6 +78,7 @@
/dev/ipa_odl_ctl u:object_r:vendor_ipa_dev:s0
/dev/ipa_adpl u:object_r:vendor_ipa_dev:s0
/dev/byte-cntr u:object_r:vendor_qdss_device:s0
/dev/msm_adsp_sleepmon u:object_r:vendor_adsp_sleepmon_device:s0
# dev socket nodes
/dev/socket/chre u:object_r:vendor_chre_socket:s0

View file

@ -29,6 +29,8 @@ userdebug_or_eng(`
allow hal_audio vendor_diag_device:chr_file rw_file_perms;
')
allow hal_audio vendor_adsp_sleepmon_device:chr_file rw_file_perms;
hal_client_domain(hal_audio_default, vendor_hal_perf)
hal_client_domain(hal_audio_default, hal_power)