diff options
author | Alexei Starovoitov <ast@kernel.org> | 2021-04-26 18:37:14 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-26 18:37:14 -0700 |
commit | 927315041828fcbead6d2ace38c6dee5af95e40f (patch) | |
tree | 38a381e72e61adab21d54a7f1cf4c1c451dd6cad /kernel | |
parent | Merge branch 'bpf: Tracing and lsm programs re-attach' (diff) | |
parent | selftests/bpf: Fix core_reloc test runner (diff) | |
download | linux-dev-927315041828fcbead6d2ace38c6dee5af95e40f.tar.xz linux-dev-927315041828fcbead6d2ace38c6dee5af95e40f.zip |
Merge branch 'CO-RE relocation selftests fixes'
Andrii Nakryiko says:
====================
Lorenz Bauer noticed that core_reloc selftest has two inverted CHECK()
conditions, allowing failing tests to pass unnoticed. Fixing that opened up
few long-standing (field existence and direct memory bitfields) and one recent
failures (BTF_KIND_FLOAT relos).
This patch set fixes core_reloc selftest to capture such failures reliably in
the future. It also fixes all the newly failing tests. See individual patches
for details.
This patch set also completes a set of ASSERT_xxx() macros, so now there
should be a very little reason to use verbose and error-prone generic CHECK()
macro.
v1->v2:
- updated bpf_core_fields_are_compat() comment to mention FLOAT (Lorenz).
Cc: Lorenz Bauer <lmb@cloudflare.com>
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions