hal_graphics_allocator.te 651 B

12345678910111213
  1. # HwBinder IPC from client to server
  2. binder_call(hal_graphics_allocator_client, hal_graphics_allocator_server)
  3. hal_attribute_hwservice(hal_graphics_allocator, hal_graphics_allocator_hwservice)
  4. allow hal_graphics_allocator_client hal_graphics_mapper_hwservice:hwservice_manager find;
  5. allow hal_graphics_allocator_client same_process_hal_file:file { execute read open getattr map };
  6. # GPU device access
  7. allow hal_graphics_allocator gpu_device:chr_file rw_file_perms;
  8. allow hal_graphics_allocator ion_device:chr_file r_file_perms;
  9. # allow to run with real-time scheduling policy
  10. allow hal_graphics_allocator self:global_capability_class_set sys_nice;