platform_device_xiaomi_sm84.../sepolicy/vendor/hal_audio.te
Arian 37eea61587 sm8450-common: Initial sepolicy
Change-Id: Ia21793576649e8518e79e4680e0b79b6a9331720
2024-03-19 23:22:36 +01:00

12 lines
660 B
Text

hal_attribute(dms)
allow hal_audio_default vendor_persist_audio_file:file rw_file_perms;
allow hal_audio_default mnt_vendor_file:dir r_dir_perms;
allow hal_audio_default vendor_audio_prop:property_service set;
allow hal_audio_default audio_socket:sock_file rw_file_perms;
allow hal_audio_default sound_device:chr_file rw_file_perms;
allow hal_audio_default sysfs_f0_value:file rw_file_perms;
allow hal_audio_default sysfs:file rw_file_perms;
unix_socket_connect(hal_audio_default, property, init)
unix_socket_connect(hal_audio_default, property, hal_sensors_default)
hal_client_domain(hal_audio_default, hal_dms)
set_prop(hal_audio_default, vendor_audio_prop)