Merge "audio: introduce sepolicy for hal audio ext service" into udc-dev
This commit is contained in:
commit
b5519577ea
3 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,8 @@ allow hal_audio_default aoc_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
allow hal_audio_default hal_audio_ext_hwservice:hwservice_manager { find add };
|
allow hal_audio_default hal_audio_ext_hwservice:hwservice_manager { find add };
|
||||||
|
|
||||||
|
add_service(hal_audio_default, hal_audio_ext_service)
|
||||||
|
|
||||||
allow hal_audio_default amcs_device:file rw_file_perms;
|
allow hal_audio_default amcs_device:file rw_file_perms;
|
||||||
allow hal_audio_default amcs_device:chr_file rw_file_perms;
|
allow hal_audio_default amcs_device:chr_file rw_file_perms;
|
||||||
allow hal_audio_default sysfs_pixelstats:file rw_file_perms;
|
allow hal_audio_default sysfs_pixelstats:file rw_file_perms;
|
||||||
|
|
2
aoc/sepolicy/service.te
Normal file
2
aoc/sepolicy/service.te
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Audio
|
||||||
|
type hal_audio_ext_service, service_manager_type;
|
2
aoc/sepolicy/service_contexts
Normal file
2
aoc/sepolicy/service_contexts
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Audio
|
||||||
|
vendor.google.whitechapel.audio.extension.IAudioExtension/default u:object_r:hal_audio_ext_service:s0
|
Loading…
Add table
Add a link
Reference in a new issue