struct label;
#ifdef __APPLE_API_UNSTABLE
+#include <sys/queue.h>
/*
* In-kernel credential structure.
gid_t cr_rgid; /* real group id */
gid_t cr_svgid; /* saved group id */
uid_t cr_gmuid; /* UID for group membership purposes */
- struct auditinfo cr_au; /* user auditing data */
+ /*
+ * XXX - cr_au will be replaced with cr_audit below.
+ * cr_au is here to keep kexts from breaking. It seems to
+ * be currently used by the ucred hashing as well.
+ */
+ struct auditinfo cr_au; /* XXX This needs to go away. */
struct label *cr_label; /* MAC label */
int cr_flags; /* flags on credential */
* added after the label, you must change
* kauth_cred_find().
*/
+ struct au_session cr_audit; /* user auditing data */
};
#ifndef _KAUTH_CRED_T
#define _KAUTH_CRED_T