Re: [PATCH v6 2/4] mseal: add mseal syscall

From: Kees Cook
Date: Sat Jan 13 2024 - 14:48:15 EST


On Thu, Jan 11, 2024 at 11:41:39PM +0000, jeffxu@xxxxxxxxxxxx wrote:
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index f5a97dec5169..345667583b03 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -30,6 +30,7 @@
> #include <linux/kasan.h>
> #include <linux/memremap.h>
> #include <linux/slab.h>
> +#include <uapi/linux/mman.h>

I think the arm64 build failure is from this include -- it's happening
too early and some of the arm defines aren't available yet?

-Kees

--
Kees Cook