aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/mm/segv_errors.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2018-01-03selftests/powerpc: Add a test of SEGV error behaviourMichael Ellerman1-0/+78
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>