Linux block layer
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Ville Baillie <ville@vmb-tech.com>
Cc: Christian Brauner <brauner@kernel.org>,
	Christoph Hellwig <hch@infradead.org>,
	"axboe@kernel.dk" <axboe@kernel.dk>,
	"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
	"bvanassche@acm.org" <bvanassche@acm.org>,
	Christian Brauner <christian@brauner.io>,
	linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH v2] loop: retry short writes
Date: Tue, 1 Dec 2026 22:23:46 -0800	[thread overview]
Message-ID: <aw-5ciFtfaY_2LoX@infradead.org> (raw)
In-Reply-To: <35pi5fkvewef5pyku6x4gdwnwhldjasy7kcljoz5d3354d7527@gojg5zsyh7jx>

On Tue, Dec 01, 2026 at 06:08:30PM +0000, Ville Baillie wrote:
> On Tue, Dec 01, 2026 at 11:16:05AM +0100, Christian Brauner wrote:
> > We're not going to add in exemptions for specific sysfs files to be used
> > as backing storage if we can at all avoid it. This is insanity and
> > inherently insecure and there's no way to tell generically that it is
> > safe so we would have to allow-list specific sysfs files. This is
> > madness. Let's just add something dedicated and see Christoph's later
> > question.
> > 
> > sysfs as full of black magic and I'm really not interested in drowning
> > in LLM security issues just because this is a nice shortcut. The
> > existence of this whole bug class is a travesty.
> 
> I understand, and that's fine, if I can reproduce with a FUSE backed
> file store then I'll raise a v3 patch referencing that and not sysfs.

Not too worried about the reference.  But as of now your use case will
stop working, so we should look into an alternative way to provide
support for it.  Especially as it sounds a bit arcane.

      reply	other threads:[~2026-12-02  6:23 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-29 11:14 [PATCH v2] loop: retry short writes Ville Baillie
2026-11-30  8:36 ` Christoph Hellwig
2026-11-30 17:20   ` Ville Baillie
2026-12-01  8:48     ` Christoph Hellwig
2026-12-01 10:16     ` Christian Brauner
2026-12-01 18:08       ` Ville Baillie
2026-12-02  6:23         ` Christoph Hellwig [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=aw-5ciFtfaY_2LoX@infradead.org \
    --to=hch@infradead.org \
    --cc=axboe@kernel.dk \
    --cc=brauner@kernel.org \
    --cc=bvanassche@acm.org \
    --cc=christian@brauner.io \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=ville@vmb-tech.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