[PATCH bpf-next v2 0/3] bpf: Fix strict mode calculation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series fixes a bad calculation of strict mode in two places. It
also updates libbpf to make it easier for the users to disable a
specific LIBBPF_STRICT_* flag.

v1 -> v2:
- remove check in libbpf_set_strict_mode()
- split in different commits

v1: https://lore.kernel.org/bpf/20220204220435.301896-1-mauricio@xxxxxxxxxx/

Mauricio Vásquez (3):
  libbpf: Remove mode check in libbpf_set_strict_mode()
  bpftool: Fix strict mode calculation
  selftests/bpf: Fix strict mode calculation

 tools/bpf/bpftool/main.c                     | 5 +----
 tools/lib/bpf/libbpf.c                       | 8 --------
 tools/testing/selftests/bpf/prog_tests/btf.c | 2 +-
 3 files changed, 2 insertions(+), 13 deletions(-)

-- 
2.25.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux