On Tuesday 2015-01-27 21:36, Linus Torvalds wrote: >The only reason it returns SIGBUS is that we don't have an equivalent >VM_FAULT_SIGSEGV error return. Which is something of an oversight, >but adding it is a pain too, simply because the callers are mainly the >architecture page fault handlers, so the VM_FAULT_SIGSEGV handling has >to be added to all of them. > >Very annoying. The patch would look something like the attached - >TOTALLY UNTESTED. > >Does this fix things for you? The 2nd patch (from 12:57:20 -0800) plus the one-liner for mm/memory.c at the callsite for check_stack_guard_page makes the test still not succeed. -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html