Merge "Enable CAN HAL Configuration Service"
This commit is contained in:
commit
f5f23b7e03
2 changed files with 12 additions and 0 deletions
11
private/canhalconfigurator.te
Normal file
11
private/canhalconfigurator.te
Normal file
|
@ -0,0 +1,11 @@
|
|||
type canhalconfigurator, domain, coredomain;
|
||||
type canhalconfigurator_exec, exec_type, system_file_type, file_type;
|
||||
init_daemon_domain(canhalconfigurator)
|
||||
|
||||
# This allows the configurator to look up the CAN HAL controller via
|
||||
# hwservice_manager and communicate with it.
|
||||
allow canhalconfigurator hal_can_controller_hwservice:hwservice_manager find;
|
||||
binder_call(canhalconfigurator, hal_can_controller);
|
||||
allow canhalconfigurator hidl_manager_hwservice:hwservice_manager find;
|
||||
hwbinder_use(canhalconfigurator);
|
||||
get_prop(canhalconfigurator, hwservicemanager_prop);
|
|
@ -202,6 +202,7 @@
|
|||
/system/bin/blank_screen u:object_r:blank_screen_exec:s0
|
||||
/system/bin/boringssl_self_test(32|64) u:object_r:boringssl_self_test_exec:s0
|
||||
/system/bin/charger u:object_r:charger_exec:s0
|
||||
/system/bin/canhalconfigurator u:object_r:canhalconfigurator_exec:s0
|
||||
/system/bin/e2fsdroid u:object_r:e2fs_exec:s0
|
||||
/system/bin/mke2fs u:object_r:e2fs_exec:s0
|
||||
/system/bin/e2fsck -- u:object_r:fsck_exec:s0
|
||||
|
|
Loading…
Reference in a new issue