From 8745414fb83c1a8aa21037260757cd4796b6f611 Mon Sep 17 00:00:00 2001 From: Cheng Chang Date: Tue, 19 Mar 2024 03:45:45 +0000 Subject: [PATCH] sepolicy: allow hal_contexthub_defaultto connect to hal_gnss_pixelL 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. Change-Id: I2b545d23d1429ae7bc1c9e3e1d0a72099d0ad4b3 --- vendor/hal_contexthub_default.te | 6 ++++++ 1 file changed, 6 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..e749f01 --- /dev/null +++ b/vendor/hal_contexthub_default.te @@ -0,0 +1,6 @@ +# +# Context hub multiclient HAL common selinux policies +# +# Allow binder call to PixelGnss PPS function. +binder_call(hal_contexthub_default, hal_gnss_pixel) +