Re: thoughts on kernel security issues

From: Linus Torvalds
Date: Tue Jan 25 2005 - 13:33:14 EST




On Tue, 25 Jan 2005, John Richard Moser wrote:
>
> It's kind of like locking your front door, or your back door. If one is
> locked and the other other is still wide open, then you might as well
> not even have doors. If you lock both, then you (finally) create a
> problem for an intruder.
>
> That is to say, patch A will apply and work without B; patch B will
> apply and work without patch A; but there's no real gain from using
> either without the other.

Sure there is. There's the gain that if you lock the front door but not
the back door, somebody who goes door-to-door, opportunistically knocking
on them and testing them, _will_ be discouraged by locking the front door.

Never mind that he still could have gotten in. After all, if you locked
the back door too, he might still have a crow-bar.

It is a logically fallacy to think that "perfect" is good. It's not.
Anybody who strives for perfection will FAIL.

What's good is "incremental changes". Something that everybody and his dog
can look at for five seconds and say "oh, that's obviously fine", and then
can get more testing (because "everybody and his dog" saying "that's fine"
doesn't actually prove much of anything).

This has nothing to do with security, btw. It's universally true. You get
absolutely nowhere by trying to redesign the world.

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