selftests/powerpc: Add test for DSCR value inheritence across fork
commitcf9c4a5ecf806348940ee26b7ff0ff59f5530059
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>
Thu, 21 May 2015 06:43:09 +0000 (21 12:13 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 7 Jun 2015 09:37:11 +0000 (7 19:37 +1000)
tree449e44ab945ecadc1e1eb3bfbedb74f761566783
parentcc6a93f1c3d6923ebf2f305416d080e9afc7ee95
selftests/powerpc: Add test for DSCR value inheritence across fork

This patch adds a test to verify that the changed DSCR value inside any
process would be inherited to it's child process across the fork system
call.

Acked-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com>
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/powerpc/dscr/Makefile
tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c [new file with mode: 0644]