在 2015/2/9 16:26, Greg KH 写道: > On Mon, Feb 09, 2015 at 05:53:50AM +0000, Sheng Yong wrote: >> Hi, Greg, >> 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/2] 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/2] >> is also adjusted to add the VM_FAULT_SIGSEGV handling in the original >> files in 3.10. >> >> thanks, >> Sheng >> >> Sheng Yong (1): >> vm: add VM_FAULT_SIGSEGV handling support >> >> Linus Torvalds (1): >> vm: make stack guard page errors return VM_FAULT_SIGSEGV rather than >> SIGBUS > > Can you provide backports for 3.14-stable as well, so that I can apply > the patch to both trees? Hi, Greg, The backports for 3.14-stable is sent to the you and stable mailing list in another mail. thanks, Sheng > > 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