diff options
author | 2020-04-29 15:45:06 +0100 | |
---|---|---|
committer | 2020-04-29 23:25:11 +0200 | |
commit | 0b3b9ca3d154486baa08a41cbc62fde67ba8c6c3 (patch) | |
tree | ec30b445def82778746dca7a9f5ad752abaf7112 /net/core | |
parent | tools: bpftool: Allow unprivileged users to probe features (diff) | |
download | wireguard-linux-0b3b9ca3d154486baa08a41cbc62fde67ba8c6c3.tar.xz wireguard-linux-0b3b9ca3d154486baa08a41cbc62fde67ba8c6c3.zip |
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 'net/core')
0 files changed, 0 insertions, 0 deletions