Skip to content
Snippets Groups Projects
Commit 90ab4dfb authored by ashutoshj's avatar ashutoshj Committed by Gerrit Code Review
Browse files

Merge "Add sepolicy for contexthub HAL"

parents 9f04eeb0 e8d0bdae
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,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_default_exec:s0
/system/bin/hw/android\.hardware\.boot@1\.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android\.hardware\.contexthub@1\.0-service u:object_r:hal_contexthub_default_exec:s0
/system/bin/hw/android\.hardware\.dumpstate@1\.0-service u:object_r:hal_dumpstate_default_exec:s0
/system/bin/hw/android\.hardware\.graphics\.allocator@2\.0-service u:object_r:hal_graphics_allocator_default_exec:s0
/system/bin/hw/android\.hardware\.graphics\.composer@2\.1-service u:object_r:hal_graphics_composer_default_exec:s0
......
type hal_contexthub_default, hal_contexthub, domain;
type hal_contexthub_default_exec, exec_type, file_type;
init_daemon_domain(hal_contexthub_default)
......@@ -130,3 +130,4 @@ attribute hal_thermal;
attribute hal_vibrator;
attribute hal_vr;
attribute hal_wifi;
attribute hal_contexthub;
# hwbinder access
hwbinder_use(hal_contexthub)
# call into system_server process (callbacks)
binder_call(hal_contexthub, system_server)
......@@ -160,6 +160,7 @@ binder_service(system_server)
# Perform HwBinder IPC.
hwbinder_use(system_server)
binder_call(system_server, hal_boot)
binder_call(system_server, hal_contexthub)
binder_call(system_server, hal_ir)
binder_call(system_server, hal_light)
binder_call(system_server, hal_memtrack)
......
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