summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/testutil/testutil.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2018-06-25 15:22:04 -0700
committerShentubot <shentubot@google.com>2018-06-25 15:22:56 -0700
commit478f0ac0038afda267814fa154bcd32feb07c3b3 (patch)
tree53ad838bfe8004ede64f0915ded2979c16c1b4d3 /runsc/test/testutil/testutil.go
parente8ae2b85e90fc27e74de032698224e7972673cec (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