Tests: Skip legacy exploit reproducer test on aarch64

This old symbolication exploit proof of concept doesn't link on aarch64
with the Clang toolchain. We should revisit these as as whole to see if
they're worth keeping around in general.
This commit is contained in:
Andrew Kaster 2022-12-31 11:20:14 -07:00 committed by Andreas Kling
parent 21622880cd
commit 44ab11fdab

View file

@ -2,7 +2,6 @@ set(TEST_SOURCES
bind-local-socket-to-symlink.cpp
crash-fcntl-invalid-cmd.cpp
elf-execve-mmap-race.cpp
elf-symbolication-kernel-read-exploit.cpp
fuzz-syscalls.cpp
kill-pidtid-confusion.cpp
mmap-write-into-running-programs-executable-file.cpp
@ -21,6 +20,10 @@ set(TEST_SOURCES
unveil-symlinks.cpp
)
if (NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
list(APPEND TEST_SOURCES elf-symbolication-kernel-read-exploit.cpp)
endif()
# FIXME: These tests do not use LibTest
foreach(source IN LISTS TEST_SOURCES)
get_filename_component(test_name "${source}" NAME_WE)