From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; dkim=none Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF2C71708; Thu, 30 Nov 2023 12:58:39 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 6459D63434F3; Thu, 30 Nov 2023 21:58:38 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id wHy7eT70_uv9; Thu, 30 Nov 2023 21:58:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id ECE826342D40; Thu, 30 Nov 2023 21:58:37 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id QLLCiiJfXUQa; Thu, 30 Nov 2023 21:58:37 +0100 (CET) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id C86C96342D3F; Thu, 30 Nov 2023 21:58:37 +0100 (CET) Date: Thu, 30 Nov 2023 21:58:37 +0100 (CET) From: Richard Weinberger To: Ronald Wahl Cc: Miquel Raynal , Mark Brown , linux-spi , Thomas Petazzoni , Ryan Wanner , stable , Richard Weinberger , David Woodhouse Message-ID: <1578539475.50621.1701377917637.JavaMail.zimbra@nod.at> In-Reply-To: References: <20231127095842.389631-1-miquel.raynal@bootlin.com> <0ce4c673-5c0b-4181-9d8b-53bcb0521f3e@raritan.com> <20231129094932.2639ca49@xps-13> <723263313.45007.1701348374765.JavaMail.zimbra@nod.at> <1192504136.46091.1701368767836.JavaMail.zimbra@nod.at> <20231130211543.2801a55b@xps-13> Subject: Re: [PATCH 1/2] spi: atmel: Do not cancel a transfer upon any signal Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: atmel: Do not cancel a transfer upon any signal Thread-Index: 9RzQc9560ZsBY6W1TBZkC6rc/eYBpw== ----- Urspr=C3=BCngliche Mail ----- > Von: "Ronald Wahl" > I think yes. But the only thing the FS can do is stop any writes from now > on which is not a useful consequence of killing a process. Exactly. If I understand the spi code correctly, now an *unprivileged* user can abort a file operation on UBIFS and UBIFS will switch to read-only= mode. ...which is pretty bad. Thanks, //richard