lib: launch: populate result with handles to the newly-created task
This commit is contained in:
@@ -208,7 +208,10 @@ enum launch_status launch_ctx_execute(
|
|||||||
|
|
||||||
thread_start(thread);
|
thread_start(thread);
|
||||||
|
|
||||||
kern_handle_close(thread);
|
result->r_task = remote_task;
|
||||||
|
result->r_thread = thread;
|
||||||
|
result->r_address_space = remote_address_space;
|
||||||
|
|
||||||
elf_image_cleanup(&image);
|
elf_image_cleanup(&image);
|
||||||
|
|
||||||
return LAUNCH_OK;
|
return LAUNCH_OK;
|
||||||
|
|||||||
Reference in New Issue
Block a user