linux-stable/tools
Mauricio Vásquez da7af0aa20 bpftool: Fix strict mode calculation
"(__LIBBPF_STRICT_LAST - 1) & ~LIBBPF_STRICT_MAP_DEFINITIONS" is wrong
as it is equal to 0 (LIBBPF_STRICT_NONE). Let's use
"LIBBPF_STRICT_ALL & ~LIBBPF_STRICT_MAP_DEFINITIONS" now that the
previous commit makes it possible in libbpf.

Fixes: 93b8952d22 ("libbpf: deprecate legacy BPF map definitions")
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220207145052.124421-3-mauricio@kinvolk.io
2022-02-07 12:12:22 -08:00
..
accounting
arch
bootconfig
bpf bpftool: Fix strict mode calculation 2022-02-07 12:12:22 -08:00
build
cgroup
counter
debugging
edid
firewire
firmware
gpio
hv
iio
include selftests/bpf: Extend verifier and bpf_sock tests for dst_port loads 2022-01-31 12:39:12 -08:00
io_uring
kvm/kvm_stat
laptop
leds
lib libbpf: Remove mode check in libbpf_set_strict_mode() 2022-02-07 12:12:22 -08:00
memory-model
objtool
pci
pcmcia
perf perf: use generic bpf_program__set_type() to set BPF prog type 2022-01-25 17:59:07 -08:00
power
rcu
scripts
spi
testing selftests/bpf: Fix tests to use arch-dependent syscall entry points 2022-02-07 08:05:24 -08:00
thermal/tmon
time
tracing
usb
virtio
vm
wmi
Makefile