From: Inseob Kim Date: Tue, 18 Aug 2020 14:29:12 +0000 (+0900) Subject: exynos9610: sepolicy: Attach vendor_property_type to properties X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1aa0874aecb10773a957918796f46c9a78cee3a2;p=GitHub%2FLineageOS%2Fandroid_device_motorola_exynos9610-common.git exynos9610: sepolicy: 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. Change-Id: Iedbbcc5086c09f549e91e73ece7311563c378347 --- diff --git a/sepolicy/private/property.te b/sepolicy/private/property.te index eb029e1..800185d 100644 --- a/sepolicy/private/property.te +++ b/sepolicy/private/property.te @@ -1 +1 @@ -type vendor_exported_system_prop, property_type; +system_public_prop(vendor_exported_system_prop) diff --git a/sepolicy/vendor/property.te b/sepolicy/vendor/property.te index 2959435..824a791 100644 --- a/sepolicy/vendor/property.te +++ b/sepolicy/vendor/property.te @@ -1,6 +1,6 @@ -type vendor_audio_prop, property_type; -type vendor_camera_prop, property_type; -type vendor_hwc_prop, property_type; -type vendor_ims_prop, property_type; -type moto_boot_prop, property_type; -type rmnet_mux_prop, property_type; +vendor_public_prop(vendor_audio_prop) +vendor_public_prop(vendor_camera_prop) +vendor_public_prop(vendor_hwc_prop) +vendor_public_prop(vendor_ims_prop) +vendor_public_prop(moto_boot_prop) +vendor_public_prop(rmnet_mux_prop)