[PATCH] kselftest: arm64: Add BTI tests

Catalin Marinas catalin.marinas at arm.com
Tue Mar 23 17:54:14 GMT 2021


On Tue, 9 Mar 2021 19:37:31 +0000, Mark Brown wrote:
> Add some tests that verify that BTI functions correctly for static binaries
> built with and without BTI support, verifying that SIGILL is generated when
> expected and is not generated in other situations.
> 
> Since BTI support is still being rolled out in distributions these tests
> are built entirely free standing, no libc support is used at all so none
> of the standard helper functions for kselftest can be used and we open
> code everything. This also means we aren't testing the kernel support for
> the dynamic linker, though the test program can be readily adapted for
> that once it becomes something that we can reliably build and run.
> 
> [...]

Applied to arm64 (for-next/kselftest), thanks!

[1/1] kselftest: arm64: Add BTI tests
      https://git.kernel.org/arm64/c/d15723c0cbae

-- 
Catalin




More information about the linux-arm-kernel mailing list