diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-04-02 09:56:13 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-02 09:58:19 -0700 |
commit | cc762235ce823fd58d79d1866bc8ab390120fb89 (patch) | |
tree | b8aef67e29b14b440f8aed8f856a8fed685c7f95 /pkg/sentry/fsimpl/gofer | |
parent | b2ea37401ed41b45f5497d04ab4f837a05204f8a (diff) |
Internal change.
PiperOrigin-RevId: 366462448
Diffstat (limited to 'pkg/sentry/fsimpl/gofer')
-rw-r--r-- | pkg/sentry/fsimpl/gofer/regular_file.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/gofer/regular_file.go b/pkg/sentry/fsimpl/gofer/regular_file.go index 47563538c..713f0a480 100644 --- a/pkg/sentry/fsimpl/gofer/regular_file.go +++ b/pkg/sentry/fsimpl/gofer/regular_file.go @@ -701,6 +701,7 @@ func (fd *regularFileFD) ConfigureMMap(ctx context.Context, opts *memmap.MMapOpt } // After this point, d may be used as a memmap.Mappable. d.pf.hostFileMapperInitOnce.Do(d.pf.hostFileMapper.Init) + opts.SentryOwnedContent = d.fs.opts.forcePageCache return vfs.GenericConfigureMMap(&fd.vfsfd, d, opts) } |