Searched refs:tro_cred (Results 1 – 7 of 7) sorted by relevance
| /xnu-11417.140.69/bsd/kern/ |
| H A D | kern_prot.c | 325 kauth_cred_t tro_cred = tro->tro_cred; in gettid() local 332 if (tro->tro_realcred == tro->tro_cred) { in gettid() 336 if ((error = suword(uap->uidp, kauth_cred_getruid(tro_cred)))) { in gettid() 339 if ((error = suword(uap->gidp, kauth_cred_getrgid(tro_cred)))) { in gettid() 1161 kauth_cred_t cred = tro->tro_cred; in kern_settid_assume_cred() 1164 zalloc_ro_update_field(ZONE_ID_THREAD_RO, tro, tro_cred, &cred); in kern_settid_assume_cred() 1194 if (tro->tro_realcred == tro->tro_cred) { in kern_settid() 1202 if (tro->tro_realcred != tro->tro_cred) { in kern_settid() 1213 cred = kauth_cred_derive(tro->tro_cred, in kern_settid() 1375 if (tro->tro_realcred != tro->tro_cred) { in setgroups_internal() [all …]
|
| H A D | kern_fork.c | 1338 kauth_cred_set(&tro_tpl->tro_cred, vfs_context0.vc_ucred); in uthread_init() 1350 kauth_cred_set(&tro_tpl->tro_cred, in uthread_init() 1353 kauth_cred_set(&tro_tpl->tro_cred, in uthread_init() 1354 curtro->tro_cred); in uthread_init() 1360 kauth_cred_set(&tro_tpl->tro_cred, cred); in uthread_init()
|
| H A D | kern_credential.c | 3446 return current_thread_ro()->tro_cred; in kauth_cred_get() 3505 if (my_creds.tro_realcred == my_creds.tro_cred) { in kauth_cred_thread_update_slow() 3506 kauth_cred_set(&my_creds.tro_cred, cred); in kauth_cred_thread_update_slow()
|
| /xnu-11417.140.69/bsd/dev/dtrace/ |
| H A D | dtrace_glue.c | 244 return current_thread_ro_unchecked()->tro_cred; in dtrace_CRED()
|
| /xnu-11417.140.69/osfmk/kern/ |
| H A D | thread.h | 199 struct ucred *tro_cred;
|
| H A D | thread.c | 366 struct ucred *cred = tro->tro_cred; in thread_ro_destroy() 1375 assert(tro_tpl.tro_cred && tro_tpl.tro_proc); in thread_create_internal()
|
| /xnu-11417.140.69/bsd/vfs/ |
| H A D | kpi_vfs.c | 1662 static_assert(offsetof(struct thread_ro, tro_cred) == in vfs_context_current()
|