bpf, bpftool: Enable get{peer, sock}name attach types
authorDaniel Borkmann <daniel@iogearbox.net>
Mon, 18 May 2020 22:45:47 +0000 (00:45 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 19 May 2020 18:32:04 +0000 (11:32 -0700)
commit05ee19c18c2bb3dea69e29219017367c4a77e65a
treef4c4f4c527b62dc432eecf3701dbfea55f8f91b7
parentf15ed0185de7d471e907783739dffbe397a93142
bpf, bpftool: Enable get{peer, sock}name attach types

Make bpftool aware and add the new get{peer,sock}name attach types to its
cli, documentation and bash completion to allow attachment/detachment of
sock_addr programs there.

Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Andrey Ignatov <rdna@fb.com>
Link: https://lore.kernel.org/bpf/9765b3d03e4c29210c4df56a9cc7e52f5f7bb5ef.1589841594.git.daniel@iogearbox.net
tools/bpf/bpftool/Documentation/bpftool-cgroup.rst
tools/bpf/bpftool/Documentation/bpftool-prog.rst
tools/bpf/bpftool/bash-completion/bpftool
tools/bpf/bpftool/cgroup.c
tools/bpf/bpftool/main.h
tools/bpf/bpftool/prog.c