summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Lee <stayfan@google.com>2022-10-05 22:08:03 +0000
committerStephane Lee <stayfan@google.com>2022-10-05 22:49:21 +0000
commitff2f391c34638e6cc836d65abf05bac2f1e49e45 (patch)
tree6a7263fe605e0b8beb7ecbeb73f94dc0818bf142
parentcebd482fb4a33bae65461337e1ce8777958b4b21 (diff)
downloadpixel-sepolicy-ff2f391c34638e6cc836d65abf05bac2f1e49e45.tar.gz
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
-rw-r--r--googlebattery/dumpstate.te9
1 files 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)