* [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf Chinese translation
@ 2022-10-19 13:30 Rui Li
2022-10-19 13:30 ` [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index " Rui Li
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Rui Li @ 2022-10-19 13:30 UTC (permalink / raw)
To: Alex Shi, Yanteng Si
Cc: Jonathan Corbet, Wu XiangCheng, linux-doc, linux-kernel, Rui Li
Translate the following documents into Chinese:
- Documentation/translations/zh_CN/userspace-api/ebpf/index.rst
- Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst
- Documentation/translations/zh_CN/userspace-api/index.rst
Add userspace-api into the menu of zh_CN index.
Rui Li (2):
docs/zh_CN: Add userspace-api/index Chinese translation
docs/zh_CN: Add userspace-api/ebpf Chinese translation
Documentation/translations/zh_CN/index.rst | 2 +-
.../zh_CN/userspace-api/ebpf/index.rst | 22 ++++++++
.../zh_CN/userspace-api/ebpf/syscall.rst | 29 +++++++++++
.../zh_CN/userspace-api/index.rst | 50 +++++++++++++++++++
4 files changed, 102 insertions(+), 1 deletion(-)
create mode 100644 Documentation/translations/zh_CN/userspace-api/ebpf/index.rst
create mode 100644 Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst
create mode 100644 Documentation/translations/zh_CN/userspace-api/index.rst
--
2.30.2
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index Chinese translation
2022-10-19 13:30 [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf Chinese translation Rui Li
@ 2022-10-19 13:30 ` Rui Li
2022-10-20 6:55 ` Yanteng Si
2022-10-19 13:30 ` [PATCH v3 2/2] docs/zh_CN: Add userspace-api/ebpf " Rui Li
2022-10-28 18:28 ` [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf " Jonathan Corbet
2 siblings, 1 reply; 6+ messages in thread
From: Rui Li @ 2022-10-19 13:30 UTC (permalink / raw)
To: Alex Shi, Yanteng Si
Cc: Jonathan Corbet, Wu XiangCheng, linux-doc, linux-kernel, Rui Li
Translate userspace-api/index.rst into Chinese, add it into
zh_CN/index.rst.
Signed-off-by: Rui Li <me@lirui.org>
---
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/translations/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:
admin-guide/index
admin-guide/reporting-issues.rst
+ userspace-api/index
TODOList:
* 内核构建系统 <kbuild/index>
* 用户空间工具 <tools/index>
-* userspace-api/index
也可参考独立于内核文档的 `Linux 手册页 <https://www.kernel.org/doc/man-pages/>`_ 。
diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Documentation/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
+
+:翻译:
+
+ 李睿 Rui Li <me@lirui.org>
+
+=========================
+Linux 内核用户空间API指南
+=========================
+
+.. _man-pages: https://www.kernel.org/doc/man-pages/
+
+尽管许多用户空间API的文档被记录在别处(特别是在 man-pages_ 项目中),
+在代码树中仍然可以找到有关用户空间的部分信息。这个手册意在成为这些信息
+聚集的地方。
+
+.. class:: toc-title
+
+ 目录
+
+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
+ =======
+
+ * :ref:`genindex`
--
2.30.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v3 2/2] docs/zh_CN: Add userspace-api/ebpf Chinese translation
2022-10-19 13:30 [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf Chinese translation Rui Li
2022-10-19 13:30 ` [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index " Rui Li
@ 2022-10-19 13:30 ` Rui Li
2022-10-20 6:57 ` Yanteng Si
2022-10-28 18:28 ` [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf " Jonathan Corbet
2 siblings, 1 reply; 6+ messages in thread
From: Rui Li @ 2022-10-19 13:30 UTC (permalink / raw)
To: Alex Shi, Yanteng Si
Cc: Jonathan Corbet, Wu XiangCheng, linux-doc, linux-kernel, Rui Li
Translate the following documents into Chinese:
- userspace-api/ebpf/index.rst
- userspace-api/ebpf/syscall.rst
Signed-off-by: Rui Li <me@lirui.org>
---
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/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@lirui.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..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
+
+:翻译:
+
+ 李睿 Rui Li <me@lirui.org>
+
+eBPF Syscall
+------------
+
+:作者:
+ - Alexei Starovoitov <ast@kernel.org>
+ - Joe Stringer <joe@wand.net.nz>
+ - Michael Kerrisk <mtk.manpages@gmail.com>
+
+bpf syscall的主要信息可以在 `man-pages`_ 中的 `bpf(2)`_ 找到。
+
+bpf() 子命令参考
+~~~~~~~~~~~~~~~~
+
+子命令在以下内核代码中:
+
+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/Documentation/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 内核用户空间API指南
目录
+.. toctree::
+ :maxdepth: 2
+
+ ebpf/index
+
TODOList:
* no_new_privs
@@ -29,7 +34,6 @@ TODOList:
* unshare
* spec_ctrl
* accelerators/ocxl
-* ebpf/index
* ioctl/index
* iommu
* media/index
--
2.30.2
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index Chinese translation
2022-10-19 13:30 ` [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index " Rui Li
@ 2022-10-20 6:55 ` Yanteng Si
0 siblings, 0 replies; 6+ messages in thread
From: Yanteng Si @ 2022-10-20 6:55 UTC (permalink / raw)
To: Rui Li, Alex Shi; +Cc: Jonathan Corbet, Wu XiangCheng, linux-doc, linux-kernel
On 10/19/22 21:30, Rui Li wrote:
> Translate userspace-api/index.rst into Chinese, add it into
> zh_CN/index.rst.
>
> Signed-off-by: Rui Li <me@lirui.org>
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Thanks,
Yanteng
> ---
> 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/translations/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:
>
> admin-guide/index
> admin-guide/reporting-issues.rst
> + userspace-api/index
>
> TODOList:
>
> * 内核构建系统 <kbuild/index>
> * 用户空间工具 <tools/index>
> -* userspace-api/index
>
> 也可参考独立于内核文档的 `Linux 手册页 <https://www.kernel.org/doc/man-pages/>`_ 。
>
> diff --git a/Documentation/translations/zh_CN/userspace-api/index.rst b/Documentation/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
> +
> +:翻译:
> +
> + 李睿 Rui Li <me@lirui.org>
> +
> +=========================
> +Linux 内核用户空间API指南
> +=========================
> +
> +.. _man-pages: https://www.kernel.org/doc/man-pages/
> +
> +尽管许多用户空间API的文档被记录在别处(特别是在 man-pages_ 项目中),
> +在代码树中仍然可以找到有关用户空间的部分信息。这个手册意在成为这些信息
> +聚集的地方。
> +
> +.. class:: toc-title
> +
> + 目录
> +
> +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
> + =======
> +
> + * :ref:`genindex`
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3 2/2] docs/zh_CN: Add userspace-api/ebpf Chinese translation
2022-10-19 13:30 ` [PATCH v3 2/2] docs/zh_CN: Add userspace-api/ebpf " Rui Li
@ 2022-10-20 6:57 ` Yanteng Si
0 siblings, 0 replies; 6+ messages in thread
From: Yanteng Si @ 2022-10-20 6:57 UTC (permalink / raw)
To: Rui Li, Alex Shi; +Cc: Jonathan Corbet, Wu XiangCheng, linux-doc, linux-kernel
On 10/19/22 21:30, 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@lirui.org>
Reviewed-by: Yanteng Si <siyanteng@loongson.cn>
Thanks,
Yanteng
> ---
> 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/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@lirui.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..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
> +
> +:翻译:
> +
> + 李睿 Rui Li <me@lirui.org>
> +
> +eBPF Syscall
> +------------
> +
> +:作者:
> + - Alexei Starovoitov <ast@kernel.org>
> + - Joe Stringer <joe@wand.net.nz>
> + - Michael Kerrisk <mtk.manpages@gmail.com>
> +
> +bpf syscall的主要信息可以在 `man-pages`_ 中的 `bpf(2)`_ 找到。
> +
> +bpf() 子命令参考
> +~~~~~~~~~~~~~~~~
> +
> +子命令在以下内核代码中:
> +
> +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/Documentation/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 内核用户空间API指南
>
> 目录
>
> +.. toctree::
> + :maxdepth: 2
> +
> + ebpf/index
> +
> TODOList:
>
> * no_new_privs
> @@ -29,7 +34,6 @@ TODOList:
> * unshare
> * spec_ctrl
> * accelerators/ocxl
> -* ebpf/index
> * ioctl/index
> * iommu
> * media/index
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf Chinese translation
2022-10-19 13:30 [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf Chinese translation Rui Li
2022-10-19 13:30 ` [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index " Rui Li
2022-10-19 13:30 ` [PATCH v3 2/2] docs/zh_CN: Add userspace-api/ebpf " Rui Li
@ 2022-10-28 18:28 ` Jonathan Corbet
2 siblings, 0 replies; 6+ messages in thread
From: Jonathan Corbet @ 2022-10-28 18:28 UTC (permalink / raw)
To: Rui Li, Alex Shi, Yanteng Si
Cc: Wu XiangCheng, linux-doc, linux-kernel, Rui Li
Rui Li <me@lirui.org> writes:
> Translate the following documents into Chinese:
>
> - Documentation/translations/zh_CN/userspace-api/ebpf/index.rst
> - Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst
> - Documentation/translations/zh_CN/userspace-api/index.rst
>
> Add userspace-api into the menu of zh_CN index.
>
> Rui Li (2):
> docs/zh_CN: Add userspace-api/index Chinese translation
> docs/zh_CN: Add userspace-api/ebpf Chinese translation
>
> Documentation/translations/zh_CN/index.rst | 2 +-
> .../zh_CN/userspace-api/ebpf/index.rst | 22 ++++++++
> .../zh_CN/userspace-api/ebpf/syscall.rst | 29 +++++++++++
> .../zh_CN/userspace-api/index.rst | 50 +++++++++++++++++++
> 4 files changed, 102 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/translations/zh_CN/userspace-api/ebpf/index.rst
> create mode 100644 Documentation/translations/zh_CN/userspace-api/ebpf/syscall.rst
> create mode 100644 Documentation/translations/zh_CN/userspace-api/index.rst
Applied, thanks.
jon
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-10-28 18:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 13:30 [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf Chinese translation Rui Li
2022-10-19 13:30 ` [PATCH v3 1/2] docs/zh_CN: Add userspace-api/index " Rui Li
2022-10-20 6:55 ` Yanteng Si
2022-10-19 13:30 ` [PATCH v3 2/2] docs/zh_CN: Add userspace-api/ebpf " Rui Li
2022-10-20 6:57 ` Yanteng Si
2022-10-28 18:28 ` [PATCH v3 0/2] docs/zh_CN: Add userspace-api/index and ebpf " Jonathan Corbet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.