Merge "Add sepolicy for IInputProcessor HAL" am: c23930818d
am: e12bcb296e
am: 4bec13cf50
am: 94ba617915
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1945423 Change-Id: I471ae65938d4088d05adb4aa0c1a28dc8e9022ad
This commit is contained in:
commit
5929ac1cf0
8 changed files with 16 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
|||
hal_graphics_allocator_service
|
||||
hal_graphics_composer_service
|
||||
hal_health_service
|
||||
hal_input_processor_service
|
||||
hal_ir_service
|
||||
hal_nlinterceptor_service
|
||||
hal_radio_config_service
|
||||
|
|
|
@ -12,6 +12,7 @@ android.hardware.graphics.composer3.IComposer/default u:object_r:
|
|||
android.hardware.health.storage.IStorage/default u:object_r:hal_health_storage_service:s0
|
||||
android.hardware.health.IHealth/default u:object_r:hal_health_service:s0
|
||||
android.hardware.identity.IIdentityCredentialStore/default u:object_r:hal_identity_service:s0
|
||||
android.hardware.input.processor.IInputProcessor/default u:object_r:hal_input_processor_service:s0
|
||||
android.hardware.ir.IConsumerIr/default u:object_r:hal_ir_service:s0
|
||||
android.hardware.light.ILights/default u:object_r:hal_light_service:s0
|
||||
android.hardware.memtrack.IMemtrack/default u:object_r:hal_memtrack_service:s0
|
||||
|
|
|
@ -296,6 +296,7 @@ hal_client_domain(system_server, hal_gnss)
|
|||
hal_client_domain(system_server, hal_graphics_allocator)
|
||||
hal_client_domain(system_server, hal_health)
|
||||
hal_client_domain(system_server, hal_input_classifier)
|
||||
hal_client_domain(system_server, hal_input_processor)
|
||||
hal_client_domain(system_server, hal_ir)
|
||||
hal_client_domain(system_server, hal_light)
|
||||
hal_client_domain(system_server, hal_memtrack)
|
||||
|
|
|
@ -347,6 +347,7 @@ hal_attribute(health);
|
|||
hal_attribute(health_storage);
|
||||
hal_attribute(identity);
|
||||
hal_attribute(input_classifier);
|
||||
hal_attribute(input_processor);
|
||||
hal_attribute(ir);
|
||||
hal_attribute(keymaster);
|
||||
hal_attribute(keymint);
|
||||
|
|
5
public/hal_input_processor.te
Normal file
5
public/hal_input_processor.te
Normal file
|
@ -0,0 +1,5 @@
|
|||
# HwBinder IPC from client to server
|
||||
binder_call(hal_input_processor_client, hal_input_processor_server)
|
||||
binder_call(hal_input_processor_server, servicemanager)
|
||||
|
||||
hal_attribute_service(hal_input_processor, hal_input_processor_service)
|
|
@ -276,6 +276,7 @@ type hal_graphics_composer_service, vendor_service, protected_service, service_m
|
|||
type hal_health_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_health_storage_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_identity_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_input_processor_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_ir_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_keymint_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_light_service, vendor_service, protected_service, service_manager_type;
|
||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -52,6 +52,7 @@
|
|||
/(vendor|system/vendor)/bin/hw/android\.hardware\.health\.storage-service\.default u:object_r:hal_health_storage_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.identity-service.example u:object_r:hal_identity_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.input\.classifier@1\.0-service u:object_r:hal_input_classifier_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.input\.processor-service u:object_r:hal_input_processor_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service u:object_r:hal_ir_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.ir-service\.example u:object_r:hal_ir_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.keymaster@3\.0-service u:object_r:hal_keymaster_default_exec:s0
|
||||
|
|
5
vendor/hal_input_processor_default.te
vendored
Normal file
5
vendor/hal_input_processor_default.te
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
type hal_input_processor_default, domain;
|
||||
hal_server_domain(hal_input_processor_default, hal_input_processor)
|
||||
|
||||
type hal_input_processor_default_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(hal_input_processor_default)
|
Loading…
Reference in a new issue