News for hackers. Stuff that matters.
Re:Hidden dependencies in Linux binaries by o11c on Sunday April 14, 2024 @03:30PM (#40033691)
So basically like that one Rust hardware project that gets posted periodically?

You could probably do it pretty decently in C via `pkey_mprotect` (probably with `dlmopen`).

https://www.man7.org/linux/man-pages/man7/pkeys.7.html

Re:Hidden dependencies in Linux binaries by quotemstr on Sunday April 14, 2024 @05:23PM (#40034604)
It'd be nice if dlmopen weren't broken and made a linker namespace so separate that it couldn't even share pthreads with another.