[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <56905B90.6060505@list.ru>
Date: Sat, 9 Jan 2016 04:00:00 +0300
From: Stas Sergeev <stsp@...t.ru>
To: Linux kernel <linux-kernel@...r.kernel.org>
Cc: linux-api@...r.kernel.org, Andy Lutomirski <luto@...capital.net>
Subject: [PATCH 0/2] sigaltstack: remove EPERM check
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.
Powered by blists - more mailing lists