aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/config/linux/bits
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-07-16 19:28:05 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-07-17 10:07:12 +0000
commit0ea0ca3f3c0382da6db9c2abd88a8abf3013274e (patch)
tree1f6baf30f0142578bc69d749e955ebb9ac011d29 /dashboard/config/linux/bits
parent461fe81dcf311494db7e2c3e5c8d5a624df9a9fc (diff)
dashboard/config/linux: disable CONFIG_CGROUP_BPF
It seems incredibly difficult to clean up the side effects of this kernel functionality. Keep it enabled only on a new config dedicated specifically for the snapshot-based instance. Closes #5956.
Diffstat (limited to 'dashboard/config/linux/bits')
-rw-r--r--dashboard/config/linux/bits/bpf.yml2
-rw-r--r--dashboard/config/linux/bits/subsystems.yml4
2 files changed, 4 insertions, 2 deletions
diff --git a/dashboard/config/linux/bits/bpf.yml b/dashboard/config/linux/bits/bpf.yml
index 140c1638f..0a82e9d1e 100644
--- a/dashboard/config/linux/bits/bpf.yml
+++ b/dashboard/config/linux/bits/bpf.yml
@@ -6,7 +6,7 @@ config:
# JIT is enabled on subset of instances to get coverage for both JIT and interpreter.
- BPF_JIT: [bpfjit]
- BPF_JIT_ALWAYS_ON: [bpfjit]
- - BPF_STREAM_PARSER
+ - BPF_STREAM_PARSER: [snapshot]
# Cross-builds of BPF_PRELOAD fails with missing libelf and zlib.
# I am not sure why it needs non-host versions of these libs,
# and it's probably possible to install them somehow, but I did not figure out how,
diff --git a/dashboard/config/linux/bits/subsystems.yml b/dashboard/config/linux/bits/subsystems.yml
index 064f44f86..b106e062a 100644
--- a/dashboard/config/linux/bits/subsystems.yml
+++ b/dashboard/config/linux/bits/subsystems.yml
@@ -44,7 +44,9 @@ config:
- CGROUP_DEVICE
- CGROUP_CPUACCT
- CGROUP_PERF
- - CGROUP_BPF
+ # It's incredibly difficult/impossible to reliably clean up these bpf links,
+ # so let's only fuzz it on the snapshot-based instances. See #5956.
+ - CGROUP_BPF: [snapshot]
- CHECKPOINT_RESTORE
- USERFAULTFD
- COMPAT_BRK: n