← Documents Documentation/userspace-api/ebpf/syscall.rst GitHub 원문 ↗

Linux 6.18.37 · Userspace API

eBPF syscall

bpf(2) manual과 UAPI header의 kernel-doc으로 구성되는 eBPF syscall reference를 안내합니다.

Source pathDocumentation/userspace-api/ebpf/syscall.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

syscall.rst:1-24

bpf(2) manual과 UAPI header의 kernel-doc으로 구성되는 eBPF syscall reference를 안내합니다.

원문의 ABI symbol, error code, source path, 수치, code와 줄 좌표를 보존해 전문을 번역했습니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0
2
3 eBPF Syscall
4 ------------
5
6 :Authors: - Alexei Starovoitov <[email protected]>
7 - Joe Stringer <[email protected]>
8 - Michael Kerrisk <[email protected]>
9
10 The primary info for the bpf syscall is available in the `man-pages`_
11 for `bpf(2)`_.
12
13 bpf() subcommand reference
14 ~~~~~~~~~~~~~~~~~~~~~~~~~~
15
16 .. kernel-doc:: include/uapi/linux/bpf.h
17 :doc: eBPF Syscall Preamble
18
19 .. kernel-doc:: include/uapi/linux/bpf.h
20 :doc: eBPF Syscall Commands
21
22 .. Links:
23 .. _man-pages: https://www.kernel.org/doc/man-pages/
24 .. _bpf(2): https://man7.org/linux/man-pages/man2/bpf.2.html
25

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

기본 참고 자료

1-12

이 문서는 Alexei Starovoitov, Joe Stringer, Michael Kerrisk가 작성했습니다.

`bpf` syscall의 기본 정보는 Linux `man-pages` project의 `bpf(2)` manual page에서 제공합니다.

bpf syscall 참고
항목설명
Manualbpf(2)
Projecthttps://www.kernel.org/doc/man-pages/
Online pagehttps://man7.org/linux/man-pages/man2/bpf.2.html

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을 그대로 보존합니다.

Reference 구성
include/uapi/linux/bpf.heBPF Syscall PreambleeBPF Syscall Commandsbpf(2) manual

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