util: introduce virbpf helpers
In order to implement devices controller with cgroup v2 we need to add support for BPF programs, cgroup v2 doesn't have devices controller. This introduces required helpers wrapping linux syscalls. Signed-off-by: NPavel Hrdina <phrdina@redhat.com> Reviewed-by: NJán Tomko <jtomko@redhat.com>
Showing
src/util/virbpf.c
0 → 100644
src/util/virbpf.h
0 → 100644
想要评论请 注册 或 登录