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: <CAMuHMdWwqqRiBJJwkPURkrEjbGbE1mY_NQ-hc56svzdOBOuBWw@mail.gmail.com>
Date: Wed, 10 Sep 2025 09:45:15 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: John Paul Adrian Glaubitz <glaubitz@...sik.fu-berlin.de>
Cc: Andreas Schwab <schwab@...ux-m68k.org>, Finn Thain <fthain@...ux-m68k.org>, 
	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, 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

Hi Adrian,

On Wed, 10 Sept 2025 at 09:39, John Paul Adrian Glaubitz
<glaubitz@...sik.fu-berlin.de> wrote:
> 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.

Linux does not break the userspace ABI.

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

That would be a different Linux architecture (m68k-32?).

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ