"has to open its' own ELF executable" hmm? Isn't the thread segment just loaded somewhere into memory to be copied by startup code?
Then the actual kernel need not do anything but open the ELF file; the code it mapped in userspace can handle the mmaps, etc.
-
-
I think this is an interesting approach and I have considered it. Maybe I'll do it down the road. It's like privsepping the kernel.
-
Of course with the whole program loader, the TLS parts is just a couple percent of fairly trivial code, not worth splitting out on its own.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.