Searched refs:curtro (Results 1 – 1 of 1) sorted by relevance
1319 thread_ro_t curtro = current_thread_ro(); in uthread_init() local1322 if (task == curtro->tro_task && in uthread_init()1323 ((curtro->tro_flags & TRO_SETUID) == 0 || !workq_thread)) { in uthread_init()1324 kauth_cred_set(&tro_tpl->tro_cred, curtro->tro_cred); in uthread_init()1325 tro_tpl->tro_flags = (curtro->tro_flags & TRO_SETUID); in uthread_init()1326 tro_tpl->tro_proc_ro = curtro->tro_proc_ro; in uthread_init()