Re: [patch 0/15] lsm stacking v0.3: intro

From: James Morris
Date: Wed Jul 27 2005 - 14:47:18 EST


On Wed, 27 Jul 2005, James Morris wrote:

> Calls to security_get_value() etc. can then be very fast and simple for
> the common case, where the security blob is a pointer offset by an index
> in a small array. The arbitrarily sized hlist would then be a fallback
> with a higher performance hit.

Also, the static slots could be single-use only, so once a module
registers for one, it's permanently assigned (even if the module unloads),
to avoid locking overhead. Module registration can just be test & set a
bitmap.


- James
--
James Morris
<jmorris@xxxxxxxxxx>

-
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/