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



The following reply was made to PR toolchain/52675; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Christos Zoulas <christos%zoulas.com@localhost>
Subject: Re: toolchain/52675: crunching binaries improperly removes PaX notes
Date: Mon, 11 Feb 2019 05:33:35 +0300

 On Sun, Feb 10, 2019 at 21:05:30 -0500, Christos Zoulas wrote:
 
 > The kernel loader reads the program header notes section and loses
 > track where it is because it can't calculate the size of the zeroed
 > notes.  Of course the kernel can be modified to scan the section
 > headers instead
 
 That would be wrong.  I fixed that couple of years ago.  Sections are
 for linkers, loaders should only ever use segments.
 
 -uwe
 


Home | Main Index | Thread Index | Old Index