Allow widevine hidl process access keybox file which is stored at /mnt/vendor/persist MTK-Commit-Id: 2fd7b3e72d678b5f1916fe873965dfb044c2b14c Change-Id: I8e5689010f23dbf8fa94acb4b8161cd8e4194196 CR-Id: ALPS03837408 Feature: Secure Video Path (SVP)
21 lines
738 B
Plaintext
21 lines
738 B
Plaintext
type hal_drm_widevine, domain;
|
|
hal_server_domain(hal_drm_widevine, hal_drm)
|
|
|
|
type hal_drm_widevine_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(hal_drm_widevine)
|
|
|
|
allow hal_drm_widevine mediacodec:fd use;
|
|
allow hal_drm_widevine { appdomain -isolated_app }:fd use;
|
|
|
|
vndbinder_use(hal_drm_widevine);
|
|
|
|
allow hal_drm_widevine debugfs_tracing:file write;
|
|
allow hal_drm_widevine debugfs_ion:dir search;
|
|
|
|
allow hal_drm_widevine hal_allocator_server:fd use;
|
|
allow hal_drm_widevine mediadrm_vendor_data_file:dir create_dir_perms;
|
|
allow hal_drm_widevine mediadrm_vendor_data_file:file create_file_perms;
|
|
|
|
# Allow widevine hidl process read keybox stored in /mnt/vendor/persist
|
|
allow hal_drm_widevine mnt_vendor_file:dir search;
|