aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorIlya Leoshkevich <[email protected]>2021-08-12 22:48:14 +0000
committerAndrii Nakryiko <[email protected]>2021-08-13 23:40:40 +0000
commitd164dd9a5c08c16a883b3de97d13948c7be7fa4d (patch)
treece9b46806c3ff1adca32beafc3e3d10773fe52a1 /net/unix/unix_bpf.c
parentlibbpf: Support weak typed ksyms. (diff)
downloadkernel-d164dd9a5c08c16a883b3de97d13948c7be7fa4d.tar.gz
kernel-d164dd9a5c08c16a883b3de97d13948c7be7fa4d.zip
selftests/bpf: Fix test_core_autosize on big-endian machines
The "probed" part of test_core_autosize copies an integer using bpf_core_read() into an integer of a potentially different size. On big-endian machines a destination offset is required for this to produce a sensible result. Fixes: 888d83b961f6 ("selftests/bpf: Validate libbpf's auto-sizing of LD/ST/STX instructions") Signed-off-by: Ilya Leoshkevich <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions