요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
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. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, 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와 줄 좌표를 보존해 전문을 번역했습니다.