Skip to content
Snippets Groups Projects
Commit 7724c229 authored by Connor O'Brien's avatar Connor O'Brien Committed by android-build-merger
Browse files

Add sepolicy for consumerir HIDL HAL

am: a95c52e3

Change-Id: Ibf4f702d4b7d1f86baa7550b8b76bb3b30aa81ca
parents c94b1491 a95c52e3
No related branches found
No related tags found
No related merge requests found
......@@ -230,6 +230,7 @@
/system/lib(64)?/libart.* u:object_r:libart_file:s0
/system/bin/hw/android\.hardware\.audio@2\.0-service u:object_r:hal_audio_exec:s0
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android\.hardware\.ir@1\.0-service u:object_r:hal_ir_default_exec:s0
/system/bin/hw/android\.hardware\.graphics\.allocator@2\.0-service u:object_r:hal_graphics_allocator_exec:s0
/system/bin/hw/android\.hardware\.graphics\.composer@2\.1-service u:object_r:hal_graphics_composer_exec:s0
/system/bin/hw/android\.hardware\.light@2\.0-service u:object_r:hal_light_default_exec:s0
......
type hal_ir_default, hal_ir, domain;
type hal_ir_default_exec, exec_type, file_type;
# may be started by init
init_daemon_domain(hal_ir_default)
......@@ -116,3 +116,4 @@ attribute update_engine_common;
# HALs
attribute hal_light;
attribute hal_ir;
# hwbinder access
hwbinder_use(hal_ir)
# call into system_server process (callbacks)
binder_call(hal_ir, system_server)
......@@ -159,6 +159,7 @@ binder_service(system_server)
# Perform HwBinder IPC.
hwbinder_use(system_server)
binder_call(system_server, hal_boot)
binder_call(system_server, hal_ir)
binder_call(system_server, hal_light)
binder_call(system_server, hal_memtrack)
binder_call(system_server, hal_power)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment