diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-03-25 15:38:38 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-25 15:58:45 -0700 |
commit | 5f03dca5227e4f2e7aa472ad40d421d4623c9f72 (patch) | |
tree | bfcb253aa5145321ff1b966093bdf1577502b626 /pkg/context | |
parent | f2eba940159b4ed55359f99a3422ad899a8647ee (diff) |
Fix race in TestRunEnvHasHome
It's possible to execute the command that checks user's
$HOME dir before the user is created. Move the code that
creates the user inside exec so it can be serialized.
PiperOrigin-RevId: 302986184
Diffstat (limited to 'pkg/context')
0 files changed, 0 insertions, 0 deletions