Merge "Add rules for hidl_lazy_test*" into rvc-dev
This commit is contained in:
commit
293754959b
6 changed files with 15 additions and 0 deletions
1
private/attributes
Normal file
1
private/attributes
Normal file
|
@ -0,0 +1 @@
|
|||
hal_attribute(lazy_test);
|
|
@ -449,6 +449,7 @@
|
|||
/(system_ext|system/system_ext)/etc/selinux/system_ext_mac_permissions\.xml u:object_r:mac_perms_file:s0
|
||||
|
||||
/(system_ext|system/system_ext)/bin/aidl_lazy_test_server u:object_r:aidl_lazy_test_server_exec:s0
|
||||
/(system_ext|system/system_ext)/bin/hidl_lazy_test_server u:object_r:hidl_lazy_test_server_exec:s0
|
||||
|
||||
#############################
|
||||
# Vendor files from /(product|system/product)/vendor_overlay
|
||||
|
|
3
private/hal_lazy_test.te
Normal file
3
private/hal_lazy_test.te
Normal file
|
@ -0,0 +1,3 @@
|
|||
userdebug_or_eng(`
|
||||
hal_attribute_hwservice(hal_lazy_test, hal_lazy_test_hwservice)
|
||||
')
|
8
private/hidl_lazy_test_server.te
Normal file
8
private/hidl_lazy_test_server.te
Normal file
|
@ -0,0 +1,8 @@
|
|||
type hidl_lazy_test_server, domain;
|
||||
type hidl_lazy_test_server_exec, exec_type, file_type, system_file_type;
|
||||
|
||||
userdebug_or_eng(`
|
||||
typeattribute hidl_lazy_test_server coredomain;
|
||||
init_daemon_domain(hidl_lazy_test_server)
|
||||
hal_server_domain(hidl_lazy_test_server, hal_lazy_test)
|
||||
')
|
1
private/hwservice.te
Normal file
1
private/hwservice.te
Normal file
|
@ -0,0 +1 @@
|
|||
type hal_lazy_test_hwservice, hwservice_manager_type, protected_hwservice;
|
|
@ -40,6 +40,7 @@ android.hardware.health.storage::IStorage u:object_r:hal_h
|
|||
android.hardware.input.classifier::IInputClassifier u:object_r:hal_input_classifier_hwservice:s0
|
||||
android.hardware.ir::IConsumerIr u:object_r:hal_ir_hwservice:s0
|
||||
android.hardware.keymaster::IKeymasterDevice u:object_r:hal_keymaster_hwservice:s0
|
||||
android.hardware.tests.lazy::ILazy u:object_r:hal_lazy_test_hwservice:s0
|
||||
android.hardware.light::ILight u:object_r:hal_light_hwservice:s0
|
||||
android.hardware.lowpan::ILowpanDevice u:object_r:hal_lowpan_hwservice:s0
|
||||
android.hardware.media.omx::IOmx u:object_r:hal_omx_hwservice:s0
|
||||
|
|
Loading…
Reference in a new issue