Date: Thu, 09 Jul 2009 00:42:09 +0200 (CEST) From: Alexander Best <alexbestms@math.uni-muenster.de> To: Bob Bishop <rb@gid.co.uk>, Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= <des@des.no> Cc: freebsd-hackers@freebsd.org, "Paul B. Mahol" <onemda@gmail.com> Subject: Re: mmap/munmap with zero length Message-ID: <permail-2009070822420980e26a0b00007515-a_best01@message-id.uni-muenster.de> In-Reply-To: <F8DAE450-4157-4DE7-BE80-13D237A3768C@gid.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
so. doesn't that mean that actually freebsd's mmap implementation needs to = be changed in order to return an error if one tries to allocate space with len= =3D0? alex Bob Bishop schrieb am 2009-07-06: > Hi, > On 6 Jul 2009, at 13:14, Dag-Erling Sm=F8rgrav wrote: > >Allocating or mapping a zero-length region is not necessarily a bug. > POSIX says it is, IIRC. > -- > Bob Bishop > rb@gid.co.uk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-2009070822420980e26a0b00007515-a_best01>