Subject: Re: Zero-length mmaps
To: Peter Bex <>
From: Jason Thorpe <>
List: tech-kern
Date: 08/20/2006 09:48:06
On Aug 20, 2006, at 6:06 AM, Peter Bex wrote:

> The bottom line questions are: is NetBSD correct in implementing  
> SUSv3,
> if it's incorrect, should it be fixed, and what should Valgrind do in
> this case?  Should it behave differently on NetBSD than on Linux?
> After all, a program that worked fine under NetBSD might just fail
> under any other Unix, if its mmap works differently.

NetBSD's mmap should be fixed.  We should probably version the symbol  
so old programs continue to run, but new programs get the new behavior.

-- thorpej