From nobody Tue Apr 7 17:32:57 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 1602CC43217 for ; Tue, 18 Oct 2022 11:55:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbiJRLz1 (ORCPT ); Tue, 18 Oct 2022 07:55:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54016 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229760AbiJRLzZ (ORCPT ); Tue, 18 Oct 2022 07:55:25 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2200997EF3; Tue, 18 Oct 2022 04:55:24 -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=1666094122; 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=hupgNoQdpyp2o8IVUE4hcgxanPErrHi/bqHICjKXEEs=; b=mrQkA5WVTIf9mfixRtZIuewlQflouJg2JZZeYBeVsipJEW9MPIkF39gS+adsgBMR+cIHZD Ri1CLhr7Ok+dABjxHV00/Qkgw40ZEKGGcW1IrJfNqvlqdQJKfH/AZU+SAVQOG6A9Ft/Ye3 /XkzhfCRPquaROrrmV0KJZXqhVpGIg8AfPdz2S1A82Zwn9101Dut++3PTAozB69agaSNuP lzpyVjuGeJfgutbD09mbqkcqY+vi98zSksWC3oWNYmyGKTa60qw6ZlNIAeHfsWbUjdPLnS FmY/pNs890hOJa7RvROHcYQ8ALUxx1FsFiIJimh2XqpFycTjvB1McmxPRIOjpQ== From: Rui Li To: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Alex Shi , Yanteng Si , Jonathan Corbet , Wu XiangCheng , Rui Li Subject: [PATCH v2 1/2] docs/zh_CN: Add userspace-api/ebpf Chinese translation Date: Tue, 18 Oct 2022 19:54:52 +0800 Message-Id: <8d032bf9a69ac6703260ac91408562c562c03f2d.1666093699.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 the following documents into Chinese: - userspace-api/ebpf/index.rst - userspace-api/ebpf/syscall.rst Signed-off-by: Rui Li --- 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 | 31 +++++++++++++++++++ 2 files changed, 53 insertions(+) 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..17515728f544 --- /dev/null +++ b/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst @@ -0,0 +1,31 @@ +.. 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 +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. kernel-doc:: include/uapi/linux/bpf.h + :doc: eBPF Syscall Preamble + +.. kernel-doc:: include/uapi/linux/bpf.h + :doc: eBPF Syscall Commands + +.. Links: +.. _man-pages: https://www.kernel.org/doc/man-pages/ +.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html --=20 2.30.2 From nobody Tue Apr 7 17:32:57 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 AF29AC433FE for ; Tue, 18 Oct 2022 11:55:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbiJRLzc (ORCPT ); Tue, 18 Oct 2022 07:55:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229556AbiJRLz1 (ORCPT ); Tue, 18 Oct 2022 07:55:27 -0400 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 254DE9AFB0; Tue, 18 Oct 2022 04:55:27 -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=1666094125; 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=cgQBXm1dv4ujn38yEqX7tGehxSC+vaQSz42cTrCDBX0=; b=cmkJgAm9Z/g95AzBIckx9+AySMDFOs09DIvHgoRMO0cwmSHUbHBWLut/zsjiJa0zLq/jRg 4QF0KlMvu3STax+6Pky0JWJ1Zf4R2XpahP7wnnlmMR2HBe0YZRTpO60drjYC6fFeJWpKyb IKRZWfOBl+KyB2ucsvAghI5zxhpvd9uWLaQ0if/zk1itWq9Nfhh0RfTkzvbdjYDfoiBooB GRRyUtrAfpb4fHh5OXgEbRfRYYOSmY56HLdXgGKKAorMQWM4L/eNDX5dXUDeutw80poyun gokBznO3ehIg2yCi1JgEOiXMVQQCBGsFUOaj4PQGM4zCl3HujVzysFqVPGpnlQ== From: Rui Li To: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Alex Shi , Yanteng Si , Jonathan Corbet , Wu XiangCheng , Rui Li Subject: [PATCH v2 2/2] docs/zh_CN: Add userspace-api/index Chinese translation Date: Tue, 18 Oct 2022 19:54:53 +0800 Message-Id: <88e6c1390068bff71e16ebd375e684d8e663dee2.1666093699.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 --- Changes since v1: - Align title - Change some translation --- Documentation/translations/zh_CN/index.rst | 2 +- .../zh_CN/userspace-api/index.rst | 51 +++++++++++++++++++ 2 files changed, 52 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..df1e1572e3f4 --- /dev/null +++ b/Documentation/translations/zh_CN/userspace-api/index.rst @@ -0,0 +1,51 @@ +.. 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 + +.. toctree:: + :maxdepth: 2 + + ebpf/index + +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