kern/94827

Jan Gutsche jan at concept.de
Tue Apr 4 11:40:23 UTC 2006


The following reply was made to PR kern/94827; it has been noted by GNATS.

From: Jan Gutsche <jan at concept.de>
To: Kris Kennaway <kris at obsecurity.org>
Cc: bug-followup at FreeBSD.org
Subject: Re: kern/94827
Date: Tue, 4 Apr 2006 13:39:42 +0200 (CEST)

 On Sat, 1 Apr 2006, Kris Kennaway wrote:
 
 Hello Kris!
 
 > The problem is because you're mmapping at a specific address that
 > happens to overlap with addresses used by malloc.  If you mmap(NULL,
 > ...) then the kernel will allocate you an unused address.
 
 That makes sense. However it works on solaris/aix/hpux/linux. -> If there 
 is an overlap with memory used by "mallocs/memorymanager/..", your get a 
 different address than requested.
 
 Maybe the bugreport should be moved to "manpage bug" as it shouldn't be 
 allowed in general to mmap to specified address on FreeBSD (!?)
 
 Best Regards,
 
  		Jan
 
 
 --
    Jan Gutsche, Ph.D.             Tel +49 761 47094 16
    Concept Engineering GmbH       Fax +49 761 47094 29
    Boetzinger Str. 29             jan at concept.de
    D-79111 Freiburg, Germany      www.concept.de
 


More information about the freebsd-bugs mailing list