Subject: Re: CVS commit: [elad-kernelauth] src/sys/ufs/ext2fs
To: Elad Efrat <elad@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 04/20/2006 11:36:52
On Apr 20, 2006, at 12:16 PM, Elad Efrat wrote:

> Userland should not use anything inside a kauth_cred_t, and so I don't
> see a problem with using #ifdef _KERNEL around kauth.h's kernel-only
> parts, and adding a userspace-only typedef for kauth_cred_t to a  
> void *
> which is unused anyway.

Well, and userland might need kauth.h at some point anyway for the  
KAUTH_ACL_* constants in the future.

>
> What guarantees that people don't start directly accessing members of
> struct kauth_cred?
>
> -e.
>
> -- 
> Elad Efrat

-- thorpej