diff options
author | Quentin Monnet <quentin@isovalent.com> | 2020-04-29 15:45:06 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-04-29 23:25:11 +0200 |
commit | 0b3b9ca3d154486baa08a41cbc62fde67ba8c6c3 (patch) | |
tree | ec30b445def82778746dca7a9f5ad752abaf7112 /lib/sort.c | |
parent | cf9bf714523dbbc97953be6de6ca14d57d4f8a21 (diff) |
tools: bpftool: Make libcap dependency optional
The new libcap dependency is not used for an essential feature of
bpftool, and we could imagine building the tool without checks on
CAP_SYS_ADMIN by disabling probing features as an unprivileged users.
Make it so, in order to avoid a hard dependency on libcap, and to ease
packaging/embedding of bpftool.
Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200429144506.8999-4-quentin@isovalent.com
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions