aboutsummaryrefslogtreecommitdiff
path: root/src/go.mod
diff options
context:
space:
mode:
authorAndrew G. Morgan <agm@google.com>2021-05-12 20:41:26 -0700
committerIan Lance Taylor <iant@golang.org>2021-05-17 17:46:08 +0000
commitb9b2bed8933a467dcc48eedeec83dfea7ff3148a (patch)
treec0567d7c4b3a53eb78ef5e9a08665226940aefee /src/go.mod
parentb1aff42900133e4fbc9b7d7c1af13c77e4f647b0 (diff)
downloadgo-b9b2bed8933a467dcc48eedeec83dfea7ff3148a.tar.xz
syscall: some containers may fail syscall.TestSetuidEtc
The test previously had the hardcoded assumption that /proc/self/status files had "Groups:" lines containing numerical IDs in ascending order. Because of the possibility of non-monotonic ordering of GIDs in user namespaces, this assumption was not universally true for all /proc/self/gid_map setups. To ensure this test can pass in those setups, sanity check failed "Groups:" line matches with a string sorted version of the expected values. (For the test cases here, numerical and string sorted order are guaranteed to match.) Fixes #46145 Change-Id: Ia060e80b123604bc394a15c02582fc406f944d36 Reviewed-on: https://go-review.googlesource.com/c/go/+/319591 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/go.mod')
0 files changed, 0 insertions, 0 deletions