summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Ju <leiju@google.com>2024-01-02 20:42:52 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2024-01-02 20:42:52 +0000
commit9c1b7dd5103a7ad71245cede6db94d0ba83a3a5e (patch)
treed17308875f4f480482ee083fa62e61b102d2b570
parent074ea96a778958c7bfc289ce27f8c3d871518e22 (diff)
parent4f48ed0e89c4a45891378566ad4606ed6d9c432d (diff)
downloadpixel-sepolicy-9c1b7dd5103a7ad71245cede6db94d0ba83a3a5e.tar.gz
Update sepolicy for socket connection from vibrator hal am: 4f48ed0e89
Original change: https://android-review.googlesource.com/c/platform/hardware/google/pixel-sepolicy/+/2892960 Change-Id: I959e23e7e8d39002404648c8ba65e2511f2b6389 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--vibrator/cs40l26/hal_vibrator_default.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/vibrator/cs40l26/hal_vibrator_default.te b/vibrator/cs40l26/hal_vibrator_default.te
index c61cefe..b375141 100644
--- a/vibrator/cs40l26/hal_vibrator_default.te
+++ b/vibrator/cs40l26/hal_vibrator_default.te
@@ -17,6 +17,8 @@ get_prop(hal_vibrator_default, vendor_vibrator_prop);
# Allow Vibrator HAL to communicate with daemon via socket
unix_socket_connect(hal_vibrator_default, chre, chre);
+## TODO(b/248615564): Remove above rule after CHRE multiclient HAL is launched.
+unix_socket_connect(hal_vibrator_default, chre, hal_contexthub_default)
# Allow vibrator HAL's default implementation to use vendor-binder service
vndbinder_use(hal_vibrator_default);