Re: [PATCH 2/2] CRED: Introduce credential access wrappers

From: David Howells
Date: Tue Aug 12 2008 - 16:29:25 EST


Ingo Oeser <ioe-lkml@xxxxxxxxxx> wrote:

> Why macros? When introducing APIs using trivial inlines makes sure that
> the conversion is correct, type correct and side effect free for the callers.
> Macros cannot ensure this without pain.

But macros don't care that you can't access current at this point.

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