top | item 45740241

Detour: Dynamic linking on Linux without Libc

79 points| generichuman | 4 months ago |github.com

8 comments

order

pjmlp|4 months ago

It is possible to have a dynamic environment without dynamic linking, that is how old UNIXes did it in the past via OS IPC, nowadays D-BUS as well, the problem then becomes the higher resource consumption when every little service is a process being started, and talked via IPC instead of a jump call.

Still quite relevant when security and host stability matters, though.

generichuman|4 months ago

That doesn't give you independence from the libc, does it? By extension you lose distro-independence too (not sure if Detour supports musl-based ones, need to run tests).

Agree that IPC will be more secure and stable though.

I imagine Detour is mostly targeting closed source projects trying to run on as many distros as possible.

Ericson2314|4 months ago

Nest. This reminds of the problem of wishing INTERP supported $ORIGIN.