Skip to contentSkip to conversation

Score: Fix the check condition of get_sigframe

GIT PULL Lennox Wu 2 participants 2 messages Mar 15, 2016 – Mar 16, 2016

lore
Share & tools
lore

Lennox Wu

author
#0 lore raw

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

#1 lore raw
Quoted 2 lines · Lennox Wu

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

Please use a signed tag for github pull requests. I don't pull unsigned branches from open hosting sites.

Yeah, yeah, I know this is a one-liner, and I could just eyeball the end result to make sure it really looks fine, but still.. I really want signing to be standard procedure for open hosting pulls.

Linus