Re: [Qemu-devel] [PATCH] linux-user/mmap.c: Set prot page flags for the correct region in mmap_frag()

2015-12-31 Thread Chen Gang
Oh, sorry, for the coding style issues. Also the typo in the comments. I shall send patch v2, next. This fix patch can let the old ACDSee.exe, and the latest WinRAR.exe setup programs run successfully under real WinXP system dlls. Thanks. On 2015年12月31日 15:14, cheng...@emindsoft.com.cn wrote:

[Qemu-devel] [PATCH] linux-user/mmap.c: Set prot page flags for the correct region in mmap_frag()

2015-12-30 Thread chengang
From: Chen Gang mmap() size in mmap_frag() is qemu_host_page_size, but the outside calls page_set_flags() may be not with qemu_host_page_size. So after mmap(), call page_set_flags() in time. Also let addr increasing step be TARGET_PAGE_SIZE, just like another areas