3 ms·
Hmm interesting idea. I was working on something a couple weeks ago after all the "αcτµαlly pδrταblε εxεcµταblε" stuff. My idea was to be able to run local prog
by seiferteric 6y ago
Hmm interesting idea. I was working on something a couple weeks ago after all the "αcτµαlly pδrταblε εxεcµταblε" stuff. My idea was to be able to run local programs like your favorite fancy shell, but on a remote machine or container that does not have it installed (think lightweight containers you need to work in). The idea was to have a parent program that runs your shell or other client program using ptrace to intercept and proxy all syscalls to a small client on the remote machine/container. So the code would be running locally, but all of the syscalls would be running remotely. I actually got it somewhat working but gave up when I realized that the difficulty in memory and file access. Files in particular were hard since I couldn't disambiguate if a file access was for a "local" or "remote" file. Also in the past I did something silmilar for python programs https://github.com/seiferteric/telepythy https://github.com/seiferteric/telepythy