You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selftests/bpf: Fix core_reloc test failures on 32-bit
Update memory-layout, alignment, and expected results to ensure consistent
behaviour regardless of 32/64-bit host architecture, similar to a previous
fix [0]. All tests now pass on 32-bit armhf after these changes:
root@qemu-armhf:/usr/libexec/kselftests-bpf# ./test_progs -a core_reloc
torvalds#75/1 core_reloc/kernel:OK
torvalds#75/2 core_reloc/module_probed:OK
torvalds#75/3 core_reloc/module_direct:OK
[...]
torvalds#75/78 core_reloc/enum64val___err_missing:OK
torvalds#75 core_reloc:OK
Summary: 1/78 PASSED, 0 SKIPPED, 0 FAILED
0: 5705d70 ("selftests/bpf: Correct various core_reloc 64-bit assumptions")
Signed-off-by: Tony Ambardar <[email protected]>
0 commit comments