diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-29 21:17:31 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2024-10-29 21:17:31 +0200 |
| commit | 5976ad390a15726c3ddfacf8c8b282c8350f9554 (patch) | |
| tree | 24a55fcd7e6f28d048ac074da59f428b54a81cb0 /src/orphanage.c | |
| parent | 314bca3dc19a864c76153bfcd5a58be8c40000f9 (diff) | |
| download | kmi-5976ad390a15726c3ddfacf8c8b282c8350f9554.tar.gz kmi-5976ad390a15726c3ddfacf8c8b282c8350f9554.zip | |
start moving towards threads always being in rpc
Diffstat (limited to 'src/orphanage.c')
| -rw-r--r-- | src/orphanage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/orphanage.c b/src/orphanage.c index 797468d..6de520f 100644 --- a/src/orphanage.c +++ b/src/orphanage.c @@ -39,8 +39,8 @@ void unorphanize(struct tcb *t) t->pid = 1; t->eid = 1; - t->proc = init->proc; - use_vmem(t->proc.vmem); + clone_uvmem(init->proc.vmem, t->rpc.vmem); + use_vmem(t->rpc.vmem); alloc_stack(t); assert(init->callback); |
