mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dongliang Mu <dzm91@hust.edu.cn>
To: Siwei Chen <anka@stu.cdut.edu.cn>,
	alexs@kernel.org, si.yanteng@linux.dev, corbet@lwn.net,
	skhan@linuxfoundation.org
Cc: wy@wyuan.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, Siwei Chen <businiaoanka@anka1.top>
Subject: Re: [PATCH v2 5/5] docs/zh_CN: Add LSM/SeLinux secid Chinese translation
Date: Tue, 11 Aug 2026 12:08:55 +0800	[thread overview]
Message-ID: <e1eb07d6-9da6-4936-aaac-e12889886e90@hust.edu.cn> (raw)
In-Reply-To: <20260727073538.56951-6-anka@stu.cdut.edu.cn>


On 7/27/26 3:35 PM, Siwei Chen wrote:
> From: Siwei Chen <businiaoanka@anka1.top>
>
> Translate .../networking/secid.rst into Chinese.
>
> Update the translation through commit de1fd4a7b0f2
> ("docs: networking: convert secid.txt to ReST")
>
> Signed-off-by: Siwei Chen <businiaoanka@anka1.top>
> ---
>   .../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..0168feddcc3d
> --- /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 <businiaoanka@anka1.top>
> +
> +=================
> +LSM/SELinux secid
> +=================
> +
> +flowi 结构体:
> +
> +flow 结构体中的 secid 成员在 LSM(如 SELinux)中用于表示该流的标签。
> +该流的标签目前用于选择相匹配的带标签 xfrm。
> +
> +若为出向流,标签派生自套接字(若有),或派生自本流作为响应而生成的入站报文
> +(如 TCP 复位、timewait ACK 等)。在特殊情况下,也可酌情让标签派生自其他
> +来源,如进程上下文、设备等。

If this is an outbound flow, the label is derived from the socket, if any, or
the incoming packet this flow is being generated as a response to (e.g. tcp
resets, timewait ack, etc.).

Suggested translation:

若为出向流,标签派生自套接字(若有);如果该流是为响应某个入站报文而生成的,则标签派生自相应的入站报文(例如 
TCP 复位、

timewait ACK 等)。

Dongliang Mu

> +
> +若为入向流,标签派生自报文所使用的 IPSec 安全关联(若存在)。


  reply	other threads:[~2026-08-11  4:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-27  7:35 [PATCH v2 0/5] docs/zh_CN: Add Chinese translations for five networking documents Siwei Chen
2026-07-27  7:35 ` [PATCH v2 1/5] docs/zh_CN: Add networking team documentation Chinese translation Siwei Chen
2026-07-27  7:35 ` [PATCH v2 2/5] docs/zh_CN: Add NIC SR-IOV APIs " Siwei Chen
2026-08-11  4:13   ` Dongliang Mu
2026-07-27  7:35 ` [PATCH v2 3/5] docs/zh_CN: Add Softnet Driver Issues " Siwei Chen
2026-07-27  7:35 ` [PATCH v2 4/5] docs/zh_CN: Add ipv6 " Siwei Chen
2026-08-11  4:14   ` Dongliang Mu
2026-08-11  6:09     ` Siwei Chen
2026-07-27  7:35 ` [PATCH v2 5/5] docs/zh_CN: Add LSM/SeLinux secid " Siwei Chen
2026-08-11  4:08   ` Dongliang Mu [this message]
2026-08-10  1:15 ` [PATCH v2 0/5] docs/zh_CN: Add Chinese translations for five networking documents Siwei Chen
2026-08-10  5:34   ` Dongliang Mu

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=e1eb07d6-9da6-4936-aaac-e12889886e90@hust.edu.cn \
    --to=dzm91@hust.edu.cn \
    --cc=alexs@kernel.org \
    --cc=anka@stu.cdut.edu.cn \
    --cc=businiaoanka@anka1.top \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=si.yanteng@linux.dev \
    --cc=skhan@linuxfoundation.org \
    --cc=wy@wyuan.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

all inboxes | Powered by JetHome®