[PATCH] docs/zh_CN: Add security lsm-development Chinese translation

Shuo Zhao posted 1 patch 2 weeks, 1 day ago
.../translations/zh_CN/security/index.rst     |  2 +-
.../zh_CN/security/lsm-development.rst        | 19 +++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 Documentation/translations/zh_CN/security/lsm-development.rst
[PATCH] docs/zh_CN: Add security lsm-development Chinese translation
Posted by Shuo Zhao 2 weeks, 1 day ago
Translate .../security/lsm-development.rst into Chinese.

Update the translation through commit 6d2ed653185b
("lsm: move hook comments docs to security/security.c").

Signed-off-by: Shuo Zhao <zhaoshuo@cqsoftware.com.cn>
---
 .../translations/zh_CN/security/index.rst     |  2 +-
 .../zh_CN/security/lsm-development.rst        | 19 +++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/security/lsm-development.rst

diff --git a/Documentation/translations/zh_CN/security/index.rst b/Documentation/translations/zh_CN/security/index.rst
index 78d9d4b36dca..05d24e3acc11 100644
--- a/Documentation/translations/zh_CN/security/index.rst
+++ b/Documentation/translations/zh_CN/security/index.rst
@@ -18,6 +18,7 @@
    credentials
    snp-tdx-threat-model
    lsm
+   lsm-development
    sak
    self-protection
    siphash
@@ -28,7 +29,6 @@
 TODOLIST:
 * IMA-templates
 * keys/index
-* lsm-development
 * SCTP
 * secrets/index
 * ipe
diff --git a/Documentation/translations/zh_CN/security/lsm-development.rst b/Documentation/translations/zh_CN/security/lsm-development.rst
new file mode 100644
index 000000000000..7ed3719a9d07
--- /dev/null
+++ b/Documentation/translations/zh_CN/security/lsm-development.rst
@@ -0,0 +1,19 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../disclaimer-zh_CN.rst
+
+:Original: Documentation/security/lsm-development.rst
+
+:翻译:
+ 赵硕 Shuo Zhao <zhaoshuo@cqsoftware.com.cn>
+
+=================
+Linux安全模块开发
+=================
+
+基于https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org,
+当一种新的LSM的意图(它试图防范什么,以及在哪些情况下人们会期望使用它)在
+``Documentation/admin-guide/LSM/`` 中适当记录下来后,就会被接受进入内核。
+这使得LSM的代码可以很轻松的与其目标进行对比,从而让最终用户和发行版可以更
+明智地决定那些LSM适合他们的需求。
+
+有关可用的 LSM 钩子接口的详细文档,请参阅 ``security/security.c`` 及相关结构。
-- 
2.49.0

Re: [PATCH] docs/zh_CN: Add security lsm-development Chinese translation
Posted by Yanteng Si 2 weeks, 1 day ago
在 9/17/25 3:30 PM, Shuo Zhao 写道:
> Translate .../security/lsm-development.rst into Chinese.
>
> Update the translation through commit 6d2ed653185b
> ("lsm: move hook comments docs to security/security.c").
>
> Signed-off-by: Shuo Zhao <zhaoshuo@cqsoftware.com.cn>

Reviewed-by: Yanteng Si <siyanteng@cqsoftware.com.cn>


Thanks,

Yanteng

> ---
>   .../translations/zh_CN/security/index.rst     |  2 +-
>   .../zh_CN/security/lsm-development.rst        | 19 +++++++++++++++++++
>   2 files changed, 20 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/translations/zh_CN/security/lsm-development.rst
>
> diff --git a/Documentation/translations/zh_CN/security/index.rst b/Documentation/translations/zh_CN/security/index.rst
> index 78d9d4b36dca..05d24e3acc11 100644
> --- a/Documentation/translations/zh_CN/security/index.rst
> +++ b/Documentation/translations/zh_CN/security/index.rst
> @@ -18,6 +18,7 @@
>      credentials
>      snp-tdx-threat-model
>      lsm
> +   lsm-development
>      sak
>      self-protection
>      siphash
> @@ -28,7 +29,6 @@
>   TODOLIST:
>   * IMA-templates
>   * keys/index
> -* lsm-development
>   * SCTP
>   * secrets/index
>   * ipe
> diff --git a/Documentation/translations/zh_CN/security/lsm-development.rst b/Documentation/translations/zh_CN/security/lsm-development.rst
> new file mode 100644
> index 000000000000..7ed3719a9d07
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/security/lsm-development.rst
> @@ -0,0 +1,19 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/security/lsm-development.rst
> +
> +:翻译:
> + 赵硕 Shuo Zhao <zhaoshuo@cqsoftware.com.cn>
> +
> +=================
> +Linux安全模块开发
> +=================
> +
> +基于https://lore.kernel.org/r/20071026073721.618b4778@laptopd505.fenrus.org,
> +当一种新的LSM的意图(它试图防范什么,以及在哪些情况下人们会期望使用它)在
> +``Documentation/admin-guide/LSM/`` 中适当记录下来后,就会被接受进入内核。
> +这使得LSM的代码可以很轻松的与其目标进行对比,从而让最终用户和发行版可以更
> +明智地决定那些LSM适合他们的需求。
> +
> +有关可用的 LSM 钩子接口的详细文档,请参阅 ``security/security.c`` 及相关结构。