Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Just trying to allocate stack space for the signal handler may cause the stack to spill into a new page. That is absolutely out of anybody's control. And if that new page cannot be provided, it's game over.


Makes sense. I was thinking that maybe signal handlers could use the regular stack of the thread, but that would of course make everything fall down if the "real" code would write to the stack before updating the stack pointer.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: