Files
libbpf/src
Stanislav Fomichev 812a95fdf7 libbpf: implement bpf_prog_query_opts
Implement bpf_prog_query_opts as a more expendable version of
bpf_prog_query. Expose new prog_attach_flags and attach_btf_func_id as
well:

* prog_attach_flags is a per-program attach_type; relevant only for
  lsm cgroup program which might have different attach_flags
  per attach_btf_id
* attach_btf_func_id is a new field expose for prog_query which
  specifies real btf function id for lsm cgroup attachments

Acked-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20220628174314.1216643-10-sdf@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2022-07-03 20:23:34 -07:00
..
2022-07-03 20:23:34 -07:00
2022-07-03 20:23:34 -07:00
2022-07-03 20:23:34 -07:00
2022-07-03 20:23:34 -07:00
2022-07-03 20:23:34 -07:00
2022-07-03 20:23:34 -07:00
2022-07-03 20:23:34 -07:00
2018-10-09 21:56:40 -07:00
2021-10-06 14:40:18 -07:00