Re: [PATCH v4 5/5] docs/zh_CN: Add LSM/SeLinux secid Chinese translation

Dongliang Mu <[email protected]>
Newsgroups org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On 8/17/26 10:13 AM, Siwei Chen wrote:
> From: Siwei Chen <[email protected]>
>
> Translate .../networking/secid.rst into Chinese.
>
> Update the translation through commit de1fd4a7b0f2
> ("docs: networking: convert secid.txt to ReST")

Two small issues in this patch:

1. revise the commit title: SeLinux -> SELinux. You may miss one of my 
email - 
https://lore.kernel.org/all/[email protected]/

2. I observed one small inconsistency: flowi structure and flow 
structure. After searching, the flow structure may refer to flowi, 
flowi4, flowi6, or simple typo, no matter what it is, let us translate 
it into "flowi 结构体"

Dongliang Mu

>
> Signed-off-by: Siwei Chen <[email protected]>
> ---
>   .../translations/zh_CN/networking/index.rst   |  2 +-
>   .../translations/zh_CN/networking/secid.rst   | 24 +++++++++++++++++++
>   2 files changed, 25 insertions(+), 1 deletion(-)
>   create mode 100644 Documentation/translations/zh_CN/networking/secid.rst
>
> diff --git a/Documentation/translations/zh_CN/networking/index.rst b/Documentation/translations/zh_CN/networking/index.rst
> index cd768d0a2837..bf22d22b64db 100644
> --- a/Documentation/translations/zh_CN/networking/index.rst
> +++ b/Documentation/translations/zh_CN/networking/index.rst
> @@ -24,6 +24,7 @@
>      driver
>      ipv6
>      napi
> +   secid
>      vxlan
>      netif-msg
>      xfrm_proc
> @@ -126,7 +127,6 @@ Todolist:
>   *   representors
>   *   rxrpc
>   *   sctp
> -*   secid
>   *   seg6-sysctl
>   *   smc-sysctl
>   *   statistics
> diff --git a/Documentation/translations/zh_CN/networking/secid.rst b/Documentation/translations/zh_CN/networking/secid.rst
> new file mode 100644
> index 000000000000..45c79d1b9e07
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/networking/secid.rst
> @@ -0,0 +1,24 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: Documentation/networking/secid.rst
> +
> +:翻译:
> +
> +	陈思为 Siwei Chen <[email protected]>
> +
> +=================
> +LSM/SeLinux secid
> +=================
> +
> +flowi 结构体:
> +
> +flow 结构体中的 secid 成员在 LSM(如 SELinux)中用于表示该流的标签。
> +该流的标签目前用于选择相匹配的带标签 xfrm。
> +
> +若为出向流,标签派生自套接字(若有);如果该流是为响应某个入站报文而生成的,
> +则标签派生自相应的入站报文(例如 TCP 复位、timewait ACK 等)。
> +在特殊情况下,也可酌情让标签派生自其他来源,如进程上下文、设备等。
> +
> +若为入向流,标签派生自报文所使用的 IPSec 安全关联(若存在)。
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.