diff options
| author | Jerome Marchand <[email protected]> | 2024-12-18 17:57:24 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2024-12-19 12:24:39 +0000 |
| commit | 716f2bca1ce93bb95364f1fc0555c1650507b588 (patch) | |
| tree | 8925b1cfc40f8a0090a2cd8434bf947080abb41a /net/ipv4/tcp_bpf.c | |
| parent | selftests/bpf: Use asm constraint "m" for LoongArch (diff) | |
| download | kernel-716f2bca1ce93bb95364f1fc0555c1650507b588.tar.gz kernel-716f2bca1ce93bb95364f1fc0555c1650507b588.zip | |
selftests/bpf: Fix compilation error in get_uprobe_offset()
In get_uprobe_offset(), the call to procmap_query() use the constant
PROCMAP_QUERY_VMA_EXECUTABLE, even if PROCMAP_QUERY is not defined.
Define PROCMAP_QUERY_VMA_EXECUTABLE when PROCMAP_QUERY isn't.
Fixes: 4e9e07603ecd ("selftests/bpf: make use of PROCMAP_QUERY ioctl if available")
Signed-off-by: Jerome Marchand <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/ipv4/tcp_bpf.c')
0 files changed, 0 insertions, 0 deletions
