From 1dd6321a001d4ed7a69d1fe44bada7a7656937bc Mon Sep 17 00:00:00 2001 From: Alex Hong Date: Tue, 11 Feb 2020 11:56:10 +0800 Subject: [PATCH] Update Q sepolicy prebuilt This updates 29.0 api for dumpstate restart control property contexts Bug: 147730517 Change-Id: I0aa7450dc0fb34de321cf8d2ba357b2ecabbcf43 --- prebuilts/api/29.0/private/property_contexts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prebuilts/api/29.0/private/property_contexts b/prebuilts/api/29.0/private/property_contexts index 8456fdb3f..cb81ba693 100644 --- a/prebuilts/api/29.0/private/property_contexts +++ b/prebuilts/api/29.0/private/property_contexts @@ -107,7 +107,6 @@ ro.persistent_properties.ready u:object_r:persistent_properties_ready_prop:s0 # ctl properties ctl.bootanim u:object_r:ctl_bootanim_prop:s0 -ctl.android.hardware.dumpstate u:object_r:ctl_dumpstate_prop:s0 ctl.dumpstate u:object_r:ctl_dumpstate_prop:s0 ctl.fuse_ u:object_r:ctl_fuse_prop:s0 ctl.mdnsd u:object_r:ctl_mdnsd_prop:s0 @@ -136,6 +135,9 @@ ctl.start$gsid u:object_r:ctl_gsid_prop:s0 ctl.stop$gsid u:object_r:ctl_gsid_prop:s0 ctl.restart$gsid u:object_r:ctl_gsid_prop:s0 +# Restrict access to restart dumpstate +ctl.interface_restart$android.hardware.dumpstate u:object_r:ctl_dumpstate_prop:s0 + # NFC properties nfc. u:object_r:nfc_prop:s0