Re: why panic(9) ?

From: Bruce Cran <bruce_at_cran.org.uk>
Date: Wed, 12 Jan 2011 17:28:15 +0000
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
Received on Wed Jan 12 2011 - 16:28:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC