audio: introduce sepolicy for hal audio ext service
Bug: 206738075 Test: build pass Change-Id: I742566946d744c966443f30740adb8a3a4b3c00c Signed-off-by: Jasmine Cha <chajasmine@google.com>
This commit is contained in:
parent
39e672acb4
commit
b6ccc2ea0f
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 };
|
||||
|
||||
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:chr_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