sepolicy: Address hal_audio_default denials
Change-Id: I67b064ccf1d84ca4b891f1cdb4f4d6ecebdbce23 Signed-off-by: DennySPb <dennyspb@gmail.com>
This commit is contained in:
parent
1efea1f5bc
commit
4652cba66e
1 changed files with 11 additions and 0 deletions
11
sepolicy/vendor/hal_audio_default.te
vendored
Normal file
11
sepolicy/vendor/hal_audio_default.te
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Allow access to the HALs
|
||||
hal_client_domain(hal_audio_default, hal_sensors)
|
||||
|
||||
# Allow binder communication with hal_sensors_default
|
||||
binder_call(hal_audio_default, hal_sensors_default)
|
||||
|
||||
# Allow hal_audio_default to find hal_sensors_hwservice
|
||||
allow hal_audio_default hal_sensors_hwservice:hwservice_manager find;
|
||||
|
||||
# Allow hal_audio_default to read files in mnt_vendor_file
|
||||
r_dir_file(hal_audio_default, mnt_vendor_file)
|
Loading…
Reference in a new issue