summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorSasha Levin <sashal@kernel.org>2026-11-03 09:27:56 -0500
committerChristian Brauner <brauner@kernel.org>2026-11-05 22:56:55 +0100
commite00d0eb8e3e7cb0ce97f40225a3642d3f8118d02 (patch)
tree4bd5d82197ff8bdd3bf93074e8e7056275e51d59 /include/linux/timerqueue.h
parent8fa19db00bf36d334ef67b4a2157ecf3f28456cc (diff)
selftests: probe for sanitizer support in fchmodat2 and openat2
The fchmodat2 and openat2 tests are always built with -fsanitize=address and -fsanitize=undefined. Toolchains without the sanitizer runtimes, such as clang without the compiler-rt package, cannot link them and the tests fail to build: ld: cannot find /usr/lib/llvm-21/lib/clang/21/lib/x86_64-unknown-linux-gnu/libclang_rt.asan_static.a: No such file or directory The same happens with USERLDFLAGS=-static, which AddressSanitizer does not support. KernelCI's clang builds fail this way on every architecture. Link an empty program with the sanitizer flags first, and only add them when that works. With the runtimes available the tests are built as before. Signed-off-by: Sasha Levin <sashal@kernel.org> Link: https://patch.msgid.link/20261103142756.132111-1-sashal@kernel.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions