Fix mediacodec selinux context AOSP regression

This commit is contained in:
Pierre-Hugues Husson 2019-09-16 23:15:03 +02:00 committed by tboy1991
parent e722b85858
commit a249c6a154

20
sepolicy/omx.te Normal file
View File

@ -0,0 +1,20 @@
type mediacodec_26_0, domain;
typeattribute mediacodec_26_0 hal_omx_server;
hal_client_domain(mediacodec_26_0, hal_allocator)
hal_client_domain(mediacodec_26_0, hal_graphics_allocator)
hal_client_domain(mediacodec_26_0, hal_cas)
type mediacodec_27_0, domain;
typeattribute mediacodec_27_0 hal_omx_server;
hal_client_domain(mediacodec_27_0, hal_allocator)
hal_client_domain(mediacodec_27_0, hal_graphics_allocator)
hal_client_domain(mediacodec_27_0, hal_cas)
type mediacodec_28_0, domain;
typeattribute mediacodec_28_0 hal_omx_server;
hal_client_domain(mediacodec_28_0, hal_allocator)
hal_client_domain(mediacodec_28_0, hal_graphics_allocator)
hal_client_domain(mediacodec_28_0, hal_cas)