Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
To: None <port-xen-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Roland Illig <rillig@NetBSD.org>
List: netbsd-bugs
Date: 06/23/2005 17:13:01
The following reply was made to PR port-xen/29887; it has been noted by GNATS.
From: Roland Illig <rillig@NetBSD.org>
To: Ignatios Souvatzis <is@netbsd.org>
Cc: Martin Husemann <martin@duskware.de>,
YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>, jhawk@MIT.EDU,
gnats-bugs@netbsd.org, port-xen-maintainer@netbsd.org,
netbsd-bugs@netbsd.org, tech-userlevel@netbsd.org
Subject: Re: port-xen/29887: sysctl kern.consdev coredumps
Date: Thu, 23 Jun 2005 19:12:17 +0200
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