Searched refs:COMPAT_PREFIX_LEN (Results 1 – 1 of 1) sorted by relevance
| /xnu-8792.61.2/bsd/kern/ |
| H A D | kern_credential.c | 2048 #define COMPAT_PREFIX_LEN (sizeof(uuid_t) - sizeof(id_t)) in kauth_cred_cache_lookup() macro 2059 memcpy(&uu[COMPAT_PREFIX_LEN], &uid, sizeof(uid)); in kauth_cred_cache_lookup() 2070 memcpy(&uu[COMPAT_PREFIX_LEN], &gid, sizeof(gid)); in kauth_cred_cache_lookup() 2079 if (memcmp(uu, _user_compat_prefix, COMPAT_PREFIX_LEN) == 0) { in kauth_cred_cache_lookup() 2081 memcpy(&uid, &uu[COMPAT_PREFIX_LEN], sizeof(uid)); in kauth_cred_cache_lookup() 2086 if (memcmp(uu, _group_compat_prefix, COMPAT_PREFIX_LEN) == 0) { in kauth_cred_cache_lookup() 2088 memcpy(&gid, &uu[COMPAT_PREFIX_LEN], sizeof(gid)); in kauth_cred_cache_lookup()
|