Add sepolicy to access ion dev from Tuner service

Tuner default implementation is testing with Ion buffer on Cuttlefish
to make sure the secure handle merchanism would work with media data
pass between the Tuner Hal and the Tuner Java.

Ion access would be needed for all the Tuner Hal implementation

Test: atest
Bug: 150952766
Change-Id: I39117f96bdc84ce24afcb3ef528b6d942ded505e
This commit is contained in:
Amy Zhang 2020-03-18 20:45:50 -07:00
parent 9448d4d130
commit 73f0159390

View file

@ -3,3 +3,5 @@ hal_server_domain(hal_tv_tuner_default, hal_tv_tuner)
type hal_tv_tuner_default_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(hal_tv_tuner_default)
allow hal_tv_tuner_default ion_device:chr_file r_file_perms;