Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 18:24:52 +0100
From:      Ed Schouten <ed@80386.nl>
To:        alc@freebsd.org
Cc:        freebsd-hackers@freebsd.org, Alexander Best <alexbestms@math.uni-muenster.de>
Subject:   Re: mmap(2) with MAP_ANON honouring offset although it shouldn't
Message-ID:  <20091103172452.GU1293@hoeg.nl>
In-Reply-To: <ca3526250910211051v2fef55e7yda262a58df200751@mail.gmail.com>
References:  <permail-200910211551041e86ffa80000182a-a_best01@message-id.uni-muenster.de> <ca3526250910211051v2fef55e7yda262a58df200751@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--QU0xYvH/CPhunj+E
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Alan,

* Alan Cox <alan.l.cox@gmail.com> wrote:
> The standards for mmap(2) actually disallow values of "off" that are not a
> multiple of the page size.
>=20
> See http://www.opengroup.org/onlinepubs/000095399/functions/mmap.html for
> the following:
> <snip>

Just by accident I saw they changed that behaviour in a newer version of
the spec:

	http://www.opengroup.org/onlinepubs/9699919799/functions/mmap.html

--=20
 Ed Schouten <ed@80386.nl>
 WWW: http://80386.nl/

--QU0xYvH/CPhunj+E
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkrwZ2QACgkQ52SDGA2eCwUcLQCdHKgsqlj9Os02xLoBxGLYB3NJ
bIsAnR1aU8d47nSwDpMeVWJZraH+5PI0
=+88j
-----END PGP SIGNATURE-----

--QU0xYvH/CPhunj+E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091103172452.GU1293>