I've prepared a candidate fix for this PR:
https://www.netbsd.org/~rin/pr52675.patchFor 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