All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] Improvements to pkey tests
@ 2020-07-27  4:00 Sandipan Das
  2020-07-27  4:00 ` [PATCH v2 1/6] selftests/powerpc: Move pkey helpers to headers Sandipan Das
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Sandipan Das @ 2020-07-27  4:00 UTC (permalink / raw)
  To: mpe; +Cc: fweimer, aneesh.kumar, linuxram, linuxppc-dev, bauerman

Based on recent bugs found in the pkey infrastructure, this
improves the test for execute-disabled pkeys and adds a new
test for detecting inconsistencies with the pkey reported by
the signal information upon getting a fault.

Previous versions can be found at:
v1: https://lore.kernel.org/linuxppc-dev/cover.1594897099.git.sandipan@linux.ibm.com/

Changes in v2:
- Added a wrapper for the gettid syscall based on suggestions
  from Michael and Christophe.

Sandipan Das (6):
  selftests/powerpc: Move pkey helpers to headers
  selftests/powerpc: Add pkey helpers for rights
  selftests/powerpc: Harden test for execute-disabled pkeys
  selftests/powerpc: Add helper to exit on failure
  selftests/powerpc: Add wrapper for gettid
  selftests/powerpc: Add test for pkey siginfo verification

 .../testing/selftests/powerpc/include/pkeys.h | 136 +++++++
 .../testing/selftests/powerpc/include/utils.h |  23 ++
 tools/testing/selftests/powerpc/mm/.gitignore |   1 +
 tools/testing/selftests/powerpc/mm/Makefile   |   5 +-
 .../selftests/powerpc/mm/pkey_exec_prot.c     | 210 +++--------
 .../selftests/powerpc/mm/pkey_siginfo.c       | 332 ++++++++++++++++++
 6 files changed, 554 insertions(+), 153 deletions(-)
 create mode 100644 tools/testing/selftests/powerpc/include/pkeys.h
 create mode 100644 tools/testing/selftests/powerpc/mm/pkey_siginfo.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-07-30 13:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-27  4:00 [PATCH v2 0/6] Improvements to pkey tests Sandipan Das
2020-07-27  4:00 ` [PATCH v2 1/6] selftests/powerpc: Move pkey helpers to headers Sandipan Das
2020-07-27  4:00 ` [PATCH v2 2/6] selftests/powerpc: Add pkey helpers for rights Sandipan Das
2020-07-27  4:00 ` [PATCH v2 3/6] selftests/powerpc: Harden test for execute-disabled pkeys Sandipan Das
2020-07-27  4:00 ` [PATCH v2 4/6] selftests/powerpc: Add helper to exit on failure Sandipan Das
2020-07-27  4:00 ` [PATCH v2 5/6] selftests/powerpc: Add wrapper for gettid Sandipan Das
2020-07-27  4:00 ` [PATCH v2 6/6] selftests/powerpc: Add test for pkey siginfo verification Sandipan Das
2020-07-30 12:50 ` [PATCH v2 0/6] Improvements to pkey tests Michael Ellerman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.