[PATCH] check if __GLIBC__ is defined before using it

John Spencer maillist-strace at barfooze.de
Mon Dec 3 22:21:48 UTC 2012


On 12/03/2012 10:33 PM, Dmitry V. Levin wrote:
>
> These two glibc version checks in signal.c remains incomplete after the patch,
> I suppose they should be the same as the check in util.c.
>
> When submitting a patch, please follow our simple commit log requirements described in
> README-hacking file.

in all honesty, i think the best thing to do would be to get rid of all 
of this legacy ifdeffery for ancient glibc's.
if someone still uses these obsolete library versions full of security 
vulns, which is unlikely, he/she can still use the latest release 
version 4.7.

nonetheless find attached the updated patch.
commit-msg style should be ok now...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-check-if-__GLIBC__-is-defined-before-using-it.patch
Type: text/x-patch
Size: 1515 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20121203/7d57f728/attachment.bin>


More information about the Strace-devel mailing list