summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/tty/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/tty/fs.go')
-rw-r--r--pkg/sentry/fs/tty/fs.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkg/sentry/fs/tty/fs.go b/pkg/sentry/fs/tty/fs.go
index 1bbfbb90a..edee56c12 100644
--- a/pkg/sentry/fs/tty/fs.go
+++ b/pkg/sentry/fs/tty/fs.go
@@ -94,6 +94,13 @@ func (superOperations) Keep(*fs.Dirent) bool {
return false
}
+// CacheReaddir implements fs.DirentOperations.CacheReaddir.
+//
+// CacheReaddir returns false because entries change on master operations.
+func (superOperations) CacheReaddir() bool {
+ return false
+}
+
// ResetInodeMappings implements MountSourceOperations.ResetInodeMappings.
func (superOperations) ResetInodeMappings() {}