From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.137.202.133 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796192628; b=eko3p1DMagE6zMcLfqkS81rGG9y4uq6hY/2fEsnPN4gqn7v4ZnR1W4b092gObaE2Vlgn GMoXKs4m+hL1pxucG2otqGZhwWBmYtwtHTAb0WJgFx8yw31Za33azbACB0/G/M9re9XhZ xSosmcH9j3HfQxNE3+QcleJ7DTpBquYGgaZgM4i0RqteLmGrcpPsbG8+gK95rNaqoEqne l6WHn03c9NMw90C48H2C8TNmXRrmnIkMrZNG6sukdOcjdpyv3mjQmYdNEvqm4TK+zwJWs ZRwDbuc+h/Apu2fXVL88u1r4tL8Mjgn7VJry7abIqpBGL/OSbYgyaLWIHwR/lYnEmKA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796192628; h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject: Message-ID:References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To:X-SRS-Rewrite; bh=VxYYlsT9akAuYD8kMybskZ9WjALHQ4RlmhutlncMhE4=; b=2iBXdJHpqNyHWCOsf2/i0KtmIzPjWUh2QzGBQnae22+LwkHpgogRj9RSat20YRrJhOKL e1O1SPVZ7lGDHqOhetF4+pnW8xe+GaqVusRVQY4HRg7nu37uPfOIyO7XUXarYMR23KdHm RCWmkcvhZ87Ppf1cmc0nP2BXYXR3HaPk96s31gQohIJDhLNW+5ce7GwuwGLaL05pN1NqI uP8kkPSfi3IixUes2vbxt3GpH2wyXKcvpFCIuWQeqWCr6OwfEj8YxrG6oiiKBw7OJ9I7F CsHSPfDnrV1y/QdV4jIb2+Na6qWaCSCw7QT/6+WufSRQxbp3kQaLYAuHEDaqcl/WlWA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=PVVmc8lm; arc=none smtp.remote-ip=198.137.202.133 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 97830606A31A; Wed, 2 Dec 2026 06:23:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 97830606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=PVVmc8lm DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=VxYYlsT9akAuYD8kMybskZ9WjALHQ4RlmhutlncMhE4=; b=PVVmc8lmFIYyu0Ec0/7ee2TAJa ffwppHhjQ9pOjb5Y45FIuWo22UjHA/zbe5Xyu9zN//YG+JykpNzqDBnpgspHY6+5MYJBKYziULDBI 9K00HZ2RApUMwhVOEjNjrhsXxBXcr9B+f8qh3KBJYP2ljjhZd2Qv3MwW6eCswtM+8dxLkkZ6XgTQR lHg0XzPhZZoyEnSdc1VpGUo17leCujRss+n7ELhdLV/ftNUNaXj22W/Z7f9tx41Lw4SlbMOyAij6z Z2Z7HK5tdvnDSLa+FJe2Ui2W23vTXdBL8WzGzqdyDO3q5CznUATQwXj+ArtPvfYAMrIBhaBDp/Ec/ NuLOVN5w==; Received: from hch by bombadil.infradead.org with local (Exim 4.100.1 #2 (Red Hat Linux)) id 1xYdko-0000000ANjt-1gVX; Wed, 02 Dec 2026 06:23:46 +0000 Date: Tue, 1 Dec 2026 22:23:46 -0800 From: Christoph Hellwig To: Ville Baillie Cc: Christian Brauner , Christoph Hellwig , "axboe@kernel.dk" , "linux-block@vger.kernel.org" , "bvanassche@acm.org" , Christian Brauner , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2] loop: retry short writes Message-ID: References: <20261129111351.2240027-1-ville@vmb-tech.com> <20261201-kolossal-riskant-gezupft-5d44e4377faf@brauner> <35pi5fkvewef5pyku6x4gdwnwhldjasy7kcljoz5d3354d7527@gojg5zsyh7jx> X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35pi5fkvewef5pyku6x4gdwnwhldjasy7kcljoz5d3354d7527@gojg5zsyh7jx> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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.