[so] [tema3lin]upload issues

Razvan Deaconescu razvan.deaconescu at cs.pub.ro
Thu Aug 21 15:01:03 EEST 2008


On Thu, 2008-08-21 at 04:48 -0700, Costin L wrote:
> dap, multzam - in cele din urma am apelat la masina virtuala. acuma
> merge. ce'am descoperit cu aceasta ocazie:
> uneori   PAGE_READWRITE (din windows) = PROT_WRITE (din linux) - adica
> pe calc meu, alteori PAGE_READWRITE = P PROT_READ|PROT_WRITE - adica
> pe masina virtuala. poate ca gresesc, da asa am reusit sa remediez 'za
> issue'.

Din pagina de manual a mprotect:
---
 On some hardware architectures (e.g., i386), PROT_WRITE implies
PROT_READ.
---

Nu te poti baza ca PROT_WRITE == PAGE_READWRITE.

Razvan



More information about the so mailing list