Subject: Re: kauth and access to process credentials
To: <>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 02/18/2007 16:34:00
On Sun, Feb 18, 2007 at 04:29:01PM +0000, Andrew Doran wrote:
>
> I'm stating the obvious,
indeed you are !
> but memory/decoder cache footprint can be a bigger
> concern than function calls. Often it really does make sense to ensure that
> inlines are kept small, and anything more complicated than a few lines of
> code is put into a function.
I was thinking of the ones that are:
uid_t
kauth_cred_getuid(kauth_cred_t cred)
{
KASSERT(cred != NULL);
return (cred->cr_uid);
}
David
--
David Laight: david@l8s.co.uk