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.
This archive was generated by hypermail 2.1.3 : Sun Jul 03 2005 - 14:23:35 PDT