lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250602220855.519e23e5@pumpkin>
Date: Mon, 2 Jun 2025 22:08:55 +0100
From: David Laight <david.laight.linux@...il.com>
To: Clément Léger <cleger@...osinc.com>
Cc: linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org, Paul
 Walmsley <paul.walmsley@...ive.com>, Palmer Dabbelt <palmer@...belt.com>,
 Albert Ou <aou@...s.berkeley.edu>, Alexandre Ghiti <alex@...ti.fr>, "Maciej
 W . Rozycki" <macro@...am.me.uk>
Subject: Re: [PATCH v2 0/3] riscv: misaligned: fix misaligned accesses
 handling in put/get_user()

On Mon,  2 Jun 2025 21:39:13 +0200
Clément Léger <cleger@...osinc.com> wrote:

...
> The second solution was the one chosen as there are too many callsites to
> put/get_user() that could potentially do misaligned accesses. We tried
> two approaches for that, either split access in two aligned accesses
> (and do RMW for put_user())

You can't do RMW because it is visible to other threads.

	David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ