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