438,7 → 438,11 |
copied = total = 0; |
for (cur = ta->th_head.next; cur != &ta->th_head; cur = cur->next) { |
t = list_get_instance(cur, thread_t, th_link); |
|
|
/* Not interested in kernel threads */ |
if ((t->flags & THREAD_FLAG_USPACE) == 0) |
continue; |
|
//FIXME: id cropped!! |
tid = (unative_t) t->tid; |
|
1073,7 → 1077,7 |
* |
* @return Phone id on success, or negative error code. |
*/ |
unative_t sys_ipc_connect_task(sysarg64_t *uspace_taskid_arg) |
unative_t sys_ipc_connect_kbox(sysarg64_t *uspace_taskid_arg) |
{ |
sysarg64_t taskid_arg; |
int rc; |
1084,7 → 1088,7 |
|
klog_printf("sys_ipc_connect_kbox(%lld, %d)", taskid_arg.value); |
|
return ipc_connect_task(taskid_arg.value); |
return ipc_connect_kbox(taskid_arg.value); |
} |
|
/** @} |