요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
.. SPDX-License-Identifier: GPL-2.0
eBPF Syscall
------------
:Authors: - Alexei Starovoitov <[email protected]>
- Joe Stringer <[email protected]>
- Michael Kerrisk <[email protected]>
The primary info for the bpf syscall is available in the `man-pages`_
for `bpf(2)`_.
bpf() subcommand reference
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. 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
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
기본 참고 자료
1-12이 문서는 Alexei Starovoitov, Joe Stringer, Michael Kerrisk가 작성했습니다.
`bpf` syscall의 기본 정보는 Linux `man-pages` project의 `bpf(2)` manual page에서 제공합니다.
Userspace 호출 설명의 기준 문서입니다.
.. SPDX-License-Identifier: GPL-2.0
eBPF Syscall
------------
:Authors: - Alexei Starovoitov <[email protected]>
- Joe Stringer <[email protected]>
- Michael Kerrisk <[email protected]>
The primary info for the bpf syscall is available in the `man-pages`_
for `bpf(2)`_.
bpf() subcommand reference
13-24`include/uapi/linux/bpf.h`의 kernel-doc에서 `eBPF Syscall Preamble`과 `eBPF Syscall Commands`를 가져와 syscall preamble 및 command reference를 구성합니다.
원문의 두 `kernel-doc` directive와 `man-pages`, `bpf(2)` link target을 그대로 보존합니다.
UAPI header의 kernel-doc과 external manual을 함께 사용합니다.
bpf() subcommand reference
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. 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
요약·해설
syscall.rst:1-24bpf(2) manual과 UAPI header의 kernel-doc으로 구성되는 eBPF syscall reference를 안내합니다.
원문의 ABI symbol, error code, source path, 수치, code와 줄 좌표를 보존해 전문을 번역했습니다.