[PATCH 0/2] sigaltstack: remove EPERM check

From: Stas Sergeev
Date: Fri Jan 08 2016 - 20:00:17 EST

The following patches add the self-test for
sigaltstack(SS_DISABLE) inside the signal handler,
and remove the EPERM check in a sigaltstack()
This is needed to make sigaltstack() compatible with
swapcontext(): before using swapcontext() inside
the sighandler, the sigaltstack should be disabled, or
the stack will be corrupted by the subsequent signals.