diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-01-28 03:06:31 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-01-28 23:30:08 +0300 |
commit | 2934565f04fd21319fd2dfcc68bebebff503ceb2 (patch) | |
tree | 7db907e23b8f4cf5f7e6b5533f6a2d19a2225dd9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 06cea99e683c66e16cdf04ef91d2a008b34d7d3d (diff) | |
download | linux-2934565f04fd21319fd2dfcc68bebebff503ceb2.tar.xz |
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/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions