Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2013 19:01:16 -0700
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        FreeBSD Mailing List <freebsd-hackers@freebsd.org>
Subject:   mmap on emulated i386
Message-ID:  <31F58652-AB49-4B52-91C0-17A017350903@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31F58652-AB49-4B52-91C0-17A017350903>