require a working mmap for Samba 4.0?

simo idra at
Mon Aug 15 06:54:58 MDT 2011

On Mon, 2011-08-15 at 11:04 +1000, Andrew Bartlett wrote:
> On Mon, 2011-08-15 at 00:46 +0000, simo wrote:
> > Btw, while making them I noticed that we test mmap and set HAVE_MMAP
> > accordingly, but then we do not wrap all mmap calls withing HAVE_MMAP
> > ifdefs. Not sure we actually can work w/o mmap, so I wonder if we
> > shouldn't rather turn the configure test into a fatal failure if mmap is
> > not found.
> I would support this, but what do we then do with HP-UX which is on the
> mmap blacklist?

No idea, is HP-Ux really still broken after all these years ?
And if it is, what are performances on that platform ? Looks like they
would be not impressing anyway ...


Simo Sorce
Samba Team GPL Compliance Officer <simo at>
Principal Software Engineer at Red Hat, Inc. <simo at>

More information about the samba-technical mailing list