Re: ptrace and signal handlers.

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

 



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@xxxxxxxxx> 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?
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
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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