diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-16 20:33:29 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-16 20:33:29 +0000 |
commit | c78fcdc8af5ba8864c3161941115f5196a21a166 (patch) | |
tree | 8a56311bcb022418e97cd5f317a0d240476b6ae4 /pkg/sentry/vfs/filesystem.go | |
parent | 0f83bce9c35d05bdd6ef82a771a999c3deab62ca (diff) | |
parent | 0f60799a4f8c3db567973574147370fc900df55f (diff) |
Merge release-20200219.0-183-g0f60799 (automated)
Diffstat (limited to 'pkg/sentry/vfs/filesystem.go')
-rwxr-xr-x | pkg/sentry/vfs/filesystem.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/sentry/vfs/filesystem.go b/pkg/sentry/vfs/filesystem.go index c43dcff3d..332decce6 100755 --- a/pkg/sentry/vfs/filesystem.go +++ b/pkg/sentry/vfs/filesystem.go @@ -366,7 +366,9 @@ type FilesystemImpl interface { // ResolvingPath.Resolve*(), then !rp.Done(). RmdirAt(ctx context.Context, rp *ResolvingPath) error - // SetStatAt updates metadata for the file at the given path. + // SetStatAt updates metadata for the file at the given path. Implementations + // are responsible for checking if the operation can be performed + // (see vfs.CheckSetStat() for common checks). // // Errors: // |