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-onlyparts, 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