diff options
author | Andy Lutomirski <luto@kernel.org> | 2020-03-19 14:30:56 -0700 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-03-20 11:20:04 +0100 |
commit | 07f24dc95daca49b8a2e804edc024dd4e91610ac (patch) | |
tree | 354b59093889111beb67683cb41256e007b10585 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | fb33c6510d5595144d585aa194d377cf74d31911 (diff) |
selftests/x86/vdso: Fix no-vDSO segfaults
test_vdso would try to call a NULL pointer if the vDSO was missing.
vdso_restorer_32 hit a genuine failure: trying to use the
kernel-provided signal restorer doesn't work if the vDSO is missing.
Skip the test if the vDSO is missing, since the test adds no particular
value in that case.
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Andy Lutomirski <luto@kernel.org>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/618ea7b8c55b10d08b1cb139e9a3a957934b8647.1584653439.git.luto@kernel.org
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions