bashing (was: Re: C bug causes double panic)

Barry Margolin barmar at think.COM
Sat Mar 25 15:47:04 AEST 1989


In article <2927 at kalliope.rice.edu> donn at titan.rice.edu (Donn Baumgartner) writes:
>Well, a C program shouldn't be able to crash the system, but one cannot blame
>the operating system for a mess-up on the compiler's part (or lack or the
>appropriate hardware on the user's part - perhaps).

No user-mode program should be able to crash the system, so you can't
blame the compiler.  Your implication is that an assembler program IS
permitted to crash the system (since the output of the compiler is
something that could also have been generated by a properly working
assembler), and this is obviously silly.

If proper operation of the OS requires certain hardware fixtures (such
as an appropriate model of MMU) that the user has not installed, then
this can be a valid excuse for a user program being able to crash the
system.  But it would be nice if the OS checked for this and warned
"Warning! Incorrect MMU installed, incorrect programs may cause system
crash."

Barry Margolin
Thinking Machines Corp.

barmar at think.com
{uunet,harvard}!think!barmar



More information about the Comp.unix.wizards mailing list