linux/tools/testing/selftests/arm64/pauth
Boyan Karatotev d21435e967 kselftests/arm64: add PAuth tests for single threaded consistency and differently initialized keys
PAuth adds 5 different keys that can be used to sign addresses.

Add a test that verifies that the kernel initializes them to different
values and preserves them across context switches.

Signed-off-by: Boyan Karatotev <boyan.karatotev@arm.com>
Reviewed-by: Vincenzo Frascino <Vincenzo.Frascino@arm.com>
Reviewed-by: Amit Daniel Kachhap <amit.kachhap@arm.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Cc: Shuah Khan <shuah@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20200918104715.182310-5-boian4o1@gmail.com
Signed-off-by: Will Deacon <will@kernel.org>
2020-09-18 14:07:20 +01:00
..
.gitignore kselftests/arm64: add nop checks for PAuth tests 2020-09-18 14:07:20 +01:00
exec_target.c kselftests/arm64: add PAuth test for whether exec() changes keys 2020-09-18 14:07:20 +01:00
helper.c kselftests/arm64: add nop checks for PAuth tests 2020-09-18 14:07:20 +01:00
helper.h kselftests/arm64: add PAuth test for whether exec() changes keys 2020-09-18 14:07:20 +01:00
Makefile kselftests/arm64: add PAuth test for whether exec() changes keys 2020-09-18 14:07:20 +01:00
pac_corruptor.S
pac.c kselftests/arm64: add PAuth tests for single threaded consistency and differently initialized keys 2020-09-18 14:07:20 +01:00