Searched refs:curtro (Results 1 – 1 of 1) sorted by relevance
1330 thread_ro_t curtro = current_thread_ro(); in uthread_init() local1333 if (task == curtro->tro_task && in uthread_init()1334 ((curtro->tro_flags & TRO_SETUID) == 0 || !workq_thread)) { in uthread_init()1335 kauth_cred_set(&tro_tpl->tro_cred, curtro->tro_cred); in uthread_init()1336 tro_tpl->tro_flags = (curtro->tro_flags & TRO_SETUID); in uthread_init()1337 tro_tpl->tro_proc_ro = curtro->tro_proc_ro; in uthread_init()