diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-01-28 17:05:44 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-28 17:08:12 -0800 |
commit | 56fb2ec1194bff7c57c7bbb84b7b74f63142b915 (patch) | |
tree | 2635e8d65e413861c3789a55fc5fed685c13f3ea /pkg/sentry/fs/file_overlay.go | |
parent | b4357939c0049b7385d98aa0ea7d2d1e00d0710f (diff) |
Do not use clockwork for faketime
Clockwork does not support timers being reset/stopped from different
goroutines. Our current use of clockwork causes data races and
gotsan complains about clockwork.
This change uses our own implementation of faketime, avoiding data
races.
PiperOrigin-RevId: 354428208
Diffstat (limited to 'pkg/sentry/fs/file_overlay.go')
0 files changed, 0 insertions, 0 deletions