why panic(9) ?

Bruce Cran bruce at cran.org.uk
Wed Jan 12 17:28:20 UTC 2011


On Wed, 12 Jan 2011 13:43:10 +0100
"Nils Holland" <nh at tisys.org> wrote:

> Having a job in which I have to support people working on Windows, I
> can say for sure that there's no such thing in Windows that prevents
> third-party system level stuff to bring down the system. ;-)

In Windows there's a tool that runs when you build a driver called
Microsoft Auto Code Review that checks for things like buffer overflows
etc. One thing it flags is if your driver calls KeBugCheckEx and warns
that it's normally better to log the error and stop processing data
instead of bringing the system down. I always get that warning because
my driver was ported from FreeBSD, including a panic() function.

-- 
Bruce Cran


More information about the freebsd-current mailing list