summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/powerpc/mm/segv_errors.c
AgeCommit message (Collapse)Author
2018-01-03selftests/powerpc: Add a test of SEGV error behaviourMichael Ellerman
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>