Last active
December 19, 2015 00:09
-
-
Save azet/5867010 to your computer and use it in GitHub Desktop.
Gold allocation manager, remove -T option due to old codebase this results in every binary to be tainted
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Naur gold-2.2.0.5/Makefile.in gold-2.2.0.5-b/Makefile.in | |
--- gold-2.2.0.5/Makefile.in 2013-06-26 14:38:42.107590570 +0200 | |
+++ gold-2.2.0.5-b/Makefile.in 2013-06-26 14:38:04.343509990 +0200 | |
@@ -96,12 +96,12 @@ | |
$(BINS): Makefile | |
-mkdir -p bin | |
basename=`echo $@ | sed -e 's#^.*/##'`; \ | |
- sed '1s%#!.*%#! $(PERL) -w%' src/$${basename}.pl | sed "s%use lib .*%use lib qw(@libdir@ @libdir@/perl5);%" >$@ | |
+ sed '1s%#!.*%#! $(PERL) -wT%' src/$${basename}.pl | sed "s%use lib .*%use lib qw(@libdir@ @libdir@/perl5);%" >$@ | |
chmod 4755 $@ | |
$(WRAPPERS): Makefile | |
basename=`echo $@ | sed -e 's#^.*/##'`; \ | |
- sed '1s%#!.*%#! $(PERL) -w%' src/$${basename}.pl | sed "s%use lib .*%use lib qw(@libdir@ @libdir@/perl5);%" >$@ | |
+ sed '1s%#!.*%#! $(PERL) -wT%' src/$${basename}.pl | sed "s%use lib .*%use lib qw(@libdir@ @libdir@/perl5);%" >$@ | |
chmod 755 $@ | |
$(SBINS): Makefile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
see:
http://www.clusterresources.com/pipermail/gold-users/2010-September/000377.html
http://perldoc.perl.org/perlsec.html#Taint-mode