From 56d9f69223c2c39780100a9aa3d1a9e42b6f9bc6 Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Wed, 13 Oct 2021 23:42:08 +0300 Subject: [PATCH] sm8350-common: sepolicy: allow spodaemon to access spuari status prop --- sepolicy/vendor/property_contexts | 1 + sepolicy/vendor/spdaemon.te | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 sepolicy/vendor/property_contexts create mode 100644 sepolicy/vendor/spdaemon.te diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts new file mode 100644 index 0000000..dbfa4a9 --- /dev/null +++ b/sepolicy/vendor/property_contexts @@ -0,0 +1 @@ +persist.vendor.security.spuari. u:object_r:vendor_security_spuari_prop:s0 diff --git a/sepolicy/vendor/spdaemon.te b/sepolicy/vendor/spdaemon.te new file mode 100644 index 0000000..fdc7464 --- /dev/null +++ b/sepolicy/vendor/spdaemon.te @@ -0,0 +1,3 @@ +type vendor_security_spuari_prop, vendor_public_property_type, vendor_property_type, property_type; + +set_prop(vendor_spdaemon, vendor_security_spuari_prop)