From 17dd228fc75c6bd1a096edab0723373c8e7c6aee Mon Sep 17 00:00:00 2001 From: minaripenguin Date: Mon, 5 Feb 2024 14:35:04 +0800 Subject: [PATCH] sunfish: Import sepolicy rules for cross device service Change-Id: I4421c71695fc1c9c21c258c9dd05cb0c67d8a7e4 Signed-off-by: aswin7469 --- sepolicy/private/service.te | 1 + sepolicy/private/service_contexts | 1 + sepolicy/private/system_server.te | 1 + 3 files changed, 3 insertions(+) create mode 100644 sepolicy/private/system_server.te diff --git a/sepolicy/private/service.te b/sepolicy/private/service.te index ff1728a7..57ec612e 100644 --- a/sepolicy/private/service.te +++ b/sepolicy/private/service.te @@ -1,2 +1,3 @@ type qchook_service, service_manager_type; type cne_service, service_manager_type; +type cross_device_service, app_api_service, system_server_service, service_manager_type; diff --git a/sepolicy/private/service_contexts b/sepolicy/private/service_contexts index 27ad8e27..55d37f94 100644 --- a/sepolicy/private/service_contexts +++ b/sepolicy/private/service_contexts @@ -1,2 +1,3 @@ qchook u:object_r:qchook_service:s0 cneservice u:object_r:cne_service:s0 +cross_device_service u:object_r:cross_device_service:s0 diff --git a/sepolicy/private/system_server.te b/sepolicy/private/system_server.te new file mode 100644 index 00000000..abaec856 --- /dev/null +++ b/sepolicy/private/system_server.te @@ -0,0 +1 @@ +add_service(system_server, cross_device_service);