[PATCH] memset: fix define usage for shared libs
Mike Frysinger
vapier@gentoo.org
Thu Apr 5 01:42:00 GMT 2012
On Wednesday 04 April 2012 21:32:11 David Miller wrote:
> From: Mike Frysinger <vapier@gentoo.org>
> > The proper define to check "am I in a shared lib" is "SHARED", not "PIC".
> > The two new memset_chk functions incorrectly depend on "PIC".
>
> I'm ambivalent on this one, because there are other locations
> where we essentially test libc.a vs. libc.so using PIC too.
where ? i'll fix them. we (Gentoo) notice fairly quickly because our hardened
systems build everything as PIC/PIE. ChromeOS too.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120405/1c6d854a/attachment.sig>
More information about the Libc-alpha
mailing list