]> 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)
commit11f7a8649f1f6af9b3186b3ef116b47477bf5b0d
tree2eac1cb753abdbae19852cea8595557f7f142341
parentc2c9e6911fc391e8b93d7c9973b1ddcc17e01e86
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]