Thread (8 messages) 8 messages, 3 authors, 2025-02-18

Re: [RESEND v4 0/3] mm/pkey: Add PKEY_UNRESTRICTED macro

From: Andrew Morton <akpm@linux-foundation.org>
Date: 2025-02-12 21:29:11
Also in: linux-arch, linux-arm-kernel, linux-kselftest, linux-mm

On Wed, 12 Feb 2025 17:24:58 +0000 Catalin Marinas [off-list ref] wrote:
On Mon, Jan 13, 2025 at 05:06:16PM +0000, Yury Khrustalev wrote:
quoted
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.
[...]
quoted
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(-)
Andrew, Arnd - are you ok if I take these patches through the arm64
tree?
Sure.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help