Files
device_google_wahoo/sepolicy/vendor/hal_audio_default.te
Dan Cashman 051bcb3713 Add BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIR
Move vendor policy to vendor and add a place for system extensions.
Also add such an extension: a labeling of the qti.ims.ext service.

Bug: 38151691
Bug: 62041272
Test: Policy binary identical before and after, except plat_service_contexts
has new service added.
Change-Id: Ie4e8527649787dcf2391b326daa80cf1c9bd9d2f
2017-06-02 13:45:16 -07:00

12 lines
355 B
Plaintext

r_dir_file(hal_audio_default, sysfs_soc)
allow hal_audio_default audio_data_file:dir w_dir_perms;
allow hal_audio_default audio_data_file:file create_file_perms;
allow hal_audio_default perfd:unix_stream_socket connectto;
allow hal_audio_default perfd_socket:sock_file write;
userdebug_or_eng(`
allow hal_audio diag_device:chr_file rw_file_perms;
')