Linux Test Project
 help / color / mirror / Atom feed
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: Wed,  6 May 2026 16:39:44 +0000	[thread overview]
Message-ID: <20260506163944.4208-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260506151801.20401-2-mmenashe@redhat.com>

Hi Michael,

All four patches are missing a commit body and Signed-off-by tag.
Please add at least one sentence explaining why each test is being added
(gap in coverage, related kernel change, regression, etc.), and add
your Signed-off-by trailer to each commit.

--- [PATCH 4/4] ---

On Wed, 6 May 2026 18:18:01 +0300, Michael Menasherov wrote:
> futex_cmp_requeue03: Add EFAULT and EACCES error coverage test

> + * The EACCES behavior for PROT_NONE was introduced in kernel 5.9.

> +		.exp_errno = tst_kvercmp(5, 9, 0) >= 0 ? EACCES : EFAULT,

I cannot find a kernel code path that returns -EACCES for a PROT_NONE
futex address. get_futex_key() in kernel/futex/core.c returns -EFAULT
when get_user_pages_fast() fails on an inaccessible page, regardless of
whether the failure is due to unmapped or PROT_NONE memory. Please cite
the specific kernel commit that introduced this behaviour, or replace the
conditional with unconditional EFAULT.

[...]

---
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

  reply	other threads:[~2026-05-06 16:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06 15:17 [LTP] [ltp v2 0/4] futex: Add error coverage tests for wait, wake and cmp_requeue Michael Menasherov via ltp
2026-05-06 15:17 ` [LTP] [ltp v2 1/4] futex_wait06: Add EFAULT error coverage test Michael Menasherov via ltp
2026-05-06 16:39   ` linuxtestproject.agent [this message]
2026-05-06 15:17 ` [LTP] [ltp v2 2/4] futex_wait07: Add EINTR " Michael Menasherov via ltp
2026-05-06 15:18 ` [LTP] [ltp v2 3/4] futex_wake05: Add EFAULT " Michael Menasherov via ltp
2026-05-06 15:18 ` [LTP] [ltp v2 4/4] futex_cmp_requeue03: Add EFAULT and EACCES " Michael Menasherov via ltp
  -- strict thread matches above, loose matches on Subject: below --
2026-05-07 11:18 [LTP] [PATCH v4 1/4] futex_wait06: Add EFAULT " Michael Menasherov via ltp
2026-05-07 12:01 ` [LTP] " linuxtestproject.agent
2026-05-13  8:35   ` Michael Menasherov via ltp

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=20260506163944.4208-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