tech-kern archive

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

Re: avoid spinning processes when catching SEGV/BUS/FPE



On Wed, Dec 06, 2017 at 06:22:48PM -0500, Christos Zoulas wrote:
> This has also the unfortunate side effect that makes the problem
> undebuggable (aside from wasting CPU resources). The following patch
> fixes that.

Been there, tried to debug that - evil!

Could we auto-restore the signal handler when it returns? We would seriously
alter behaviour for many apps otherwise, won't we?

But maybe I misread your patch.

Martin


Home | Main Index | Thread Index | Old Index