mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-19 21:06:24 +00:00
Add several tests to check bpf_core_types_are_compat() functionality: - candidate type name exists and types match - candidate type name exists but types don't match - nested func protos at kernel recursion limit - nested func protos above kernel recursion limit. Such bpf prog is rejected during the load. Signed-off-by: Matteo Croce <mcroce@microsoft.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20220204005519.60361-3-mcroce@linux.microsoft.com |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| bpf_testmod-events.h | ||
| bpf_testmod.c | ||
| bpf_testmod.h | ||
| Makefile | ||