Re: [LTP] [PATCH v3 2/2] cve-2026-46331: fix intermittent ENOENT failure

Cyril Hrubis <[email protected]> Tue, 21 Jul 2026 11:06:54 +0200
Newsgroups it.linux.lists.ltp
Message-ID <[email protected]>
Hi!
>  	memset(&pedit_sel_buf, 0, sizeof(pedit_sel_buf));
> @@ -253,7 +278,12 @@ static struct tst_test test = {
>  	.test_all = run,
>  	.setup = setup,
>  	.cleanup = cleanup,
> +	.needs_root = 1,
>  	.needs_tmpdir = 1,
> +	.needs_cmds = (struct tst_cmd[]) {
> +		{.cmd = "modprobe"},
> +		{}
> +	},

The last thing I wonder about is if this should stay here, since we now
use the tst_modprobe() the library should handle this dependency
instead.

Other than that:

Reviewed-by: Cyril Hrubis <[email protected]>

-- 
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp