summaryrefslogtreecommitdiff
path: root/prebuilts/api/32.0/public/hal_allocator.te
diff options
context:
space:
mode:
Diffstat (limited to 'prebuilts/api/32.0/public/hal_allocator.te')
-rw-r--r--prebuilts/api/32.0/public/hal_allocator.te6
1 files changed, 6 insertions, 0 deletions
diff --git a/prebuilts/api/32.0/public/hal_allocator.te b/prebuilts/api/32.0/public/hal_allocator.te
new file mode 100644
index 000000000..6417b6289
--- /dev/null
+++ b/prebuilts/api/32.0/public/hal_allocator.te
@@ -0,0 +1,6 @@
+# HwBinder IPC from client to server
+binder_call(hal_allocator_client, hal_allocator_server)
+
+hal_attribute_hwservice(hal_allocator, hidl_allocator_hwservice)
+allow hal_allocator_client hidl_memory_hwservice:hwservice_manager find;
+allow hal_allocator_client same_process_hal_file:file { execute read open getattr map };