mm/pkey: Add PKEY_UNRESTRICTED macro
Status from this message: Applied to arm64 (for-next/pkey_unrestricted), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest posting 3/33 patches 4 repliesApplied
- v4 posting 2/33 patches 0 repliesSuperseded
- v4 posting 1/33 patches 2 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 3 patches | 3 replies | Superseded | |
| v2 | 3 patches | 2 replies | Superseded | |
| v1 | 1 patch | 7 replies | Superseded |
Changes in v4 from the cover letter
- Removed change to tools/include/uapi/asm-generic/mman-common.h as it is not necessary.
Patches in v4 posting 3/3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm/pkey: Add PKEY_UNRESTRICTED macroinclude/ | +1 | 0 replies | |
| 2/3 | selftests/mm: Use PKEY_UNRESTRICTED macrotools/ tools/ tools/ +1 more | +8 | 0 replies | |
| 3/3 | selftests/powerpc: Use PKEY_UNRESTRICTED macrotools/ tools/ tools/ +2 more | +9 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Dave Hansen | Kevin Brodsky |
|---|---|---|
| 1/3 | A-b | |
| 2/3 | A-b | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RESEND v4 0/3] mm/pkey: Add PKEY_UNRESTRICTED macro
Add PKEY_UNRESTRICTED macro to mman.h and use it in selftests.
For context, this change will also allow for more consistent update of the Glibc manual which in turn will help with introducing memory protection keys on AArch64 targets.
Applies to 5bc55a333a2f (tag: v6.13-rc7).
Note that I couldn't build ppc tests so I would appreciate if someone could check the 3rd patch. Thank you!
---
Changes in v4:
- Removed change to tools/include/uapi/asm-generic/mman-common.h as it is not necessary.
Link to v3: https://lore.kernel.org/all/[email protected]/
Changes in v3:
- Replaced previously missed 0-s tools/testing/selftests/mm/mseal_test.c
- Replaced previously missed 0-s in tools/testing/selftests/mm/mseal_test.c
Link to v2: https://lore.kernel.org/linux-arch/[email protected]/
Changes in v2:
- Update tools/include/uapi/asm-generic/mman-common.h as well
- Add usages of the new macro to selftests.
Link to v1: https://lore.kernel.org/linux-arch/[email protected]/
---
Yury Khrustalev (3):
mm/pkey: Add PKEY_UNRESTRICTED macro
selftests/mm: Use PKEY_UNRESTRICTED macro
selftests/powerpc: Use PKEY_UNRESTRICTED macro
include/uapi/asm-generic/mman-common.h | 1 + tools/testing/selftests/mm/mseal_test.c | 6 +++--- tools/testing/selftests/mm/pkey-helpers.h | 3 ++- tools/testing/selftests/mm/pkey_sighandler_tests.c | 4 ++-- tools/testing/selftests/mm/protection_keys.c | 2 +- tools/testing/selftests/powerpc/include/pkeys.h | 2 +- tools/testing/selftests/powerpc/mm/pkey_exec_prot.c | 2 +- tools/testing/selftests/powerpc/mm/pkey_siginfo.c | 2 +- tools/testing/selftests/powerpc/ptrace/core-pkey.c | 6 +++--- tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c | 6 +++--- 10 files changed, 18 insertions(+), 16 deletions(-)
Signature · 1 line
2.39.5