summaryrefslogtreecommitdiff
path: root/doc/go1.9.html
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2017-06-28 23:02:51 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2017-06-29 03:29:46 +0000
commitdc86c9a6afa8b5b998dfa6621d1566d1296f2bf4 (patch)
treea7b122c28c1225de40dd371b96c82250b737de0a /doc/go1.9.html
parent306c540a28a31b38709eaee57b74ac109dec83a6 (diff)
downloadgo-git-dc86c9a6afa8b5b998dfa6621d1566d1296f2bf4.tar.gz
doc, api: add syscall.SysProcAttr.AmbientCaps change to 1.9 notes, API
Updates #20587 Change-Id: I08377281270631ee08cd05ba835aa698ca23fa56 Reviewed-on: https://go-review.googlesource.com/47092 Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'doc/go1.9.html')
-rw-r--r--doc/go1.9.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/go1.9.html b/doc/go1.9.html
index b02faac88b..32acf25253 100644
--- a/doc/go1.9.html
+++ b/doc/go1.9.html
@@ -784,6 +784,13 @@ CL 40331: https://golang.org/cl/40331: cmd/link,runtime/cgo: enable PT_TLS gener
to set supplementary groups when starting a new process.
</p>
+ <p><!-- CL 43512 -->
+ The new field
+ <a href="/pkg/syscall/#SysProcAttr.AmbientCaps"><code>SysProcAttr.AmbientCaps</code></a>
+ allows setting ambient capabilities on Linux 4.3+ when creating
+ a new process.
+ </p>
+
<p><!-- CL 37439 -->
On 64-bit x86 Linux, process creation latency has been optimized with
use of <code>CLONE_VFORK</code> and <code>CLONE_VM</code>.