The patch titled Subject: selftest mm/mseal: fix arm build has been added to the -mm mm-unstable branch. Its filename is selftest-mm-mseal-read-only-elf-memory-segment-fix-4.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/selftest-mm-mseal-read-only-elf-memory-segment-fix-4.patch This patch will later appear in the mm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Jeff Xu <jeffxu@xxxxxxxxxxxx> Subject: selftest mm/mseal: fix arm build Date: Thu, 2 May 2024 22:53:31 +0000 Add include linux/mman.h to fix arm build. Fix a typo. Link: https://lkml.kernel.org/r/20240502225331.3806279-2-jeffxu@xxxxxxxxxxxx Signed-off-by: Jeff Xu <jeffxu@xxxxxxxxxxxx> Suggested-by: Ryan Roberts <ryan.roberts@xxxxxxx> Tested-by: Ryan Roberts <ryan.roberts@xxxxxxx> Reviewed-by: Ryan Roberts <ryan.roberts@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/mm/mseal_test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/tools/testing/selftests/mm/mseal_test.c~selftest-mm-mseal-read-only-elf-memory-segment-fix-4 +++ a/tools/testing/selftests/mm/mseal_test.c @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 #define _GNU_SOURCE +#include <linux/mman.h> #include <sys/mman.h> #include <stdint.h> #include <unistd.h> @@ -29,7 +30,7 @@ # define PKEY_DISABLE_WRITE 0x2 #endif -#ifndef PKEY_BITS_PER_KEY +#ifndef PKEY_BITS_PER_PKEY #define PKEY_BITS_PER_PKEY 2 #endif _ Patches currently in -mm which might be from jeffxu@xxxxxxxxxxxx are mseal-wire-up-mseal-syscall.patch mseal-add-mseal-syscall.patch mseal-add-mseal-syscall-fix.patch selftest-mm-mseal-memory-sealing.patch mseal-add-documentation.patch selftest-mm-mseal-read-only-elf-memory-segment.patch selftest-mm-mseal-read-only-elf-memory-segment-fix.patch selftest-mm-mseal-read-only-elf-memory-segment-fix-3.patch selftest-mm-mseal-read-only-elf-memory-segment-fix-4.patch