device_xiaomi_sm6150-common/sepolicy/vendor/hal_audio_default.te
basamaryan 3df5cd506c
sm6150-common: Commonize sepolicy
Taken from davinci, courbet, surya, sweet, and sweet2

Change-Id: Ie9bd3354d42a36e88004ee77343e0da5397a0eba
2024-10-15 13:25:09 -04:00

13 lines
351 B
Plaintext

type audio_socket, file_type;
allow hal_audio_default mnt_vendor_file:dir search;
r_dir_file(hal_audio_default, vendor_persist_audio_file)
set_prop(hal_audio_default, vendor_audio_prop)
get_prop(hal_audio_default, elliptic_ultrasound_prop)
allow hal_audio_default audio_socket:sock_file rw_file_perms;
dontaudit hal_audio_default sysfs:dir read;