summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/copy_up.go
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-02-11 11:37:12 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-11 11:38:08 -0800
commit115898e368e4afe5418a7290d9545fafc7f6f25e (patch)
tree0ab934bbf1753fec1b337db71d882d23a975e5bb /pkg/sentry/fs/copy_up.go
parent762e4761cc4edd92108f6836ad1933c7158b8be8 (diff)
Prevent DATA RACE in UnstableAttr.
The slaveInodeOperations is currently copying the object when truncate is called (which is a no-op). This may result in a (unconsequential) data race when being modified concurrently. PiperOrigin-RevId: 294484276
Diffstat (limited to 'pkg/sentry/fs/copy_up.go')
0 files changed, 0 insertions, 0 deletions