函数名称: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)则返回...
struct bpf_prog *tgt_prog = prog->aux->dst_prog; if (tgt_prog) { return tgt_prog->aux->btf; @@ -4455,7 +4455,7 @@ bool btf_ctx_access(int off, int size, enum bpf_access_type type, struct bpf_insn_access_aux *info) { const struct btf_type *t = prog->aux->attach_func...
4434 4434 return tgt_prog->aux->btf; @@ -4455,7 +4455,7 @@ bool btf_ctx_access(int off, int size, enum bpf_access_type type, 4455 4455 struct bpf_insn_access_aux *info) 4456 4456 { 4457 4457 const struct btf_type *t = prog->aux->attach_func_proto; 4458 - struct bp...