[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: misc/38425 (savecore confused if getbootfile(3) fails)
The following reply was made to PR misc/38425; it has been noted by GNATS.
From: Andrew Doran <ad%netbsd.org@localhost>
To: Simon Burge <simonb%NetBSD.org@localhost>
Cc: gnats-bugs%NetBSD.org@localhost, tls%netbsd.org@localhost
Subject: Re: misc/38425 (savecore confused if getbootfile(3) fails)
Date: Sun, 22 Feb 2009 09:18:18 +0000
On Sun, Feb 22, 2009 at 08:05:14PM +1100, Simon Burge wrote:
> dholland%NetBSD.org@localhost wrote:
> > Synopsis: savecore confused if getbootfile(3) fails
> > State-Changed-From-To: open->feedback
> > State-Changed-By: dholland%NetBSD.org@localhost
> > State-Changed-When: Sun, 22 Feb 2009 08:09:40 +0000
> > State-Changed-Why:
> > Fixed?
> You mean rev 1.75 of savecore.c? That seems a bit hackish. From my
> reading, it just picks a few random device classes to ignore when you
> read an incorrect value. The /dev/console reference is that the random
> read from /netbsd now seems to be most likely a "0", but it could be any
> other valid device number. It doesn't say protect you from reading a
> tape drive for example, or other devices where a random read might not
> be either safe or at least have random consequences.
> savecore is "safer" for my particular problem, but I don't think it's
> "fixed" yet..
Making it use /dev/ksyms like Thor proposed would improve the situation..
Main Index |
Thread Index |