diff --git a/api/go1.9.txt b/api/go1.9.txt index 8fe861b3e8..c23a17ea1a 100644 --- a/api/go1.9.txt +++ b/api/go1.9.txt @@ -131,11 +131,17 @@ pkg syscall (freebsd-arm-cgo), type Credential struct, NoSetGroups bool pkg syscall (freebsd-arm), func Pipe2([]int, int) error pkg syscall (freebsd-arm), type Credential struct, NoSetGroups bool pkg syscall (linux-386-cgo), type Credential struct, NoSetGroups bool +pkg syscall (linux-386-cgo), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-386), type Credential struct, NoSetGroups bool +pkg syscall (linux-386), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-amd64-cgo), type Credential struct, NoSetGroups bool +pkg syscall (linux-amd64-cgo), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-amd64), type Credential struct, NoSetGroups bool +pkg syscall (linux-amd64), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-arm-cgo), type Credential struct, NoSetGroups bool +pkg syscall (linux-arm-cgo), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (linux-arm), type Credential struct, NoSetGroups bool +pkg syscall (linux-arm), type SysProcAttr struct, AmbientCaps []uintptr pkg syscall (netbsd-386-cgo), type Credential struct, NoSetGroups bool pkg syscall (netbsd-386), type Credential struct, NoSetGroups bool pkg syscall (netbsd-amd64-cgo), type Credential struct, NoSetGroups bool 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.

+

+ The new field + SysProcAttr.AmbientCaps + allows setting ambient capabilities on Linux 4.3+ when creating + a new process. +

+

On 64-bit x86 Linux, process creation latency has been optimized with use of CLONE_VFORK and CLONE_VM.