diff options
| author | Alexander Morozov <lk4d4math@gmail.com> | 2016-05-27 15:02:31 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2016-06-02 17:21:34 +0000 |
| commit | 853cd1f4a61396cccb91522ed59af52d61aa8371 (patch) | |
| tree | 6861440f3eab595ddb66791c84670873b4801d80 /src/encoding | |
| parent | e90a49a0f5380c6f68502b1febfb73f696c2f610 (diff) | |
| download | go-853cd1f4a61396cccb91522ed59af52d61aa8371.tar.xz | |
syscall: call setgroups for no groups on GNU/Linux
Skip setgroups only for one particular case: GidMappings != nil and
GidMappingsEnableSetgroup == false and list of supplementary groups is
empty.
This patch returns pre-1.5 behavior for simple exec and still allows to
use GidMappings with non-empty Credential.
Change-Id: Ia91c77e76ec5efab7a7f78134ffb529910108fc1
Reviewed-on: https://go-review.googlesource.com/23524
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
