Merge "emulator: allows drm hal vendor access" into pi-dev

This commit is contained in:
Bo Hu
2018-03-21 20:49:39 +00:00
committed by Android (Google) Code Review
3 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1 @@
type mediadrm_vendor_data_file, file_type, data_file_type;

View File

@@ -33,3 +33,7 @@
/vendor/lib(64)?/lib_renderControl_enc\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libGLESv1_enc\.so u:object_r:same_process_hal_file:s0
/vendor/lib(64)?/libGLESv2_enc\.so u:object_r:same_process_hal_file:s0
# data
/data/vendor/mediadrm(/.*)? u:object_r:mediadrm_vendor_data_file:s0

View File

@@ -10,3 +10,5 @@ allow hal_drm { appdomain -isolated_app }:fd use;
vndbinder_use(hal_drm_widevine);
hal_client_domain(hal_drm_widevine, hal_graphics_composer);
allow hal_drm_widevine mediadrm_vendor_data_file:dir create_dir_perms;
allow hal_drm_widevine mediadrm_vendor_data_file:file create_file_perms;