Files
device_google_wahoo/sepolicy/hal_audio_default.te
Alex Klyubin 0a7d71babe Remove unnecessary sepolicy attributes
Test: mmm system/sepolicy
Bug: 34980020
Change-Id: Iefc2b9bbb32e91f8bb968aaad47d3512bf888a27
2017-04-12 18:52: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;
')