Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 269529 Details for
Bug 342505
dev-lang/go: new ebuild for the go language compilers and environment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for hardened
go-tip-chpax.patch (text/plain), 828 bytes, created by
Alex Efros
on 2011-04-11 20:05:37 UTC
(
hide
)
Description:
patch for hardened
Filename:
MIME Type:
Creator:
Alex Efros
Created:
2011-04-11 20:05:37 UTC
Size:
828 bytes
patch
obsolete
>diff -r ffa7af487196 src/Make.ccmd >--- a/src/Make.ccmd Mon Apr 11 10:28:34 2011 -0400 >+++ b/src/Make.ccmd Mon Apr 11 22:27:00 2011 +0300 >@@ -24,6 +24,9 @@ > > $(QUOTED_GOBIN)/$(TARG): $(TARG) > cp $(TARG) "$(GOBIN)"/$(TARG) >+ [ "$(TARG)" != "8l" ] || cp "$(GOBIN)"/$(TARG) "$(GOBIN)"/$(TARG).orig >+ [ "$(TARG)" != "8l" ] || cp wrapper.sh "$(GOBIN)"/$(TARG) >+ [ "$(TARG)" != "8l" ] || chmod +x "$(GOBIN)"/$(TARG) > > y.tab.h: $(YFILES) > bison -y $(HOST_YFLAGS) $(YFILES) >diff -r ffa7af487196 src/cmd/8l/wrapper.sh >--- /dev/null Thu Jan 01 00:00:00 1970 +0000 >+++ b/src/cmd/8l/wrapper.sh Mon Apr 11 22:27:00 2011 +0300 >@@ -0,0 +1,9 @@ >+#!/bin/bash >+BIN="8.out" >+for (( i = 1 ; i <= $# ; i++ )); do >+ if [ "x${!i}" = "x-o" ]; then >+ i=$(( i + 1 )) >+ BIN="${!i}" >+ fi >+done >+8l.orig "$@" && /sbin/chpax -m "$BIN"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 342505
:
251819
|
251821
|
251827
|
251829
|
251831
|
251833
|
251865
|
251867
|
252191
|
252463
|
252465
|
252467
|
253075
|
253077
|
269527
|
269529
|
280243
|
302167
|
302169
|
307393
|
308225
|
310261
|
310653
|
310905
|
311201
|
311351
|
311353
|
311385
|
311387
|
311873
|
311875