From b9181de2eae7adffe978f12ddb85b668551fc528 Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Mon, 1 Apr 2024 08:14:30 +0000 Subject: [PATCH] sepolicy: allow hal_gnss_pixel to connect to hal_contexthub_default avc: denied { call } for scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0 Bug: 339391267 Test: Verified the boot health at b/339391267#comment21. Test: Verified the boot health at b/339391267#comment22. Change-Id: I109d03e52f6576328b92ec0b18041da8fac502eb --- 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)