News for hackers. Stuff that matters.
Re:Raw Linux Threads via System Calls by Amanieu on Sunday June 07, 2015 @03:17PM (#9675984)
That is a risk, which is why you need to block all signals using the sigprocmask syscall before unmapping your stack.
Re:Raw Linux Threads via System Calls by geofft on Sunday June 07, 2015 @05:38PM (#9676427)
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.