From 44ab11fdab636bfe98a9f25b8180d7915b6c7f07 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sat, 31 Dec 2022 11:20:14 -0700 Subject: [PATCH] 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. --- Tests/Kernel/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Tests/Kernel/CMakeLists.txt b/Tests/Kernel/CMakeLists.txt index 139c7854ac..e2f7e8875d 100644 --- a/Tests/Kernel/CMakeLists.txt +++ b/Tests/Kernel/CMakeLists.txt @@ -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)