From: Cyril Hrubis <chrubis@suse.cz>
To: Ricardo Branco <rbranco@suse.de>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v4] userfaultfd: Add test using UFFDIO_POISON
Date: Mon, 23 Feb 2026 11:59:13 +0100 [thread overview]
Message-ID: <aZwzAWcZH3daeTBs@yuki.lan> (raw)
In-Reply-To: <1a05954d-e6b9-4e43-85f2-90ea94e8b68a@suse.de>
Hi!
> >> + uffd = SAFE_USERFAULTFD(O_CLOEXEC | O_NONBLOCK, false);
> > Maybe this one should be closed inside run(), or even remove it from
> > static variables and passed to the thread, so we keep it inside run().
>
> But then we'd also have to fix the other tests.
> >> +
> >> +static struct tst_test test = {
> >> + .test_all = run,
> >> + .cleanup = cleanup,
> >> +};
> > You ar missing the runtest entry.
>
> There's no runtest function. For now I'm using the other tests as template.
Runtest entry in runtest/syscalls
--
Cyril Hrubis
chrubis@suse.cz
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-02-23 11:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-19 22:50 [LTP] [PATCH v4] userfaultfd: Add test using UFFDIO_POISON Ricardo Branco
2026-02-20 10:41 ` Cyril Hrubis
2026-02-20 15:32 ` Andrea Cervesato via ltp
2026-02-20 15:43 ` Ricardo Branco
2026-02-20 15:47 ` Andrea Cervesato via ltp
2026-02-20 16:45 ` Ricardo Branco
2026-02-23 10:59 ` Cyril Hrubis [this message]
2026-02-23 13:16 ` Ricardo Branco
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=aZwzAWcZH3daeTBs@yuki.lan \
--to=chrubis@suse.cz \
--cc=ltp@lists.linux.it \
--cc=rbranco@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox