On 07/07/2011 09:14 PM, Jan Kiszka wrote:
> From: Jan Kiszka <[email protected]>
>
> Page protection changes issued via mprotect, e.g. to enable executable
> stacks, cause spurious minor faults as they remove the write permission
> from the modified range again. Avoid this by faking shared pages so that
> vm_get_page_prot returns the desired page permissions.
This looks dangerous to me. Have you checked that write to private heaps
will not end up corrupting shared data?
--
Gilles.
_______________________________________________
Adeos-main mailing list
[email protected]
https://mail.gna.org/listinfo/adeos-main