diff options
author | Helge Deller <deller@gmx.de> | 2017-07-02 23:00:41 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2017-07-02 23:27:08 +0300 |
commit | 247462316f85a9e0479445c1a4223950b68ffac1 (patch) | |
tree | e50629d8faf711ee6eb415e48fa40f1dccffc76c /arch/arm/boot/dts/sun4i-a10-hackberry.dts | |
parent | b0f94efd5aa8daa8a07d7601714c2573266cd4c9 (diff) | |
download | linux-247462316f85a9e0479445c1a4223950b68ffac1.tar.xz |
parisc: Report SIGSEGV instead of SIGBUS when running out of stack
When a process runs out of stack the parisc kernel wrongly faults with SIGBUS
instead of the expected SIGSEGV signal.
This example shows how the kernel faults:
do_page_fault() command='a.out' type=15 address=0xfaac2000 in libc-2.24.so[f8308000+16c000]
trap #15: Data TLB miss fault, vm_start = 0xfa2c2000, vm_end = 0xfaac2000
The vma->vm_end value is the first address which does not belong to the vma, so
adjust the check to include vma->vm_end to the range for which to send the
SIGSEGV signal.
This patch unbreaks building the debian libsigsegv package.
Cc: stable@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-hackberry.dts')
0 files changed, 0 insertions, 0 deletions