Skip to content
Snippets Groups Projects
Commit fe360ad6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Cleanup and renaming of vibrator HAL sepolicy"

parents 70d1d30e 2d9d3e6d
No related branches found
No related tags found
No related merge requests found
# may be started by init
init_daemon_domain(android_hardware_vibrator_1_0_service)
init_daemon_domain(android_hardware_vibrator_service)
......@@ -222,7 +222,7 @@
/system/fake-lib(64)?/libart.* u:object_r:libart_file:s0
/system/lib(64)?/libart.* u:object_r:libart_file: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_1_0_service_exec:s0
/system/bin/hw/android.hardware.vibrator@1.0-service u:object_r:android_hardware_vibrator_service_exec:s0
#############################
# Vendor files
......
# vibrator subsystem
type android_hardware_vibrator_1_0_service, domain;
type android_hardware_vibrator_1_0_service_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(android_hardware_vibrator_1_0_service)
# vibrator sysfs rw access
allow android_hardware_vibrator_1_0_service sysfs_vibrator:file rw_file_perms;
# vibrator subsystem
type android_hardware_vibrator_service, domain;
type android_hardware_vibrator_service_exec, exec_type, file_type;
# hwbinder access
hwbinder_use(android_hardware_vibrator_service)
# vibrator sysfs rw access
allow android_hardware_vibrator_service sysfs_vibrator:file rw_file_perms;
......@@ -147,6 +147,7 @@ allow system_server surfaceflinger:unix_stream_socket { read write setopt };
# Perform Binder IPC.
binder_use(system_server)
binder_call(system_server, android_hardware_vibrator_service)
binder_call(system_server, binderservicedomain)
binder_call(system_server, gatekeeperd)
binder_call(system_server, fingerprintd)
......@@ -155,7 +156,6 @@ binder_call(system_server, dumpstate)
binder_call(system_server, netd)
binder_call(system_server, wificond)
binder_service(system_server)
binder_call(system_server, android_hardware_vibrator_1_0_service)
# Ask debuggerd to dump backtraces for native stacks of interest.
#
......
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