[uClibc] PIE support for inclusion into 0.9.24

Erik Andersen andersen at codepoet.org
Fri Jan 2 23:36:56 UTC 2004


On Mon Dec 15, 2003 at 01:06:43AM +0100, Peter S. Mazinger wrote:
> Hello Erik!
> 
> I have made some cosmetical changes to the files, removed the added 
> SCRT=-fPIC option from building the crt0.S file (but it is a requirement 
> to build them with -fPIC), and changed some comments. I have left the 
> ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them 
> (see some earlier comment from PaX Team on this issue, as it is considered 
> a bug). To have it work correctly, you'll also need removing 
> COMPLETELY_PIC.
> One thing is missing: PIE_SUPPORT should be usable only for i386 (for 
> now).
> 
> Also added the support for propolice protection (that works for me and 
> catches memcpy/strcpy attacks (but needs a special gcc version).

Applied, finally.....

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list