diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-05-13 17:56:48 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-13 17:56:48 +0000 |
commit | 33e16473772cfb7134f9b202448be8c998706f2d (patch) | |
tree | f67188a62a022624e7e26a3e741a90bcae449e30 /runsc/boot | |
parent | ddecfc313b8ffa6b611e0a701ebfd3e15b5aa4a3 (diff) | |
parent | d84607762889d999f93b89e64e09d2a4dda63bf7 (diff) |
Merge release-20200422.0-297-gd846077 (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/config.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/runsc/boot/config.go b/runsc/boot/config.go index 6d6a705f8..bcec7e4db 100644 --- a/runsc/boot/config.go +++ b/runsc/boot/config.go @@ -241,8 +241,10 @@ type Config struct { // ReferenceLeakMode sets reference leak check mode ReferenceLeakMode refs.LeakMode - // OverlayfsStaleRead causes cached FDs to reopen after a file is opened for - // write to workaround overlayfs limitation on kernels before 4.19. + // OverlayfsStaleRead instructs the sandbox to assume that the root mount + // is on a Linux overlayfs mount, which does not necessarily preserve + // coherence between read-only and subsequent writable file descriptors + // representing the "same" file. OverlayfsStaleRead bool // TestOnlyAllowRunAsCurrentUserWithoutChroot should only be used in |