From: YiFei Zhu <yifeifz2@xxxxxxxxxxxx> The section is set to program type BPF_PROG_TYPE_SECCOMP with no attach type. Signed-off-by: YiFei Zhu <yifeifz2@xxxxxxxxxxxx> --- tools/lib/bpf/libbpf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/lib/bpf/libbpf.c b/tools/lib/bpf/libbpf.c index e2a3cf437814..42ce79b47378 100644 --- a/tools/lib/bpf/libbpf.c +++ b/tools/lib/bpf/libbpf.c @@ -8958,6 +8958,7 @@ static const struct bpf_sec_def section_defs[] = { BPF_PROG_SEC("struct_ops", BPF_PROG_TYPE_STRUCT_OPS), BPF_EAPROG_SEC("sk_lookup/", BPF_PROG_TYPE_SK_LOOKUP, BPF_SK_LOOKUP), + BPF_PROG_SEC("seccomp", BPF_PROG_TYPE_SECCOMP), }; #undef BPF_PROG_SEC_IMPL -- 2.31.1