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
_______________________________________________
Kernelnewbies mailing list
[email protected]
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Reply via email to