diff options
author | Shanshan Guo <Shanshan.Guo@mediatek.com> | 2020-03-04 14:49:32 +0800 |
---|---|---|
committer | Shanshan Guo <Shanshan.Guo@mediatek.com> | 2020-03-05 11:44:44 +0800 |
commit | af794b428a2fb72cb4999b2ea611f95f5a2e9489 (patch) | |
tree | 4ea4d858f4c7438dde78026ad1650362a4c33e2f /plat_private/property_contexts | |
parent | 8c2ce28a36be318fd5ff2e224b2fb0dfc25f3d6e (diff) | |
download | wembley-sepolicy-af794b428a2fb72cb4999b2ea611f95f5a2e9489.tar.gz |
[ALPS05014766] SEPolicy: Modify property with new attributes
[Detail]
In AOSP/1097032 and AOSP/1128792, there are new attributes and neverallow
rules with property.
The MTK sepolicies of properties need some modification for them.
[Solution]
Modify MTK sepolicies of properties.
Change-Id: I0a78d4e974d57c6d328991a791918ffa6a12008b
CR-Id: ALPS05014766
Feature: [Android Default] SELinux, SEAndroid, and SE-MTK
Diffstat (limited to 'plat_private/property_contexts')
-rw-r--r-- | plat_private/property_contexts | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/plat_private/property_contexts b/plat_private/property_contexts index b85131f..e5bb3c3 100644 --- a/plat_private/property_contexts +++ b/plat_private/property_contexts @@ -1,11 +1,6 @@ -#=============allow ccci_mdinit to ctl. mdlogger============== -ctl.mdlogger u:object_r:ctl_mdlogger_prop:s0 -ctl.emdlogger1 u:object_r:ctl_emdlogger1_prop:s0 -ctl.emdlogger2 u:object_r:ctl_emdlogger2_prop:s0 -ctl.emdlogger3 u:object_r:ctl_emdlogger3_prop:s0 - -init.svc.emdlogger1 u:object_r:init_svc_emdlogger1_prop:s0 -init.svc.aee_aedv u:object_r:init_svc_aee_aedv_prop:s0 +# ============================================== +# MTK Policy Rule +# ============================================== #allow mtk audio hidl service to read "ro.audio.usb.period_us" ro.audio.usb.period_us u:object_r:exported_default_prop:s0 exact int @@ -13,6 +8,5 @@ ro.audio.usb.period_us u:object_r:exported_default_prop:s0 exact int #allow adb daemon to read "persist.adb.nonblocking_ffs" persist.adb.nonblocking_ffs u:object_r:exported_default_prop:s0 exact int -#============system fingerprint property===========# +#============system fingerprint property=========== ro.system.build.fingerprint u:object_r:exported_fingerprint_prop:s0 exact string - |