[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/52675 (crunching binaries improperly removes PaX notes)
The following reply was made to PR toolchain/52675; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
To: Rin Okuyama <rokuyama.rk%gmail.com@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%netbsd.org@localhost>
Subject: Re: toolchain/52675 (crunching binaries improperly removes PaX notes)
Date: Mon, 5 Jun 2023 11:16:10 +0200
On Mon, Jun 05, 2023 at 05:41:55PM +0900, Rin Okuyama wrote:
> For crunchgen(1), clear PaX flags instead of removing its section.
> Otherwise, a zero-filled hole appears in ELF note segment for arm,
> for which MARCH note is located after PaX one.
I still wonder if this should be considered a binutils bug (worth
> For this purpose, introduce -0 option for paxctl(8) to zero-clear
> PaX flags. IMO, this should be clearer than disabling all available
I like this idea and the patch looks good to me.
Main Index |
Thread Index |