- uid_t cr_gmuid; /* user id for group membership purposes */
- struct auditinfo cr_au; /* user auditing data */
+ uid_t cr_gmuid; /* UID for group membership purposes */
+ int cr_flags; /* flags on credential */
+} cr_posix;
+ struct label *cr_label; /* MAC label */
+ /*
+ * NOTE: If anything else (besides the flags)
+ * added after the label, you must change
+ * kauth_cred_find().
+ */
+ struct au_session cr_audit; /* user auditing data */