NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/52675 (crunching binaries improperly removes PaX notes)



I've prepared a candidate fix for this PR:

https://www.netbsd.org/~rin/pr52675.patch

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.

For this purpose, introduce -0 option for paxctl(8) to zero-clear
PaX flags. IMO, this should be clearer than disabling all available
flags.

Comments?

Thanks,
rin


Home | Main Index | Thread Index | Old Index