![]() | |||||||||||
Messages in this thread |
On Mon, 2006-06-19 at 03:06 +0200, Wojciech Moczulski wrote: > Matthew Garrett napisał(a): > > http://cryopid.berlios.de/ ? > > OK, and if I want to parse the path to a file, where process state is saved, > to the kernel and let the kernel module restart the process? Is it possible to > do it this way (without building self-executable binary)? One of the earlier incarnations of CryoPID did more or less this - it generated an ELF file with segments as laid out in the original image, so that the kernel ELF loaded did all the dirty work. It still required an extra portion of code to be injected into the binary in order to restore registers, file descriptors, etc. I recall the main reason I switched away from it was to be able to compress the images. If you're going to be modifying the kernel in order to resume processes, then implementing it as an binary format handler (fs/binfmt_*) may be what you're looking for. Regards, Bernard. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||
| Last update: 2006-06-19 06:09 [from the cache] ©2003-2008 | |||||||||||