Fix mediacodec selinux context AOSP regression

This commit is contained in:
Pierre-Hugues Husson 2019-09-16 23:15:03 +02:00
parent 312698d889
commit 46d65aac9b

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)