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: Tue, 19 May 2026 19:10:36 +0000 [thread overview]
Message-ID: <20260519191036.4081-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260519183031.114591-2-mmenashe@redhat.com>
Hi Michael,
--- [PATCH 4/4] ---
On Tue, 19 May 2026 21:30:31 +0300, Michael Menasherov wrote:
> futex_cmp_requeue03: Add EFAULT error coverage test
> +/*\
> + * Check that futex(FUTEX_CMP_REQUEUE) returns EFAULT when uaddr or
> + * uaddr2 points to unmapped memory, or when uaddr points to memory
> + * without read permission (PROT_NONE).
> + *
> + * The EACCES behavior for PROT_NONE was introduced in kernel 5.9.
> + */
The doc comment says "returns EFAULT ... when uaddr points to memory
without read permission (PROT_NONE)", but the test correctly expects
EACCES for that case on kernels >= 5.9. Please update the comment to
reflect both outcomes, e.g.:
"returns EFAULT when uaddr or uaddr2 points to unmapped memory, or
EACCES (EFAULT on kernels < 5.9) when uaddr points to PROT_NONE
memory."
Patches 1–3 look good.
---
Note:
Our agent completed the review of the patch. 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-19 19:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-19 18:30 [LTP] [PATCH v5 0/4] futex: Add error coverage tests for wait, wake and cmp_requeue Michael Menasherov via ltp
2026-05-19 18:30 ` [LTP] [PATCH v5 1/4] futex_wait06: Add EFAULT error coverage test Michael Menasherov via ltp
2026-05-19 19:10 ` linuxtestproject.agent [this message]
2026-05-19 18:30 ` [LTP] [PATCH v5 2/4] futex_wait07: Add EINTR " Michael Menasherov via ltp
2026-05-19 18:30 ` [LTP] [PATCH v5 3/4] futex_wake05: Add EFAULT " Michael Menasherov via ltp
2026-05-19 18:30 ` [LTP] [PATCH v5 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 19:03 [LTP] [PATCH v9 1/4] " Michael Menasherov via ltp
2026-05-25 19:45 ` [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-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=20260519191036.4081-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