Re: How gdb attach command works?

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

 






On Wed, Oct 7, 2009 at 11:35 AM, Gaurav Aggarwal <grv.aggarwal@xxxxxxxxx> wrote:
Hey All,

I do have a doubt not exactly on the kernel side but how exactly the 'gdb attach' command works? Isn't this violates the OS 'memory protection' objective of prevent a process from accessing memory that has not been allocated to it and hence to interfere with other processes memory space?

--
Regards,
Gaurav Aggarwal


Please read about ptrace system call. You will find many detailed articles
explaining how ptrace can be used.

Here is one for starters:

http://www.linuxjournal.com/article/6100

Regards,
Sandeep.

[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