From 1dff607a696686e358dbcb6177b2938874d9b528 Mon Sep 17 00:00:00 2001 From: y00810035 Date: Wed, 21 Jun 2023 15:36:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?selinux=E4=BB=93=E5=90=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: y00810035 Change-Id: I3d4f03adab4f2dd27e1ed6a607bd4d781b8cb2ee --- bundle.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle.json b/bundle.json index 089d62515..89e3f387e 100644 --- a/bundle.json +++ b/bundle.json @@ -28,7 +28,7 @@ "init", "ipc", "samgr", - "selinux" + "selinux_adapter" ], "third_party": [ "bounds_checking_function" -- Gitee From c30047c960bdfdb13ac27f03c721fd929a87e7e7 Mon Sep 17 00:00:00 2001 From: y00810035 Date: Wed, 21 Jun 2023 15:37:15 +0800 Subject: [PATCH 2/2] =?UTF-8?q?selinux=E4=BB=93=E5=90=8D=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: y00810035 Change-Id: Id61df4a393615200ff92c1568ae8b0f6e6a5ef9c --- .../resources/templates/lite/hdi_template/create_idl_hdi.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/create_idl_hdi.json b/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/create_idl_hdi.json index 1bbe0ae74..2bc8c34e7 100644 --- a/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/create_idl_hdi.json +++ b/framework/tools/hdf_dev_eco_tool/resources/templates/lite/hdi_template/create_idl_hdi.json @@ -8,7 +8,7 @@ "info_temp": "${peripheral_name}_host:x:${gid}:\n" }, "selinux":{ - "pre_path": "base/security/selinux/sepolicy/", + "pre_path": "base/security/selinux_adapter/sepolicy/", "type.te": { "path": "ohos_policy/drivers/adapter/vendor", "info_temp": "type ${peripheral_name}_host, hdfdomain, domain;\n", -- Gitee