From nobody Sat Apr 11 12:11:24 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