NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: misc/38425 (savecore confused if getbootfile(3) fails)



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..

Simon.


Home | Main Index | Thread Index | Old Index