blob: 7cbd363cabdf22130dfea63f5b415a9b7b1fbf18 [file] [log] [blame]
# 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 hal_vendor_wvkprov_hwservice:hwservice_manager { add find };
allow hal_drm_widevine mediadrm_vendor_data_file:dir { r_file_perms search };
allow hal_drm_widevine mediadrm_vendor_data_file:file rw_file_perms;
allow hal_drm_widevine secmem_device:chr_file rw_file_perms;
teegris_use(hal_drm_widevine);
allow hal_drm_widevine efs_file:dir search;
allow hal_drm_widevine sec_efs_file:file r_file_perms;