android_device_mediatek_sep.../non_plat/mtk_hal_secure_element.te
ILEX Lin 7012d951fc [ALPS04301155] Add sepolicy for map permission
[Detail]
Add map permission

MTK-Commit-Id: 7b56fd53c6750cad964b88143baad705cab0e5e7

Change-Id: Icda5b113470e4020fba7d955570cfc60d8a65e22
CR-Id: ALPS04301155
Feature: NFC Chipset Capability
2020-01-18 10:15:36 +08:00

19 lines
762 B
Plaintext

type mtk_hal_secure_element, domain;
hal_server_domain(mtk_hal_secure_element, hal_secure_element)
type mtk_hal_secure_element_exec, exec_type, vendor_file_type, file_type;
allow mtk_hal_secure_element secure_element_device:chr_file rw_file_perms;
init_daemon_domain(mtk_hal_secure_element)
# Allow to get vendor.mediatek.hardware.radio HIDL interface
allow mtk_hal_secure_element mtk_hal_rild_hwservice:hwservice_manager find;
binder_call(mtk_hal_secure_element, rild)
# Allow to get android.hardware.radio HIDL interface
hal_client_domain(mtk_hal_secure_element, hal_telephony)
allow mtk_hal_secure_element hal_telephony_hwservice:hwservice_manager find;
# Allow to use persist.radio.multisim.config
get_prop(mtk_hal_secure_element, exported3_radio_prop)