Skip to content
Snippets Groups Projects
Commit b8ae7eeb authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Sepolicy for light hal. am: 1ec710c8 am: cdd1bd76 am: 5c482cc9

am: dec31abc

Change-Id: I78e1c62f6863447bddf8f2fd111519538fb3f70d
parents 5717813e dec31abc
No related branches found
No related tags found
No related merge requests found
...@@ -222,6 +222,7 @@ ...@@ -222,6 +222,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\.light@2\.0-service u:object_r:hal_light_exec:s0
/system/bin/hw/android\.hardware\.nfc@1\.0-service u:object_r:hal_nfc_exec:s0 /system/bin/hw/android\.hardware\.nfc@1\.0-service u:object_r:hal_nfc_exec:s0
/system/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_exec:s0 /system/bin/hw/android\.hardware\.vibrator@1\.0-service u:object_r:hal_vibrator_exec:s0
/system/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_exec:s0 /system/bin/hw/android\.hardware\.vr@1\.0-service u:object_r:hal_vr_exec:s0
......
# may be started by init
init_daemon_domain(hal_light)
# light subsystem
type hal_light, domain;
type hal_light_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_light)
# call into system_server process (callbacks)
binder_call(hal_light, system_server)
...@@ -148,6 +148,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt }; ...@@ -148,6 +148,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt };
# Perform Binder IPC. # Perform Binder IPC.
binder_use(system_server) binder_use(system_server)
binder_call(system_server, hal_boot) binder_call(system_server, hal_boot)
binder_call(system_server, hal_light)
binder_call(system_server, hal_vibrator) binder_call(system_server, hal_vibrator)
binder_call(system_server, hal_vr) binder_call(system_server, hal_vr)
binder_call(system_server, binderservicedomain) binder_call(system_server, binderservicedomain)
......
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