I cannot understand behavior of the program when it blocks hardware generated signals such as SIGSEGV
and then gets this signal. For example, if there are a signal handler for SIGSEGV
which was installed with sigaction (signal is blocked inside the handler) but the program gets another SIGSEGV
inside the handler. I cannot find the description of how the program should behave in this case. As I understand, on Linux the signal will unblock and program will crash. But what about other Unix systems, is it specified somewhere?
Thank you.