Add vendor_property_type to vendor_default_prop
Bug: 159097992
Test: m selinux_policy
Change-Id: Ic5fca5ff263584fe3e8b334003d671d706070cb8
diff --git a/public/property.te b/public/property.te
index 06df3d7..ffcb527 100644
--- a/public/property.te
+++ b/public/property.te
@@ -261,7 +261,11 @@
system_public_prop(vold_prop)
')
-type vendor_default_prop, property_type;
+type vendor_default_prop, property_type, vendor_property_type;
+
+treble_sysprop_neverallow(`
+ typeattribute vendor_default_prop vendor_internal_property_type;
+')
typeattribute log_prop log_property_type;
typeattribute log_tag_prop log_property_type;
diff --git a/public/te_macros b/public/te_macros
index fdf0675..e9e139e 100644
--- a/public/te_macros
+++ b/public/te_macros
@@ -829,6 +829,8 @@
#
# CTS uses these rules only for devices launching with R or later.
#
+# TODO(b/131162102): deprecate BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
+#
define(`treble_sysprop_neverallow', ifelse(target_treble_sysprop_neverallow, `true', $1,
ifelse(target_treble_sysprop_neverallow, `cts',
# BEGIN_LAUNCHING_WITH_R_ONLY -- this marker is used by CTS -- do not modify