Thread (154 messages) flat view 154 messages, 12 authors, 2023-03-20

Re: [PATCH v7 20/41] x86/mm: Teach pte_mkwrite() about stack memory

From: Borislav Petkov <bp@alien8.de>
Date: 2023-03-03 15:37:38
Also in: linux-arch, linux-doc, linux-mm, lkml

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help