[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CABi2SkXrK5TkQZOvekjevQiMFhPWrVXyEAVRkjs5m6Xg8ncDXw@mail.gmail.com>
Date: Fri, 14 Jun 2024 12:06:10 -0700
From: Jeff Xu <jeffxu@...omium.org>
To: Jann Horn <jannh@...gle.com>
Cc: akpm@...ux-foundation.org, sroettger@...gle.com, rdunlap@...radead.org,
david@...hat.com, adhemerval.zanella@...aro.org, linux-kernel@...r.kernel.org,
linux-mm@...ck.org, jorgelo@...omium.org, keescook@...omium.org
Subject: Re: [PATCH v1 1/1] /proc/pid/smaps: add mseal info for vma
On Fri, Jun 14, 2024 at 11:43 AM Jann Horn <jannh@...gle.com> wrote:
>
> Hi!
>
> On Fri, Jun 14, 2024 at 8:24 PM <jeffxu@...omium.org> wrote:
> > Add sp in /proc/pid/smaps to indicate vma is sealed
> >
> > Signed-off-by: Jeff Xu <jeffxu@...omium.org>
> > ---
> > Documentation/filesystems/proc.rst | 1 +
> > fs/proc/task_mmu.c | 3 +++
> > include/linux/mm.h | 5 +++++
> > mm/internal.h | 5 -----
> > 4 files changed, 9 insertions(+), 5 deletions(-)
> >
> > diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
> > index 7c3a565ffbef..400217a1589c 100644
> > --- a/Documentation/filesystems/proc.rst
> > +++ b/Documentation/filesystems/proc.rst
> > @@ -571,6 +571,7 @@ encoded manner. The codes are the following:
> > um userfaultfd missing tracking
> > uw userfaultfd wr-protect tracking
> > ss shadow stack page
> > + sp sealed page
>
> Nit: Why "page"? The sealing is a property of the VMA, not of the
> pages mapped into it. Maybe "sealed area" and an abbreviation like
> "sl" would make sense?
>
ok. Maybe just sealed for short:
sl "sealed"
Thanks
-Jeff
Powered by blists - more mailing lists