summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/time/parameters_test.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2019-04-10 11:26:10 -0700
committerShentubot <shentubot@google.com>2019-04-10 11:27:16 -0700
commit0a0619216ec9ca96c181dd69d9bf31e7762090cb (patch)
treec440473917bd7841b51f7a1e47c21352a5dbeefe /pkg/sentry/time/parameters_test.go
parent7140b1fdca1cc9c9c711955a49e6e7fc41f339d9 (diff)
Start saving MountSource.DirentCache.
DirentCache is already a savable type, and it ensures that it is empty at the point of Save. There is no reason not to save it along with the MountSource. This did uncover an issue where not all MountSources were properly flushed before Save. If a mount point has an open file and is then unmounted, we save the MountSource without flushing it first. This CL also fixes that by flushing all MountSources for all open FDs on Save. PiperOrigin-RevId: 242906637 Change-Id: I3acd9d52b6ce6b8c989f835a408016cb3e67018f
Diffstat (limited to 'pkg/sentry/time/parameters_test.go')
0 files changed, 0 insertions, 0 deletions