Re: [PATCH 01/11] IMA: use rbtree instead of radix tree for inodeinformation cache

From: James Morris
Date: Wed Oct 27 2010 - 09:37:20 EST


On Tue, 26 Oct 2010, Al Viro wrote:

> FWIW, I'm OK with that. My general opinion about the quality and
> usefulness of security/* is a separate story, but if we are stuck
> with that shit in the tree, let's at least trim down what can be
> trimmed down.

If you have any specific concerns about code in security/ then please do
explain them (in a different thread), so we can address them.

Note that if code is not being used, and/or has serious technical issues,
it can be removed. This already happened once with the BSD secure levels,
which was basically unused, unmaintained, and had unfixable security
issues -- it was taken out and shot.

Unfortunately, we have to deal with the fact that Unix was not designed
with security primarily in mind, and that the security it does have is
inherently flawed (all according to Ritchie c. 1970s). We have to
maintain decades of backward compatibility, address underlying flaws, and
also address new forms of security threats which could not have even been
imagined at the time. We have to do all this without maybe using more
than a few extra bytes in any major core data structure, and with nobody
really agreeing on how to do it.

Expecting perfection out of this process is probably unreasonable, alas.



- James
--
James Morris
<jmorris@xxxxxxxxx>
--
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/