Re: IDT/Exception handling understanding - kernel vs userspace control path

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

 



Hi!

On Tue, Jul 1, 2008 at 11:56 PM, Peter Teoh <htmldeveloper@xxxxxxxxx> wrote:
> so effectively, the propagation of the interrupt processing is via
> kill_pgrp().   Correct?   Which somehow...should flow back to
> userspace program's exception handler --> correct?  (as decided and
> controlled by glibc)

Not sure about the function's name, but I was just guessing it should
"return" back to user space as either signal or exception. However, in
the case of int 3 (breakpoint), you need to return to the
"controller", because most likely you need to inspect something in the
traced process.  This process will return working normally after the
patched instruction is restored (i.e int 3 is removed and original
instruction is copied back)

somebody CMIIW...

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