]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.10] cmd/go: add options to security whitelist
authorIan Lance Taylor <iant@golang.org>
Wed, 14 Feb 2018 01:43:16 +0000 (17:43 -0800)
committerAndrew Bonventre <andybons@golang.org>
Fri, 16 Feb 2018 04:02:32 +0000 (04:02 +0000)
commit0b3f04d5f945bc8f4764e77d34c6fedf3327478f
tree524aed93599c3c4973e1c69757b9218f3f0c60fa
parentd1fbe070920af652ea4a56198b363087d06cbcbc
[release-branch.go1.10] cmd/go: add options to security whitelist

Also permit passing flags to pkg-config, as we used to.

Also change the error message to refer to https://golang.org/s/invalidflag.

Fixes #23749

Change-Id: I3fbeb4c346610e6fd55e8720e720b0a40e352ab5
Reviewed-on: https://go-review.googlesource.com/93836
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
(cherry picked from commit f7c2a71632854050d9fe6de115c6c346fcd9774c)
Reviewed-on: https://go-review.googlesource.com/94676
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
src/cmd/go/internal/work/exec.go
src/cmd/go/internal/work/security.go
src/cmd/go/internal/work/security_test.go