函数名称:bpf_prog_attach 函数原型:static int bpf_prog_attach(const union bpf_attr *attr) 返回类型:int 参数: 类型参数名称 const union bpf_attr * attr 2054 如果非操作权限检查则返回:负EPERM 2057 如果helper macro to check that unused fields 'union bpf_attr' are zero (BPF_PROG_ATTACH)则返回...
const struct btf_type *attach_func_proto; 6 changes: 3 additions & 3 deletions 6 kernel/bpf/btf.c Original file line numberDiff line numberDiff line change @@ -4428,7 +4428,7 @@ struct btf *btf_parse_vmlinux(void) struct btf *bpf_prog_get_target_btf(const struct bpf_prog *prog...