From: linuxtestproject.agent@gmail.com
To: Michael Menasherov <mmenashe@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] futex_wait06: Add EFAULT error coverage test
Date: Mon, 25 May 2026 19:45:10 +0000 [thread overview]
Message-ID: <20260525194510.4034-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260525190344.60330-2-mmenashe@redhat.com>
Hi Michael,
On Mon, 25 May 2026, Michael Menasherov wrote:
> futex_wait06: Add EFAULT error coverage test
[...]
> --- a/runtest/syscalls
> +++ b/runtest/syscalls
> @@ -1876,6 +1877,9 @@ futex_wake04 futex_wake04
> futex_wait_bitset01 futex_wait_bitset01
> +futex_wait06 futex_wait06
> +futex_wait07 futex_wait07
> +futex_wake05 futex_wake05
futex_wait06 and futex_wait07 should be inserted after futex_wait05
(before futex_waitv01), and futex_wake05 should follow futex_wake04
(before futex_wait_bitset01). All three are currently appended at the
wrong position.
[...]
--- [PATCH 4/4] futex_cmp_requeue03 ---
> +futex_cmp_requeue03 futex_cmp_requeue03
Placement is correct here.
> +static futex_t futex_var = FUTEX_INITIALIZER;
> +static futex_t *futex_ptr = &futex_var;
> + TST_EXP_FAIL(futex_cmp_requeue(tv->fntype, *tc->uaddr, futex_var,
> + *tc->uaddr2, 1, 1, 0), tc->exp_errno, "%s", tc->desc);
For the "uaddr2 unmapped" case the call path reaches the uaddr2 key
lookup only after verifying *uaddr == val. Since both futex_var and val
are FUTEX_INITIALIZER (0), the comparison passes and EFAULT is returned
on the uaddr2 page resolution — as intended. No issue, just noting the
dependency for readers.
---
Summary: fix the runtest insertion points for futex_wait06, futex_wait07,
and futex_wake05 before resubmitting.
---
Note:
Our agent completed the review of the patch. The full review can be
found at: (REVIEW_URL not set)
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2026-05-25 19:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 19:03 [LTP] [PATCH v9 0/4] futex: Add error coverage tests for wait, wake and cmp_requeue Michael Menasherov via ltp
2026-05-25 19:03 ` [LTP] [PATCH v9 1/4] futex_wait06: Add EFAULT error coverage test Michael Menasherov via ltp
2026-05-25 19:45 ` linuxtestproject.agent [this message]
2026-05-25 19:03 ` [LTP] [PATCH v9 2/4] futex_wait07: Add EINTR " Michael Menasherov via ltp
2026-05-25 19:03 ` [LTP] [PATCH v9 3/4] futex_wake05: Add EFAULT " Michael Menasherov via ltp
2026-05-25 19:03 ` [LTP] [PATCH v9 4/4] futex_cmp_requeue03: " Michael Menasherov via ltp
-- strict thread matches above, loose matches on Subject: below --
2026-05-27 9:26 [LTP] [PATCH v14 1/4] futex_wait06: " Michael Menasherov via ltp
2026-05-27 9:56 ` [LTP] " linuxtestproject.agent
2026-05-26 21:49 [LTP] [PATCH v13 1/4] " Michael Menasherov via ltp
2026-05-26 22:30 ` [LTP] " linuxtestproject.agent
2026-05-26 19:04 [LTP] [PATCH v12 1/4] " Michael Menasherov via ltp
2026-05-26 21:00 ` [LTP] " linuxtestproject.agent
2026-05-26 15:26 [LTP] [PATCH v11 1/4] " Michael Menasherov via ltp
2026-05-26 18:36 ` [LTP] " linuxtestproject.agent
2026-05-26 9:07 [LTP] [PATCH v10 1/4] " Michael Menasherov via ltp
2026-05-26 15:29 ` [LTP] " linuxtestproject.agent
2026-05-25 14:44 [LTP] [PATCH v8 1/4] " Michael Menasherov via ltp
2026-05-25 17:13 ` [LTP] " linuxtestproject.agent
2026-05-25 10:04 [LTP] [PATCH v7 1/4] " Michael Menasherov via ltp
2026-05-25 14:15 ` [LTP] " linuxtestproject.agent
2026-05-20 7:44 [LTP] [PATCH v6 1/4] " Michael Menasherov via ltp
2026-05-20 9:45 ` [LTP] " linuxtestproject.agent
2026-05-19 18:30 [LTP] [PATCH v5 1/4] " Michael Menasherov via ltp
2026-05-19 19:10 ` [LTP] " linuxtestproject.agent
2026-05-07 11:18 [LTP] [PATCH v4 1/4] " Michael Menasherov via ltp
2026-05-07 12:01 ` [LTP] " linuxtestproject.agent
2026-05-13 8:35 ` Michael Menasherov via ltp
2026-05-18 18:23 ` Michael Menasherov via ltp
2026-05-19 8:25 ` Andrea Cervesato via ltp
2026-05-06 15:17 [LTP] [ltp v2 1/4] " Michael Menasherov via ltp
2026-05-06 16:39 ` [LTP] " linuxtestproject.agent
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=20260525194510.4034-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=ltp@lists.linux.it \
--cc=mmenashe@redhat.com \
/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