From: linuxtestproject.agent@gmail.com
To: Wake Liu <wakel@google.com>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] syscalls/file_attr01: Dynamically expect EOPNOTSUPP on tmpfs without xattr
Date: Wed, 29 Apr 2026 07:34:33 +0000 [thread overview]
Message-ID: <20260429073433.4027-1-linuxtestproject.agent@gmail.com> (raw)
In-Reply-To: <20260429062650.3191021-1-wakel@google.com>
Hi Wake,
On Wed, 29 Apr 2026, Wake Liu wrote:
> syscalls/file_attr01: Dynamically expect EOPNOTSUPP on tmpfs without xattr
> + if (tc->ufattr == (struct file_attr **)(&null_ptr) && missing_tmpfs_xattr)
> + exp_errno = EOPNOTSUPP;
The override is scoped only to the null-ufattr tcase. The commit message says
the kernel checks xattr support "before dereferencing the user pointer", which
raises the question of whether usize validation (EINVAL/E2BIG tcases) also
occurs after the support check. If so, those tcases would also return
EOPNOTSUPP on tmpfs without xattr and need the same treatment. Please clarify
the kernel's validation order for usize relative to the xattr support check.
> Changes in v3:
[...]
> Changes in v2:
[...]
Version changelogs should be stripped from the commit message before merging;
they belong in the cover letter only.
---
Note:
Our agent completed the review of the patch. The full review can be
found at: https://github.com/linux-test-project/ltp-agent/actions/runs/25096139400
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-04-29 7:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-20 7:57 [LTP] [PATCH] syscalls/file_attr01: Allow EOPNOTSUPP when attributes is NULL Wake Liu via ltp
2026-03-20 8:57 ` Andrea Cervesato via ltp
2026-03-23 7:26 ` Wake Liu via ltp
2026-03-23 7:48 ` [LTP] [PATCH v2] syscalls/file_attr01: Dynamically expect EOPNOTSUPP on tmpfs without xattr Wake Liu via ltp
2026-03-23 9:07 ` Andrea Cervesato via ltp
2026-04-16 13:49 ` Cyril Hrubis
2026-04-29 6:26 ` [LTP] [PATCH v3] " Wake Liu via ltp
2026-04-29 7:34 ` linuxtestproject.agent [this message]
2026-04-29 9:22 ` [LTP] " Wake Liu via ltp
2026-05-12 13:25 ` [LTP] [PATCH v3] " Cyril Hrubis
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=20260429073433.4027-1-linuxtestproject.agent@gmail.com \
--to=linuxtestproject.agent@gmail.com \
--cc=ltp@lists.linux.it \
--cc=wakel@google.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.