Subject: Re: Zero-length mmaps
To: Peter Bex <Peter.Bex@xs4all.nl>
From: Jason Thorpe <email@example.com>
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
> 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.