All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Schoenebeck <qemu_oss@crudebyte.com>
To: qemu-devel@nongnu.org
Cc: Greg Kurz <groug@kaod.org>,
	Niklas Gollenstede <gollenstede@ibr.cs.tu-bs.de>
Subject: Re: [PATCH 2/2] tests/qtest/virtio-9p: test non-readable but traversable directories
Date: Mon, 23 Nov 2026 17:18:42 +0100	[thread overview]
Message-ID: <4778264.LvFx2qVVIh@weasel> (raw)
In-Reply-To: <20261109155503.2530430-3-gollenstede@ibr.cs.tu-bs.de>

On Monday, 9 November 2026 16:55:03 CET Niklas Gollenstede wrote:
> From: Claude <noreply@anthropic.com>
> 
> Add two 'local' driver tests for directories that the user running QEMU
> may traverse (x) but not read (r), e.g. a host's /nix/store with mode
> 1771 that is shared with a VM:
> 
> - local/walk/unreadable_dir: such a directory inside the export
> - local/attach/unreadable_root: the export root itself is such a directory
> 
> In both cases, walking to, stat'ing and reading a known file inside the
> directory must work, while listing the directory must fail with EACCES.
> The tests are skipped if directory permissions are not enforced (e.g.
> when running as root).
> 
> Without the previous commit, both tests fail: the walk through the
> non-readable directory stops at it, and with a non-readable export root
> QEMU does not even start.
> 
> Also make the test dir cleanup restore permissions before 'rm -fr', so
> that it can remove such directories.
> 
> AI-used-for: code (Claude Opus 5.5)
> Signed-off-by: Niklas Gollenstede <gollenstede@ibr.cs.tu-bs.de>

I still had no time to look at this series more closely, but upfront: I can 
definitely not pick a patch with an AI identity as the author. So for the bare 
minimum, you must drop the From: line and report this series as v2 (toplevel 
post).

https://www.qemu.org/docs/master/devel/submitting-a-patch.html

Furthermore I am not sure what the current policy of QEMU regarding AI 
generated code now is. Originally they denied any AI generated content, but 
realistically that's now everywhere.

As for the issue itself, déja vu:
https://gitlab.com/qemu-project/qemu/-/work_items/1066

/Christian




      reply	other threads:[~2026-11-23 16:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-09 15:55 [PATCH 0/2] 9pfs/local: allow exporting traversable but non-readable directories Niklas Gollenstede
2026-11-09 15:55 ` [PATCH 1/2] " Niklas Gollenstede
2026-11-09 15:55 ` [PATCH 2/2] tests/qtest/virtio-9p: test non-readable but traversable directories Niklas Gollenstede
2026-11-23 16:18   ` Christian Schoenebeck [this message]

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=4778264.LvFx2qVVIh@weasel \
    --to=qemu_oss@crudebyte.com \
    --cc=gollenstede@ibr.cs.tu-bs.de \
    --cc=groug@kaod.org \
    --cc=qemu-devel@nongnu.org \
    /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.