Linux Test Project
 help / color / mirror / Atom feed
From: linuxtestproject.agent@gmail.com
To: panzhe <panzhe@kylinos.cn>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] gethostname02: Accept EOVERFLOW on alpha
Date: Wed,  3 Jun 2026 04:09:05 +0000	[thread overview]
Message-ID: <20260603040905.4067-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260603014933.30653-1-panzhe@kylinos.cn>

Hi panzhe,

On Wed, 03 Jun 2026 09:49:33 +0800, panzhe wrote:
> gethostname02: Accept EOVERFLOW on alpha

All good. Reviewed.

Pre-existing issues noticed in the surrounding code (not introduced
by this patch):

- testcases/kernel/syscalls/gethostname/gethostname02.c in
  verify_gethostname() -- if the hostname is empty, `real_length`
  is 0 and `gethostname(hostname, real_length - 1)` passes -1 as
  len, which returns EINVAL rather than ENAMETOOLONG or EOVERFLOW.

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

  reply	other threads:[~2026-06-03  4:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-03  1:49 [LTP] [PATCH v3] gethostname02: Accept EOVERFLOW on alpha panzhe
2026-06-03  4:09 ` linuxtestproject.agent [this message]
2026-06-03  9:31 ` Cyril Hrubis
  -- strict thread matches above, loose matches on Subject: below --
2026-06-02  9:02 [LTP] [PATCH v2] " panzhe
2026-06-02 11:26 ` [LTP] " linuxtestproject.agent
2026-06-02  4:17 [LTP] [PATCH] " panzhe
2026-06-02  8: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=20260603040905.4067-1-linuxtestproject.agent@gmail.com \
    --to=linuxtestproject.agent@gmail.com \
    --cc=ltp@lists.linux.it \
    --cc=panzhe@kylinos.cn \
    /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