diff options
author | Ilya Leoshkevich <[email protected]> | 2023-01-28 01:06:31 +0100 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-01-28 12:30:08 -0800 |
commit | 2934565f04fd21319fd2dfcc68bebebff503ceb2 (patch) | |
tree | 7db907e23b8f4cf5f7e6b5533f6a2d19a2225dd9 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 06cea99e683c66e16cdf04ef91d2a008b34d7d3d (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions