From bc9e5f710e75531756cdc5d859dc19c1566ed9ed Mon Sep 17 00:00:00 2001 From: Evgenii Stepanov Date: Wed, 9 Oct 2019 17:20:59 -0700 Subject: [PATCH] Property contexts for ro.sanitize.* Bug: 142430632 Test: adb shell getprop ro.sanitize.hwaddress in hwasan build Change-Id: I8e0fa0e6c865d18b94ffbdb6a0dddb1817adb364 --- public/property_contexts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/public/property_contexts b/public/property_contexts index 87bbf93ac..cae5ebca6 100644 --- a/public/property_contexts +++ b/public/property_contexts @@ -269,6 +269,18 @@ sys.boot_from_charger_mode u:object_r:exported_system_prop:s0 exact int sys.use_memfd u:object_r:use_memfd_prop:s0 exact bool vold.decrypt u:object_r:exported_vold_prop:s0 exact string +# r/o sanitizer properties, public-readable +ro.sanitize.address u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.cfi u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.default-ub u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.fuzzer u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.hwaddress u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.integer_overflow u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.safe-stack u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.scudo u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.thread u:object_r:exported2_default_prop:s0 exact bool +ro.sanitize.undefined u:object_r:exported2_default_prop:s0 exact bool + # vendor-init-settable|public-readable aaudio.hw_burst_min_usec u:object_r:exported_default_prop:s0 exact int aaudio.minimum_sleep_usec u:object_r:exported_default_prop:s0 exact int