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

From: Christophe Leroy
Date: Wed Mar 13 2024 - 13:58:05 EST




Le 13/03/2024 à 15:55, Edgecombe, Rick P a écrit :
> 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.

Ok,


Reviewed-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>