4 ms·
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 wit
by o11c 3y ago
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 https://www.man7.org/linux/man-pages/man7/pkeys.7.html
- quotemstr 3y agoIt'd be nice if dlmopen weren't broken and made a linker namespace so separate that it couldn't even share pthreads with another.