From 22edeab29497eb767df929210410bcd0f6754600 Mon Sep 17 00:00:00 2001 From: bailu1992 Date: Fri, 21 Mar 2025 14:42:31 +0800 Subject: [PATCH] pac_ret Changes Signed-off-by: bailu1992 --- frameworks/native/vibrator/BUILD.gn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frameworks/native/vibrator/BUILD.gn b/frameworks/native/vibrator/BUILD.gn index 1072d6d..42458b9 100644 --- a/frameworks/native/vibrator/BUILD.gn +++ b/frameworks/native/vibrator/BUILD.gn @@ -39,6 +39,7 @@ config("miscdevice_service_idl_config") { ohos_source_set("miscdevice_service_stub") { public_configs = [ ":miscdevice_service_idl_config" ] + branch_protector_ret = "pac_ret" sanitize = { cfi = true cfi_cross_dso = true @@ -59,6 +60,7 @@ ohos_source_set("miscdevice_service_stub") { ohos_source_set("miscdevice_service_proxy") { public_configs = [ ":miscdevice_service_idl_config" ] + branch_protector_ret = "pac_ret" sanitize = { cfi = true cfi_cross_dso = true -- Gitee