[GIT PULL] Score: Fix the check condition of get_sigframe

From: Lennox Wu
Date: Tue Mar 15 2016 - 12:34:19 EST


Hi Linus,
Please pull the patch issued by Stas Sergeev for a signal issue.


The following changes since commit 67944024c1cdd897e49a09b0d6af3ea38d1388ca:

Merge tag 'sound-4.5-rc7' of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2016-03-05
12:35:48 -0800)

are available in the git repository at:


git://github.com/sctscore/linux-off.git sig

for you to fetch changes up to ea5cf3c0c898848f5b402df385d873ae8479fe80:

Currently get_sigframe() checks only (ka->sa.sa_flags & SA_ONSTACK) &&
(!on_sig_stack(sp)) to determine whether the switch to sigaltstack is
needed. It forgets to checks whether the sigaltstack was previously set.
(2016-03-11 03:34:05 +0800)

----------------------------------------------------------------
Lennox Wu (1):
Currently get_sigframe() checks only (ka->sa.sa_flags &
SA_ONSTACK) && (!on_sig_stack(sp)) to determine whether the switch
to sigaltstack is needed. It forgets to checks whether the
sigaltstack was previously set.

arch/score/kernel/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


--
Best,
Lennox


Attachment: signature.asc
Description: OpenPGP digital signature