Re: intercepting main function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi..

Sure this is kernel related questions? But anyway?

On Feb 18, 2008 10:23 AM, Ye ilho <iy2110@xxxxxxxxxxxx> wrote:

> 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.

Are you referring to checkpointing? check programs like cryopid or chpox.

For intercepting main(), how about using ptrace()?

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux