Re: [PATCH] 4/5: LSM hooks rework

From: Rik van Riel
Date: Mon Feb 14 2005 - 11:55:47 EST


On Sun, 13 Feb 2005, Kurt Garloff wrote:

The case that security_ops points to the default capability_
security_ops is the fast path and arguably the more likely one
on most systems.

Quite a few distributions ship with other security modules
enabled by default, so I'm not sure we should add a "likely"
here - let the CPU's branch prediction sort things out.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
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/