diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-21 19:20:51 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-21 19:20:51 +0000 |
commit | b5cdbb659d6ecd5a38090093369c81db76e8a152 (patch) | |
tree | 533d1ae7bafb1e27b601b62cc24b2cfc99ee6a5a /pkg/sentry/vfs/filesystem.go | |
parent | 3477221b21c89c56d64b039324513cda51b3f50a (diff) | |
parent | 9b5e305e05ef3ad51778981062d6152cea1cd4fb (diff) |
Merge release-20200323.0-203-g9b5e305 (automated)
Diffstat (limited to 'pkg/sentry/vfs/filesystem.go')
-rwxr-xr-x | pkg/sentry/vfs/filesystem.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/filesystem.go b/pkg/sentry/vfs/filesystem.go index a537a29d1..74577bc2f 100755 --- a/pkg/sentry/vfs/filesystem.go +++ b/pkg/sentry/vfs/filesystem.go @@ -346,7 +346,10 @@ type FilesystemImpl interface { // ENOTEMPTY. // // Preconditions: !rp.Done(). For the final path component in rp, - // !rp.ShouldFollowSymlink(). oldName is not "." or "..". + // !rp.ShouldFollowSymlink(). oldParentVD.Dentry() was obtained from a + // previous call to + // oldParentVD.Mount().Filesystem().Impl().GetParentDentryAt(). oldName is + // not "." or "..". // // Postconditions: If RenameAt returns an error returned by // ResolvingPath.Resolve*(), then !rp.Done(). |