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

From: Jeff Xu
Date: Sat Jan 13 2024 - 22:49:15 EST


On Sat, Jan 13, 2024 at 11:48 AM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> 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?
>
good point, I will try fixing it.
Thanks!
-Jeff

> -Kees
>
> --
> Kees Cook