[LTP] [PATCH v3 2/2] cve-2026-46331: fix intermittent ENOENT failure
Cyril Hrubis
chrubis@suse.cz
Tue Jul 21 11:06:54 CEST 2026
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 <chrubis@suse.cz>
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list