mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-07 00:38:06 -04:00
universal7870: rework drm sepolicy
This commit is contained in:
parent
b2dd95350b
commit
2356defaed
6 changed files with 51 additions and 3 deletions
23
sepolicy/hal_drm_widevine.te
Normal file
23
sepolicy/hal_drm_widevine.te
Normal file
|
@ -0,0 +1,23 @@
|
|||
# hal_drm_widevine.te
|
||||
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;
|
||||
|
||||
# /data/vendor/mediadrm/
|
||||
allow hal_drm_widevine mediadrm_vendor_data_file:dir create_dir_perms;
|
||||
allow hal_drm_widevine mediadrm_vendor_data_file:file create_file_perms;
|
||||
|
||||
# /dev/s5p-smem
|
||||
allow hal_drm_widevine secmem_device:chr_file rw_file_perms;
|
||||
|
||||
# /dev/tzdev
|
||||
#allow hal_drm_widevine tz_user_device:chr_file rw_file_perms;
|
||||
|
||||
# /efs/wv.keys
|
||||
allow hal_drm_widevine efs_file:dir search;
|
||||
allow hal_drm_widevine sec_efs_file:file r_file_perms;
|
Loading…
Add table
Add a link
Reference in a new issue