Diego Nieto Cid, le mer. 25 juin 2025 00:04:39 +0100, a ecrit: > But then I don't think I understand your suggestion: > > > It would be also useful to check that trying to vm_protect the PROT_NONE > > into PROT_ALL fails when that comes above the limit. > > Why would vm_protect fail when upgrading a mmap(PROT_NONE) if the allocated > memory > is already accounted on the size of the vm_map?
I meant a vm_protect that changes the maximum protection. Samuel