Re: Latest kernel source

Richard B. Johnson (root@analogic.com)
Thu, 27 Feb 1997 10:19:29 -0500 (EST)


On Thu, 27 Feb 1997, Joerg Pommnitz wrote:

>
> This is OK. It's not supposed to core dump or to do anything useful
> at all. Programs like this used to generate annoying "Exception at"
> messages, but the priority of this message has been changed to DEBUG.
> If you want to see them, tell your klogd to show them.
>
> Anyway, the current behaviour is completely in spec. POSIX only
> specifies what happens with correct programs.
>
> Best regards
> Joerg

Syslog is enabled even for info. This program is an example of incorrect
behavior which isolates the incorrect behavior. It is not supposed to be
a "correct" program. The null-pointer could very well have been obtained
in a deeply-nested linked-list in which the return from malloc() was not
properly checked. Such a bug should never go undetected. Such bugs may
occur very rarely as a result of the execution of sections of code that
are very rarely executed.

The file descriptor could have been that of a DEVICE. And that DEVICE
may have been what was necessary to turn OFF a motor. The result could
have been that the entire contents of a ladle of molten iron gets dumped
into the parking lot. We really have a duty to help. There is more
than POSIX involved. There is a catchall called "Good Standards of
Engineering Practice".

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.26 on an i586 machine (66.15 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-