lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Wed, 19 Oct 2022 20:08:45 +0800
From:   Yanteng Si <siyanteng@...ngson.cn>
To:     Rui Li <me@...ui.org>, linux-doc@...r.kernel.org,
        linux-kernel@...r.kernel.org
Cc:     Alex Shi <alexs@...nel.org>, Jonathan Corbet <corbet@....net>,
        Wu XiangCheng <wu.xiangcheng@...ux.dev>
Subject: Re: [PATCH v2 1/2] docs/zh_CN: Add userspace-api/ebpf Chinese
 translation


On 10/18/22 19:54, Rui Li wrote:
> Translate the following documents into Chinese:
>
> - userspace-api/ebpf/index.rst
> - userspace-api/ebpf/syscall.rst
>
> Signed-off-by: Rui Li <me@...ui.org>
> ---
> 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/index.rst
>   create mode 100644 Documentation/translations/zh_CN/userspace-api/ebpf/syscall.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
> +
> +:翻译:
> +
> + 李睿 Rui Li <me@...ui.org>
> +
> +eBPF 用户空间API
> +================
> +
> +eBPF是一种在Linux内核中提供沙箱化运行环境的机制,它可以在不改变内核源码或加载
> +内核模块的情况下扩展运行时和编写工具。eBPF程序能够被附加到各种内核子系统中,包
> +括网络,跟踪和Linux安全模块(LSM)等。
> +
> +关于eBPF的内部内核文档,请查看 Documentation/bpf/index.rst 。
> +
> +.. toctree::
> +   :maxdepth: 1
> +
> +   syscall
> diff --git a/Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst 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
> +
> +:翻译:
> +
> + 李睿 Rui Li <me@...ui.org>
> +
> +eBPF Syscall
> +------------
> +
> +:作者:
> +    - Alexei Starovoitov <ast@...nel.org>
> +    - Joe Stringer <joe@...d.net.nz>
> +    - Michael Kerrisk <mtk.manpages@...il.com>
> +
> +bpf syscall的主要信息可以在 `man-pages`_ 中的 `bpf(2)`_ 找到。
> +
> +bpf() 子命令参考
> +~~~~~~~~~~~~~~~~~~~~~~~~~~
> +
> +.. kernel-doc:: include/uapi/linux/bpf.h
> +   :doc: eBPF Syscall Preamble
> +
> +.. kernel-doc:: include/uapi/linux/bpf.h
> +   :doc: eBPF Syscall Commands

This generates a lot of documentation in English.


See Documentation/translations/zh_CN/core-api/kernel-api.rst


Thanks,

Yanteng

> +
> +.. Links:
> +.. _man-pages: https://www.kernel.org/doc/man-pages/
> +.. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ