Re: [PATCH v2 0/3][request for stable 3.10 inclusion] vm: make stack guard page errors return VM_FAULT_SIGSEGV rather than SIGBUS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 27, 2015 at 11:14:20AM +0000, Sheng Yong wrote:
> Hi, Greg,
> 
> V2:
> Backport commit 7fb08eca ("x86: mm: move mmap_sem unlock from
> mm_fault_error() to caller)" to solve lock problem on x86.
> 
> V1:
> The commit 88b5d12 ("mm: propagate error from stack expansion even for
> guard page") for 3.10-stable makes the testcase get "bus error", while
> it had "segmentation fault" in older kernels.
> 
> ===== testcase =====
> int main(void)
> {
> 	main();
> 	return 0;
> }
> ====================
> 
> These 2 patches fix it by adding a VM_FAULT_SIGSEGV in all architecture
> fault handlers.
> 
> [PATCH 1/3] is asjusted to ignore un-supported arch and driver in 3.10.
> And some files are separated or renamed in newer kernel, so [PATCH 1/3]
> is also adjusted to add the VM_FAULT_SIGSEGV handling in the original
> files in 3.10.
> 
> thanks,
> Sheng

I think I've now queued these up properly, but can you test to verify I
got it correct?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]