mmap on emulated i386
Rui Paulo
rpaulo at FreeBSD.org
Wed Sep 18 02:01:24 UTC 2013
Hi,
I'm trying to figure out why the following fails when compiled on amd64 with -m32:
mmap(NULL, 0x70000, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_ANON|MAP_PRIVATE, -1, 0);
It returns EINVAL. I looked around everywhere but I couldn't find where the EINVAL is coming from. The length argument doesn't really make any difference. At this point I'm thinking it's a bug...
--
Rui Paulo
More information about the freebsd-hackers
mailing list