Lines Matching defs:cred
590 kauth_cred_t cred = kauth_cred_proc_ref(p);
662 cred, &resid, p);
679 kauth_cred_unref(&cred);
1918 /* update cred on proc */
3166 kauth_cred_t cred = vfs_context_ucred(imgp->ip_vfs_context);
3207 kauth_cred_getuid(cred) != imgp->ip_origvattr->va_uid) ||
3209 ((kauth_cred_ismember_gid(cred, imgp->ip_origvattr->va_gid, &leave_sugid_clear) || !leave_sugid_clear) ||
3210 (kauth_cred_getgid(cred) != imgp->ip_origvattr->va_gid)))) {
3235 /* update cred on proc */
3240 /* update cred on proc */
3289 * the previous cred was a member of the VSGID group, but
3371 /* update cred on proc */