bpf: Document BPF_PROG_QUERY syscall command
authorJoe Stringer <joe@cilium.io>
Tue, 2 Mar 2021 17:19:39 +0000 (09:19 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 5 Mar 2021 02:39:45 +0000 (18:39 -0800)
commit5d999994e05d62d4f53059540652014cf83cddfe
tree485d595157aa760c3d80cccaacbf6376b62bd075
parent2a3fdca4e3bc7a01316277ba26f4090c4b19bf7c
bpf: Document BPF_PROG_QUERY syscall command

Commit 468e2f64d220 ("bpf: introduce BPF_PROG_QUERY command") originally
introduced this, but there have been several additions since then.
Unlike BPF_PROG_ATTACH, it appears that the sockmap progs are not able
to be queried so far.

Signed-off-by: Joe Stringer <joe@cilium.io>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20210302171947.2268128-8-joe@cilium.io
include/uapi/linux/bpf.h