[LTP] [PATCH 2/2] dirtyc0w_shmem: set child_needs_reinit
Wei Gao
wegao@suse.com
Tue May 13 22:31:49 CEST 2025
On Tue, May 13, 2025 at 01:05:30PM +0800, Li Wang wrote:
> 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 ,
s/.child_needs_reinit =1 ,/.child_needs_reinit = 1,/
Do we still need this? Since .needs_checkpoints is already setted.
> .forks_child = 1,
> .needs_root = 1,
> .runtime = 120,
> --
> 2.49.0
>
Thanks for your quick patchset :)
More information about the ltp
mailing list