aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-02 08:41:02 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-02-02 08:41:02 -0800
commit178cf7de6f1d3b95407f5a76af249fc924d42576 (patch)
tree4b3e5f3ef6dfa7866fb30811acdc60832a055269 /mm/memory.c
parent89c468263befb4617aaab36ae8c54ba04164c7b0 (diff)
parente36f014edff70fc02b3d3d79cead1d58f289332e (diff)
downloadkernel_replicant_linux-178cf7de6f1d3b95407f5a76af249fc924d42576.tar.gz
kernel_replicant_linux-178cf7de6f1d3b95407f5a76af249fc924d42576.tar.bz2
kernel_replicant_linux-178cf7de6f1d3b95407f5a76af249fc924d42576.zip
Merge 3.19-rc7 into staging-next
We want those fixes in here for testing. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/memory.c')
-rw-r--r--mm/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c
index 54f3a9b00956..2c3536cc6c63 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -2632,7 +2632,7 @@ static int do_anonymous_page(struct mm_struct *mm, struct vm_area_struct *vma,
/* Check if we need to add a guard page to the stack */
if (check_stack_guard_page(vma, address) < 0)
- return VM_FAULT_SIGBUS;
+ return VM_FAULT_SIGSEGV;
/* Use the zero-page for reads */
if (!(flags & FAULT_FLAG_WRITE) && !mm_forbids_zeropage(mm)) {