diff options
author | Andrei Vagin <avagin@google.com> | 2020-03-24 10:57:24 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-24 10:58:51 -0700 |
commit | f97858011fa88b539585ca456943922204d92840 (patch) | |
tree | d253e248703b189e1d031447d8ee23975b0b1b67 /pkg/sentry/hostcpu/hostcpu_test.go | |
parent | 7e4073af12bed2c76bc5757ef3e5fbfba75308a0 (diff) |
Open a temp directory before changing capabilities and user ID-s
In cl/302130790, we started using a temp directory which is provided by bazel.
By default, a test process has enough permissions to open it, but there is not
any guarantee that it still will be able to do this after changing credentials.
PiperOrigin-RevId: 302702337
Diffstat (limited to 'pkg/sentry/hostcpu/hostcpu_test.go')
0 files changed, 0 insertions, 0 deletions