aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangyeon Jo <changyeon@google.com>2023-09-26 18:44:35 +0000
committerChangyeon Jo <changyeon@google.com>2024-02-13 04:43:16 +0000
commitd5dc9eb20a7618af4ec5219326b213fff5f494a4 (patch)
tree613b84794f01d6aa00e4cd98ccc54a6aca540011
parentd080fb64ce2940d667b26c109860cedb6a49c8e0 (diff)
downloadsepolicy-android14-gsi.tar.gz
Allow dumpstate to make binder IPC to automotive display serviceandroid14-gsi
Bug: 280837170 Bug: 313360015 Test: atest android.security.cts.SELinuxHostTest#testNoBugreportDenials Change-Id: I8239ba23bb60b95e7dd07a4c8a99167f1e08192b (cherry picked from commit 152a2f17551a85e5e1431929e902615152a50a96)
-rw-r--r--prebuilts/api/34.0/private/dumpstate.te3
-rw-r--r--private/dumpstate.te3
2 files changed, 6 insertions, 0 deletions
diff --git a/prebuilts/api/34.0/private/dumpstate.te b/prebuilts/api/34.0/private/dumpstate.te
index b3697975c..18924cad1 100644
--- a/prebuilts/api/34.0/private/dumpstate.te
+++ b/prebuilts/api/34.0/private/dumpstate.te
@@ -56,6 +56,9 @@ userdebug_or_eng(`
binder_call(dumpstate, profcollectd)
')
+# Allow dumpstate to talk to automotive_display_service over binder
+binder_call(dumpstate, automotive_display_service)
+
# Collect metrics on boot time created by init
get_prop(dumpstate, boottime_prop)
diff --git a/private/dumpstate.te b/private/dumpstate.te
index b3697975c..18924cad1 100644
--- a/private/dumpstate.te
+++ b/private/dumpstate.te
@@ -56,6 +56,9 @@ userdebug_or_eng(`
binder_call(dumpstate, profcollectd)
')
+# Allow dumpstate to talk to automotive_display_service over binder
+binder_call(dumpstate, automotive_display_service)
+
# Collect metrics on boot time created by init
get_prop(dumpstate, boottime_prop)