ptrace and signal handlers.

manty kuma mantykuma at gmail.com
Tue Jul 8 09:52:02 EDT 2014


Changed the subject to a better relevant name. Sorry for spamming.
Looking forward for response.

On Tue, Jul 8, 2014 at 7:53 PM, manty kuma <mantykuma at gmail.com> wrote:

> Hi,
> Consider a scenario that a signal handler is getting executed and also
> ptrace is attached to the process in parallel.
> I have following queries :
> 1. If a signal is sent to the process from signal handler, Will the signal
> be delivered and handled(With ptrace already attached)?
>
> 2. what is current->exit_code here
> <https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/kernel/signal.c?id=refs/tags/v3.16-rc4#n2137>
> ?
> If this is the exit code of the application, is it properly initialized at
> this point in time(while the signal is being delivered)? If yes, could
> someone help me spotting it in source?
>
> Looking forward for responses. Thank you
>
> Best Regards,
> Manty
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140708/2ad9958f/attachment.html 


More information about the Kernelnewbies mailing list