Removed mmap(2) support.  According to the mmap(2) man page:
Removed mmap(2) support.  According to the mmap(2) man page:

MAP_PRIVATE

Create a private copy-on-write mapping.  Stores to the region do not
affect the original file.  It is unspecified whether changes made to
the file after the mmap call are visible in the mapped region.

NSD depends on the database not changing after opening, so mmap(2) is
not guaranteed to work.  Also, with plugins, the data is changed by
NSD.  Although MAP_PRIVATE prevents these changes from being written
to the database, this is still kind of "hacky".

So mmap(2) support has been removed.


git-svn-id: b7def5e201329fdc6881ed493a1f7b725c4b51fb@696 a26ef69c-88ff-0310-839f-98b793d9c207

NLnetLabs/NSD,NLnetLabs/NSD,NLnetLabs/NSD,NLnetLabs/NSD