At Tue, 27 Jan 2015 13:00:36 -0800,
Linus Torvalds wrote:
On Tue, Jan 27, 2015 at 12:56 PM, Takashi Iwai <tiwai(a)suse.de> wrote:
Unfortunately it doesn't seem to work. I compiled and test quickly,
but two of five test still gives SIGBUS (stackoverflow1 and
Oh, I forgot to make it clear that the patch was _purely_ the
"infrastructure" patch to add support for VM_FAULT_SIGSEGV.
To actually make the stack guard page access failure give SIGSEGV,
you'd need to also then change that
if (check_stack_guard_page(vma, address) < 0)
in mm/memory.c to actually use the new "VM_FAULT_SIGSEGV" thing.
Otherwise it will obviously continue to send SIGSBUS.
OK, got it. Now the result is positive. libsigsegv "make check"
passed all tests. (tested with your second patch + this change)
Do you have a test case that should still generate SIGBUS, too?
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org