diff options
author | Adin Scannell <ascannell@google.com> | 2020-02-11 11:37:12 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-11 11:38:08 -0800 |
commit | 115898e368e4afe5418a7290d9545fafc7f6f25e (patch) | |
tree | 0ab934bbf1753fec1b337db71d882d23a975e5bb /pkg/sentry/kernel/task_test.go | |
parent | 762e4761cc4edd92108f6836ad1933c7158b8be8 (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/kernel/task_test.go')
0 files changed, 0 insertions, 0 deletions