From c5b3330c308f0e13b748690c59c735a3899f83a7 Mon Sep 17 00:00:00 2001 From: Pavel Grafov Date: Wed, 24 Jan 2018 19:49:18 +0000 Subject: [PATCH] Allow Keystore to check security logging property. This is needed to allow it to log audit events. Test: manual, import a key and see adb shell su system logcat -b security Bug: 70886042 Change-Id: Icd3c13172d47f8eac7c2a97c306d8c654e634f88 --- private/keystore.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/private/keystore.te b/private/keystore.te index 90c472705..7f71028ba 100644 --- a/private/keystore.te +++ b/private/keystore.te @@ -14,3 +14,6 @@ allow keystore platform_app:binder call; # Offer the Wifi Keystore HwBinder service typeattribute keystore wifi_keystore_service_server; add_hwservice(keystore, system_wifi_keystore_hwservice) + +# Allow to check whether security logging is enabled. +get_prop(keystore, device_logging_prop)