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: <d2942b1a5d338c35948933b0ccbf3e4f67e5fae2.camel@physik.fu-berlin.de>
Date: Wed, 10 Sep 2025 09:39:19 +0200
From: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
To: Andreas Schwab <schwab@...ux-m68k.org>, Finn Thain
 <fthain@...ux-m68k.org>
Cc: Kent Overstreet <kent.overstreet@...ux.dev>, Lance Yang	
 <lance.yang@...ux.dev>, akpm@...ux-foundation.org, amaindex@...look.com, 
	anna.schumaker@...cle.com, boqun.feng@...il.com, geert@...ux-m68k.org, 
	ioworker0@...il.com, joel.granados@...nel.org, jstultz@...gle.com, 
	leonylgao@...cent.com, linux-kernel@...r.kernel.org, 
	linux-m68k@...ts.linux-m68k.org, longman@...hat.com, mhiramat@...nel.org, 
	mingo@...hat.com, mingzhe.yang@...com, oak@...sinkinet.fi,
 peterz@...radead.org, 	rostedt@...dmis.org, senozhatsky@...omium.org,
 tfiga@...omium.org, will@...nel.org, 	stable@...r.kernel.org
Subject: Re: [PATCH v2 1/1] hung_task: fix warnings caused by unaligned lock
 pointers

On Wed, 2025-09-10 at 08:52 +0200, Andreas Schwab wrote:
> On Sep 10 2025, Finn Thain wrote:
> 
> > Linux is probably the only non-trivial program that could be feasibly 
> > rebuilt with -malign-int without ill effect (i.e. without breaking 
> > userland)
> 
> No, you can't.  It would change the layout of basic user-level
> structures, breaking the syscall ABI.

Not if you rebuild the whole userspace as well.

FWIW, the Gentoo people already created a chroot with 32-bit alignmment:

https://dev.gentoo.org/~dilfridge/m68k/

It works with qemu-user. I haven't tried it on qemu-system with a 32-bit-
aligned kernel yet.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ