Merge "[ALPS03598446] add selinux policy for mdp" into alps-trunk-p0.basic

Change-Id: I2ebb968ac2ec21c06a01da46b37379a8147fac02
MTK-Commit-Id: d54a54ba3f2d6f68124bce78c3c4a6ed32d46301
This commit is contained in:
Ping-Hsun Wu 2020-01-18 09:45:31 +08:00 committed by Gerrit Code Review
commit 76068b3e34
4 changed files with 11 additions and 1 deletions

View File

@ -84,6 +84,7 @@ type CAM_CAL_DRV1_device, dev_type;
type CAM_CAL_DRV2_device, dev_type; type CAM_CAL_DRV2_device, dev_type;
type MTK_SMI_device, dev_type; type MTK_SMI_device, dev_type;
type mtk_cmdq_device, dev_type; type mtk_cmdq_device, dev_type;
type mtk_mdp_device, dev_type;
type mtk_rrc_device, dev_type; type mtk_rrc_device, dev_type;
type ebc_device, dev_type; type ebc_device, dev_type;
type vow_device, dev_type; type vow_device, dev_type;

View File

@ -200,6 +200,7 @@
/dev/mtk_sched(/.*)? u:object_r:mtk_sched_device:s0 /dev/mtk_sched(/.*)? u:object_r:mtk_sched_device:s0
/dev/MTK_SMI(/.*)? u:object_r:MTK_SMI_device:s0 /dev/MTK_SMI(/.*)? u:object_r:MTK_SMI_device:s0
/dev/mtk_cmdq(/.*)? u:object_r:mtk_cmdq_device:s0 /dev/mtk_cmdq(/.*)? u:object_r:mtk_cmdq_device:s0
/dev/mdp_sync(/.*)? u:object_r:mtk_mdp_device:s0
/dev/mtk_rrc(/.*)? u:object_r:mtk_rrc_device:s0 /dev/mtk_rrc(/.*)? u:object_r:mtk_rrc_device:s0
/dev/mtk_dfrc(/.*)? u:object_r:mtk_dfrc_device:s0 /dev/mtk_dfrc(/.*)? u:object_r:mtk_dfrc_device:s0
/dev/mt-mdp(/.*)? u:object_r:mt_mdp_device:s0 /dev/mt-mdp(/.*)? u:object_r:mt_mdp_device:s0

View File

@ -44,3 +44,8 @@ binder_call(hal_graphics_composer_default, mtk_hal_power)
# Purpose: Allow to access property # Purpose: Allow to access property
set_prop(hal_graphics_composer_default, graphics_hwc_pid_prop) set_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
get_prop(hal_graphics_composer_default, graphics_hwc_pid_prop) get_prop(hal_graphics_composer_default, graphics_hwc_pid_prop)
# Date : WK18.03
# Purpose: Allow to access property dev/mdp_sync
#============= hal_graphics_composer_default ==============
allow hal_graphics_composer_default mtk_mdp_device:chr_file { read write open ioctl };

File diff suppressed because one or more lines are too long