[PATCH 2b/3] Cleanup the security stubs

From: Kurt Garloff (garloff@private)
Date: Sun Jul 03 2005 - 08:43:57 PDT


Hi,

this patch cleans up the security stubs; rather than having an
ifdef hell, use a macro that hides the conditional.
Furthermore the macro can be changed to to include a condition
if this turns out to perform better than the indirect calls,
which is actually what the next patch (3) will do.

This patch should increase the maintainability of security.h a
lot. Note that patches 2a and 2b together do reduce the size of
security.h significantly. It did even better so in the past, but
alas we have all these IS_PRIVATE stuff in here now, which I
left in ifdefs for now to avoid obscuring what happens.

Note that one inconsistency was actually found and fixed; 
look near the end of the patch ...
The return void was harmless fortunately.

Regards,
-- 
Kurt Garloff, Director SUSE Labs, Novell Inc.




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



This archive was generated by hypermail 2.1.3 : Sun Jul 03 2005 - 14:23:35 PDT