projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b44bf9
)
signal/sh: Ensure si_signo is initialized in do_divide_error
author
Eric W. Biederman
<ebiederm@xmission.com>
Mon, 24 Jul 2017 22:30:30 +0000
(17:30 -0500)
committer
Eric W. Biederman
<ebiederm@xmission.com>
Sat, 6 Jan 2018 00:40:39 +0000
(18:40 -0600)
Set si_signo.
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: linux-sh@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: 0983b31849bb ("sh: Wire up division and address error exceptions on SH-2A.")
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
arch/sh/kernel/traps_32.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/traps_32.c
b/arch/sh/kernel/traps_32.c
index 57cff00cad178045b56c807aa008d1518fde6752..b3770bb26211319062a84eb73992f3309196384b 100644
(file)
--- a/
arch/sh/kernel/traps_32.c
+++ b/
arch/sh/kernel/traps_32.c
@@
-609,7
+609,8
@@
asmlinkage void do_divide_error(unsigned long r4)
break;
}
- force_sig_info(SIGFPE, &info, current);
+ info.si_signo = SIGFPE;
+ force_sig_info(info.si_signo, &info, current);
}
#endif