diff options
author | Andrii Nakryiko <[email protected]> | 2020-08-13 13:49:45 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-08-13 16:45:41 -0700 |
commit | 4fccd2ff74fbad222c69c7604307e0773a37ab8d (patch) | |
tree | 29871d1e9eaaf2461ebc6e47b21b2587a1e0e1ea /scripts/gdb/linux/symbols.py | |
parent | 0f993845d723c87656552837b412994d6086f086 (diff) |
selftests/bpf: Make test_varlen work with 32-bit user-space arch
Despite bpftool generating data section memory layout that will work for
32-bit architectures on user-space side, BPF programs should be careful to not
use ambiguous types like `long`, which have different size in 32-bit and
64-bit environments. Fix that in test by using __u64 explicitly, which is
a recommended approach anyway.
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions