emulator: allows drm hal vendor access
BUG: 76029272 Change-Id: Ib4de8b4cd5cf5899bee23c798156006d3680ab8d
This commit is contained in:
parent
8982289d3d
commit
a9127502d3
3 changed files with 7 additions and 0 deletions
1
target/board/generic/sepolicy/file.te
Normal file
1
target/board/generic/sepolicy/file.te
Normal file
|
@ -0,0 +1 @@
|
|||
type mediadrm_vendor_data_file, file_type, data_file_type;
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue