Re: [PATCH v3 03/12] mm: Use get_unmapped_area_vmflags()

From: Edgecombe, Rick P
Date: Wed Mar 13 2024 - 10:55:39 EST


On Wed, 2024-03-13 at 09:05 +0000, Christophe Leroy wrote:
>
> What about get_area(), what happens to vm_flags in case that function
> is
> used ?

Shadow stack can only be private and anonymous memory. So this way is
to avoid unnecessary plumbing. And that plumbing becomes quite
extensive when you start intersecting with the 
f_ops->get_unmapped_area(), so its pretty fortunate.