在 2/7/25 11:18 AM, WangYuli 写道:
Commit 918327e9b7ff ("ubsan: Remove CONFIG_UBSAN_SANITIZE_ALL")
removed the CONFIG_UBSAN_SANITIZE_ALL configuration option. Update
the Chinese documentation accordingly and revise the document format
by the way.
Link: https://lore.kernel.org/all/6F05157E5E157493+20250123043258.149643-1-wangyuli@xxxxxxxxxxxxx/
Signed-off-by: WangYuli <wangyuli@xxxxxxxxxxxxx>
---
Changelog:
*v1->v2: Update commit title to v6.14-rc1 and add Dongliang Mu's Chinese name.
---
.../translations/zh_CN/dev-tools/ubsan.rst | 35 +++++++++----------
1 file changed, 17 insertions(+), 18 deletions(-)
diff --git a/Documentation/translations/zh_CN/dev-tools/ubsan.rst b/Documentation/translations/zh_CN/dev-tools/ubsan.rst
index 2487696b3772..a4d4d4c6d157 100644
--- a/Documentation/translations/zh_CN/dev-tools/ubsan.rst
+++ b/Documentation/translations/zh_CN/dev-tools/ubsan.rst
@@ -3,7 +3,16 @@
.. include:: ../disclaimer-zh_CN.rst
:Original: Documentation/dev-tools/ubsan.rst
-:Translator: Dongliang Mu <dzm91@xxxxxxxxxxx>
+
+:翻译:
+
+ 慕冬亮 Dongliang Mu <dzm91@xxxxxxxxxxx>
+
+:校译:
+
+ 王昱力 WangYuli <wangyuli@xxxxxxxxxxxxx>
+
+.. _cn_ubsan:
we don't need the tag.
未定义行为消毒剂 - UBSAN
====================================
@@ -55,30 +64,20 @@ GCC自4.9.x [1_] (详见 ``-fsanitize=undefined`` 选项及其子选项)版
使用如下内核配置启用UBSAN::
- CONFIG_UBSAN=y
-
-使用如下内核配置检查整个内核::
-
- CONFIG_UBSAN_SANITIZE_ALL=y
+ CONFIG_UBSAN=y
Please keep the indentation length consistent with the original one.
Thanks,
Yanteng