Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 311351 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]
hardened patch for x86 & amd64
go-hardened.patch (text/plain), 1.17 KB, created by
Alex Efros
on 2012-05-10 12:50:45 UTC
(
hide
)
Description:
hardened patch for x86 & amd64
Filename:
MIME Type:
Creator:
Alex Efros
Created:
2012-05-10 12:50:45 UTC
Size:
1.17 KB
patch
obsolete
>diff -uNr go-9999.orig/src/make.bash go-9999/src/make.bash >--- go-9999.orig/src/make.bash 2012-02-16 18:12:29.022073650 +0200 >+++ go-9999/src/make.bash 2012-02-16 18:14:41.343075384 +0200 >@@ -82,6 +82,37 @@ > ./cmd/dist/dist bootstrap $buildall -v # builds go_bootstrap > # Delay move of dist tool to now, because bootstrap may clear tool directory. > mv cmd/dist/dist "$GOTOOLDIR"/dist >+if [ -f "$GOTOOLDIR"/8l ]; then >+ mv "$GOTOOLDIR"/8l{,.orig} >+ cat <<'EOF' >"$GOTOOLDIR"/8l >+#!/bin/bash >+BIN="8.out" >+for (( i = 1 ; i <= $# ; i++ )); do >+ if [ "x${!i}" = "x-o" ]; then >+ i=$(( i + 1 )) >+ BIN="${!i}" >+ fi >+done >+$(dirname $0)/8l.orig "$@" && paxctl -cm "$BIN" &>/dev/null >+EOF >+ chmod +x "$GOTOOLDIR"/8l >+fi >+if [ -f "$GOTOOLDIR"/6l ]; then >+ mv "$GOTOOLDIR"/6l{,.orig} >+ cat <<'EOF' >"$GOTOOLDIR"/6l >+#!/bin/bash >+BIN="6.out" >+for (( i = 1 ; i <= $# ; i++ )); do >+ if [ "x${!i}" = "x-o" ]; then >+ i=$(( i + 1 )) >+ BIN="${!i}" >+ fi >+done >+$(dirname $0)/6l.orig "$@" && paxctl -cm "$BIN" &>/dev/null >+EOF >+ chmod +x "$GOTOOLDIR"/6l >+fi >+paxctl -cm "$GOTOOLDIR"/go_bootstrap &>/dev/null > "$GOTOOLDIR"/go_bootstrap clean -i std > echo >
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