Re: [PATCH] selftests: probe for sanitizer support in fchmodat2 and openat2
From: Christian Brauner
Date: Thu Nov 05 2026 - 16:57:51 EST
On Tue, 03 Nov 2026 09:27:56 -0500, Sasha Levin wrote:
> 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
>
> [...]
Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes
[1/1] selftests: probe for sanitizer support in fchmodat2 and openat2
https://git.kernel.org/vfs/vfs/c/e00d0eb8e3e7