From 3f25ab39dd9cbb016ecc07d8e3a6359f2f7a2084 Mon Sep 17 00:00:00 2001 From: Ashutosh Joshi <ashutoshj@google.com> Date: Thu, 16 Feb 2017 17:14:16 -0800 Subject: [PATCH] Allow sensor HALs to access ashmem memory regions. Allow sensor HALs to access ashmem memory. This is needed to support direct delivery of sensor samples to applications. Test: CTS test for SensorsDirectMode pass. Change-Id: I00e3c0a0e59d72f84ff48098ddf868c94695d616 --- public/hal_sensors.te | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 public/hal_sensors.te diff --git a/public/hal_sensors.te b/public/hal_sensors.te new file mode 100644 index 000000000..0f52ff55d --- /dev/null +++ b/public/hal_sensors.te @@ -0,0 +1,2 @@ +#Allow sensor hals to access ashmem memory allocated by apps +allow hal_sensors {appdomain - isolated_app}:fd use; -- GitLab