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

This patch adds a test case to verify that the changed DSCR value inside
any process would be inherited to it's child across the fork and exec
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_exec_test.c [new file with mode: 0644]