[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABi2SkU9BRUnqf70-nksuMCQ+yyiWjo3fM4XkRkL-NrCZxYAyg@mail.gmail.com>
Date: Thu, 1 Aug 2024 16:38:07 -0700
From: Jeff Xu <jeffxu@...omium.org>
To: Kees Cook <keescook@...omium.org>, srikar@...ux.vnet.ibm.com,
Ryan Roberts <ryan.roberts@....com>, "adrian.hunter@...el.com" <adrian.hunter@...el.com>,
"glider@...gle.com" <glider@...gle.com>, Matthew Wilcox <willy@...radead.org>, zokeefe@...gle.com,
hughd@...gle.com, luto@...capital.net, oleg@...hat.com,
"jmarchan@...hat.com" <jmarchan@...hat.com>, "rientjes@...gle.com" <rientjes@...gle.com>,
Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...nel.org>
Cc: LKML <linux-kernel@...r.kernel.org>, linux-mm@...ck.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: question on [uprobes] special vma
Hi
__create_xol_area() calls _install_special_mapping() to create a vma
named [uprobes].
I'm trying to find out the lifetime of this uprobes vma, e.g. when it
is created, will it ever be unmapped/remapped/changed during the
lifetime of the process.
If the uprobes vma remains the same during the lifetime of the
process, I can call mseal on it so user space can't change it, i.e.
blocking munmap/mremap/mprotect/mmap, etc.
Thanks
Best regards
-Jeff
Powered by blists - more mailing lists