aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2020-06-08 12:39:56 -0400
committerRuss Cox <rsc@golang.org>2020-06-08 21:36:04 +0000
commit2cd2ff6f564dce5be0c4fb7f06338ff7af3fc9a9 (patch)
treedd814923cd9b140f8868340a112501f2bda4f1b1 /doc
parentbddf75d88859b8454f67de32510d8488329d0f2b (diff)
downloadgo-2cd2ff6f564dce5be0c4fb7f06338ff7af3fc9a9.tar.gz
go-2cd2ff6f564dce5be0c4fb7f06338ff7af3fc9a9.zip
all: avoid awkward wording from CL 236857
CL 236857 removed all uses of whitelist/blacklist, which is great. But it substituted awkward phrasing using allowlist/blocklist, especially as verbs or participles. This CL uses more standard English, like "allow the function" or "blocked functions" instead of "allowlist the function" or "blocklisted functions". Change-Id: I9106a2fdbd62751c4cbda3a77181358a8a6d0f13 Reviewed-on: https://go-review.googlesource.com/c/go/+/236917 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/go1.10.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/go1.10.html b/doc/go1.10.html
index 95871e0e5c..853f874ded 100644
--- a/doc/go1.10.html
+++ b/doc/go1.10.html
@@ -267,7 +267,7 @@ and the <a href="/cmd/test2json/">test2json documentation</a>.
<p>
Options specified by cgo using <code>#cgo CFLAGS</code> and the like
-are now checked against an allowlist of permitted options.
+are now checked against a list of permitted options.
This closes a security hole in which a downloaded package uses
compiler options like
<span style="white-space: nowrap"><code>-fplugin</code></span>