From cbc456de3b6e980ffc0a01b0fb75afd09a1ab4db Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Wed, 17 Sep 2008 22:56:18 +0000 Subject: [PATCH] Added TODO regarding updating the image ID's after fork(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27604 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/runtime_loader/elf.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/system/runtime_loader/elf.cpp b/src/system/runtime_loader/elf.cpp index 5707b40ca0..a7a7509be1 100644 --- a/src/system/runtime_loader/elf.cpp +++ b/src/system/runtime_loader/elf.cpp @@ -1986,5 +1986,10 @@ elf_reinit_after_fork() if (rld_sem < 0) return rld_sem; + // TODO: We should also update the IDs of our images. We are the child and + // and have cloned images with different IDs. Since in most cases (fork() + // + exec*()) this would just increase the fork() overhead with no one + // caring, we could do that lazily, when first doing something different. + return B_OK; }