linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] sigaltstack: remove EPERM check
@ 2016-01-09  1:00 Stas Sergeev
  2016-01-09  1:15 ` [PATCH 1/2] selftests: Add test for sigaltstack(SS_DISABLE) inside sighandler Stas Sergeev
       [not found] ` <56905B90.6060505-cmBhpYW9OiY@public.gmane.org>
  0 siblings, 2 replies; 7+ messages in thread
From: Stas Sergeev @ 2016-01-09  1:00 UTC (permalink / raw)
  To: Linux kernel; +Cc: linux-api, Andy Lutomirski

The following patches add the self-test for
sigaltstack(SS_DISABLE) inside the signal handler,
and remove the EPERM check in a sigaltstack()
syscall.
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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-01-31  2:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-09  1:00 [PATCH 0/2] sigaltstack: remove EPERM check Stas Sergeev
2016-01-09  1:15 ` [PATCH 1/2] selftests: Add test for sigaltstack(SS_DISABLE) inside sighandler Stas Sergeev
     [not found] ` <56905B90.6060505-cmBhpYW9OiY@public.gmane.org>
2016-01-09  1:18   ` [PATCH 2/2] sigaltstack: remove EPERM check to make swapcontext() usable Stas Sergeev
2016-01-09  2:03     ` Andy Lutomirski
     [not found]       ` <CALCETrUAPqhrt9UjKt5=n=R-Ao7g-emDtt34YXZgyhr3TuFu9w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-01-09  2:49         ` Stas Sergeev
     [not found]           ` <56907546.2050706-cmBhpYW9OiY@public.gmane.org>
2016-01-31  2:45             ` Stas Sergeev
2016-01-31  2:53             ` Stas Sergeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).