Attach vendor_property_type to properties
We are going to enforce that each property has an explicit owner, such
as system, vendor, or product. This attaches vendor_property_type to
properties defined under vendor sepolicy directories.
Bug: 159097992
Test: m selinux_policy && boot device
Change-Id: Ibed833cd9e5d786e82985ded6bc62abdf8cd9ded
diff --git a/common/property.te b/common/property.te
index f014ad5..50f7b34 100644
--- a/common/property.te
+++ b/common/property.te
@@ -1 +1 @@
-type vendor_device_prop, property_type;
+vendor_internal_prop(vendor_device_prop)
diff --git a/power-libperfmgr/property.te b/power-libperfmgr/property.te
index 5e889ac..6f6e3a7 100644
--- a/power-libperfmgr/property.te
+++ b/power-libperfmgr/property.te
@@ -1 +1 @@
-type vendor_power_prop, property_type;
+vendor_internal_prop(vendor_power_prop)
diff --git a/ramdump/common/property.te b/ramdump/common/property.te
index 51a37c8..1409a3d 100644
--- a/ramdump/common/property.te
+++ b/ramdump/common/property.te
@@ -1 +1 @@
-type vendor_ramdump_prop, property_type;
+vendor_internal_prop(vendor_ramdump_prop)
diff --git a/thermal/property.te b/thermal/property.te
index 57065a3..676c85a 100644
--- a/thermal/property.te
+++ b/thermal/property.te
@@ -1,2 +1,2 @@
#thermal HAL
-type vendor_thermal_prop, property_type;
+vendor_internal_prop(vendor_thermal_prop)
diff --git a/vibrator/common/property.te b/vibrator/common/property.te
index 3036935..45556ef 100644
--- a/vibrator/common/property.te
+++ b/vibrator/common/property.te
@@ -1 +1 @@
-type vendor_vibrator_prop, property_type;
+vendor_internal_prop(vendor_vibrator_prop)
diff --git a/wifi_sniffer/property.te b/wifi_sniffer/property.te
index df29700..ca72d35 100644
--- a/wifi_sniffer/property.te
+++ b/wifi_sniffer/property.te
@@ -1 +1 @@
-type vendor_wifi_sniffer_prop, property_type;
+vendor_internal_prop(vendor_wifi_sniffer_prop)