mirror of
https://github.com/AetherDroid/android_device_samsung_universal7570-common.git
synced 2025-09-07 16:58:05 -04:00
universal7570: import sepolicy from 7870
The sepolicy before seems to be broken Change-Id: I890a28429f03e47a183a0a0b755987f3495994c3
This commit is contained in:
parent
f22a0e7cdd
commit
f0e4521a9f
53 changed files with 1095 additions and 58 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