[LTP] [PATCH v6] userfaultfd: Add test using UFFDIO_POISON

Andrea Cervesato andrea.cervesato@suse.com
Thu Feb 26 11:25:24 CET 2026


Hi!

> index 05bb3ceb1..2ad8f8b1e 100644
> --- a/runtest/syscalls
> +++ b/runtest/syscalls
> @@ -1775,6 +1775,7 @@ userfaultfd02 userfaultfd02
>  userfaultfd03 userfaultfd03
>  userfaultfd04 userfaultfd04
>  userfaultfd05 userfaultfd05
> +userfaultfd06 userfaultfd05

copy-paste failure :-) pointing to the wrong binary.

> +
> +static struct tst_test test = {
> +	.test_all = run,
> +	.setup = setup,
> +};

Please add a .cleanup to call reset_pages() in case we fail syscalls.

-- 
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com



More information about the ltp mailing list