From nobody Tue Apr 7 19:03:33 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