Re: question on [uprobes] special vma
From: Oleg Nesterov
Date: Fri Aug 02 2024 - 18:22:11 EST
On 08/02, Jeff Xu wrote:
>
> > So it seems that xol_add_vma() can just pass the additional VM_SEALED
> > flag to _install_special_mapping(), no?
> >
> Yes. Before I make that change, I want to confirm that [uprobes] VMA
> is immutable during the lifetime of the process, hence this email.
OK, thanks,
> > But why it depends on CONFIG_64_BIT?
> >
> It needn't, but the vm_flags_t in the vma struct for 32 bit is full,
Ah, indeed ;)
Thanks!
Oleg.