Searched refs:tro_cred (Results 1 – 7 of 7) sorted by relevance
| /xnu-12377.61.12/bsd/kern/ |
| H A D | kern_prot.c | 328 kauth_cred_t tro_cred = tro->tro_cred; in gettid() local 335 if (tro->tro_realcred == tro->tro_cred) { in gettid() 339 if ((error = suword(uap->uidp, kauth_cred_getruid(tro_cred)))) { in gettid() 342 if ((error = suword(uap->gidp, kauth_cred_getrgid(tro_cred)))) { in gettid() 1166 kauth_cred_t cred = tro->tro_cred; in kern_settid_assume_cred() 1169 zalloc_ro_update_field(ZONE_ID_THREAD_RO, tro, tro_cred, &cred); in kern_settid_assume_cred() 1199 if (tro->tro_realcred == tro->tro_cred) { in kern_settid() 1207 if (tro->tro_realcred != tro->tro_cred) { in kern_settid() 1218 cred = kauth_cred_derive(tro->tro_cred, in kern_settid() 1380 if (tro->tro_realcred != tro->tro_cred) { in setgroups_internal() [all …]
|
| H A D | kern_fork.c | 1336 kauth_cred_set(&tro_tpl->tro_cred, vfs_context0.vc_ucred); in uthread_init() 1348 kauth_cred_set(&tro_tpl->tro_cred, in uthread_init() 1351 kauth_cred_set(&tro_tpl->tro_cred, in uthread_init() 1352 curtro->tro_cred); in uthread_init() 1358 kauth_cred_set(&tro_tpl->tro_cred, cred); in uthread_init()
|
| H A D | kern_credential.c | 3448 return current_thread_ro()->tro_cred; in kauth_cred_get() 3507 if (my_creds.tro_realcred == my_creds.tro_cred) { in kauth_cred_thread_update_slow() 3508 kauth_cred_set(&my_creds.tro_cred, cred); in kauth_cred_thread_update_slow()
|
| /xnu-12377.61.12/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 244 return current_thread_ro_unchecked()->tro_cred; in dtrace_CRED()
|
| /xnu-12377.61.12/osfmk/kern/ |
| H A D | thread.h | 201 struct ucred *tro_cred;
|
| H A D | thread.c | 370 struct ucred *cred = tro->tro_cred; in thread_ro_destroy() 1365 assert(tro_tpl.tro_cred && tro_tpl.tro_proc); in thread_create_internal()
|
| /xnu-12377.61.12/bsd/vfs/ |
| H A D | kpi_vfs.c | 1681 static_assert(offsetof(struct thread_ro, tro_cred) == in vfs_context_current()
|