[PATCH 1/2] libwine: fix incorrect usage of mincore() by try_mmap_fixed()
Alexandre Julliard
julliard at winehq.org
Mon May 18 14:10:06 CDT 2020
Damjan Jovanovic <damjan.jov at gmail.com> writes:
> The return value of mincore() only tells us whether the system call
> succeeded, not whether the memory is resident. Check the result in
> the "vec" parameter like we're supposed to.
Actually we don't care whether it's resident or not, we are only
interested in checking if there's something at this address.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list