How to get the pid of the process that sent the SIGABRT signal to another process that exited the dumping kernel

how to get the pid of the process that sent the SIGABRT signal to another process that exited the dump kernel

0


source to share


1 answer


In short, by setting up a signal handler for SIGABRT. More specifically, if you specify a flag SA_SIGINFO

when setting a signal handler, the structure siginfo_t

must be populated with additional information about the signal, including the sender ID, etc.



+1


source







All Articles