bpf_prog_attach_check_attach_type
if (bpf_prog_attach_check_attach_type(prog, attr->attach_type)) {
ret = bpf_prog_attach_check_attach_type(prog,