Re: a small doubt

Steven N. Hirsch (shirsch@adelphia.net)
Sat, 9 Oct 1999 10:16:46 -0400 (EDT)


On Fri, 8 Oct 1999, David S. Miller wrote:

> > Such architectures are mistaken, since they are not going to
> > catch NULL pointer derefences in the kernel correctly in all
> > such cases.
>
> Not all architectures give you the choice.
>
> Is this lack of choice limited to the kernel or does it
> apply to userspace programs as well?!?!
>
> I can understand the former, but the latter would be a bit
> rediculious.

Have you ever used AIX? Dereferencing a null pointer returns a value of
0x0. I'm told it was a deliberate design decision to expedite code
optimization in the native compiler.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/