From c4d15941317c9ae246e32ba8ab8f230e720ba9b1 Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Mon, 1 Apr 2024 08:14:30 +0000 Subject: [PATCH] sepolicy: Allow PixelGnss to connect to Chre HAL avc: denied { call } for scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0 Bug: 330120749 Test: Verify PixelGnss HAL can connect to Chre HAL. Test: Function test verification b/330120749. Test: b/330120749#comment24 health boot check. Test: b/330120749#comment25 health boot check. Change-Id: I051cc19407ba168fadea4d51ed4aa1527e414bb7 --- vendor/hal_contexthub_default.te | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 vendor/hal_contexthub_default.te diff --git a/vendor/hal_contexthub_default.te b/vendor/hal_contexthub_default.te new file mode 100644 index 0000000..6e9041a --- /dev/null +++ b/vendor/hal_contexthub_default.te @@ -0,0 +1,3 @@ + +# Allow binder call to PixelGnss PPS function. +binder_call(hal_contexthub_default, hal_gnss_pixel)