diff options
author | H. Peter Anvin <hpa@zytor.com> | 2021-05-10 21:53:15 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2021-05-12 11:49:15 +0300 |
commit | 9ddcb87b9218dec760e8d8a780bc8ad514c3d36a (patch) | |
tree | ae07eba26f7bdc1a6cf308b192200cae77b57bae /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 29e9758966f47004bd7245e6adadcb708386f36a (diff) | |
download | linux-9ddcb87b9218dec760e8d8a780bc8ad514c3d36a.tar.xz |
x86/regs: Syscall_get_nr() returns -1 for a non-system call
syscall_get_nr() is defined to return -1 for a non-system call or a
ptrace/seccomp restart; not just any arbitrary number. See comment in
<asm-generic/syscall.h> for the official definition of this function.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210510185316.3307264-7-hpa@zytor.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions