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

That is a risk, which is why you need to block all signals using the sigprocmask syscall before unmapping your stack.


Or you just don't have signal-handling functions. Signals only touch the stack if you handle them via functions. The default signal dispositions all either kill the process or do nothing, so they don't touch the stack.




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

Search: