Subject: Re: mmap warning?
To: None <current-users@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 07/31/2000 13:50:54
On Mon, Jul 31, 2000 at 12:57:13PM +0100, Patrick Welche wrote:
> What does this mean?
> 
> /netbsd: WARNING: defaulted mmap() share type to MAP_PRIVATE (pid 12289 comm cmp)
> 
> of course I no longer have a process 12289 so no clue there...

Ah :             /*
                 * Old programs may not select a specific sharing type, so
                 * default to an appropriate one.
                 *
                 * XXX: how does MAP_ANON fit in the picture?
                 */
                if ((flags & (MAP_SHARED|MAP_PRIVATE)) == 0) {
#if defined(DEBUG)


UTSL :-)

Cheers,

Patrick