26 Feb
2024
26 Feb
'24
8:08 p.m.
Would it make sense to make sure incoming pPlacedAddress belongs to a NT mapping?
Technically, spec allows that. But more generally in Wine, we can't reliably support applications doing stuff like that. For all we know, such addresses may belong to some Unix libs. Anyway, I left support for allowing applications to use placed maps out of this MR for now.
Do we want to reset windows page protection back to '0' to match PROT_NONE resulting from VK_MEMORY_UNMAP_RESERVE_BIT_EXT?
Why would we want that? I don't see the spec guarantying PROT_NONE. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5128#note_62715