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>
This commit is contained in:
Anshuman Khandual
2015-05-21 12:13:10 +05:30
committed by Michael Ellerman
parent cf9c4a5ecf
commit 6f844261e1
2 changed files with 118 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
TEST_PROGS := dscr_default_test dscr_explicit_test dscr_user_test \
dscr_inherit_test
dscr_inherit_test dscr_inherit_exec_test
dscr_default_test: LDLIBS += -lpthread