aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/lib/bpf/bpf_helpers.h
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-01-28 01:06:31 +0100
committerAlexei Starovoitov <ast@kernel.org>2023-01-28 12:30:08 -0800
commit2934565f04fd21319fd2dfcc68bebebff503ceb2 (patch)
tree7db907e23b8f4cf5f7e6b5533f6a2d19a2225dd9 /tools/lib/bpf/bpf_helpers.h
parentselftests/bpf: Fix cgrp_local_storage on s390x (diff)
downloadwireguard-linux-2934565f04fd21319fd2dfcc68bebebff503ceb2.tar.xz
wireguard-linux-2934565f04fd21319fd2dfcc68bebebff503ceb2.zip
selftests/bpf: Check stack_mprotect() return value
If stack_mprotect() succeeds, errno is not changed. This can produce misleading error messages, that show stale errno. Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Link: https://lore.kernel.org/r/20230128000650.1516334-13-iii@linux.ibm.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions