android_device_oneplus_sm81.../sepolicy/vendor/hal_audio_default.te

21 lines
776 B
Plaintext

# Allow access to the HALs
hal_client_domain(hal_audio_default, hal_sensors)
# Allow binder communication with hal_param_default
binder_call(hal_audio_default, hal_param_default)
# Allow binder communication with hal_sensors_default
binder_call(hal_audio_default, hal_sensors_default)
# Allow hal_audio_default to find hal_param_hwservice
allow hal_audio_default hal_param_hwservice:hwservice_manager find;
# 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 and write to ultrasound_device
allow hal_audio_default ultrasound_device:chr_file rw_file_perms;
# Allow hal_audio_default to read files in mnt_vendor_file
r_dir_file(hal_audio_default, mnt_vendor_file)