Improvements to pkey tests
Status from this message: Applied to powerpc/next.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 1 replyApplied
- v15 patches 4 repliesSuperseded
Changes in v2 from the cover letter
- Added a wrapper for the gettid syscall based on suggestions from Michael and Christophe.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | selftests/powerpc: Move pkey helpers to headerstools/ tools/ tools/ | +114 | 0 replies | |
| 2/6 | selftests/powerpc: Add pkey helpers for rightstools/ tools/ | +48 | 0 replies | |
| 3/6 | selftests/powerpc: Harden test for execute-disabled pkeystools/ | +41 | 0 replies | |
| 4/6 | selftests/powerpc: Add helper to exit on failuretools/ | +9 | 0 replies | |
| 5/6 | selftests/powerpc: Add wrapper for gettidtools/ | +10 | 0 replies | |
| 6/6 | selftests/powerpc: Add test for pkey siginfo verificationtools/ tools/ tools/ | +337 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/6] Improvements to pkey tests
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/[email protected]/
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
Signature · 1 line
2.25.1