diff options
author | 2018-07-10 14:43:03 -0700 | |
---|---|---|
committer | 2018-07-11 22:13:34 +0200 | |
commit | c8406848badd0a0b040b0d286e612678662a2ab3 (patch) | |
tree | 268065cfe8a88a0dd001d3fb0808526d473568bf /tools/include/linux/overflow.h | |
parent | tools: libbpf: add extended attributes version of bpf_object__open() (diff) | |
download | wireguard-linux-c8406848badd0a0b040b0d286e612678662a2ab3.tar.xz wireguard-linux-c8406848badd0a0b040b0d286e612678662a2ab3.zip |
tools: bpftool: reimplement bpf_prog_load() for prog load
bpf_prog_load() is a very useful helper but it doesn't give us full
flexibility of modifying the BPF objects before loading. Open code
bpf_prog_load() in bpftool so we can add extra logic in following
commits.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions