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

- James
James Morris

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at