From: linuxtestproject.agent@gmail.com
To: Martin Cermak <mcermak@redhat.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] Fix the mremap03 syscall testcase
Date: Wed, 14 Oct 2026 16:42:03 +0000 [thread overview]
Message-ID: <20261014164203.9134-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <as9x2R-9IQb7vjn7@toolbx>
Hi Martin,
On Wed, 14 Oct 2026, Martin Cermak wrote:
> Fix the mremap03 syscall testcase
> diff --git a/testcases/kernel/syscalls/mremap/mremap03.c b/testcases/kernel/syscalls/mremap/mremap03.c
> @@ -35,7 +35,6 @@ static void setup(void)
> bad_addr = tst_get_bad_addr(NULL);
> - SAFE_MUNMAP(bad_addr, page_size);
tst_get_bad_addr() returns a mapped PROT_NONE page, which mremap() can
resize; deleting this line drops the documented unmapped-old_address case.
The test still passes because old_size is 1000 pages and extends beyond
that VMA, exercising a different EFAULT check. Keep SAFE_MUNMAP() here to
preserve coverage of an unmapped old_address.
> This patch restores the original behavior of the setup() funcrion.
The commit message is missing the required Signed-off-by: trailer.
Add it at the end of the message.
Verdict - Needs revision
---
Note:
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-10-14 16:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 12:20 [LTP] Suggested fix for the mremap03 syscall testcase Martin Cermak via ltp
2026-10-14 16:42 ` linuxtestproject.agent [this message]
2026-10-14 18:32 ` Andrea Cervesato 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=20261014164203.9134-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=ltp@lists.linux.it \
--cc=mcermak@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.