From 28af42ef6ee80c19c64b37826e76111941b39adb Mon Sep 17 00:00:00 2001 From: Arian Date: Thu, 23 Apr 2020 15:40:07 +0200 Subject: [PATCH] davinci: sepolicy: Label properties to avoid denials Change-Id: Id07b6977e6ef19bd2c9d6867e06073c8364c57d3 --- sepolicy/private/property_contexts | 5 +++++ sepolicy/vendor/property_contexts | 3 +++ 2 files changed, 8 insertions(+) diff --git a/sepolicy/private/property_contexts b/sepolicy/private/property_contexts index c91ac62..0d0815c 100644 --- a/sepolicy/private/property_contexts +++ b/sepolicy/private/property_contexts @@ -1,4 +1,9 @@ ro.boot.hwc u:object_r:exported_default_prop:s0 ro.boot.hwversion u:object_r:exported_default_prop:s0 +ro.build.flavor u:object_r:exported_default_prop:s0 +ro.camera.req.fmq.size u:object_r:exported_default_prop:s0 +ro.camera.res.fmq.size u:object_r:exported_default_prop:s0 +ro.cust.test u:object_r:exported_default_prop:s0 +ro.miui. u:object_r:exported_system_prop:s0 ro.product.mod_device u:object_r:exported2_default_prop:s0 ro.product.system.manufacturer u:object_r:exported2_default_prop:s0 exact string diff --git a/sepolicy/vendor/property_contexts b/sepolicy/vendor/property_contexts index e545b1f..c6168f7 100644 --- a/sepolicy/vendor/property_contexts +++ b/sepolicy/vendor/property_contexts @@ -1,3 +1,6 @@ +# Audio +audio.soundtrigger.debug. u:object_r:vendor_default_prop:s0 + # Camera vendor.camera. u:object_r:vendor_camera_prop:s0 camera.sensor.rearMain.fuseID u:object_r:vendor_camera_prop:s0