[Devel] [PATCH VZ10 0/3] bpf/devcg: add interface for dumping programs
Pavel Tikhomirov
ptikhomirov at virtuozzo.com
Tue Jul 28 14:08:08 MSK 2026
We've allowed bpf device cgroup programs in Containers in previous
patches, now let's give CRIU and intercace to be able to dump them,
so that Virtuozzo Containers with such programs can be migrated.
Feature: BPF checkpoint/restore
https://virtuozzo.atlassian.net/browse/VSTOR-121776
Signed-off-by: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
Pavel Tikhomirov (3):
bpf: report original insns of cgroup device programs
selftests/ve_devcg_bpf: factor device program insns into
DEVCG_PROG_INSNS
selftests/ve_devcg_bpf: test orig_insns reporting via
BPF_OBJ_GET_INFO_BY_FD
include/linux/bpf.h | 2 +
include/uapi/linux/bpf.h | 2 +
kernel/bpf/core.c | 1 +
kernel/bpf/syscall.c | 30 ++++++++
tools/include/uapi/linux/bpf.h | 2 +
tools/testing/selftests/ve_devcg_bpf/Makefile | 3 +
.../ve_devcg_bpf/ve_devcg_bpf_test.c | 69 ++++++++++++++++---
7 files changed, 100 insertions(+), 9 deletions(-)
--
2.54.0
More information about the Devel
mailing list