Re: [PATCH v2 0/3] sparc64: Randomize mmap base and PIE executables
From: Magnus Lindholm
Date: Sun Oct 18 2026 - 16:38:23 EST
Hi,
On Sun, Oct 18, 2026 at 3:38 PM Stian Halseth <stian@xxxxxx> wrote:
>
>
> On Sun, 2026-10-18 at 15:33 +0200, Stian Halseth wrote:
> > Hi Adrian,
> >
> > On Sun, 2026-10-18 at 15:09 +0200, John Paul Adrian Glaubitz wrote:
> > >
> > > What about sparc32? Does it use address base randomization at all?
> > >
> >
> > sparc32 is at the same state as sparc64 was before this series. Only
> > the stack moves.
> >
> > I've only tested 32-bit programs on sparc64. The same approach will
> > probably work, but needs testing on real sparc32. Could be possibly
> > be
> > added as a follow up, if someone with sparc32 hardware can test it.
> >
> > /Stian
> >
>
> Additionally, outside of qemu testing, I'm a bit worried about sparc32
> machines with virtually indexed caches. I've heard those can be fun,
> and I wouldn't feel confident about implementing it without testing on
> the "real thing".
>
Stian, following your exchange with Adrian, would you be willing to put
together a native sparc32 version? I can test it on my Hypersparc SS-20.
Thanks,
Magnus