mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 15:51:40 -04:00
docs/zh_CN: Add userspace-api/ebpf Chinese translation
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> Link: https://lore.kernel.org/r/cdd100d92752f76827fa7abfcd9903b857d71044.1666185911.git.me@lirui.org Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user