Howard Ho 48dab28731 [ALPS03988168] mdp hidl-device/sepolicy
mdp_copybit hidl-device/sepolicy

MTK-Commit-Id: 78b6aa3c250b7acab7c541bb34c6f87afdedb82e

Change-Id: Iebb0221c77ccbf8973dc7133ba350c078e907950
CR-Id: ALPS03988168
Feature: [Module]MDP Driver
2020-01-18 10:06:46 +08:00

28 lines
950 B
Plaintext
Executable File

# ==============================================
# Policy File of /vendor/bin/hw/vendor.mediatek.hardware.mms@1.0-service Executable File
# ==============================================
# Type Declaration
# ==============================================
type mtk_hal_mms, domain;
type mtk_hal_mms_exec, exec_type, file_type, vendor_file_type;
# ==============================================
# MTK Policy Rule
# ==============================================
# Setup for domain transition
init_daemon_domain(mtk_hal_mms)
# Allow to use HWBinder IPC
hwbinder_use(mtk_hal_mms);
# Allow a set of permissions required for a domain to be a server which provides a HAL implementation over HWBinder.
hal_server_domain(mtk_hal_mms, hal_mms)
# add/find permission rule to hwservicemanager
add_hwservice(hal_mms_server, mtk_hal_mms_hwservice)
# Purpose : Allow to use kernel driver
allow mtk_hal_mms graphics_device:chr_file { read write open ioctl };