Thread (24 messages) 24 messages, 5 authors, 2020-09-16

Re: [PATCH 3/4] kselftests/arm64: add PAuth test for whether exec() changes keys

From: Amit Kachhap <hidden>
Date: 2020-08-31 08:14:03
Also in: linux-kselftest, lkml


On 8/28/20 6:46 PM, Boyan Karatotev wrote:
Kernel documentation states that it will change PAuth keys on exec() calls.

Verify that all keys are correctly switched to new ones.

Cc: Shuah Khan <shuah@kernel.org>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Will Deacon <will@kernel.org>
Signed-off-by: Boyan Karatotev <redacted>
The changes look fine so,
Reviewed-by: Amit Daniel Kachhap <redacted>
quoted hunk ↗ jump to hunk
---
  tools/testing/selftests/arm64/pauth/Makefile  |   4 +
  .../selftests/arm64/pauth/exec_target.c       |  35 +++++
  tools/testing/selftests/arm64/pauth/helper.h  |  10 ++
  tools/testing/selftests/arm64/pauth/pac.c     | 148 ++++++++++++++++++
  4 files changed, 197 insertions(+)
  create mode 100644 tools/testing/selftests/arm64/pauth/exec_target.c
diff --git a/tools/testing/selftests/arm64/pauth/Makefile b/tools/testing/selftests/arm64/pauth/Makefile
index a017d1c8dd58..2e237b21ccf6 100644
--- a/tools/testing/selftests/arm64/pauth/Makefile
+++ b/tools/testing/selftests/arm64/pauth/Makefile
@@ -5,6 +5,7 @@ CFLAGS += -mbranch-protection=pac-ret
  
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help