On Wed, 12 Feb 2025 17:24:58 +0000 Catalin Marinas <catalin.marinas@xxxxxxx> wrote: > On Mon, Jan 13, 2025 at 05:06:16PM +0000, Yury Khrustalev wrote: > > 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. > [...] > > 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.