summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2020-12-22 01:52:00 +0300
committerPalmer Dabbelt <palmerdabbelt@google.com>2021-01-08 05:01:34 +0300
commitcf7b2ae4d70432fa94ebba3fbaab825481ae7189 (patch)
treed1a0f56d908ed2facbb45e6c70b2a95cd04e5781 /tools/perf/scripts/python/export-to-sqlite.py
parente71ba9452f0b5b2e8dc8aa5445198cd9214a6a62 (diff)
downloadlinux-cf7b2ae4d70432fa94ebba3fbaab825481ae7189.tar.xz
riscv: return -ENOSYS for syscall -1
Properly return -ENOSYS for syscall -1 instead of leaving the return value uninitialized. This fixes the strace teststuite. Fixes: 5340627e3fe0 ("riscv: add support for SECCOMP and SECCOMP_FILTER") Cc: stable@vger.kernel.org Signed-off-by: Andreas Schwab <schwab@suse.de> Reviewed-by: Tycho Andersen <tycho@tycho.pizza> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions