Files
unkernel/kernel/patches/linux
pi0x 7e4f3d73cd kernel: leave BPF arena maps out with a flat vmalloc (#107)
A BPF arena needs get_vm_area(), which VMALLOC_FLAT does not have; with
the patch, arena maps fail with EINVAL as on kernels without an MMU.
BPF_SYSCALL stays off in kw_defconfig, so the patch is dormant by
default; it lets a kernel turn BPF on without importing get_vm_area.

Co-authored-by: Greg Bell <code@gregbell.ca>
2026-11-30 10:42:27 +01:00
..