This is great work.
I see you use SA_ONSTACK so I assume you intended to provide an alternate stack (which is better for this case) but I don't see anywhere an initialization with sigaltstack - or maybe I missed something?
Per sigaction man page, in such case the default stack is used (which I assume is as if SA_ONSTACK has not been given)
This is great work.
I see you use SA_ONSTACK so I assume you intended to provide an alternate stack (which is better for this case) but I don't see anywhere an initialization with sigaltstack - or maybe I missed something?
Per sigaction man page, in such case the default stack is used (which I assume is as if SA_ONSTACK has not been given)