From nobody Sat Apr 11 10:30:51 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92F5BC433FE for ; Wed, 19 Oct 2022 13:45:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233207AbiJSNpv (ORCPT ); Wed, 19 Oct 2022 09:45:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233590AbiJSNob (ORCPT ); Wed, 19 Oct 2022 09:44:31 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 432A0199886; Wed, 19 Oct 2022 06:31:41 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lirui.org; s=key1; t=1666186257; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AjuWJVNhkBvpGyB36JX1wwbKTh+Ncxz/qy06/EtkAxA=; b=JjwMk2ka730u9Fk4Et1ZdFdXTU80c10Qs5qqtXUSf9fROQhlCbPRNA6cQfJqVhkPyzSCXe D4rxGmSexAj0R7lmY2RdqZchJzGMDJvOc8ehTrTSICiYLD5fUOU2bhIeP+d/Dp2vNT7vYL nTBrYUHDgumpRmFVeZBhbxHqoWoDa6xL3lgSBBImoXk7oRou1Bb/l8i1tzHcjY+1cNQ0zc oFvzfb75mK1S1PriJxpuX4pGPNTY4aBPVBpx7QVuks8i3pgmotEW9lOWBR76oFuje57/vH KcTsoBOjPleRsFMJL2W+Me4IcfegXjXQcPUvC4eFbQRAuygsgTz0I7WgFcqNvQ== From: Rui Li To: Alex Shi , Yanteng Si Cc: Jonathan Corbet , Wu XiangCheng , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Rui Li Subject: [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index Chinese translation Date: Wed, 19 Oct 2022 21:30:21 +0800 Message-Id: <76b86e687034d5347e1e49c4acfc28e9c45abe47.1666185911.git.me@lirui.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Translate userspace-api/index.rst into Chinese, add it into zh_CN/index.rst. Signed-off-by: Rui Li Reviewed-by: Yanteng Si --- Changes since v2: - Change patch set order Changes since v1: - Align title - Change some translation --- Documentation/translations/zh_CN/index.rst | 2 +- .../zh_CN/userspace-api/index.rst | 46 +++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 Documentation/translations/zh_CN/userspace-api/index.rst diff --git a/Documentation/translations/zh_CN/index.rst b/Documentation/tra= nslations/zh_CN/index.rst index ec99ef5fe990..272414971ce9 100644 --- a/Documentation/translations/zh_CN/index.rst +++ b/Documentation/translations/zh_CN/index.rst @@ -90,12 +90,12 @@ TODOList: =20 admin-guide/index admin-guide/reporting-issues.rst + userspace-api/index =20 TODOList: =20 * =E5=86=85=E6=A0=B8=E6=9E=84=E5=BB=BA=E7=B3=BB=E7=BB=9F * =E7=94=A8=E6=88=B7=E7=A9=BA=E9=97=B4=E5=B7=A5=E5=85=B7 -* userspace-api/index =20 =E4=B9=9F=E5=8F=AF=E5=8F=82=E8=80=83=E7=8B=AC=E7=AB=8B=E4=BA=8E=E5=86=85= =E6=A0=B8=E6=96=87=E6=A1=A3=E7=9A=84 `Linux =E6=89=8B=E5=86=8C=E9=A1=B5 `_ =E3=80=82 =20 diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Doc= umentation/translations/zh_CN/userspace-api/index.rst new file mode 100644 index 000000000000..3b834fe7e33b --- /dev/null +++ b/Documentation/translations/zh_CN/userspace-api/index.rst @@ -0,0 +1,46 @@ +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/userspace-api/index.rst + +:=E7=BF=BB=E8=AF=91: + + =E6=9D=8E=E7=9D=BF Rui Li + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D +Linux =E5=86=85=E6=A0=B8=E7=94=A8=E6=88=B7=E7=A9=BA=E9=97=B4API=E6=8C=87= =E5=8D=97 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D + +.. _man-pages: https://www.kernel.org/doc/man-pages/ + +=E5=B0=BD=E7=AE=A1=E8=AE=B8=E5=A4=9A=E7=94=A8=E6=88=B7=E7=A9=BA=E9=97=B4AP= I=E7=9A=84=E6=96=87=E6=A1=A3=E8=A2=AB=E8=AE=B0=E5=BD=95=E5=9C=A8=E5=88=AB= =E5=A4=84=EF=BC=88=E7=89=B9=E5=88=AB=E6=98=AF=E5=9C=A8 man-pages_ =E9=A1=B9= =E7=9B=AE=E4=B8=AD=EF=BC=89=EF=BC=8C +=E5=9C=A8=E4=BB=A3=E7=A0=81=E6=A0=91=E4=B8=AD=E4=BB=8D=E7=84=B6=E5=8F=AF= =E4=BB=A5=E6=89=BE=E5=88=B0=E6=9C=89=E5=85=B3=E7=94=A8=E6=88=B7=E7=A9=BA=E9= =97=B4=E7=9A=84=E9=83=A8=E5=88=86=E4=BF=A1=E6=81=AF=E3=80=82=E8=BF=99=E4=B8= =AA=E6=89=8B=E5=86=8C=E6=84=8F=E5=9C=A8=E6=88=90=E4=B8=BA=E8=BF=99=E4=BA=9B= =E4=BF=A1=E6=81=AF +=E8=81=9A=E9=9B=86=E7=9A=84=E5=9C=B0=E6=96=B9=E3=80=82 + +.. class:: toc-title + + =E7=9B=AE=E5=BD=95 + +TODOList: + +* no_new_privs +* seccomp_filter +* landlock +* unshare +* spec_ctrl +* accelerators/ocxl +* ebpf/index +* ioctl/index +* iommu +* media/index +* netlink/index +* sysfs-platform_profile +* vduse +* futex2 + +.. only:: subproject and html + + Indices + =3D=3D=3D=3D=3D=3D=3D + + * :ref:`genindex` --=20 2.30.2 From nobody Sat Apr 11 10:30:51 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFF0EC4332F for ; Wed, 19 Oct 2022 13:46:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233280AbiJSNqK (ORCPT ); Wed, 19 Oct 2022 09:46:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48842 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232924AbiJSNpA (ORCPT ); Wed, 19 Oct 2022 09:45:00 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D910E11C38; Wed, 19 Oct 2022 06:31:48 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lirui.org; s=key1; t=1666186272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kLONnTrgE41xLuoR7aINxfaHvykieYVHakm2mQu46pE=; b=KCZ3cXrxe+PB+8Vud62pouWmnw8EOrEex984T5Iqz55u/3CuMNV+j9NEpU0qmBBqMQwwno 2kiDr8xHqGnAVtyDZjovRWv0xynLRDYgI2msDGiegwnTNuKz536SnCuyoLj24hxnyyAr2D /qnxY+I1brSoE4oqkqUtTBupqe+KRGPadrgYw+VEbMOQNWJZvtZr58lna8z8kSk38Cswmo Y+XyVQ3WoFbyprmYvjEfITuVJMZZfXmZslH86lkUfJfuxtzmwu1SLSIvwDoySbhb0+epnS BqCzGWNHZiEkOdizwMN6OBUqVj9xtYCxqOTZfMsuOqaTv/7kOdGXP7y9LVO9/A== From: Rui Li To: Alex Shi , Yanteng Si Cc: Jonathan Corbet , Wu XiangCheng , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Rui Li Subject: [PATCH v3 2/2] docs/zh_CN: Add userspace-api/ebpf Chinese translation Date: Wed, 19 Oct 2022 21:30:22 +0800 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Translate the following documents into Chinese: - userspace-api/ebpf/index.rst - userspace-api/ebpf/syscall.rst Signed-off-by: Rui Li Reviewed-by: Yanteng Si --- Changes since v2: - Remove long English reference - Remove ebpf from TODO Changes since v1: - Translate bpf subcommand title - Align title - Add space after doc path --- .../zh_CN/userspace-api/ebpf/index.rst | 22 ++++++++++++++ .../zh_CN/userspace-api/ebpf/syscall.rst | 29 +++++++++++++++++++ .../zh_CN/userspace-api/index.rst | 6 +++- 3 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 Documentation/translations/zh_CN/userspace-api/ebpf/ind= ex.rst create mode 100644 Documentation/translations/zh_CN/userspace-api/ebpf/sys= call.rst diff --git a/Documentation/translations/zh_CN/userspace-api/ebpf/index.rst = b/Documentation/translations/zh_CN/userspace-api/ebpf/index.rst new file mode 100644 index 000000000000..d52c7052f101 --- /dev/null +++ b/Documentation/translations/zh_CN/userspace-api/ebpf/index.rst @@ -0,0 +1,22 @@ +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/userspace-api/ebpf/index.rst + +:=E7=BF=BB=E8=AF=91: + + =E6=9D=8E=E7=9D=BF Rui Li + +eBPF =E7=94=A8=E6=88=B7=E7=A9=BA=E9=97=B4API +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +eBPF=E6=98=AF=E4=B8=80=E7=A7=8D=E5=9C=A8Linux=E5=86=85=E6=A0=B8=E4=B8=AD= =E6=8F=90=E4=BE=9B=E6=B2=99=E7=AE=B1=E5=8C=96=E8=BF=90=E8=A1=8C=E7=8E=AF=E5= =A2=83=E7=9A=84=E6=9C=BA=E5=88=B6=EF=BC=8C=E5=AE=83=E5=8F=AF=E4=BB=A5=E5=9C= =A8=E4=B8=8D=E6=94=B9=E5=8F=98=E5=86=85=E6=A0=B8=E6=BA=90=E7=A0=81=E6=88=96= =E5=8A=A0=E8=BD=BD +=E5=86=85=E6=A0=B8=E6=A8=A1=E5=9D=97=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B= =E6=89=A9=E5=B1=95=E8=BF=90=E8=A1=8C=E6=97=B6=E5=92=8C=E7=BC=96=E5=86=99=E5= =B7=A5=E5=85=B7=E3=80=82eBPF=E7=A8=8B=E5=BA=8F=E8=83=BD=E5=A4=9F=E8=A2=AB= =E9=99=84=E5=8A=A0=E5=88=B0=E5=90=84=E7=A7=8D=E5=86=85=E6=A0=B8=E5=AD=90=E7= =B3=BB=E7=BB=9F=E4=B8=AD=EF=BC=8C=E5=8C=85 +=E6=8B=AC=E7=BD=91=E7=BB=9C=EF=BC=8C=E8=B7=9F=E8=B8=AA=E5=92=8CLinux=E5=AE= =89=E5=85=A8=E6=A8=A1=E5=9D=97(LSM)=E7=AD=89=E3=80=82 + +=E5=85=B3=E4=BA=8EeBPF=E7=9A=84=E5=86=85=E9=83=A8=E5=86=85=E6=A0=B8=E6=96= =87=E6=A1=A3=EF=BC=8C=E8=AF=B7=E6=9F=A5=E7=9C=8B Documentation/bpf/index.rs= t =E3=80=82 + +.. toctree:: + :maxdepth: 1 + + syscall diff --git a/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rs= t b/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst new file mode 100644 index 000000000000..47e2a59ae45d --- /dev/null +++ b/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst @@ -0,0 +1,29 @@ +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../../disclaimer-zh_CN.rst + +:Original: Documentation/userspace-api/ebpf/syscall.rst + +:=E7=BF=BB=E8=AF=91: + + =E6=9D=8E=E7=9D=BF Rui Li + +eBPF Syscall +------------ + +:=E4=BD=9C=E8=80=85: + - Alexei Starovoitov + - Joe Stringer + - Michael Kerrisk + +bpf syscall=E7=9A=84=E4=B8=BB=E8=A6=81=E4=BF=A1=E6=81=AF=E5=8F=AF=E4=BB=A5= =E5=9C=A8 `man-pages`_ =E4=B8=AD=E7=9A=84 `bpf(2)`_ =E6=89=BE=E5=88=B0=E3= =80=82 + +bpf() =E5=AD=90=E5=91=BD=E4=BB=A4=E5=8F=82=E8=80=83 +~~~~~~~~~~~~~~~~ + +=E5=AD=90=E5=91=BD=E4=BB=A4=E5=9C=A8=E4=BB=A5=E4=B8=8B=E5=86=85=E6=A0=B8= =E4=BB=A3=E7=A0=81=E4=B8=AD=EF=BC=9A + +include/uapi/linux/bpf.h + +.. Links: +.. _man-pages: https://www.kernel.org/doc/man-pages/ +.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Doc= umentation/translations/zh_CN/userspace-api/index.rst index 3b834fe7e33b..12c63d81c663 100644 --- a/Documentation/translations/zh_CN/userspace-api/index.rst +++ b/Documentation/translations/zh_CN/userspace-api/index.rst @@ -21,6 +21,11 @@ Linux =E5=86=85=E6=A0=B8=E7=94=A8=E6=88=B7=E7=A9=BA=E9= =97=B4API=E6=8C=87=E5=8D=97 =20 =E7=9B=AE=E5=BD=95 =20 +.. toctree:: + :maxdepth: 2 + + ebpf/index + TODOList: =20 * no_new_privs @@ -29,7 +34,6 @@ TODOList: * unshare * spec_ctrl * accelerators/ocxl -* ebpf/index * ioctl/index * iommu * media/index --=20 2.30.2