Hi everyone, I would like to learn to take a snapshot of a given process in the user space instead of doing it in the kernel space. For this, we can intercept all other system calls using LD_PRELOAD but I would like to know how we can intercept the main() function itself. In other words, if we have an executable file and I would like to run that process and take a snapshot of it every now and then so that I can restart from it. This is just an idea and I would like to ask you to help me to overcome my limited understanding. Thank you and have a good evening. Ilho <>< -- For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life(John 3:16). -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ