Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: Ignatios Souvatzis <is@netbsd.org>
From: Roland Illig <rillig@NetBSD.org>
List: netbsd-bugs
Date: 06/23/2005 19:12:17
Ignatios Souvatzis wrote:
> On Thu, Jun 23, 2005 at 09:23:11AM +0200, Martin Husemann wrote:
> 
>>On Thu, Jun 23, 2005 at 12:19:47PM +0900, YAMAMOTO Takashi wrote:
>>
>>>i meant "because the idea to produce (null) and suppress coredump is
>>>fundamentally bad."
>>
>>I agree. We would not start mapping a userspace address at VA 0 again, to stop
>>dereferences of NULL pointers to core, right?
> 
> 
> Maybe applications that want (null) to be printed should mmap a page
> starting with the string "(null)" to that address. ;-)

Cool. That really works (on i386). Never thought it would. :)

Roland