question on [uprobes] special vma

From: Jeff Xu
Date: Thu Aug 01 2024 - 19:38:29 EST


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