Merge "sepolicy: Add SE policy to allow audio HAL"
This commit is contained in:
commit
0ddb42744b
3 changed files with 4 additions and 0 deletions
1
generic/vendor/common/device.te
vendored
1
generic/vendor/common/device.te
vendored
|
@ -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;
|
||||
|
|
1
generic/vendor/common/file_contexts
vendored
1
generic/vendor/common/file_contexts
vendored
|
@ -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
|
||||
|
|
2
generic/vendor/common/hal_audio_default.te
vendored
2
generic/vendor/common/hal_audio_default.te
vendored
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue