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

sepolicy for boot_control HAL service

am: 2370fc77

Change-Id: I63f386c60595b9a8db29ecb2715558c78ddb4c70
parents fb2be316 2370fc77
Branches
Tags
No related merge requests found
...@@ -222,6 +222,7 @@ ...@@ -222,6 +222,7 @@
/system/bin/hw/wifi_hal_legacy u:object_r:wifi_hal_legacy_exec:s0 /system/bin/hw/wifi_hal_legacy u:object_r:wifi_hal_legacy_exec:s0
/system/fake-lib(64)?/libart.* u:object_r:libart_file:s0 /system/fake-lib(64)?/libart.* u:object_r:libart_file:s0
/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.boot@1.0-service u:object_r:hal_boot_exec:s0
/system/bin/hw/android.hardware.nfc@1.0-service u:object_r:android_hardware_nfc_1_0_service_exec:s0 /system/bin/hw/android.hardware.nfc@1.0-service u:object_r:android_hardware_nfc_1_0_service_exec:s0
/system/bin/hw/android.hardware.vibrator@1.0-service u:object_r:android_hardware_vibrator_service_exec:s0 /system/bin/hw/android.hardware.vibrator@1.0-service u:object_r:android_hardware_vibrator_service_exec:s0
/system/bin/hw/android.hardware.vr@1.0-service u:object_r:android_hardware_vr_exec:s0 /system/bin/hw/android.hardware.vr@1.0-service u:object_r:android_hardware_vr_exec:s0
......
# may be started by init
init_daemon_domain(hal_boot)
# boot_control subsystem
type hal_boot, domain;
type hal_boot_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(hal_boot)
# call into system_server process (callbacks)
binder_call(hal_boot, system_server)
...@@ -147,6 +147,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt }; ...@@ -147,6 +147,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, android_hardware_vibrator_service) binder_call(system_server, android_hardware_vibrator_service)
binder_call(system_server, android_hardware_vr) binder_call(system_server, android_hardware_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.
Please register or to comment