[LTP] [PATCH 2/2] dirtyc0w_shmem: set child_needs_reinit

Li Wang liwang@redhat.com
Tue May 13 07:05:30 CEST 2025


Signed-off-by: Li Wang <liwang@redhat.com>
---
 testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c b/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c
index 64b187b35..4b31da831 100644
--- a/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c
+++ b/testcases/kernel/security/dirtyc0w_shmem/dirtyc0w_shmem.c
@@ -104,6 +104,7 @@ static void cleanup(void)
 
 static struct tst_test test = {
 	.needs_checkpoints = 1,
+	.child_needs_reinit =1 ,
 	.forks_child = 1,
 	.needs_root = 1,
 	.runtime = 120,
-- 
2.49.0



More information about the ltp mailing list