]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/powerpc: Add a test of SEGV error behaviour
authorMichael Ellerman <mpe@ellerman.id.au>
Tue, 2 Jan 2018 10:37:36 +0000 (21:37 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Jan 2018 05:49:24 +0000 (16:49 +1100)
commit0493ed29625e2857acf0ee3a35c13048d9956011
tree2eac1cb753abdbae19852cea8595557f7f142341
parent51499d225ac98b5b757683b35c5b1286fe965d9f
selftests/powerpc: Add a test of SEGV error behaviour

Add a test case of the error code reported when we take a SEGV on a
mapped but inaccessible area. We broke this recently.

Based on a test case from John Sperbeck <jsperbeck@google.com>.

Acked-by: John Sperbeck <jsperbeck@google.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/mm/.gitignore
tools/testing/selftests/powerpc/mm/Makefile
tools/testing/selftests/powerpc/mm/segv_errors.c [new file with mode: 0644]