On Mon, Feb 27, 2023 at 02:29:36PM -0800, Rick Edgecombe wrote: > If a VMA has the VM_SHADOW_STACK flag, it is shadow stack memory. So > when it is made writable with pte_mkwrite(), it should create shadow > stack memory, not conventionally writable memory. Now that pte_mkwrite() > takes a VMA, and places where shadow stack memory might be created pass > one, pte_mkwrite() can know when it should do this. ^^^^ This sentence needs rewriting. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette