Linux Documentation
 help / color / mirror / Atom feed
From: Yan Zhu <zhuyan2015@qq.com>
To: alexs@kernel.org, si.yanteng@linux.dev, corbet@lwn.net, mic@digikod.net
Cc: dzm91@hust.edu.cn, skhan@linuxfoundation.org, gnoack@google.com,
	zhuyan2015@qq.com, linux-doc@vger.kernel.org,
	linux-security-module@vger.kernel.org
Subject: [PATCH 01/10] docs/zh_CN: add LSM/index Chinese translation
Date: Sun, 15 Nov 2026 23:19:57 +0800	[thread overview]
Message-ID: <tencent_EF8DF9217CBE27B90C58FE6419DF3D1EC50A@qq.com> (raw)
In-Reply-To: <cover.1781105672.git.zhuyan2015@qq.com>

Translate Documentation/admin-guide/LSM/index.rst into Chinese, and
update admin-guide/index.rst to include LSM/index in the toctree.

Update the translation through commit 504f231cda56
("doc: ReSTify and split LSM.txt")

Assisted-by: Claude:deepseek-4-pro
Signed-off-by: Yan Zhu <zhuyan2015@qq.com>
---
 .../zh_CN/admin-guide/LSM/index.rst           | 46 +++++++++++++++++++
 .../translations/zh_CN/admin-guide/index.rst  |  3 +-
 2 files changed, 48 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/translations/zh_CN/admin-guide/LSM/index.rst

diff --git a/Documentation/translations/zh_CN/admin-guide/LSM/index.rst b/Documentation/translations/zh_CN/admin-guide/LSM/index.rst
new file mode 100644
index 000000000000..21e2b00af544
--- /dev/null
+++ b/Documentation/translations/zh_CN/admin-guide/LSM/index.rst
@@ -0,0 +1,46 @@
+.. SPDX-License-Identifier: GPL-2.0
+.. include:: ../../disclaimer-zh_CN.rst
+
+:Original: Documentation/admin-guide/LSM/index.rst
+:翻译:
+ 朱岩 Yan Zhu <zhuyan2015@qq.com>
+
+==================
+Linux 安全模块用法
+==================
+
+Linux 安全模块(LSM)框架提供了一种机制,允许新内核扩展在各种安全检查点挂载钩
+子。“module” 一词实际上有些误导,因为这些扩展并不是可加载的内核模块。它们在编
+译时通过 CONFIG_DEFAULT_SECURITY 选择,当多个 LSM 被编译进同一内核时,可以在
+启动时通过 “security=…” 内核命令行参数覆盖。
+
+LSM 接口的主要使用者是强制访问控制(MAC)扩展,提供完整的安全策略。典型例子包
+括 SELinux、Smack、Tomoyo、AppArmor。除了这些大型 MAC 扩展外,还可以利用 LSM
+构建其他扩展,在 Linux 本身未提供的系统行为上做特定修改。
+
+Linux capability 模块始终会被包含。其后可能出现任意数量的“次要”模块,且最多
+只有一个“主要”模块。有关 capability 模块的详细信息,请参见 Linux man‑pages
+项目中的 ``capabilities(7)`` 手册页。
+
+可以通过读取 ``/sys/kernel/security/lsm`` 查看当前激活的安全模块列表。该列表
+以逗号分隔,并始终包括 capability 模块。列表的顺序即检查顺序。capability 模
+块始终排在第一位,如果系统配置了的话,随后是所有“次要”模块(例如 Yama),然后
+是“主要”模块(例如 SELinux)。
+
+与“主要”安全模块关联的进程属性应通过 ``/proc/.../attr`` 中的特殊文件访问和维
+护。安全模块可能在该目录下维护以其名字命名的子目录,例如
+``/proc/.../attr/smack`` 由 Smack 模块提供,包含其所有专用文件。
+``/proc/.../attr`` 中的文件仍然是为提供子目录的模块保留的旧接口。
+
+.. toctree::
+   :maxdepth: 1
+
+   apparmor
+   LoadPin
+   SELinux
+   Smack
+   tomoyo
+   Yama
+   SafeSetID
+   ipe
+   landlock
diff --git a/Documentation/translations/zh_CN/admin-guide/index.rst b/Documentation/translations/zh_CN/admin-guide/index.rst
index bd01cf6474c8..10f9e3c577c3 100644
--- a/Documentation/translations/zh_CN/admin-guide/index.rst
+++ b/Documentation/translations/zh_CN/admin-guide/index.rst
@@ -52,10 +52,11 @@ Todolist:
 .. toctree::
    :maxdepth: 1
 
+   LSM/index
+
 Todolist:
 
 *   hw-vuln/index
-*   LSM/index
 *   perf-security
 
 
-- 
2.43.0


  parent reply	other threads:[~2026-11-15 15:20 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cover.1781105672.git.zhuyan2015@qq.com>
2026-06-12 15:58 ` [PATCH 01/10] docs/zh_CN: add LSM/index Chinese translation Yan Zhu
2026-06-12 15:58 ` [PATCH 02/10] docs/zh_CN: add LSM/apparmor " Yan Zhu
2026-06-12 15:58 ` [PATCH 03/10] docs/zh_CN: add LSM/LoadPin " Yan Zhu
2026-10-26  9:21   ` Dongliang Mu
2026-06-12 15:58 ` [PATCH 04/10] docs/zh_CN: add LSM/SELinux " Yan Zhu
2026-06-12 15:58 ` [PATCH 05/10] docs/zh_CN: add LSM/Smack " Yan Zhu
2026-06-12 15:58 ` [PATCH 06/10] docs/zh_CN: add LSM/tomoyo " Yan Zhu
2026-06-12 15:58 ` [PATCH 07/10] docs/zh_CN: add LSM/Yama " Yan Zhu
2026-06-12 15:58 ` [PATCH 08/10] docs/zh_CN: add LSM/SafeSetID " Yan Zhu
2026-06-12 15:58 ` [PATCH 09/10] docs/zh_CN: add LSM/ipe " Yan Zhu
2026-06-13  2:54   ` Fan Wu
2026-06-13 15:08     ` Yan Zhu
2026-10-26  9:26       ` Dongliang Mu
2026-07-06  4:41     ` Alex Shi
2026-10-23 15:38     ` Weijie Yuan
2026-06-12 15:58 ` [PATCH 10/10] docs/zh_CN: add LSM/landlock " Yan Zhu
2026-10-26 10:12   ` Dongliang Mu
2026-11-15 14:12     ` Yan Zhu
2026-06-12 16:03 ` [PATCH 03/10] docs/zh_CN: add LSM/LoadPin " Yan Zhu
2026-07-04 15:20 ` [PATCH 01/10] docs/zh_CN: add LSM/index " Weijie Yuan
2026-11-15 15:19 ` Yan Zhu [this message]
2026-11-15 15:19 ` [PATCH 02/10] docs/zh_CN: add LSM/apparmor " Yan Zhu
2026-11-15 15:19 ` [PATCH 03/10] docs/zh_CN: add LSM/LoadPin " Yan Zhu
2026-11-15 15:20 ` [PATCH 04/10] docs/zh_CN: add LSM/SELinux " Yan Zhu
2026-11-15 15:20 ` [PATCH 05/10] docs/zh_CN: add LSM/Smack " Yan Zhu
2026-11-15 15:20 ` [PATCH 06/10] docs/zh_CN: add LSM/tomoyo " Yan Zhu
2026-11-15 15:20 ` [PATCH 07/10] docs/zh_CN: add LSM/Yama " Yan Zhu
2026-11-15 15:20 ` [PATCH 08/10] docs/zh_CN: add LSM/SafeSetID " Yan Zhu
2026-11-15 15:20 ` [PATCH 09/10] docs/zh_CN: add LSM/ipe " Yan Zhu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_EF8DF9217CBE27B90C58FE6419DF3D1EC50A@qq.com \
    --to=zhuyan2015@qq.com \
    --cc=alexs@kernel.org \
    --cc=corbet@lwn.net \
    --cc=dzm91@hust.edu.cn \
    --cc=gnoack@google.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=mic@digikod.net \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox