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.