Skip to content

Commit c308025

Browse files
author
Julia Kartseva
committed
readme: update README with requirements for bpf
1 parent 6359811 commit c308025

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ LICENSE:
3535
REQUIREMENTS:
3636
Linux kernel >= 3.13
3737
Linux kernel >= 4.2 for unified cgroup hierarchy support
38+
Linux kernel >= 4.10 for cgroup-bpf egress and ingress hooks
39+
Linux kernel >= 4.15 for cgroup-bpf device hook
40+
Linux kernel >= 4.17 for cgroup-bpf socket address hooks
41+
Linux kernel >= 5.3 for bounded-loops in BPF program
3842
Linux kernel >= 5.4 for signed Verity images support
3943

4044
Kernel Config Options:
@@ -95,8 +99,20 @@ REQUIREMENTS:
9599
Required for CPUQuota= in resource control unit settings
96100
CONFIG_CFS_BANDWIDTH
97101

98-
Required for IPAddressDeny= and IPAddressAllow= in resource control
102+
Required for IPAddressDeny=, IPAddressAllow=, IPIngressFilterPath=,
103+
IPEgressFilterPath= in resource control unit settings
99104
unit settings
105+
CONFIG_BPF
106+
CONFIG_BPF_SYSCALL
107+
CONFIG_BPF_JIT
108+
CONFIG_HAVE_EBPF_JIT
109+
CONFIG_CGROUP_BPF
110+
111+
Required for SocketBind{Allow|Deny}= in resource control unit settings
112+
CONFIG_BPF
113+
CONFIG_BPF_SYSCALL
114+
CONFIG_BPF_JIT
115+
CONFIG_HAVE_EBPF_JIT
100116
CONFIG_CGROUP_BPF
101117

102118
For UEFI systems:
@@ -154,6 +170,7 @@ REQUIREMENTS:
154170
libcryptsetup (optional), >= 2.3.0 required for signed Verity images support
155171
libaudit (optional)
156172
libacl (optional)
173+
libbpf >= 0.2.0 (optional)
157174
libfdisk >= 2.33 (from util-linux) (optional)
158175
libselinux (optional)
159176
liblzma (optional)
@@ -178,6 +195,8 @@ REQUIREMENTS:
178195
meson >= 0.46 (>= 0.49 is required to build position-independent executables)
179196
ninja
180197
gcc, awk, sed, grep, m4, and similar tools
198+
clang >= 10.0, llvm >= 10.0 (optional, required to build BPF programs
199+
from source code in C)
181200

182201
During runtime, you need the following additional
183202
dependencies:

0 commit comments

Comments
 (0)