From ff2f391c34638e6cc836d65abf05bac2f1e49e45 Mon Sep 17 00:00:00 2001 From: Stephane Lee Date: Wed, 5 Oct 2022 22:08:03 +0000 Subject: Ensure there are no selinux errors in hal_googlebattery during bugreports It appears as though bugreports are still possible on user builds, so ensure sepolicies include all builds Bug: 242638443 Test: atest android.security.cts.SELinuxHostTest#testNoBugreportDenials Ignore-AOSP-First: GoogleBattery is a pixel specific vendor AIDL interface Change-Id: Id2b5dcfb5d8f72c0003979262911ab5b8665a060 --- googlebattery/dumpstate.te | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/googlebattery/dumpstate.te b/googlebattery/dumpstate.te index b84095c..5de6a2e 100644 --- a/googlebattery/dumpstate.te +++ b/googlebattery/dumpstate.te @@ -1,6 +1,3 @@ -userdebug_or_eng(` - # To find and bind Google Battery HAL - allow dumpstate hal_googlebattery_service:service_manager find; - binder_call(dumpstate, hal_googlebattery) -') - +# To find and bind Google Battery HAL +allow dumpstate hal_googlebattery_service:service_manager find; +binder_call(dumpstate, hal_googlebattery) -- cgit v1.2.3