diff options
author | Michael Pratt <mpratt@google.com> | 2018-06-25 15:22:04 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-25 15:22:56 -0700 |
commit | 478f0ac0038afda267814fa154bcd32feb07c3b3 (patch) | |
tree | 53ad838bfe8004ede64f0915ded2979c16c1b4d3 /runsc/test/testutil/testutil.go | |
parent | e8ae2b85e90fc27e74de032698224e7972673cec (diff) |
Don't read FSContext.root without holding FSContext.mu
IsChrooted still has the opportunity to race with another thread
entering the FSContext into a chroot, but that is unchanged (and
fine, AFAIK).
PiperOrigin-RevId: 202029117
Change-Id: I38bce763b3a7715fa6ae98aa200a19d51a0235f1
Diffstat (limited to 'runsc/test/testutil/testutil.go')
0 files changed, 0 insertions, 0 deletions