Skip to content
Snippets Groups Projects
Commit 5f50fd90 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

am: 7724c229

Change-Id: I6e4ad94ec694f96c4685f33be090ce479a87b0fd
parents c00252cd 7724c229
No related branches found
No related tags found
No related merge requests found
...@@ -230,6 +230,7 @@ ...@@ -230,6 +230,7 @@
/system/lib(64)?/libart.* u:object_r:libart_file:s0 /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\.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\.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\.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\.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 /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; ...@@ -116,3 +116,4 @@ attribute update_engine_common;
# HALs # HALs
attribute hal_light; 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) ...@@ -159,6 +159,7 @@ binder_service(system_server)
# Perform HwBinder IPC. # Perform HwBinder IPC.
hwbinder_use(system_server) hwbinder_use(system_server)
binder_call(system_server, hal_boot) binder_call(system_server, hal_boot)
binder_call(system_server, hal_ir)
binder_call(system_server, hal_light) binder_call(system_server, hal_light)
binder_call(system_server, hal_memtrack) binder_call(system_server, hal_memtrack)
binder_call(system_server, hal_power) 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