sepolicy: basic: non_plat: Label some misc MDP properties

* Also define a new type for these miscellaneous properties.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ifa3dde2836771ca6c0de2fa9a4357f3787e2e61f
This commit is contained in:
bengris32 2022-09-25 14:03:11 +01:00 committed by Matsvei Niaverau
parent ee38ef4445
commit f5923e2c19
2 changed files with 8 additions and 0 deletions

View File

@ -121,6 +121,7 @@ vendor_restricted_prop(vendor_mtk_debug_sf_cpupolicy_prop)
vendor_restricted_prop(vendor_mtk_neuropilot_flag_prop) vendor_restricted_prop(vendor_mtk_neuropilot_flag_prop)
vendor_restricted_prop(vendor_mtk_mdrsra_v2_support_prop) vendor_restricted_prop(vendor_mtk_mdrsra_v2_support_prop)
vendor_restricted_prop(vendor_mtk_xfrm_support_prop) vendor_restricted_prop(vendor_mtk_xfrm_support_prop)
vendor_restricted_prop(vendor_mtk_mdp_prop)
vendor_restricted_prop(vendor_debug_logger_prop) vendor_restricted_prop(vendor_debug_logger_prop)
# Properties with can be read by all domains # Properties with can be read by all domains
@ -198,4 +199,5 @@ typeattribute vendor_mtk_mdp_debug_log_prop mtk_core_property_type;
typeattribute vendor_mtk_neuropilot_flag_prop mtk_core_property_type; typeattribute vendor_mtk_neuropilot_flag_prop mtk_core_property_type;
typeattribute vendor_mtk_mdrsra_v2_support_prop mtk_core_property_type; typeattribute vendor_mtk_mdrsra_v2_support_prop mtk_core_property_type;
typeattribute vendor_mtk_xfrm_support_prop mtk_core_property_type; typeattribute vendor_mtk_xfrm_support_prop mtk_core_property_type;
typeattribute vendor_mtk_mdp_prop mtk_core_property_type;
typeattribute vendor_debug_logger_prop mtk_core_property_type; typeattribute vendor_debug_logger_prop mtk_core_property_type;

View File

@ -383,6 +383,12 @@ vendor.dp.dumpreg.enable u:object_r:vendor_mtk_mdp_debug_log_prop:s0
vendor.dp.mmpath.enable u:object_r:vendor_mtk_mdp_debug_log_prop:s0 vendor.dp.mmpath.enable u:object_r:vendor_mtk_mdp_debug_log_prop:s0
vendor.debug.logger. u:object_r:vendor_debug_logger_prop:s0 vendor.debug.logger. u:object_r:vendor_debug_logger_prop:s0
# MDP properties
vendor.dp.met.enable u:object_r:vendor_mtk_mdp_prop:s0
vendor.dp.dualpipe.4k.enable u:object_r:vendor_mtk_mdp_prop:s0
vendor.dp.dualpipe.cam.enable u:object_r:vendor_mtk_mdp_prop:s0
persist.vendor.dp.met.check u:object_r:vendor_mtk_mdp_prop:s0
# neuropilot flag # neuropilot flag
ro.vendor.neuropilot.flag u:object_r:vendor_mtk_neuropilot_flag_prop:s0 ro.vendor.neuropilot.flag u:object_r:vendor_mtk_neuropilot_flag_prop:s0