3 ms·
Definitely, that is one possible design. Although that would be fairly tricky to implement in the kernel. One way you could do this is to heavily abuse the CRI
by catern 10y ago
Definitely, that is one possible design. Although that would be fairly tricky to implement in the kernel.
One way you could do this is to heavily abuse the CRIU project. https://criu.org/Main_Page https://criu.org/Main_Page Just do the following:
1. fork
2. send a request to a privileged daemon
3. privileged daemon checkpoints your child
4. privileged daemon modifies the saved state of your child in whatever way you requested
5. privileged daemon resurrects your child (which is possible because it is privileged)
I am not really serious about this method but it is certainly a thing you could do. :)